Building on spring (from freebsd) 2024-08-09 19:35.38 ---> 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-08-09 19:35.39 ---> 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 85058bdc24b7375e71be2d749b47bd7a1c8dd5b4")) 2024-08-09 19:35.39 ---> using "ce11077fd6b5f0fe43748cf38a8fe6352459b19d6d46e6ffe9d0777a816d13c5" 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-08-09 19:35.39 ---> using "250005dfc2b47d1b02f9e7f5ee3b74c50d6278cc900e4f133ee5445c0e192fd8" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam switch create --repositories=default '5.2.0' 'ocaml-base-compiler.5.2.0'")) <><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><> Switch invariant: ["ocaml-base-compiler" {= "5.2.0"}] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved ocaml-config.3 (cached) -> 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-base-compiler.5.2.0 (cached) -> installed ocaml-base-compiler.5.2.0 -> installed ocaml-config.3 -> installed ocaml.5.2.0 -> installed base-domains.base -> installed base-nnp.base Done. # Run eval $(opam env --switch=5.2.0) to update the current shell environment 2024-08-09 19:39.04 ---> saved as "290d983aecb70b17ef4e452ea81575de728adf6e223fdac00c59b400c692169f" /: (run (network host) (shell "opam update --depexts")) [WARNING] Unknown update command for bsd, skipping system update 2024-08-09 19:39.05 ---> saved as "d80f4c1e58ba77d96ecd33492ed2780ccf5463ffb829d69c2051cddd3762426b" /: (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... - [spring] Fetching data.pkg: ... - ....... done - Processing entries: - .. - .. - .. - .. - .. done - FreeBSD repository update completed. 34465 packages processed. - All repositories are up to date. - The following 1 package(s) will be affected (of 0 checked): - - New packages to be INSTALLED: - rust: 1.79.0_1 - - Number of packages to be installed: 1 - - The process will require 1 GiB more space. - 149 MiB to be downloaded. - [spring] [1/1] Fetching rust-1.79.0_1.pkg: - . - . - . - . - . - . - . - . - . - . done - Checking integrity... - done (0 conflicting) - [spring] [1/1] Installing rust-1.79.0_1... - [spring] [1/1] Extracting rust-1.79.0_1: - . - ... - ... - .. - . 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/5.2.0/.opam-switch/build/conf-rust-2021.1) - cargo 1.79.0 Processing 3/6: [tezos-rust-libs.1.7: http] [conf-rust-2021: rustc 2021] + /usr/local/bin/rustc "--edition" "2021" "test.rs" (CWD=/home/opam/.opam/5.2.0/.opam-switch/build/conf-rust-2021.1) -> compiled conf-rust-2021.1 Processing 3/6: [tezos-rust-libs.1.7: http] -> installed conf-rust-2021.1 Processing 4/6: [tezos-rust-libs.1.7: http] 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/5.2.0/.opam-switch/build/tezos-rust-libs.1.7) - warning: `/home/opam/.opam/5.2.0/.opam-switch/build/tezos-rust-libs.1.7/.cargo/config` is deprecated in favor of `config.toml` - note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` - warning: profiles for the non root package will be ignored, specify profiles at the workspace root: - package: /home/opam/.opam/5.2.0/.opam-switch/build/tezos-rust-libs.1.7/librustzcash/Cargo.toml - workspace: /home/opam/.opam/5.2.0/.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 - warning: /home/opam/.opam/5.2.0/.opam-switch/build/tezos-rust-libs.1.7/wasmer-3.3.0/lib/vnet/Cargo.toml: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition - (in the `tokio` dependency) - warning: /home/opam/.opam/5.2.0/.opam-switch/build/tezos-rust-libs.1.7/wasmer-3.3.0/lib/vfs/Cargo.toml: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition - (in the `tokio` dependency) - warning: /home/opam/.opam/5.2.0/.opam-switch/build/tezos-rust-libs.1.7/wasmer-3.3.0/lib/vfs/Cargo.toml: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition - (in the `tokio` dependency) - warning: /home/opam/.opam/5.2.0/.opam-switch/build/tezos-rust-libs.1.7/wasmer-3.3.0/lib/wasi/Cargo.toml: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition - (in the `tokio` dependency) - warning: /home/opam/.opam/5.2.0/.opam-switch/build/tezos-rust-libs.1.7/wasmer-3.3.0/lib/wasi/Cargo.toml: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition - (in the `tokio` dependency) - 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 quote v1.0.23 - Compiling unicode-ident v1.0.6 - Compiling syn v1.0.107 - Compiling typenum v1.16.0 - Compiling memchr v2.5.0 - Compiling generic-array v0.14.6 - Compiling subtle v2.4.1 - 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 byteorder v1.4.3 - Compiling constant_time_eq v0.1.5 - Compiling getrandom v0.2.8 - Compiling wyz v0.5.1 - Compiling rand_core v0.6.4 - Compiling memoffset v0.7.1 - Compiling scopeguard v1.1.0 - Compiling funty v2.0.0 - Compiling unicode-xid v0.2.4 - Compiling crossbeam-epoch v0.9.13 - Compiling indexmap v1.9.3 - Compiling ppv-lite86 v0.2.17 - Compiling serde_derive v1.0.152 - Compiling cc v1.0.79 - Compiling cpufeatures v0.2.5 - Compiling bitvec v1.0.1 - Compiling rand_chacha v0.3.1 - Compiling serde v1.0.152 - Compiling opaque-debug v0.3.0 - Compiling lazy_static v1.4.0 - 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 log v0.4.17 - Compiling either v1.8.1 - Compiling crunchy v0.2.2 - Compiling hashbrown v0.12.3 - Compiling crossbeam-deque v0.8.2 - Compiling thiserror v1.0.38 - Compiling hex v0.4.3 - Compiling pin-project-lite v0.2.9 - Compiling nom8 v0.2.0 - Compiling block-buffer v0.9.0 - Compiling num-integer v0.1.45 - Compiling siphasher v0.3.10 - Compiling itoa v1.0.5 - Compiling toml_datetime v0.5.1 - Compiling ff v0.12.1 - Compiling phf_shared v0.11.1 - Compiling rayon v1.6.1 - Compiling sha2 v0.9.9 - Compiling group v0.12.1 - Compiling uint v0.9.5 - Compiling pairing v0.22.0 - Compiling pasta_curves v0.4.1 - Compiling secp256k1-sys v0.4.2 - Compiling synstructure v0.12.6 - Compiling universal-hash v0.4.1 - Compiling num-bigint v0.4.3 - Compiling smallvec v1.10.0 - Compiling toml_edit v0.18.1 - Compiling bitflags v1.3.2 - Compiling nonempty v0.7.0 - Compiling fnv v1.0.7 - Compiling libm v0.2.6 - Compiling futures-core v0.3.26 - Compiling poly1305 v0.7.2 - Compiling phf_generator v0.11.1 - Compiling bls12_381 v0.7.1 - Compiling proc-macro-crate v1.3.0 - Compiling ring v0.16.20 - Compiling aho-corasick v0.7.20 - Compiling aead v0.4.3 - Compiling crypto-mac v0.11.1 - Compiling dirs-sys v0.3.7 - Compiling zeroize_derive v1.3.3 - Compiling zeroize v1.5.7 - Compiling thiserror-impl v1.0.38 - Compiling chacha20 v0.8.2 - Compiling tracing-attributes v0.1.23 - Compiling tracing-core v0.1.30 - Compiling lock_api v0.4.9 - Compiling parking_lot_core v0.8.6 - Compiling tinyvec_macros v0.1.0 - Compiling futures-task v0.3.26 - Compiling block-padding v0.2.1 - Compiling base64ct v1.0.1 - Compiling regex-syntax v0.6.28 - Compiling password-hash v0.3.2 - Compiling tracing v0.1.37 - Compiling block-modes v0.8.1 - Compiling tinyvec v1.6.0 - Compiling chacha20poly1305 v0.9.1 - Compiling parity-scale-codec-derive v3.1.4 - Compiling impl-trait-for-tuples v0.2.2 - Compiling jubjub v0.9.0 - Compiling regex v1.7.1 - Compiling halo2_proofs v0.1.0 - Compiling phf_codegen v0.11.1 - Compiling crypto-common v0.1.6 - Compiling block-buffer v0.10.3 - Compiling tokio v1.25.0 - Compiling nom v5.1.2 - Compiling instant v0.1.12 - Compiling bytes v1.4.0 - Compiling arrayvec v0.5.2 - Compiling futures-channel v0.3.26 - Compiling byte-slice-cast v1.2.2 - Compiling httparse v1.8.0 - Compiling untrusted v0.7.1 - Compiling futures-util v0.3.26 - Compiling time-core v0.1.0 - Compiling spin v0.5.2 - Compiling metrics v0.17.1 - Compiling halo2_gadgets v0.1.0 - Compiling time-macros v0.2.6 - Compiling http v0.2.8 - Compiling parity-scale-codec v3.3.0 - Compiling incrementalmerkletree v0.3.0 - Compiling reddsa v0.3.0 - Compiling metrics-macros v0.4.1 - Compiling blake2b_simd v0.5.11 - Compiling digest v0.10.6 - Compiling fpe v0.5.1 - Compiling terminfo v0.7.5 - Compiling unicode-normalization v0.1.22 - Compiling regex-automata v0.1.10 - Compiling zcash_note_encryption v0.1.0 - Compiling secp256k1 v0.21.3 - Compiling pbkdf2 v0.9.0 - Compiling tokio-macros v1.8.2 - Compiling hmac v0.11.0 - Compiling zcash_encoding v0.1.0 - Compiling memuse v0.2.1 - Compiling raw-cpuid v10.6.0 - Compiling nibble_vec v0.1.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 rustc-hex v2.1.0 - Compiling pin-utils v0.1.0 - Compiling endian-type v0.1.2 - Compiling radix_trie v0.2.1 - Compiling fixed-hash v0.7.0 - Compiling quanta v0.9.3 - Compiling nu-ansi-term v0.46.0 - Compiling want v0.3.0 - Compiling time v0.3.17 - Compiling matchers v0.1.0 - Compiling bip0039 v0.9.0 - Compiling hdwallet v0.3.1 - Compiling parking_lot v0.11.2 - Compiling ripemd v0.1.3 - Compiling equihash v0.1.0 - Compiling http-body v0.4.5 - Compiling impl-codec v0.6.0 - Compiling phf v0.11.1 - Compiling dirs v4.0.0 - Compiling orchard v0.1.0 - Compiling hashbrown v0.11.2 - Compiling ordered-float v2.10.0 - Compiling backtrace v0.3.67 - Compiling dashmap v4.0.2 - Compiling sharded-slab v0.1.4 - Compiling thread_local v1.1.4 - Compiling httpdate v1.0.2 - Compiling anyhow v1.0.68 - Compiling adler v1.0.2 - Compiling rand_core v0.5.1 - Compiling sketches-ddsketch v0.1.3 - Compiling tower-service v0.3.2 - Compiling gimli v0.27.1 - Compiling atomic-shim v0.2.0 - Compiling metrics-util v0.10.2 - Compiling curve25519-dalek v3.2.0 - Compiling zcash_primitives v0.6.0 - Compiling addr2line v0.19.0 - Compiling hyper v0.14.23 - Compiling miniz_oxide v0.6.2 - Compiling tracing-subscriber v0.3.16 - Compiling primitive-types v0.11.1 - 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 bech32 v0.8.1 - Compiling ipnet v2.7.1 - Compiling rustc-demangle v0.1.21 - Compiling metrics-exporter-prometheus v0.6.1 - Compiling zcash_address v0.1.0 - Compiling gumdrop v0.8.1 - Compiling clearscreen v1.0.11 - Compiling zcash_proofs v0.6.0 - 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/5.2.0/.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: fields `0`, `1`, and `2` are never read - --> librustzcash/src/wallet.rs:171:16 - | - 171 | OutOfOrder(LastObserved, BlockHeight, usize), - | ---------- ^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ - | | - | fields in this variant - | - = note: `#[warn(dead_code)]` on by default - help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields - | - 171 | OutOfOrder((), (), ()), - | ~~ ~~ ~~ - - warning: field `0` is never read - --> librustzcash/src/wallet.rs:181:29 - | - 181 | InsufficientCheckpoints(usize), - | ----------------------- ^^^^^ - | | - | field in this variant - | - help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field - | - 181 | InsufficientCheckpoints(()), - | ~~ - - warning: field `0` is never read - --> librustzcash/src/wallet.rs:188:28 - | - 188 | ActionDecryptionFailed(usize), - | ---------------------- ^^^^^ - | | - | field in this variant - | - help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field - | - 188 | ActionDecryptionFailed(()), - | ~~ - - warning: field `0` is never read - --> librustzcash/src/wallet.rs:192:17 - | - 192 | FvkNotFound(IncomingViewingKey), - | ----------- ^^^^^^^^^^^^^^^^^^ - | | - | field in this variant - | - help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field - | - 192 | FvkNotFound(()), - | ~~ - - warning: field `0` is never read - --> librustzcash/src/wallet.rs:195:24 - | - 195 | InvalidActionIndex(usize), - | ------------------ ^^^^^ - | | - | field in this variant - | - help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field - | - 195 | InvalidActionIndex(()), - | ~~ - - warning: field `0` is never read - --> librustzcash/src/wallet.rs:200:27 - | - 200 | DecryptedNoteNotFound(OutPoint), - | --------------------- ^^^^^^^^ - | | - | field in this variant - | - help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field - | - 200 | DecryptedNoteNotFound(()), - | ~~ - - warning: field `0` is never read - --> librustzcash/src/wallet.rs:201:23 - | - 201 | NoIvkForRecipient(Address), - | ----------------- ^^^^^^^ - | | - | field in this variant - | - help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field - | - 201 | NoIvkForRecipient(()), - | ~~ - - warning: field `0` is never read - --> librustzcash/src/wallet.rs:202:17 - | - 202 | FvkNotFound(IncomingViewingKey), - | ----------- ^^^^^^^^^^^^^^^^^^ - | | - | field in this variant - | - help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field - | - 202 | FvkNotFound(()), - | ~~ - - warning: field `0` is never read - --> librustzcash/src/wallet.rs:203:23 - | - 203 | NoteNotPositioned(OutPoint), - | ----------------- ^^^^^^^^ - | | - | field in this variant - | - help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field - | - 203 | NoteNotPositioned(()), - | ~~ - - warning: field `0` is never read - --> librustzcash/src/wallet.rs:205:31 - | - 205 | WitnessNotAvailableAtRoot(MerkleHashOrchard), - | ------------------------- ^^^^^^^^^^^^^^^^^ - | | - | field in this variant - | - help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field - | - 205 | WitnessNotAvailableAtRoot(()), - | ~~ - - warning: `librustzcash` (lib) generated 11 warnings - Finished `release` profile [optimized] target(s) in 2m 49s - 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/5.2.0/.opam-switch/build/tezos-rust-libs.1.7) - warning: `/home/opam/.opam/5.2.0/.opam-switch/build/tezos-rust-libs.1.7/.cargo/config` is deprecated in favor of `config.toml` - note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` - warning: profiles for the non root package will be ignored, specify profiles at the workspace root: - package: /home/opam/.opam/5.2.0/.opam-switch/build/tezos-rust-libs.1.7/librustzcash/Cargo.toml - workspace: /home/opam/.opam/5.2.0/.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 - warning: /home/opam/.opam/5.2.0/.opam-switch/build/tezos-rust-libs.1.7/wasmer-3.3.0/lib/vfs/Cargo.toml: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition - (in the `tokio` dependency) - warning: /home/opam/.opam/5.2.0/.opam-switch/build/tezos-rust-libs.1.7/wasmer-3.3.0/lib/vfs/Cargo.toml: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition - (in the `tokio` dependency) - warning: /home/opam/.opam/5.2.0/.opam-switch/build/tezos-rust-libs.1.7/wasmer-3.3.0/lib/wasi/Cargo.toml: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition - (in the `tokio` dependency) - warning: /home/opam/.opam/5.2.0/.opam-switch/build/tezos-rust-libs.1.7/wasmer-3.3.0/lib/wasi/Cargo.toml: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition - (in the `tokio` dependency) - warning: /home/opam/.opam/5.2.0/.opam-switch/build/tezos-rust-libs.1.7/wasmer-3.3.0/lib/vnet/Cargo.toml: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition - (in the `tokio` dependency) - Compiling libc v0.2.139 - Compiling proc-macro2 v1.0.50 - Compiling autocfg v1.1.0 - Compiling quote v1.0.23 - Compiling unicode-ident v1.0.6 - 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 memchr v2.5.0 - Compiling log v0.4.17 - Compiling indexmap v1.9.3 - Compiling ahash v0.7.6 - Compiling smallvec v1.10.0 - Compiling fnv v1.0.7 - Compiling bytecheck v0.6.10 - Compiling target-lexicon v0.12.7 - Compiling rend v0.4.0 - Compiling simdutf8 v0.1.4 - Compiling tinyvec_macros v0.1.0 - Compiling tinyvec v1.6.0 - Compiling getrandom v0.2.8 - Compiling proc-macro-error-attr v1.0.4 - Compiling hashbrown v0.12.3 - Compiling lock_api v0.4.9 - Compiling thiserror v1.0.38 - Compiling bitflags v1.3.2 - Compiling crossbeam-utils v0.8.14 - Compiling rkyv v0.7.41 - Compiling cc v1.0.79 - Compiling parking_lot_core v0.9.7 - Compiling unicode-normalization v0.1.22 - Compiling proc-macro-error v1.0.4 - Compiling memoffset v0.7.1 - Compiling memoffset v0.8.0 - Compiling corosensei v0.1.3 - Compiling percent-encoding v2.2.0 - Compiling unicode-bidi v0.3.13 - Compiling byteorder v1.4.3 - Compiling gimli v0.27.1 - Compiling adler v1.0.2 - Compiling serde_derive v1.0.152 - Compiling leb128 v0.2.5 - Compiling seahash v4.1.0 - Compiling miniz_oxide v0.6.2 - Compiling idna v0.3.0 - Compiling form_urlencoded v1.1.0 - Compiling backtrace v0.3.67 - Compiling object v0.30.3 - Compiling crossbeam-epoch v0.9.13 - Compiling darling_core v0.14.4 - Compiling rustc-demangle v0.1.21 - Compiling io-lifetimes v1.0.10 - Compiling serde v1.0.152 - Compiling more-asserts v0.2.2 - Compiling addr2line v0.19.0 - Compiling cranelift-isle v0.91.1 - Compiling region v3.0.0 - Compiling dashmap v5.4.0 - Compiling url v2.3.1 - Compiling memmap2 v0.5.10 - Compiling lazy_static v1.4.0 - Compiling cranelift-codegen-shared v0.91.1 - Compiling rustix v0.37.3 - Compiling wasmparser v0.95.0 - Compiling cranelift-codegen-meta v0.91.1 - Compiling fxhash v0.2.1 - Compiling ptr_meta_derive v0.1.4 - Compiling darling_macro v0.14.4 - Compiling bytecheck_derive v0.6.10 - Compiling ptr_meta v0.1.4 - Compiling darling v0.14.4 - Compiling enum-iterator-derive v0.7.0 - Compiling enumset_derive v0.6.1 - Compiling rkyv_derive v0.7.41 - Compiling thiserror-impl v1.0.38 - Compiling enum-iterator v0.7.0 - Compiling derivative v2.2.0 - Compiling enumset v1.0.12 - Compiling errno v0.3.1 - Compiling os_str_bytes v6.5.0 - Compiling fallible-iterator v0.2.0 - Compiling cranelift-entity v0.91.1 - Compiling rayon-core v1.10.2 - Compiling serde_json v1.0.96 - Compiling stable_deref_trait v1.2.0 - Compiling clap_lex v0.2.4 - 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 atty v0.2.14 - Compiling num_cpus v1.15.0 - Compiling strsim v0.10.0 - Compiling slice-group-by v0.3.1 - Compiling cbindgen v0.24.3 - Compiling unicode-width v0.1.10 - Compiling fastrand v1.9.0 - Compiling ryu v1.0.13 - Compiling itoa v1.0.5 - Compiling termcolor v1.2.0 - Compiling textwrap v0.16.0 - Compiling tempfile v3.5.0 - Compiling clap v3.2.25 - Compiling wast v57.0.0 - Compiling regalloc2 v0.5.1 - Compiling wasmer-types v3.3.0 (/home/opam/.opam/5.2.0/.opam-switch/build/tezos-rust-libs.1.7/wasmer-3.3.0/lib/types) - Compiling wasmer-vm v3.3.0 (/home/opam/.opam/5.2.0/.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/5.2.0/.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 toml v0.5.11 - 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 cranelift-bforest v0.91.1 - Compiling cranelift-egraph v0.91.1 - Compiling heck v0.4.1 - Compiling either v1.8.1 - Compiling bumpalo v3.12.0 - Compiling arrayvec v0.7.2 - Compiling wat v1.0.63 - Compiling rayon v1.6.1 - Compiling dynasm v1.2.3 - warning: `wasmer-vm` (lib) generated 8 warnings - Compiling wasmer-derive v3.3.0 (/home/opam/.opam/5.2.0/.opam-switch/build/tezos-rust-libs.1.7/wasmer-3.3.0/lib/derive) - Compiling tracing-attributes v0.1.23 - Compiling tracing-core v0.1.30 - warning: `wasmer-compiler` (lib) generated 3 warnings (run `cargo fix --lib -p wasmer-compiler` to apply 3 suggestions) - Compiling bytes v1.4.0 - Compiling pin-project-lite v0.2.9 - Compiling wasmer-compiler-cranelift v3.3.0 (/home/opam/.opam/5.2.0/.opam-switch/build/tezos-rust-libs.1.7/wasmer-3.3.0/lib/compiler-cranelift) - Compiling paste v1.0.12 - Compiling tracing v0.1.37 - Compiling wasmer v3.3.0 (/home/opam/.opam/5.2.0/.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}; - | ^^^^^^^^ - - Compiling wasmer-c-api v3.3.0 (/home/opam/.opam/5.2.0/.opam-switch/build/tezos-rust-libs.1.7/wasmer-3.3.0/lib/c-api) - Compiling wasmer-middlewares v3.3.0 (/home/opam/.opam/5.2.0/.opam-switch/build/tezos-rust-libs.1.7/wasmer-3.3.0/lib/middlewares) - Compiling dynasmrt v1.2.3 - warning: `wasmer` (lib) generated 2 warnings (run `cargo fix --lib -p wasmer` to apply 2 suggestions) - Compiling wasmer-compiler-singlepass v3.3.0 (/home/opam/.opam/5.2.0/.opam-switch/build/tezos-rust-libs.1.7/wasmer-3.3.0/lib/compiler-singlepass) - 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 - - warning: multiple fields are never read - --> wasmer-3.3.0/lib/compiler-singlepass/src/common_decl.rs:40:9 - | - 35 | pub struct MachineStateDiff { - | ---------------- fields in this struct - ... - 40 | pub stack_push: Vec<MachineValue>, - | ^^^^^^^^^^ - ... - 43 | pub stack_pop: usize, - | ^^^^^^^^^ - ... - 46 | pub reg_diff: Vec<(RegisterIndex, MachineValue)>, - | ^^^^^^^^ - ... - 49 | pub prev_frame_diff: BTreeMap<usize, Option<MachineValue>>, // None for removal - | ^^^^^^^^^^^^^^^ - ... - 52 | pub wasm_stack_push: Vec<WasmAbstractValue>, - | ^^^^^^^^^^^^^^^ - ... - 55 | pub wasm_stack_pop: usize, - | ^^^^^^^^^^^^^^ - ... - 58 | pub wasm_inst_offset: usize, // absolute value; not a diff. - | ^^^^^^^^^^^^^^^^ - | - = note: `MachineStateDiff` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis - = note: `#[warn(dead_code)]` on by default - - warning: fields `initial`, `locals`, `shadow_size`, `wasm_function_header_target_offset`, and `loop_offsets` are never read - --> wasmer-3.3.0/lib/compiler-singlepass/src/common_decl.rs:88:9 - | - 86 | pub struct FunctionStateMap { - | ---------------- fields in this struct - 87 | /// Initial. - 88 | pub initial: MachineState, - | ^^^^^^^ - ... - 92 | pub locals: Vec<WasmAbstractValue>, - | ^^^^^^ - 93 | /// Shadow size. - 94 | pub shadow_size: usize, // for single-pass backend, 32 bytes on x86-64 - | ^^^^^^^^^^^ - ... - 98 | pub wasm_function_header_target_offset: Option<SuspendOffset>, - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - ... - 102 | pub loop_offsets: BTreeMap<usize, OffsetInfo>, /* suspend_offset -> info */ - | ^^^^^^^^^^^^ - | - = note: `FunctionStateMap` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis - - warning: field `0` is never read - --> wasmer-3.3.0/lib/compiler-singlepass/src/common_decl.rs:123:10 - | - 123 | Call(usize), - | ---- ^^^^^ - | | - | field in this variant - | - help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field - | - 123 | Call(()), - | ~~ - - warning: field `0` is never read - --> wasmer-3.3.0/lib/compiler-singlepass/src/common_decl.rs:125:15 - | - 125 | Trappable(usize), - | --------- ^^^^^ - | | - | field in this variant - | - help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field - | - 125 | Trappable(()), - | ~~ - - warning: fields `end_offset`, `diff_id`, and `activate_offset` are never read - --> wasmer-3.3.0/lib/compiler-singlepass/src/common_decl.rs:132:9 - | - 130 | pub struct OffsetInfo { - | ---------- fields in this struct - 131 | /// Exclusive range-end offset. - 132 | pub end_offset: usize, - | ^^^^^^^^^^ - 133 | /// Index pointing to the `MachineStateDiff` entry. - 134 | pub diff_id: usize, - | ^^^^^^^ - 135 | /// Offset at which execution can be continued. - 136 | pub activate_offset: usize, - | ^^^^^^^^^^^^^^^ - | - = note: `OffsetInfo` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis - - warning: multiple methods are never used - --> wasmer-3.3.0/lib/compiler-singlepass/src/emitter_arm64.rs:90:8 - | - 87 | pub trait EmitterARM64 { - | ------------ methods in this trait - ... - 90 | fn get_jmp_instr_size(&self) -> u8; - | ^^^^^^^^^^^^^^^^^^ - ... - 110 | fn emit_strdb( - | ^^^^^^^^^^ - ... - 124 | fn emit_ldria( - | ^^^^^^^^^^ - ... - 184 | fn emit_movz(&mut self, reg: Location, val: u32) -> Result<(), CompileError>; - | ^^^^^^^^^ - 185 | fn emit_movk(&mut self, reg: Location, val: u32, shift: u32) -> Result<(), CompileError>; - | ^^^^^^^^^ - ... - 335 | fn emit_csetm(&mut self, sz: Size, dst: Location, cond: Condition) -> Result<(), CompileError>; - | ^^^^^^^^^^ - 336 | fn emit_cinc( - | ^^^^^^^^^ - ... - 364 | fn emit_tbnz_label( - | ^^^^^^^^^^^^^^^ - - warning: multiple methods are never used - --> wasmer-3.3.0/lib/compiler-singlepass/src/emitter_x64.rs:74:8 - | - 64 | pub trait EmitterX64 { - | ---------- methods in this trait - ... - 74 | fn emit_u64(&mut self, x: u64) -> Result<(), CompileError>; - | ^^^^^^^^ - ... - 79 | fn emit_nop(&mut self) -> Result<(), CompileError>; - | ^^^^^^^^ - ... - 147 | fn emit_cmovae_gpr_32(&mut self, src: GPR, dst: GPR) -> Result<(), CompileError>; - | ^^^^^^^^^^^^^^^^^^ - ... - 219 | fn emit_vcmpordss( - | ^^^^^^^^^^^^^^ - ... - 225 | fn emit_vcmpordsd( - | ^^^^^^^^^^^^^^ - ... - 347 | fn emit_ud2(&mut self) -> Result<(), CompileError>; - | ^^^^^^^^ - ... - 461 | fn arch_emit_entry_trampoline(&mut self) -> Result<(), CompileError> { - | ^^^^^^^^^^^^^^^^^^^^^^^^^^ - ... - 467 | fn arch_mov64_imm_offset(&self) -> Result<usize, CompileError> { - | ^^^^^^^^^^^^^^^^^^^^^ - - warning: methods `is_callee_save` and `is_reserved` are never used - --> wasmer-3.3.0/lib/compiler-singlepass/src/location.rs:42:8 - | - 41 | pub trait Reg: Copy + Clone + Eq + PartialEq + Debug + Hash + Ord { - | --- methods in this trait - 42 | fn is_callee_save(self) -> bool; - | ^^^^^^^^^^^^^^ - 43 | fn is_reserved(self) -> bool; - | ^^^^^^^^^^^ - - warning: trait `Descriptor` is never used - --> wasmer-3.3.0/lib/compiler-singlepass/src/location.rs:50:11 - | - 50 | pub trait Descriptor<R: Reg, S: Reg> { - | ^^^^^^^^^^ - - warning: associated items `to_index`, `from_gpr`, and `from_simd` are never used - --> wasmer-3.3.0/lib/compiler-singlepass/src/location.rs:70:8 - | - 68 | pub trait CombinedRegister: Copy + Clone + Eq + PartialEq + Debug { - | ---------------- associated items in this trait - 69 | /// Returns the index of the register. - 70 | fn to_index(&self) -> RegisterIndex; - | ^^^^^^^^ - ... - 74 | fn from_gpr(x: u16) -> Self; - | ^^^^^^^^ - 75 | /// Convert from an SIMD register - 76 | fn from_simd(x: u16) -> Self; - | ^^^^^^^^^ - - warning: methods `imm_value` and `is_imm` are never used - --> wasmer-3.3.0/lib/compiler-singlepass/src/machine.rs:36:8 - | - 35 | pub trait MaybeImmediate { - | -------------- methods in this trait - 36 | fn imm_value(&self) -> Option<Value>; - | ^^^^^^^^^ - 37 | fn is_imm(&self) -> bool { - | ^^^^^^ - - warning: multiple methods are never used - --> wasmer-3.3.0/lib/compiler-singlepass/src/machine.rs:114:8 - | - 54 | pub trait Machine { - | ------- methods in this trait - ... - 114 | fn mark_address_with_trap_code(&mut self, code: TrapCode); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ - ... - 279 | fn emit_call_label(&mut self, label: Label) -> Result<(), CompileError>; - | ^^^^^^^^^^^^^^^ - ... - 298 | fn emit_debug_breakpoint(&mut self) -> Result<(), CompileError>; - | ^^^^^^^^^^^^^^^^^^^^^ - ... - 302 | fn location_address( - | ^^^^^^^^^^^^^^^^ - ... - 310 | fn location_and( - | ^^^^^^^^^^^^ - ... - 343 | fn location_sub( - | ^^^^^^^^^^^^ - ... - 368 | fn location_test( - | ^^^^^^^^^^^^^ - ... - 385 | fn jmp_on_above(&mut self, label: Label) -> Result<(), CompileError>; - | ^^^^^^^^^^^^ - ... - 394 | fn jmp_on_overflow(&mut self, label: Label) -> Result<(), CompileError>; - | ^^^^^^^^^^^^^^^ - - 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: method `pointer_bytes` is never used - --> wasmer-3.3.0/lib/compiler-cranelift/src/translator/func_environ.rs:64:8 - | - 52 | pub trait TargetEnvironment { - | ----------------- method in this trait - ... - 64 | fn pointer_bytes(&self) -> u8 { - | ^^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - - warning: methods `get_global_type`, `get_local_type`, `get_local_types`, `get_function_type`, and `get_function_sig` are never used - --> wasmer-3.3.0/lib/compiler-cranelift/src/translator/func_environ.rs:473:8 - | - 81 | pub trait FuncEnvironment: TargetEnvironment { - | --------------- methods in this trait - ... - 473 | fn get_global_type(&self, global_index: GlobalIndex) -> Option<WasmerType>; - | ^^^^^^^^^^^^^^^ - ... - 482 | fn get_local_type(&self, local_index: u32) -> Option<WasmerType>; - | ^^^^^^^^^^^^^^ - ... - 485 | fn get_local_types(&self) -> &[WasmerType]; - | ^^^^^^^^^^^^^^^ - ... - 488 | fn get_function_type(&self, function_index: FunctionIndex) -> Option<&FunctionType>; - | ^^^^^^^^^^^^^^^^^ - ... - 491 | fn get_function_sig(&self, sig_index: SignatureIndex) -> Option<&FunctionType>; - | ^^^^^^^^^^^^^^^^ - - warning: `wasmer-compiler-cranelift` (lib) generated 8 warnings (run `cargo fix --lib -p wasmer-compiler-cranelift` to apply 6 suggestions) - warning: `wasmer-compiler-singlepass` (lib) generated 13 warnings (run `cargo fix --lib -p wasmer-compiler-singlepass` to apply 1 suggestion) - Finished `release` profile [optimized] target(s) in 3m 00s -> compiled tezos-rust-libs.1.7 Processing 6/6: [tezos-rust-libs: mkdir] + /bin/mkdir "-p" "/home/opam/.opam/5.2.0/lib/tezos-rust-libs" (CWD=/home/opam/.opam/5.2.0/.opam-switch/build/tezos-rust-libs.1.7) + /bin/mkdir "-p" "/home/opam/.opam/5.2.0/lib/tezos-rust-libs/rust" (CWD=/home/opam/.opam/5.2.0/.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/5.2.0/lib/tezos-rust-libs" (CWD=/home/opam/.opam/5.2.0/.opam-switch/build/tezos-rust-libs.1.7) + /bin/cp "librustzcash/include/rust/types.h" "/home/opam/.opam/5.2.0/lib/tezos-rust-libs/rust" (CWD=/home/opam/.opam/5.2.0/.opam-switch/build/tezos-rust-libs.1.7) Processing 6/6: [tezos-rust-libs: touch] + /usr/bin/touch "/home/opam/.opam/5.2.0/lib/tezos-rust-libs/META" (CWD=/home/opam/.opam/5.2.0/.opam-switch/build/tezos-rust-libs.1.7) -> installed tezos-rust-libs.1.7 Done. 2024-08-09 19:47.08 ---> saved as "989aa885bdc8978fa1837113ac3de2d4814575814ba32e52a1fb26379b399ba7" Job succeeded