Building on spring (from freebsd) 2024-07-04 21:50.35 ---> using "77d5fe31836124b4684d554707425c4fde23f9ef3df0a804431a47419573778d" from cache /: (user (uid 1000) (gid 1000)) /: (env OPAMPRECISETRACKING 1) /: (env OPAMUTF8 never) /: (env OPAMEXTERNALSOLVER builtin-0install) /: (env OPAMCRITERIA +removed) /: (run (shell "sudo ln -f /usr/local/bin/opam-dev /usr/local/bin/opam")) 2024-07-04 21:50.36 ---> using "a2b22593046b56fadc85e22b0da7b84e903c1f5aa4d42a7c481121ceec28b31f" from cache /: (run (network host) (shell "rm -rf ~/opam-repository && git clone -q 'https://github.com/ocaml/opam-repository' ~/opam-repository && git -C ~/opam-repository checkout -q 175a8ca8b27d9a46ed86ec5d7b1130c98a153055")) 2024-07-04 21:50.36 ---> using "12d681098b105578a67465aa7bc396c5d90e9ce4e3304a8d75f23641353fa26c" from cache /: (run (shell "rm -rf ~/.opam && opam init -ya --bare ~/opam-repository")) No configuration file found, using built-in defaults. Checking for available remotes: rsync and local, git. - you won't be able to use mercurial repositories unless you install the hg command on your system. - you won't be able to use darcs repositories unless you install the darcs command on your system. <><> Fetching repository information ><><><><><><><><><><><><><><><><><><><><><> [default] Initialised User configuration: ~/.profile is already up-to-date. [NOTE] Make sure that ~/.profile is well sourced in your ~/.bashrc. 2024-07-04 21:50.37 ---> using "cd58f29b8c142c1ae36c06cbe6d040fc45053855e85f74d3d710bce30c463662" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam switch create --repositories=default '4.14.1' 'ocaml-base-compiler.4.14.1'")) <><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><> Switch invariant: ["ocaml-base-compiler" {= "4.14.1"}] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> installed base-bigarray.base -> installed base-threads.base -> installed base-unix.base -> installed host-arch-x86_64.1 -> installed host-system-other.1 -> installed ocaml-options-vanilla.1 -> retrieved ocaml-config.2 (2 extra sources) -> retrieved ocaml-config.2 (2 extra sources) -> retrieved ocaml-base-compiler.4.14.1 (https://github.com/ocaml/ocaml/archive/4.14.1.tar.gz) -> installed ocaml-base-compiler.4.14.1 -> installed ocaml-config.2 -> installed ocaml.4.14.1 Done. # Run eval $(opam env --switch=4.14.1) to update the current shell environment 2024-07-04 21:50.37 ---> using "7b308b2584dc258233cfb37ad83354a0804ec90976555e191659bff7e597c170" from cache /: (run (network host) (shell "opam update --depexts")) [WARNING] Unknown update command for bsd, skipping system update 2024-07-04 21:50.38 ---> using "3f0c14f5761a225622a6acf1a058a90ab52281bdd9172d3eca06be38cd0468ad" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "\ \nopam remove -y \"tezos-rust-libs.1.7\"\ \nopam install -vy \"tezos-rust-libs.1.7\"\ \nres=$?\ \nif [ $res = 31 ]; then\ \n if opam show -f x-ci-accept-failures: \"tezos-rust-libs.1.7\" | grep -q '\"freebsd\"'; then\ \n echo \"This package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\"\ \n exit 69\ \n fi\ \nfi\ \n\ \n\ \nexit $res\ \n")) [NOTE] tezos-rust-libs.1.7 is not installed. Nothing to do. The following actions will be performed: === install 2 packages - install conf-rust-2021 1 [required by tezos-rust-libs] - install tezos-rust-libs 1.7 The following system packages will first need to be installed: rust <><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><> opam believes some required external dependencies are missing. opam can: > 1. Run pkg to install them (may need root/sudo access) 2. Display the recommended pkg command and wait while you run it manually (e.g. in another terminal) 3. Continue anyway, and, upon success, permanently register that this external dependency is present, but not detectable 4. Abort the installation [1/2/3/4] 1 + /usr/local/bin/sudo "pkg" "install" "-y" "rust" - Updating FreeBSD repository catalogue... - FreeBSD repository is up to date. - All repositories are up to date. - The following 1 package(s) will be affected (of 0 checked): - - New packages to be INSTALLED: - rust: 1.77.0 - - Number of packages to be installed: 1 - - The process will require 1 GiB more space. - 146 MiB to be downloaded. - [spring] [1/1] Fetching rust-1.77.0.pkg: - . - . - . - . - . - . - . - . - . - . done - Checking integrity... - done (0 conflicting) - [spring] [1/1] Installing rust-1.77.0... - [spring] [1/1] Extracting rust-1.77.0: - . - . - . - . - . - . - ... - . done <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved conf-rust-2021.1 (cached) Processing 2/6: [tezos-rust-libs.1.7: http] Processing 3/6: [tezos-rust-libs.1.7: http] [conf-rust-2021: cargo] + /usr/local/bin/cargo "--version" (CWD=/home/opam/.opam/4.14.1/.opam-switch/build/conf-rust-2021.1) - cargo 1.77.0 Processing 3/6: [tezos-rust-libs.1.7: http] [conf-rust-2021: rustc 2021] Processing 3/6: [tezos-rust-libs.1.7: extract] [conf-rust-2021: rustc 2021] + /usr/local/bin/rustc "--edition" "2021" "test.rs" (CWD=/home/opam/.opam/4.14.1/.opam-switch/build/conf-rust-2021.1) -> compiled conf-rust-2021.1 Processing 3/6: [tezos-rust-libs.1.7: extract] -> installed conf-rust-2021.1 Processing 4/6: [tezos-rust-libs.1.7: extract] -> retrieved tezos-rust-libs.1.7 (https://gitlab.com/tezos/tezos-rust-libs/-/archive/v1.7/tezos-rust-libs-v1.7.zip) Processing 5/6: [tezos-rust-libs: cargo build] + /usr/local/bin/cargo "build" "--target-dir" "target-librustzcash" "--release" "--package" "librustzcash" (CWD=/home/opam/.opam/4.14.1/.opam-switch/build/tezos-rust-libs.1.7) - warning: profiles for the non root package will be ignored, specify profiles at the workspace root: - package: /home/opam/.opam/4.14.1/.opam-switch/build/tezos-rust-libs.1.7/librustzcash/Cargo.toml - workspace: /home/opam/.opam/4.14.1/.opam-switch/build/tezos-rust-libs.1.7/Cargo.toml - warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` - note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest - note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest - note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions - Compiling libc v0.2.139 - Compiling cfg-if v1.0.0 - Compiling version_check v0.9.4 - Compiling autocfg v1.1.0 - Compiling proc-macro2 v1.0.50 - Compiling unicode-ident v1.0.6 - Compiling quote v1.0.23 - Compiling syn v1.0.107 - Compiling typenum v1.16.0 - Compiling memchr v2.5.0 - Compiling subtle v2.4.1 - Compiling generic-array v0.14.6 - Compiling ahash v0.7.6 - Compiling once_cell v1.17.0 - Compiling crossbeam-utils v0.8.14 - Compiling radium v0.7.0 - Compiling arrayvec v0.7.2 - Compiling tap v1.0.1 - Compiling arrayref v0.3.6 - Compiling constant_time_eq v0.1.5 - Compiling byteorder v1.4.3 - Compiling wyz v0.5.1 - Compiling getrandom v0.2.8 - Compiling memoffset v0.7.1 - Compiling scopeguard v1.1.0 - Compiling unicode-xid v0.2.4 - Compiling rand_core v0.6.4 - Compiling funty v2.0.0 - Compiling crossbeam-epoch v0.9.13 - Compiling indexmap v1.9.3 - Compiling cpufeatures v0.2.5 - Compiling ppv-lite86 v0.2.17 - Compiling cc v1.0.79 - Compiling serde_derive v1.0.152 - Compiling bitvec v1.0.1 - Compiling lazy_static v1.4.0 - Compiling opaque-debug v0.3.0 - Compiling serde v1.0.152 - Compiling rand_chacha v0.3.1 - Compiling rand v0.8.5 - Compiling num_cpus v1.15.0 - Compiling num-traits v0.2.15 - Compiling static_assertions v1.1.0 - Compiling blake2b_simd v1.0.0 - Compiling digest v0.9.0 - Compiling cipher v0.3.0 - Compiling crossbeam-channel v0.5.6 - Compiling rayon-core v1.10.2 - Compiling either v1.8.1 - Compiling log v0.4.17 - Compiling crunchy v0.2.2 - Compiling hashbrown v0.12.3 - Compiling crossbeam-deque v0.8.2 - Compiling hex v0.4.3 - Compiling thiserror v1.0.38 - Compiling pin-project-lite v0.2.9 - Compiling block-buffer v0.9.0 - Compiling nom8 v0.2.0 - Compiling num-integer v0.1.45 - Compiling siphasher v0.3.10 - Compiling itoa v1.0.5 - Compiling toml_datetime v0.5.1 - Compiling phf_shared v0.11.1 - Compiling rayon v1.6.1 - Compiling sha2 v0.9.9 - Compiling uint v0.9.5 - Compiling secp256k1-sys v0.4.2 - Compiling universal-hash v0.4.1 - Compiling ff v0.12.1 - Compiling num-bigint v0.4.3 - Compiling group v0.12.1 - Compiling bitflags v1.3.2 - Compiling fnv v1.0.7 - Compiling smallvec v1.10.0 - Compiling futures-core v0.3.26 - Compiling pairing v0.22.0 - Compiling pasta_curves v0.4.1 - Compiling libm v0.2.6 - Compiling synstructure v0.12.6 - Compiling nonempty v0.7.0 - Compiling bls12_381 v0.7.1 - Compiling poly1305 v0.7.2 - Compiling phf_generator v0.11.1 - Compiling toml_edit v0.18.1 - Compiling ring v0.16.20 - Compiling aho-corasick v0.7.20 - Compiling aead v0.4.3 - Compiling crypto-mac v0.11.1 - Compiling zeroize_derive v1.3.3 - Compiling zeroize v1.5.7 - Compiling thiserror-impl v1.0.38 - Compiling chacha20 v0.8.2 - Compiling proc-macro-crate v1.3.0 - Compiling tracing-attributes v0.1.23 - Compiling dirs-sys v0.3.7 - Compiling tracing-core v0.1.30 - Compiling lock_api v0.4.9 - Compiling block-padding v0.2.1 - Compiling base64ct v1.0.1 - Compiling tinyvec_macros v0.1.0 - Compiling - regex-syntax v0.6.28 - Compiling futures-task v0.3.26 - Compiling parking_lot_core v0.8.6 - Compiling tracing v0.1.37 - Compiling password-hash v0.3.2 - Compiling tinyvec v1.6.0 - Compiling block-modes v0.8.1 - Compiling parity-scale-codec-derive v3.1.4 - Compiling chacha20poly1305 v0.9.1 - Compiling impl-trait-for-tuples v0.2.2 - Compiling halo2_proofs v0.1.0 - Compiling regex v1.7.1 - Compiling phf_codegen v0.11.1 - Compiling jubjub v0.9.0 - Compiling block-buffer v0.10.3 - Compiling crypto-common v0.1.6 - Compiling nom v5.1.2 - Compiling tokio v1.25.0 - Compiling instant v0.1.12 - Compiling spin v0.5.2 - Compiling arrayvec v0.5.2 - Compiling byte-slice-cast v1.2.2 - Compiling bytes v1.4.0 - Compiling httparse v1.8.0 - Compiling untrusted v0.7.1 - Compiling futures-util v0.3.26 - Compiling metrics v0.17.1 - Compiling futures-channel v0.3.26 - Compiling time-core v0.1.0 - Compiling metrics-macros v0.4.1 - Compiling time-macros v0.2.6 - Compiling parity-scale-codec v3.3.0 - Compiling blake2b_simd v0.5.11 - Compiling http v0.2.8 - Compiling digest v0.10.6 - Compiling halo2_gadgets v0.1.0 - Compiling fpe v0.5.1 - Compiling incrementalmerkletree v0.3.0 - Compiling reddsa v0.3.0 - Compiling terminfo v0.7.5 - Compiling regex-automata v0.1.10 - Compiling unicode-normalization v0.1.22 - Compiling secp256k1 v0.21.3 - Compiling zcash_note_encryption v0.1.0 - Compiling pbkdf2 v0.9.0 - Compiling hmac v0.11.0 - Compiling tokio-macros v1.8.2 - Compiling zcash_encoding v0.1.0 - Compiling memuse v0.2.1 - Compiling nibble_vec v0.1.0 - Compiling raw-cpuid v10.6.0 - Compiling bs58 v0.4.0 - Compiling mio v0.8.5 - Compiling aes v0.7.5 - Compiling socket2 v0.4.7 - Compiling blake2s_simd v1.0.0 - Compiling try-lock v0.2.4 - Compiling overload v0.1.1 - Compiling endian-type v0.1.2 - Compiling rustc-hex v2.1.0 - Compiling pin-utils v0.1.0 - Compiling fixed-hash v0.7.0 - Compiling radix_trie v0.2.1 - Compiling nu-ansi-term v0.46.0 - Compiling time v0.3.17 - Compiling want v0.3.0 - Compiling quanta v0.9.3 - Compiling matchers v0.1.0 - Compiling bip0039 v0.9.0 - Compiling parking_lot v0.11.2 - Compiling hdwallet v0.3.1 - Compiling http-body v0.4.5 - Compiling ripemd v0.1.3 - Compiling impl-codec v0.6.0 - Compiling phf v0.11.1 - Compiling equihash v0.1.0 - Compiling dirs v4.0.0 - Compiling hashbrown v0.11.2 - Compiling ordered-float v2.10.0 - Compiling dashmap v4.0.2 - Compiling backtrace v0.3.67 - Compiling sharded-slab v0.1.4 - Compiling thread_local v1.1.4 - Compiling tower-service v0.3.2 - Compiling sketches-ddsketch v0.1.3 - Compiling httpdate v1.0.2 - Compiling gimli v0.27.1 - Compiling rand_core v0.5.1 - Compiling atomic-shim v0.2.0 - Compiling adler v1.0.2 - Compiling anyhow v1.0.68 - Compiling miniz_oxide v0.6.2 - Compiling curve25519-dalek v3.2.0 - Compiling metrics-util v0.10.2 - Compiling tracing-subscriber v0.3.16 - Compiling hyper v0.14.23 - Compiling orchard v0.1.0 - Compiling addr2line v0.19.0 - Compiling primitive-types v0.11.1 - Compiling zcash_primitives v0.6.0 - Compiling bellman v0.13.1 - Compiling directories v4.0.1 - Compiling gumdrop_derive v0.8.1 - Compiling nix v0.24.3 - Compiling which v4.4.0 - Compiling f4jumble v0.1.0 - Compiling object v0.30.3 - Compiling rustc-demangle v0.1.21 - Compiling bech32 v0.8.1 - Compiling ipnet v2.7.1 - Compiling metrics-exporter-prometheus v0.6.1 - Compiling zcash_address v0.1.0 - Compiling zcash_proofs v0.6.0 - Compiling clearscreen v1.0.11 - Compiling gumdrop v0.8.1 - Compiling zcash_history v0.3.0 - Compiling tracing-appender v0.2.2 - Compiling ed25519-zebra v3.1.0 - Compiling secrecy v0.8.0 - Compiling librustzcash v0.2.0 (/home/opam/.opam/4.14.1/.opam-switch/build/tezos-rust-libs.1.7/librustzcash) - warning: creating a shared reference to mutable static is discouraged - --> librustzcash/src/rustzcash.rs:745:18 - | - 745 | unsafe { &SPROUT_GROTH16_PARAMS_PATH } - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static - | - = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447> - = note: this will be a hard error in the 2024 edition - = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior - = note: `#[warn(static_mut_refs)]` on by default - help: use `addr_of!` instead to create a raw pointer - | - 745 | unsafe { addr_of!(SPROUT_GROTH16_PARAMS_PATH) } - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - - warning: `librustzcash` (lib) generated 1 warning - Finished release [optimized] target(s) in 6m 56s - warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2 - note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` + /usr/local/bin/cargo "build" "--target-dir" "target-wasmer" "--release" "--package" "wasmer-c-api" "--no-default-features" "--features" "singlepass,cranelift,wat,middlewares" (CWD=/home/opam/.opam/4.14.1/.opam-switch/build/tezos-rust-libs.1.7) - warning: profiles for the non root package will be ignored, specify profiles at the workspace root: - package: /home/opam/.opam/4.14.1/.opam-switch/build/tezos-rust-libs.1.7/librustzcash/Cargo.toml - workspace: /home/opam/.opam/4.14.1/.opam-switch/build/tezos-rust-libs.1.7/Cargo.toml - warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` - note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest - note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest - note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions - Compiling libc v0.2.139 - Compiling proc-macro2 v1.0.50 - Compiling quote v1.0.23 - Compiling unicode-ident v1.0.6 - Compiling autocfg v1.1.0 - Compiling syn v1.0.107 - Compiling version_check v0.9.4 - Compiling cfg-if v1.0.0 - Compiling once_cell v1.17.0 - Compiling scopeguard v1.1.0 - Compiling ident_case v1.0.1 - Compiling ahash v0.7.6 - Compiling indexmap v1.9.3 - Compiling log v0.4.17 - Compiling smallvec v1.10.0 - Compiling fnv v1.0.7 - Compiling memchr v2.5.0 - Compiling target-lexicon v0.12.7 - Compiling bytecheck v0.6.10 - Compiling rend v0.4.0 - Compiling tinyvec_macros v0.1.0 - Compiling simdutf8 v0.1.4 - Compiling tinyvec v1.6.0 - Compiling lock_api v0.4.9 - Compiling getrandom v0.2.8 - Compiling proc-macro-error-attr v1.0.4 - Compiling hashbrown v0.12.3 - Compiling crossbeam-utils v0.8.14 - Compiling bitflags v1.3.2 - Compiling thiserror v1.0.38 - Compiling parking_lot_core v0.9.7 - Compiling cc v1.0.79 - Compiling rkyv v0.7.41 - Compiling unicode-normalization v0.1.22 - Compiling memoffset v0.8.0 - Compiling memoffset v0.7.1 - Compiling corosensei v0.1.3 - Compiling proc-macro-error v1.0.4 - Compiling leb128 v0.2.5 - Compiling adler v1.0.2 - Compiling unicode-bidi v0.3.13 - Compiling serde_derive v1.0.152 - Compiling byteorder v1.4.3 - Compiling percent-encoding v2.2.0 - Compiling gimli v0.27.1 - Compiling seahash v4.1.0 - Compiling backtrace v0.3.67 - Compiling idna v0.3.0 - Compiling form_urlencoded v1.1.0 - Compiling miniz_oxide v0.6.2 - Compiling object v0.30.3 - Compiling crossbeam-epoch v0.9.13 - Compiling more-asserts v0.2.2 - Compiling rustc-demangle v0.1.21 - Compiling serde v1.0.152 - Compiling io-lifetimes v1.0.10 - Compiling cranelift-isle v0.91.1 - Compiling region v3.0.0 - Compiling url v2.3.1 - Compiling dashmap v5.4.0 - Compiling memmap2 v0.5.10 - Compiling cranelift-codegen-shared v0.91.1 - Compiling lazy_static v1.4.0 - Compiling rustix v0.37.3 - Compiling wasmparser v0.95.0 - Compiling cranelift-codegen-meta v0.91.1 - Compiling darling_core v0.14.4 - Compiling addr2line v0.19.0 - Compiling ptr_meta_derive v0.1.4 - Compiling bytecheck_derive v0.6.10 - Compiling thiserror-impl v1.0.38 - Compiling ptr_meta v0.1.4 - Compiling rkyv_derive v0.7.41 - Compiling enum-iterator-derive v0.7.0 - Compiling derivative v2.2.0 - Compiling darling_macro v0.14.4 - Compiling enum-iterator v0.7.0 - Compiling darling v0.14.4 - Compiling enumset_derive v0.6.1 - Compiling fxhash v0.2.1 - Compiling errno v0.3.1 - Compiling rayon-core v1.10.2 - Compiling cranelift-entity v0.91.1 - Compiling os_str_bytes v6.5.0 - Compiling serde_json v1.0.96 - Compiling stable_deref_trait v1.2.0 - Compiling fallible-iterator v0.2.0 - Compiling clap_lex v0.2.4 - Compiling enumset v1.0.12 - Compiling gimli v0.26.2 - Compiling cranelift-codegen v0.91.1 - Compiling crossbeam-deque v0.8.2 - Compiling crossbeam-channel v0.5.6 - Compiling wasm-encoder v0.26.0 - Compiling num_cpus v1.15.0 - Compiling atty v0.2.14 - Compiling itoa v1.0.5 - Compiling termcolor v1.2.0 - Compiling cbindgen v0.24.3 - Compiling slice-group-by v0.3.1 - Compiling textwrap v0.16.0 - Compiling unicode-width v0.1.10 - Compiling ryu v1.0.13 - Compiling fastrand v1.9.0 - Compiling strsim v0.10.0 - Compiling regalloc2 v0.5.1 - Compiling clap v3.2.25 - Compiling tempfile v3.5.0 - Compiling wast v57.0.0 - Compiling cranelift-bforest v0.91.1 - Compiling cranelift-egraph v0.91.1 - Compiling heck v0.4.1 - Compiling either v1.8.1 - Compiling toml v0.5.11 - Compiling arrayvec v0.7.2 - Compiling wasmer-types v3.3.0 (/home/opam/.opam/4.14.1/.opam-switch/build/tezos-rust-libs.1.7/wasmer-3.3.0/lib/types) - Compiling bumpalo v3.12.0 - Compiling dynasm v1.2.3 - Compiling rayon v1.6.1 - Compiling wasmer-derive v3.3.0 (/home/opam/.opam/4.14.1/.opam-switch/build/tezos-rust-libs.1.7/wasmer-3.3.0/lib/derive) - Compiling tracing-attributes v0.1.23 - Compiling wat v1.0.63 - Compiling tracing-core v0.1.30 - Compiling pin-project-lite v0.2.9 - Compiling wasmer-compiler-cranelift v3.3.0 (/home/opam/.opam/4.14.1/.opam-switch/build/tezos-rust-libs.1.7/wasmer-3.3.0/lib/compiler-cranelift) - Compiling paste v1.0.12 - Compiling bytes v1.4.0 - Compiling tracing v0.1.37 - Compiling wasmer-vm v3.3.0 (/home/opam/.opam/4.14.1/.opam-switch/build/tezos-rust-libs.1.7/wasmer-3.3.0/lib/vm) - warning: creating a mutable reference to mutable static is discouraged - --> wasmer-3.3.0/lib/vm/src/trap/traphandlers.rs:131:22 - | - 131 | register(&mut PREV_SIGSEGV, libc::SIGSEGV); - | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static - | - = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447> - = note: this will be a hard error in the 2024 edition - = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior - = note: `#[warn(static_mut_refs)]` on by default - help: use `addr_of_mut!` instead to create a raw pointer - | - 131 | register(addr_of_mut!(PREV_SIGSEGV), libc::SIGSEGV); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~ - - warning: creating a mutable reference to mutable static is discouraged - --> wasmer-3.3.0/lib/vm/src/trap/traphandlers.rs:134:22 - | - 134 | register(&mut PREV_SIGILL, libc::SIGILL); - | ^^^^^^^^^^^^^^^^ mutable reference to mutable static - | - = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447> - = note: this will be a hard error in the 2024 edition - = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior - help: use `addr_of_mut!` instead to create a raw pointer - | - 134 | register(addr_of_mut!(PREV_SIGILL), libc::SIGILL); - | ~~~~~~~~~~~~~~~~~~~~~~~~~ - - warning: creating a mutable reference to mutable static is discouraged - --> wasmer-3.3.0/lib/vm/src/trap/traphandlers.rs:138:26 - | - 138 | register(&mut PREV_SIGFPE, libc::SIGFPE); - | ^^^^^^^^^^^^^^^^ mutable reference to mutable static - | - = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447> - = note: this will be a hard error in the 2024 edition - = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior - help: use `addr_of_mut!` instead to create a raw pointer - | - 138 | register(addr_of_mut!(PREV_SIGFPE), libc::SIGFPE); - | ~~~~~~~~~~~~~~~~~~~~~~~~~ - - warning: creating a mutable reference to mutable static is discouraged - --> wasmer-3.3.0/lib/vm/src/trap/traphandlers.rs:144:26 - | - 144 | register(&mut PREV_SIGBUS, libc::SIGBUS); - | ^^^^^^^^^^^^^^^^ mutable reference to mutable static - | - = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447> - = note: this will be a hard error in the 2024 edition - = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior - help: use `addr_of_mut!` instead to create a raw pointer - | - 144 | register(addr_of_mut!(PREV_SIGBUS), libc::SIGBUS); - | ~~~~~~~~~~~~~~~~~~~~~~~~~ - - warning: creating a shared reference to mutable static is discouraged - --> wasmer-3.3.0/lib/vm/src/trap/traphandlers.rs:191:34 - | - 191 | libc::SIGSEGV => &PREV_SIGSEGV, - | ^^^^^^^^^^^^^ shared reference to mutable static - | - = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447> - = note: this will be a hard error in the 2024 edition - = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior - help: use `addr_of!` instead to create a raw pointer - | - 191 | libc::SIGSEGV => addr_of!(PREV_SIGSEGV), - | ~~~~~~~~~~~~~~~~~~~~~~ - - warning: creating a shared reference to mutable static is discouraged - --> wasmer-3.3.0/lib/vm/src/trap/traphandlers.rs:192:33 - | - 192 | libc::SIGBUS => &PREV_SIGBUS, - | ^^^^^^^^^^^^ shared reference to mutable static - | - = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447> - = note: this will be a hard error in the 2024 edition - = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior - help: use `addr_of!` instead to create a raw pointer - | - 192 | libc::SIGBUS => addr_of!(PREV_SIGBUS), - | ~~~~~~~~~~~~~~~~~~~~~ - - warning: creating a shared reference to mutable static is discouraged - --> wasmer-3.3.0/lib/vm/src/trap/traphandlers.rs:193:33 - | - 193 | libc::SIGFPE => &PREV_SIGFPE, - | ^^^^^^^^^^^^ shared reference to mutable static - | - = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447> - = note: this will be a hard error in the 2024 edition - = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior - help: use `addr_of!` instead to create a raw pointer - | - 193 | libc::SIGFPE => addr_of!(PREV_SIGFPE), - | ~~~~~~~~~~~~~~~~~~~~~ - - warning: creating a shared reference to mutable static is discouraged - --> wasmer-3.3.0/lib/vm/src/trap/traphandlers.rs:194:33 - | - 194 | libc::SIGILL => &PREV_SIGILL, - | ^^^^^^^^^^^^ shared reference to mutable static - | - = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447> - = note: this will be a hard error in the 2024 edition - = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior - help: use `addr_of!` instead to create a raw pointer - | - 194 | libc::SIGILL => addr_of!(PREV_SIGILL), - | ~~~~~~~~~~~~~~~~~~~~~ - - Compiling wasmer-compiler v3.3.0 (/home/opam/.opam/4.14.1/.opam-switch/build/tezos-rust-libs.1.7/wasmer-3.3.0/lib/compiler) - warning: unused imports: `borrow`, `collections`, `fmt`, `str` - --> wasmer-3.3.0/lib/compiler/src/lib.rs:50:23 - | - 50 | pub use std::{borrow, boxed, collections, fmt, str, string, sync, vec}; - | ^^^^^^ ^^^^^^^^^^^ ^^^ ^^^ - | - = note: `#[warn(unused_imports)]` on by default - - warning: unused imports: `DeserializeError`, `SerializeError` - --> wasmer-3.3.0/lib/compiler/src/engine/error.rs:3:24 - | - 3 | pub use wasmer_types::{DeserializeError, ImportError, SerializeError}; - | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ - - Compiling wasmer-c-api v3.3.0 (/home/opam/.opam/4.14.1/.opam-switch/build/tezos-rust-libs.1.7/wasmer-3.3.0/lib/c-api) - warning: variable does not need to be mutable - --> wasmer-3.3.0/lib/compiler/src/artifact_builders/artifact_builder.rs:204:81 - | - 204 | Arc::get_mut(&mut self.serializable.compile_info.module).map_or(false, |mut module_info| { - | ----^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - - Compiling wasmer v3.3.0 (/home/opam/.opam/4.14.1/.opam-switch/build/tezos-rust-libs.1.7/wasmer-3.3.0/lib/api) - warning: unused import: `Artifact` - --> wasmer-3.3.0/lib/api/src/sys/engine.rs:2:5 - | - 2 | Artifact, BaseTunables, CompilerConfig, Engine, EngineBuilder, Tunables, - | ^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - - warning: unused import: `Tunables` - --> wasmer-3.3.0/lib/api/src/sys/mod.rs:17:62 - | - 17 | pub use wasmer_compiler::{Artifact, EngineBuilder, Features, Tunables}; - | ^^^^^^^^ - - warning: `wasmer-vm` (lib) generated 8 warnings - warning: `wasmer-compiler` (lib) generated 3 warnings (run `cargo fix --lib -p wasmer-compiler` to apply 3 suggestions) - Compiling dynasmrt v1.2.3 - Compiling wasmer-compiler-singlepass v3.3.0 (/home/opam/.opam/4.14.1/.opam-switch/build/tezos-rust-libs.1.7/wasmer-3.3.0/lib/compiler-singlepass) - Compiling wasmer-middlewares v3.3.0 (/home/opam/.opam/4.14.1/.opam-switch/build/tezos-rust-libs.1.7/wasmer-3.3.0/lib/middlewares) - warning: `wasmer` (lib) generated 2 warnings (run `cargo fix --lib -p wasmer` to apply 2 suggestions) - warning: variable does not need to be mutable - --> wasmer-3.3.0/lib/compiler-singlepass/src/codegen.rs:2996:21 - | - 2996 | let mut frame = &mut self.control_stack.last_mut().unwrap(); - | ----^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - - Compiling cranelift-frontend v0.91.1 - warning: unused import: `cranelift_codegen::print_errors::pretty_error` - --> wasmer-3.3.0/lib/compiler-cranelift/src/trampoline/mod.rs:9:9 - | - 9 | pub use cranelift_codegen::print_errors::pretty_error; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - - warning: unused import: `cranelift_codegen::Context` - --> wasmer-3.3.0/lib/compiler-cranelift/src/trampoline/mod.rs:10:9 - | - 10 | pub use cranelift_codegen::Context; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^ - - warning: unused import: `FunctionBuilder` - --> wasmer-3.3.0/lib/compiler-cranelift/src/trampoline/mod.rs:11:30 - | - 11 | pub use cranelift_frontend::{FunctionBuilder, FunctionBuilderContext}; - | ^^^^^^^^^^^^^^^ - - warning: unused import: `ReturnMode` - --> wasmer-3.3.0/lib/compiler-cranelift/src/translator/mod.rs:10:63 - | - 10 | pub use self::func_environ::{FuncEnvironment, GlobalVariable, ReturnMode, TargetEnvironment}; - | ^^^^^^^^^^ - - warning: unused import: `self::func_state::FuncTranslationState` - --> wasmer-3.3.0/lib/compiler-cranelift/src/translator/mod.rs:11:9 - | - 11 | pub use self::func_state::FuncTranslationState; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - - warning: unused import: `get_vmctx_value_label` - --> wasmer-3.3.0/lib/compiler-cranelift/src/translator/mod.rs:14:5 - | - 14 | get_vmctx_value_label, irlibcall_to_libcall, irreloc_to_relocationkind, - | ^^^^^^^^^^^^^^^^^^^^^ - - warning: `wasmer-compiler-cranelift` (lib) generated 6 warnings (run `cargo fix --lib -p wasmer-compiler-cranelift` to apply 6 suggestions) - warning: `wasmer-compiler-singlepass` (lib) generated 1 warning (run `cargo fix --lib -p wasmer-compiler-singlepass` to apply 1 suggestion) - Finished release [optimized] target(s) in 9m 02s -> compiled tezos-rust-libs.1.7 Processing 6/6: [tezos-rust-libs: mkdir] + /bin/mkdir "-p" "/home/opam/.opam/4.14.1/lib/tezos-rust-libs" (CWD=/home/opam/.opam/4.14.1/.opam-switch/build/tezos-rust-libs.1.7) + /bin/mkdir "-p" "/home/opam/.opam/4.14.1/lib/tezos-rust-libs/rust" (CWD=/home/opam/.opam/4.14.1/.opam-switch/build/tezos-rust-libs.1.7) Processing 6/6: [tezos-rust-libs: cp] + /bin/cp "librustzcash/include/librustzcash.h" "target-librustzcash/release/librustzcash.a" "wasmer-3.3.0/lib/c-api/wasm.h" "wasmer-3.3.0/lib/c-api/wasmer.h" "target-wasmer/release/libwasmer.a" "/home/opam/.opam/4.14.1/lib/tezos-rust-libs" (CWD=/home/opam/.opam/4.14.1/.opam-switch/build/tezos-rust-libs.1.7) + /bin/cp "librustzcash/include/rust/types.h" "/home/opam/.opam/4.14.1/lib/tezos-rust-libs/rust" (CWD=/home/opam/.opam/4.14.1/.opam-switch/build/tezos-rust-libs.1.7) Processing 6/6: [tezos-rust-libs: touch] + /usr/bin/touch "/home/opam/.opam/4.14.1/lib/tezos-rust-libs/META" (CWD=/home/opam/.opam/4.14.1/.opam-switch/build/tezos-rust-libs.1.7) -> installed tezos-rust-libs.1.7 Done. 2024-07-04 22:10.13 ---> saved as "c85a64270fef0698436bfd98d1da9e94b3ed60f5a0704f76777c6a1d3ee59ea8" Job succeeded