[INFO] cloning repository https://github.com/pizzasuperapp/ZcashPizza [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pizzasuperapp/ZcashPizza" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpizzasuperapp%2FZcashPizza", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpizzasuperapp%2FZcashPizza'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 745a7bd37d3cbcf36da226873e664ad800455776 [INFO] testing pizzasuperapp/ZcashPizza against 1.100.0-beta.1+cargoflags=--release for beta-release-1.100-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpizzasuperapp%2FZcashPizza" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-0-tc2/source/rust-toolchain [INFO] started tweaking git repo https://github.com/pizzasuperapp/ZcashPizza [INFO] finished tweaking git repo https://github.com/pizzasuperapp/ZcashPizza [INFO] tweaked toml for git repo https://github.com/pizzasuperapp/ZcashPizza written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/pizzasuperapp/ZcashPizza on toolchain 1.100.0-beta.1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/pizzasuperapp/ZcashPizza already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 344c9887e40940d5a338a1a51445333571f5927487ac4874b7e066bf6e6a5610 [INFO] running `Command { std: "docker" "start" "344c9887e40940d5a338a1a51445333571f5927487ac4874b7e066bf6e6a5610", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "344c9887e40940d5a338a1a51445333571f5927487ac4874b7e066bf6e6a5610", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "344c9887e40940d5a338a1a51445333571f5927487ac4874b7e066bf6e6a5610" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "344c9887e40940d5a338a1a51445333571f5927487ac4874b7e066bf6e6a5610", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "344c9887e40940d5a338a1a51445333571f5927487ac4874b7e066bf6e6a5610" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.122 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling wyz v0.5.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling blake2b_simd v1.0.0 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling quote v1.0.17 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling bitvec v1.0.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling crossbeam-channel v0.5.4 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling uint v0.9.3 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling secp256k1-sys v0.4.2 [INFO] [stderr] Compiling libm v0.2.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling nonempty v0.7.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling tracing-core v0.1.24 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling base64ct v1.0.1 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling link-cplusplus v1.0.6 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling universal-hash v0.4.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling poly1305 v0.7.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling aead v0.4.3 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling block-modes v0.8.1 [INFO] [stderr] Compiling password-hash v0.3.2 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling byte-slice-cast v1.2.1 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling metrics v0.17.1 [INFO] [stderr] Compiling terminfo v0.7.3 [INFO] [stderr] Compiling pbkdf2 v0.9.0 [INFO] [stderr] Compiling fpe v0.5.1 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling blake2b_simd v0.5.11 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling aes v0.7.5 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling nibble_vec v0.1.0 [INFO] [stderr] Compiling memuse v0.2.0 [INFO] [stderr] Compiling zcash_encoding v0.1.0 [INFO] [stderr] Compiling raw-cpuid v10.3.0 [INFO] [stderr] Compiling blake2s_simd v1.0.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling cxxbridge-flags v1.0.68 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling ff v0.12.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling endian-type v0.1.2 [INFO] [stderr] Compiling group v0.12.0 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling num_threads v0.1.5 [INFO] [stderr] Compiling fixed-hash v0.7.0 [INFO] [stderr] Compiling pairing v0.22.0 [INFO] [stderr] Compiling pasta_curves v0.4.0 [INFO] [stderr] Compiling radix_trie v0.2.1 [INFO] [stderr] Compiling bls12_381 v0.7.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling cxx v1.0.68 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling jubjub v0.9.0 [INFO] [stderr] Compiling time v0.3.9 [INFO] [stderr] Compiling halo2_proofs v0.1.0 [INFO] [stderr] Compiling quanta v0.9.3 [INFO] [stderr] Compiling equihash v0.1.0 [INFO] [stderr] Compiling ripemd v0.1.1 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling dashmap v4.0.2 [INFO] [stderr] Compiling ordered-float v2.10.0 [INFO] [stderr] Compiling backtrace v0.3.64 [INFO] [stderr] Compiling thread_local v1.1.4 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling sketches-ddsketch v0.1.2 [INFO] [stderr] Compiling atomic-shim v0.2.0 [INFO] [stderr] Compiling anyhow v1.0.56 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling zeroize_derive v1.3.2 [INFO] [stderr] Compiling tracing-attributes v0.1.20 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.2 [INFO] [stderr] Compiling metrics-macros v0.4.1 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling gumdrop_derive v0.8.1 [INFO] [stderr] Compiling zeroize v1.4.3 [INFO] [stderr] Compiling cxxbridge-macro v1.0.68 [INFO] [stderr] Compiling chacha20 v0.8.1 [INFO] [stderr] Compiling bip0039 v0.9.0 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling chacha20poly1305 v0.9.0 [INFO] [stderr] Compiling zcash_note_encryption v0.1.0 [INFO] [stderr] Compiling metrics-util v0.10.2 [INFO] [stderr] Compiling secp256k1 v0.21.3 [INFO] [stderr] Compiling curve25519-dalek v3.2.0 [INFO] [stderr] Compiling hdwallet v0.3.1 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling tracing v0.1.32 [INFO] [stderr] Compiling bellman v0.13.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.10 [INFO] [stderr] Compiling directories v4.0.1 [INFO] [stderr] Compiling which v4.2.5 [INFO] [stderr] Compiling nix v0.22.3 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling f4jumble v0.1.0 [INFO] [stderr] Compiling object v0.27.1 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling bech32 v0.8.1 [INFO] [stderr] Compiling ipnet v2.4.0 [INFO] [stderr] Compiling zcash_address v0.1.0 [INFO] [stderr] Compiling gumdrop v0.8.1 [INFO] [stderr] Compiling secrecy v0.8.0 [INFO] [stderr] Compiling halo2_gadgets v0.1.0 [INFO] [stderr] Compiling hyper v0.14.18 [INFO] [stderr] Compiling tracing-appender v0.2.2 [INFO] [stderr] Compiling metrics-exporter-prometheus v0.6.1 [INFO] [stderr] Compiling clearscreen v1.0.9 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling incrementalmerkletree v0.3.0 [INFO] [stderr] Compiling reddsa v0.3.0 [INFO] [stderr] Compiling ed25519-zebra v3.0.0 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stderr] Compiling parity-scale-codec-derive v3.1.2 [INFO] [stderr] Compiling parity-scale-codec v3.1.2 [INFO] [stderr] Compiling impl-codec v0.6.0 [INFO] [stderr] Compiling primitive-types v0.11.1 [INFO] [stderr] Compiling orchard v0.1.0 [INFO] [stderr] Compiling zcash_history v0.3.0 [INFO] [stderr] Compiling zcash_primitives v0.6.0 [INFO] [stderr] Compiling zcash_proofs v0.6.0 [INFO] [stderr] Compiling librustzcash v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/rust/src/wallet.rs:171:16 [INFO] [stdout] | [INFO] [stdout] 171 | OutOfOrder(LastObserved, BlockHeight, usize), [INFO] [stdout] | ---------- ^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `WalletError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 171 - OutOfOrder(LastObserved, BlockHeight, usize), [INFO] [stdout] 171 + OutOfOrder((), (), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/rust/src/wallet.rs:181:29 [INFO] [stdout] | [INFO] [stdout] 181 | InsufficientCheckpoints(usize), [INFO] [stdout] | ----------------------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RewindError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 181 - InsufficientCheckpoints(usize), [INFO] [stdout] 181 + InsufficientCheckpoints(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/rust/src/wallet.rs:188:28 [INFO] [stdout] | [INFO] [stdout] 188 | ActionDecryptionFailed(usize), [INFO] [stdout] | ---------------------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BundleLoadError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 188 - ActionDecryptionFailed(usize), [INFO] [stdout] 188 + ActionDecryptionFailed(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/rust/src/wallet.rs:192:17 [INFO] [stdout] | [INFO] [stdout] 192 | FvkNotFound(IncomingViewingKey), [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BundleLoadError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 192 - FvkNotFound(IncomingViewingKey), [INFO] [stdout] 192 + FvkNotFound(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/rust/src/wallet.rs:195:24 [INFO] [stdout] | [INFO] [stdout] 195 | InvalidActionIndex(usize), [INFO] [stdout] | ------------------ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BundleLoadError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 195 - InvalidActionIndex(usize), [INFO] [stdout] 195 + InvalidActionIndex(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/rust/src/wallet.rs:200:27 [INFO] [stdout] | [INFO] [stdout] 200 | DecryptedNoteNotFound(OutPoint), [INFO] [stdout] | --------------------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SpendRetrievalError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 200 - DecryptedNoteNotFound(OutPoint), [INFO] [stdout] 200 + DecryptedNoteNotFound(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/rust/src/wallet.rs:201:23 [INFO] [stdout] | [INFO] [stdout] 201 | NoIvkForRecipient(Address), [INFO] [stdout] | ----------------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SpendRetrievalError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 201 - NoIvkForRecipient(Address), [INFO] [stdout] 201 + NoIvkForRecipient(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/rust/src/wallet.rs:202:17 [INFO] [stdout] | [INFO] [stdout] 202 | FvkNotFound(IncomingViewingKey), [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SpendRetrievalError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 202 - FvkNotFound(IncomingViewingKey), [INFO] [stdout] 202 + FvkNotFound(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/rust/src/wallet.rs:203:23 [INFO] [stdout] | [INFO] [stdout] 203 | NoteNotPositioned(OutPoint), [INFO] [stdout] | ----------------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SpendRetrievalError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 203 - NoteNotPositioned(OutPoint), [INFO] [stdout] 203 + NoteNotPositioned(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/rust/src/wallet.rs:205:31 [INFO] [stdout] | [INFO] [stdout] 205 | WitnessNotAvailableAtRoot(MerkleHashOrchard), [INFO] [stdout] | ------------------------- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SpendRetrievalError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 205 - WitnessNotAvailableAtRoot(MerkleHashOrchard), [INFO] [stdout] 205 + WitnessNotAvailableAtRoot(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/rust/src/rustzcash.rs:604:18 [INFO] [stdout] | [INFO] [stdout] 604 | unsafe { SAPLING_SPEND_VK.as_ref() }.unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = help: use a type that relies on "interior mutability" instead; to read more on this, visit [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/rust/src/rustzcash.rs:648:18 [INFO] [stdout] | [INFO] [stdout] 648 | unsafe { SAPLING_OUTPUT_VK.as_ref() }.unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = help: use a type that relies on "interior mutability" instead; to read more on this, visit [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/rust/src/rustzcash.rs:714:18 [INFO] [stdout] | [INFO] [stdout] 714 | unsafe { &SPROUT_GROTH16_PARAMS_PATH } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 714 | unsafe { &raw const SPROUT_GROTH16_PARAMS_PATH } [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/rust/src/rustzcash.rs:784:18 [INFO] [stdout] | [INFO] [stdout] 784 | unsafe { SPROUT_GROTH16_VK.as_ref() }.expect("parameters should have been initialized"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = help: use a type that relies on "interior mutability" instead; to read more on this, visit [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/rust/src/rustzcash.rs:824:18 [INFO] [stdout] | [INFO] [stdout] 824 | unsafe { SAPLING_OUTPUT_PARAMS.as_ref() }.unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = help: use a type that relies on "interior mutability" instead; to read more on this, visit [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/rust/src/rustzcash.rs:982:22 [INFO] [stdout] | [INFO] [stdout] 982 | unsafe { SAPLING_SPEND_PARAMS.as_ref() }.unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = help: use a type that relies on "interior mutability" instead; to read more on this, visit [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/rust/src/rustzcash.rs:983:22 [INFO] [stdout] | [INFO] [stdout] 983 | unsafe { SAPLING_SPEND_VK.as_ref() }.unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = help: use a type that relies on "interior mutability" instead; to read more on this, visit [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/rust/src/blake2b.rs:10:72 [INFO] [stdout] | [INFO] [stdout] 10 | fn init(output_len: usize, personalization: &[u8]) -> Box; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 10 | fn init(output_len: usize, personalization: &[u8]) -> Box; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/rust/src/builder_ffi.rs:160:23 [INFO] [stdout] | [INFO] [stdout] 160 | let pk = unsafe { ORCHARD_PK.as_ref() }.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = help: use a type that relies on "interior mutability" instead; to read more on this, visit [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/rust/src/orchard_ffi.rs:122:27 [INFO] [stdout] | [INFO] [stdout] 122 | let vk = unsafe { crate::ORCHARD_VK.as_ref() }.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = help: use a type that relies on "interior mutability" instead; to read more on this, visit [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `release` profile [optimized] target(s) in 5m 10s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: halo2_gadgets v0.1.0, nom v5.1.2, primitive-types v0.11.1, terminfo v0.7.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] running `Command { std: "docker" "inspect" "344c9887e40940d5a338a1a51445333571f5927487ac4874b7e066bf6e6a5610", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "344c9887e40940d5a338a1a51445333571f5927487ac4874b7e066bf6e6a5610" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.122 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling zeroize v1.4.3 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling wyz v0.5.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling nonempty v0.7.0 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling blake2b_simd v1.0.0 [INFO] [stderr] Compiling tracing-core v0.1.24 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling base64ct v1.0.1 [INFO] [stderr] Compiling uint v0.9.3 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling secp256k1-sys v0.4.2 [INFO] [stderr] Compiling libm v0.2.2 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling bitvec v1.0.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling crossbeam-channel v0.5.4 [INFO] [stderr] Compiling tracing v0.1.32 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling byte-slice-cast v1.2.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling blake2b_simd v0.5.11 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling secp256k1 v0.21.3 [INFO] [stderr] Compiling nibble_vec v0.1.0 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling memuse v0.2.0 [INFO] [stderr] Compiling zcash_encoding v0.1.0 [INFO] [stderr] Compiling blake2s_simd v1.0.0 [INFO] [stderr] Compiling raw-cpuid v10.3.0 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling endian-type v0.1.2 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling universal-hash v0.4.1 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling poly1305 v0.7.2 [INFO] [stderr] Compiling chacha20 v0.8.1 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling aead v0.4.3 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling password-hash v0.3.2 [INFO] [stderr] Compiling chacha20poly1305 v0.9.0 [INFO] [stderr] Compiling block-modes v0.8.1 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling zcash_note_encryption v0.1.0 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling aes v0.7.5 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling pbkdf2 v0.9.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling ff v0.12.0 [INFO] [stderr] Compiling group v0.12.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling pairing v0.22.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling pasta_curves v0.4.0 [INFO] [stderr] Compiling bls12_381 v0.7.0 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling num_threads v0.1.5 [INFO] [stderr] Compiling fixed-hash v0.7.0 [INFO] [stderr] Compiling fpe v0.5.1 [INFO] [stderr] Compiling time v0.3.9 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling bip0039 v0.9.0 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling ripemd v0.1.1 [INFO] [stderr] Compiling parity-scale-codec v3.1.2 [INFO] [stderr] Compiling incrementalmerkletree v0.3.0 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling jubjub v0.9.0 [INFO] [stderr] Compiling quanta v0.9.3 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling metrics v0.17.1 [INFO] [stderr] Compiling dashmap v4.0.2 [INFO] [stderr] Compiling reddsa v0.3.0 [INFO] [stderr] Compiling hdwallet v0.3.1 [INFO] [stderr] Compiling impl-codec v0.6.0 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling radix_trie v0.2.1 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling halo2_proofs v0.1.0 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling equihash v0.1.0 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling ordered-float v2.10.0 [INFO] [stderr] Compiling thread_local v1.1.4 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling sketches-ddsketch v0.1.2 [INFO] [stderr] Compiling atomic-shim v0.2.0 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling bellman v0.13.0 [INFO] [stderr] Compiling metrics-util v0.10.2 [INFO] [stderr] Compiling primitive-types v0.11.1 [INFO] [stderr] Compiling curve25519-dalek v3.2.0 [INFO] [stderr] Compiling directories v4.0.1 [INFO] [stderr] Compiling nix v0.22.3 [INFO] [stderr] Compiling which v4.2.5 [INFO] [stderr] Compiling link-cplusplus v1.0.6 [INFO] [stderr] Compiling f4jumble v0.1.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.10 [INFO] [stderr] Compiling object v0.27.1 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling ipnet v2.4.0 [INFO] [stderr] Compiling bech32 v0.8.1 [INFO] [stderr] Compiling zcash_address v0.1.0 [INFO] [stderr] Compiling hyper v0.14.18 [INFO] [stderr] Compiling zcash_history v0.3.0 [INFO] [stderr] Compiling ed25519-zebra v3.0.0 [INFO] [stderr] Compiling terminfo v0.7.3 [INFO] [stderr] Compiling gumdrop v0.8.1 [INFO] [stderr] Compiling cxx v1.0.68 [INFO] [stderr] Compiling anyhow v1.0.56 [INFO] [stderr] Compiling secrecy v0.8.0 [INFO] [stderr] Compiling tracing-appender v0.2.2 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling metrics-exporter-prometheus v0.6.1 [INFO] [stderr] Compiling halo2_gadgets v0.1.0 [INFO] [stderr] Compiling backtrace v0.3.64 [INFO] [stderr] Compiling clearscreen v1.0.9 [INFO] [stderr] Compiling orchard v0.1.0 [INFO] [stderr] Compiling zcash_primitives v0.6.0 [INFO] [stderr] Compiling zcash_proofs v0.6.0 [INFO] [stderr] Compiling librustzcash v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/rust/src/wallet.rs:171:16 [INFO] [stdout] | [INFO] [stdout] 171 | OutOfOrder(LastObserved, BlockHeight, usize), [INFO] [stdout] | ---------- ^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `WalletError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 171 - OutOfOrder(LastObserved, BlockHeight, usize), [INFO] [stdout] 171 + OutOfOrder((), (), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/rust/src/wallet.rs:181:29 [INFO] [stdout] | [INFO] [stdout] 181 | InsufficientCheckpoints(usize), [INFO] [stdout] | ----------------------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RewindError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 181 - InsufficientCheckpoints(usize), [INFO] [stdout] 181 + InsufficientCheckpoints(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/rust/src/wallet.rs:188:28 [INFO] [stdout] | [INFO] [stdout] 188 | ActionDecryptionFailed(usize), [INFO] [stdout] | ---------------------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BundleLoadError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 188 - ActionDecryptionFailed(usize), [INFO] [stdout] 188 + ActionDecryptionFailed(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/rust/src/wallet.rs:192:17 [INFO] [stdout] | [INFO] [stdout] 192 | FvkNotFound(IncomingViewingKey), [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BundleLoadError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 192 - FvkNotFound(IncomingViewingKey), [INFO] [stdout] 192 + FvkNotFound(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/rust/src/wallet.rs:195:24 [INFO] [stdout] | [INFO] [stdout] 195 | InvalidActionIndex(usize), [INFO] [stdout] | ------------------ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BundleLoadError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 195 - InvalidActionIndex(usize), [INFO] [stdout] 195 + InvalidActionIndex(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/rust/src/wallet.rs:200:27 [INFO] [stdout] | [INFO] [stdout] 200 | DecryptedNoteNotFound(OutPoint), [INFO] [stdout] | --------------------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SpendRetrievalError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 200 - DecryptedNoteNotFound(OutPoint), [INFO] [stdout] 200 + DecryptedNoteNotFound(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/rust/src/wallet.rs:201:23 [INFO] [stdout] | [INFO] [stdout] 201 | NoIvkForRecipient(Address), [INFO] [stdout] | ----------------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SpendRetrievalError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 201 - NoIvkForRecipient(Address), [INFO] [stdout] 201 + NoIvkForRecipient(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/rust/src/wallet.rs:202:17 [INFO] [stdout] | [INFO] [stdout] 202 | FvkNotFound(IncomingViewingKey), [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SpendRetrievalError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 202 - FvkNotFound(IncomingViewingKey), [INFO] [stdout] 202 + FvkNotFound(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/rust/src/wallet.rs:203:23 [INFO] [stdout] | [INFO] [stdout] 203 | NoteNotPositioned(OutPoint), [INFO] [stdout] | ----------------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SpendRetrievalError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 203 - NoteNotPositioned(OutPoint), [INFO] [stdout] 203 + NoteNotPositioned(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/rust/src/wallet.rs:205:31 [INFO] [stdout] | [INFO] [stdout] 205 | WitnessNotAvailableAtRoot(MerkleHashOrchard), [INFO] [stdout] | ------------------------- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SpendRetrievalError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 205 - WitnessNotAvailableAtRoot(MerkleHashOrchard), [INFO] [stdout] 205 + WitnessNotAvailableAtRoot(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/rust/src/rustzcash.rs:604:18 [INFO] [stdout] | [INFO] [stdout] 604 | unsafe { SAPLING_SPEND_VK.as_ref() }.unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = help: use a type that relies on "interior mutability" instead; to read more on this, visit [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/rust/src/rustzcash.rs:648:18 [INFO] [stdout] | [INFO] [stdout] 648 | unsafe { SAPLING_OUTPUT_VK.as_ref() }.unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = help: use a type that relies on "interior mutability" instead; to read more on this, visit [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/rust/src/rustzcash.rs:714:18 [INFO] [stdout] | [INFO] [stdout] 714 | unsafe { &SPROUT_GROTH16_PARAMS_PATH } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 714 | unsafe { &raw const SPROUT_GROTH16_PARAMS_PATH } [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/rust/src/rustzcash.rs:784:18 [INFO] [stdout] | [INFO] [stdout] 784 | unsafe { SPROUT_GROTH16_VK.as_ref() }.expect("parameters should have been initialized"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = help: use a type that relies on "interior mutability" instead; to read more on this, visit [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/rust/src/rustzcash.rs:824:18 [INFO] [stdout] | [INFO] [stdout] 824 | unsafe { SAPLING_OUTPUT_PARAMS.as_ref() }.unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = help: use a type that relies on "interior mutability" instead; to read more on this, visit [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/rust/src/rustzcash.rs:982:22 [INFO] [stdout] | [INFO] [stdout] 982 | unsafe { SAPLING_SPEND_PARAMS.as_ref() }.unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = help: use a type that relies on "interior mutability" instead; to read more on this, visit [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/rust/src/rustzcash.rs:983:22 [INFO] [stdout] | [INFO] [stdout] 983 | unsafe { SAPLING_SPEND_VK.as_ref() }.unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = help: use a type that relies on "interior mutability" instead; to read more on this, visit [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/rust/src/blake2b.rs:10:72 [INFO] [stdout] | [INFO] [stdout] 10 | fn init(output_len: usize, personalization: &[u8]) -> Box; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 10 | fn init(output_len: usize, personalization: &[u8]) -> Box; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/rust/src/builder_ffi.rs:160:23 [INFO] [stdout] | [INFO] [stdout] 160 | let pk = unsafe { ORCHARD_PK.as_ref() }.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = help: use a type that relies on "interior mutability" instead; to read more on this, visit [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/rust/src/orchard_ffi.rs:122:27 [INFO] [stdout] | [INFO] [stdout] 122 | let vk = unsafe { crate::ORCHARD_VK.as_ref() }.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = help: use a type that relies on "interior mutability" instead; to read more on this, visit [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `release` profile [optimized] target(s) in 4m 23s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: halo2_gadgets v0.1.0, nom v5.1.2, primitive-types v0.11.1, terminfo v0.7.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] running `Command { std: "docker" "inspect" "344c9887e40940d5a338a1a51445333571f5927487ac4874b7e066bf6e6a5610", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "344c9887e40940d5a338a1a51445333571f5927487ac4874b7e066bf6e6a5610" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen" "--release", kill_on_drop: false }` [INFO] [stderr] warning: fields `0`, `1`, and `2` are never read [INFO] [stderr] --> src/rust/src/wallet.rs:171:16 [INFO] [stderr] | [INFO] [stderr] 171 | OutOfOrder(LastObserved, BlockHeight, usize), [INFO] [stderr] | ---------- ^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this variant [INFO] [stderr] | [INFO] [stderr] = note: `WalletError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stderr] | [INFO] [stderr] 171 - OutOfOrder(LastObserved, BlockHeight, usize), [INFO] [stderr] 171 + OutOfOrder((), (), ()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/rust/src/wallet.rs:181:29 [INFO] [stderr] | [INFO] [stderr] 181 | InsufficientCheckpoints(usize), [INFO] [stderr] | ----------------------- ^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `RewindError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 181 - InsufficientCheckpoints(usize), [INFO] [stderr] 181 + InsufficientCheckpoints(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/rust/src/wallet.rs:188:28 [INFO] [stderr] | [INFO] [stderr] 188 | ActionDecryptionFailed(usize), [INFO] [stderr] | ---------------------- ^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `BundleLoadError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 188 - ActionDecryptionFailed(usize), [INFO] [stderr] 188 + ActionDecryptionFailed(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/rust/src/wallet.rs:192:17 [INFO] [stderr] | [INFO] [stderr] 192 | FvkNotFound(IncomingViewingKey), [INFO] [stderr] | ----------- ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `BundleLoadError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 192 - FvkNotFound(IncomingViewingKey), [INFO] [stderr] 192 + FvkNotFound(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/rust/src/wallet.rs:195:24 [INFO] [stderr] | [INFO] [stderr] 195 | InvalidActionIndex(usize), [INFO] [stderr] | ------------------ ^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `BundleLoadError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 195 - InvalidActionIndex(usize), [INFO] [stderr] 195 + InvalidActionIndex(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/rust/src/wallet.rs:200:27 [INFO] [stderr] | [INFO] [stderr] 200 | DecryptedNoteNotFound(OutPoint), [INFO] [stderr] | --------------------- ^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `SpendRetrievalError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 200 - DecryptedNoteNotFound(OutPoint), [INFO] [stderr] 200 + DecryptedNoteNotFound(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/rust/src/wallet.rs:201:23 [INFO] [stderr] | [INFO] [stderr] 201 | NoIvkForRecipient(Address), [INFO] [stderr] | ----------------- ^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `SpendRetrievalError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 201 - NoIvkForRecipient(Address), [INFO] [stderr] 201 + NoIvkForRecipient(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/rust/src/wallet.rs:202:17 [INFO] [stderr] | [INFO] [stderr] 202 | FvkNotFound(IncomingViewingKey), [INFO] [stderr] | ----------- ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `SpendRetrievalError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 202 - FvkNotFound(IncomingViewingKey), [INFO] [stderr] 202 + FvkNotFound(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/rust/src/wallet.rs:203:23 [INFO] [stderr] | [INFO] [stderr] 203 | NoteNotPositioned(OutPoint), [INFO] [stderr] | ----------------- ^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `SpendRetrievalError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 203 - NoteNotPositioned(OutPoint), [INFO] [stderr] 203 + NoteNotPositioned(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/rust/src/wallet.rs:205:31 [INFO] [stderr] | [INFO] [stderr] 205 | WitnessNotAvailableAtRoot(MerkleHashOrchard), [INFO] [stderr] | ------------------------- ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `SpendRetrievalError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 205 - WitnessNotAvailableAtRoot(MerkleHashOrchard), [INFO] [stderr] 205 + WitnessNotAvailableAtRoot(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/rust/src/rustzcash.rs:604:18 [INFO] [stderr] | [INFO] [stderr] 604 | unsafe { SAPLING_SPEND_VK.as_ref() }.unwrap(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = help: use a type that relies on "interior mutability" instead; to read more on this, visit [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/rust/src/rustzcash.rs:648:18 [INFO] [stderr] | [INFO] [stderr] 648 | unsafe { SAPLING_OUTPUT_VK.as_ref() }.unwrap(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = help: use a type that relies on "interior mutability" instead; to read more on this, visit [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/rust/src/rustzcash.rs:714:18 [INFO] [stderr] | [INFO] [stderr] 714 | unsafe { &SPROUT_GROTH16_PARAMS_PATH } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `&raw const` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 714 | unsafe { &raw const SPROUT_GROTH16_PARAMS_PATH } [INFO] [stderr] | +++++++++ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/rust/src/rustzcash.rs:784:18 [INFO] [stderr] | [INFO] [stderr] 784 | unsafe { SPROUT_GROTH16_VK.as_ref() }.expect("parameters should have been initialized"), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = help: use a type that relies on "interior mutability" instead; to read more on this, visit [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/rust/src/rustzcash.rs:824:18 [INFO] [stderr] | [INFO] [stderr] 824 | unsafe { SAPLING_OUTPUT_PARAMS.as_ref() }.unwrap(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = help: use a type that relies on "interior mutability" instead; to read more on this, visit [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/rust/src/rustzcash.rs:982:22 [INFO] [stderr] | [INFO] [stderr] 982 | unsafe { SAPLING_SPEND_PARAMS.as_ref() }.unwrap(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = help: use a type that relies on "interior mutability" instead; to read more on this, visit [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/rust/src/rustzcash.rs:983:22 [INFO] [stderr] | [INFO] [stderr] 983 | unsafe { SAPLING_SPEND_VK.as_ref() }.unwrap(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = help: use a type that relies on "interior mutability" instead; to read more on this, visit [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stderr] --> src/rust/src/blake2b.rs:10:72 [INFO] [stderr] | [INFO] [stderr] 10 | fn init(output_len: usize, personalization: &[u8]) -> Box; [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 10 | fn init(output_len: usize, personalization: &[u8]) -> Box; [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/rust/src/builder_ffi.rs:160:23 [INFO] [stderr] | [INFO] [stderr] 160 | let pk = unsafe { ORCHARD_PK.as_ref() }.unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = help: use a type that relies on "interior mutability" instead; to read more on this, visit [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/rust/src/orchard_ffi.rs:122:27 [INFO] [stderr] | [INFO] [stderr] 122 | let vk = unsafe { crate::ORCHARD_VK.as_ref() }.unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = help: use a type that relies on "interior mutability" instead; to read more on this, visit [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `librustzcash` (lib test) generated 20 warnings [INFO] [stderr] Finished `release` profile [optimized] target(s) in 0.65s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: halo2_gadgets v0.1.0, nom v5.1.2, primitive-types v0.11.1, terminfo v0.7.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] [stderr] Running unittests src/rust/src/rustzcash.rs (/opt/rustwide/target/release/build/librustzcash/e8e8144767882ff8/out/rustzcash-e8e8144767882ff8) [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] running 15 tests [INFO] [stderr] thread 'tests::zip339::test_validate_null_phrase_panics' (5010) panicked at /rustc/e3feeb59cd1bdd011a2bfcc0747b55125d9b8527/library/core/src/panicking.rs:225:5: [INFO] [stdout] test test_gen_r ... ok [INFO] [stderr] panic in a function that cannot unwind [INFO] [stdout] test tests::zip339::test_free_null_phrase_is_noop ... ok [INFO] [stderr] stack backtrace: [INFO] [stdout] [INFO] [stderr] 0: 0x5b898c091d37 - <::print::DisplayBacktrace as core[a373ad73a504971]::fmt::Display>::fmt [INFO] [stdout] thread 'tests::zip339::test_validate_null_phrase_panics' (5010) panicked at src/rust/src/zip339_ffi.rs:77:5: [INFO] [stderr] 1: 0x5b898c06c0da - core[a373ad73a504971]::fmt::write [INFO] [stdout] assertion failed: !phrase.is_null() [INFO] [stderr] 2: 0x5b898c0907cb - ::write_fmt [INFO] [stdout] stack backtrace: [INFO] [stderr] 3: 0x5b898c090dcf - std[617be2ca0a6fd877]::panicking::default_hook::{closure#0} [INFO] [stdout] 0: 0x5b898c091d37 - <::print::DisplayBacktrace as core[a373ad73a504971]::fmt::Display>::fmt [INFO] [stderr] 4: 0x5b898c0909b9 - std[617be2ca0a6fd877]::panicking::default_hook [INFO] [stdout] 1: 0x5b898c06c0da - core[a373ad73a504971]::fmt::write [INFO] [stderr] 5: 0x5b898c090535 - std[617be2ca0a6fd877]::panicking::panic_with_hook [INFO] [stdout] 2: 0x5b898c0912eb - as core[a373ad73a504971]::io::write::Write>::write_fmt [INFO] [stderr] 6: 0x5b898c0b7312 - std[617be2ca0a6fd877]::panicking::panic_handler::{closure#0} [INFO] [stdout] 3: 0x5b898c090dcf - std[617be2ca0a6fd877]::panicking::default_hook::{closure#0} [INFO] [stderr] 7: 0x5b898c0b7299 - std[617be2ca0a6fd877]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] 4: 0x5b898c0909fa - std[617be2ca0a6fd877]::panicking::default_hook [INFO] [stderr] 8: 0x5b898c0b779c - __rustc[ea4f61d10b84890b]::rust_begin_unwind [INFO] [stdout] 5: 0x5b898c090535 - std[617be2ca0a6fd877]::panicking::panic_with_hook [INFO] [stderr] 9: 0x5b898c06f4bc - core[a373ad73a504971]::panicking::panic_nounwind_fmt [INFO] [stdout] 6: 0x5b898c0b7312 - std[617be2ca0a6fd877]::panicking::panic_handler::{closure#0} [INFO] [stderr] 10: 0x5b898c06f487 - core[a373ad73a504971]::panicking::panic_nounwind [INFO] [stdout] 7: 0x5b898c0b7299 - std[617be2ca0a6fd877]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stderr] 11: 0x5b898c06f4d3 - core[a373ad73a504971]::panicking::panic_cannot_unwind [INFO] [stdout] 8: 0x5b898c0b779c - __rustc[ea4f61d10b84890b]::rust_begin_unwind [INFO] [stderr] 12: 0x5b898c04f730 - rustzcash[e0e98cd3f643b04e]::tests::zip339::test_validate_null_phrase_panics [INFO] [stdout] 9: 0x5b898c06bf6b - core[a373ad73a504971]::panicking::panic_fmt [INFO] [stderr] 13: 0x5b898c05295e - >::call_once [INFO] [stdout] 10: 0x5b898c06d701 - core[a373ad73a504971]::panicking::panic [INFO] [stdout] 11: 0x5b898c04f729 - rustzcash[e0e98cd3f643b04e]::tests::zip339::test_validate_null_phrase_panics [INFO] [stdout] 12: 0x5b898c05295e - >::call_once [INFO] [stdout] 13: 0x5b898c0d041b - test[aada8e7e76ba119b]::__rust_begin_short_backtrace::, fn() -> core[a373ad73a504971]::result::Result<(), alloc[2e1b2a31b91974c5]::string::String>> [INFO] [stdout] 14: 0x5b898c0cb85f - test[aada8e7e76ba119b]::run_test::{closure#0} [INFO] [stdout] 15: 0x5b898c0cb2dc - std[617be2ca0a6fd877]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 16: 0x5b898c0eb07c - ::{closure#1} as core[a373ad73a504971]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 17: 0x5b898c0b8fe4 - ::new::thread_start [INFO] [stdout] 18: 0x72ed5f77fdfa - [INFO] [stdout] 19: 0x72ed5f8133d4 - clone [INFO] [stdout] 20: 0x0 - [INFO] [stderr] 14: 0x5b898c0d041b - test[aada8e7e76ba119b]::__rust_begin_short_backtrace::, fn() -> core[a373ad73a504971]::result::Result<(), alloc[2e1b2a31b91974c5]::string::String>> [INFO] [stderr] 15: 0x5b898c0cb85f - test[aada8e7e76ba119b]::run_test::{closure#0} [INFO] [stderr] 16: 0x5b898c0cb2dc - std[617be2ca0a6fd877]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stderr] 17: 0x5b898c0eb07c - ::{closure#1} as core[a373ad73a504971]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stderr] 18: 0x5b898c0b8fe4 - ::new::thread_start [INFO] [stderr] 19: 0x72ed5f77fdfa - [INFO] [stderr] 20: 0x72ed5f8133d4 - clone [INFO] [stderr] 21: 0x0 - [INFO] [stderr] thread caused non-unwinding panic. aborting. [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/release/build/librustzcash/e8e8144767882ff8/out/rustzcash-e8e8144767882ff8` (signal: 6, SIGABRT: process abort signal) [INFO] running `Command { std: "docker" "inspect" "344c9887e40940d5a338a1a51445333571f5927487ac4874b7e066bf6e6a5610", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "344c9887e40940d5a338a1a51445333571f5927487ac4874b7e066bf6e6a5610", kill_on_drop: false }` [INFO] [stdout] 344c9887e40940d5a338a1a51445333571f5927487ac4874b7e066bf6e6a5610