[INFO] cloning repository https://github.com/andpleas1/zcash
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/andpleas1/zcash" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandpleas1%2Fzcash", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandpleas1%2Fzcash'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 89434df20270cf452598cd68727b0ecc833fc06f
[INFO] testing andpleas1/zcash against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandpleas1%2Fzcash" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-2-tc2/source/rust-toolchain
[INFO] started tweaking git repo https://github.com/andpleas1/zcash
[INFO] finished tweaking git repo https://github.com/andpleas1/zcash
[INFO] tweaked toml for git repo https://github.com/andpleas1/zcash written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/andpleas1/zcash on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/andpleas1/zcash 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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,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" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 715727ba3ee9364154b001b2c36407e47d65ab991bf1a6bbe3220097c8822ac2
[INFO] running `Command { std: "docker" "start" "-a" "715727ba3ee9364154b001b2c36407e47d65ab991bf1a6bbe3220097c8822ac2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "715727ba3ee9364154b001b2c36407e47d65ab991bf1a6bbe3220097c8822ac2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "715727ba3ee9364154b001b2c36407e47d65ab991bf1a6bbe3220097c8822ac2", kill_on_drop: false }`
[INFO] [stdout] 715727ba3ee9364154b001b2c36407e47d65ab991bf1a6bbe3220097c8822ac2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,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" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 602ff92b69eab51434297bf84e9df9bb0d2b4472a9c825d2baf20cdb42e76bbd
[INFO] running `Command { std: "docker" "start" "-a" "602ff92b69eab51434297bf84e9df9bb0d2b4472a9c825d2baf20cdb42e76bbd", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.103
[INFO] [stderr]    Compiling proc-macro2 v1.0.29
[INFO] [stderr]    Compiling syn v1.0.80
[INFO] [stderr]    Compiling radium v0.6.2
[INFO] [stderr]    Compiling crossbeam-utils v0.8.5
[INFO] [stderr]    Compiling funty v1.2.0
[INFO] [stderr]    Compiling arrayvec v0.5.2
[INFO] [stderr]    Compiling typenum v1.14.0
[INFO] [stderr]    Compiling generic-array v0.14.4
[INFO] [stderr]    Compiling wyz v0.4.0
[INFO] [stderr]    Compiling memoffset v0.6.4
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.5
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling once_cell v1.8.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.10
[INFO] [stderr]    Compiling rayon-core v1.9.1
[INFO] [stderr]    Compiling serde v1.0.130
[INFO] [stderr]    Compiling rayon v1.5.1
[INFO] [stderr]    Compiling ahash v0.7.4
[INFO] [stderr]    Compiling crunchy v0.1.6
[INFO] [stderr]    Compiling regex v1.5.4
[INFO] [stderr]    Compiling num-bigint v0.4.2
[INFO] [stderr]    Compiling nonempty v0.7.0
[INFO] [stderr]    Compiling futures-core v0.3.17
[INFO] [stderr]    Compiling blake2b_simd v0.5.11
[INFO] [stderr]    Compiling tracing-core v0.1.21
[INFO] [stderr]    Compiling futures-task v0.3.17
[INFO] [stderr]    Compiling bitvec v0.22.3
[INFO] [stderr]    Compiling base64ct v1.0.1
[INFO] [stderr]    Compiling parking_lot_core v0.8.5
[INFO] [stderr]    Compiling bigint v4.4.3
[INFO] [stderr]    Compiling tinyvec v1.5.0
[INFO] [stderr]    Compiling tokio v1.12.0
[INFO] [stderr]    Compiling futures-util v0.3.17
[INFO] [stderr]    Compiling crossbeam-channel v0.5.1
[INFO] [stderr]    Compiling indexmap v1.7.0
[INFO] [stderr]    Compiling getrandom v0.2.3
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling instant v0.1.11
[INFO] [stderr]    Compiling metrics v0.17.0
[INFO] [stderr]    Compiling quote v1.0.10
[INFO] [stderr]    Compiling rand_core v0.6.3
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling cipher v0.3.0
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling crossbeam-deque v0.8.1
[INFO] [stderr]    Compiling universal-hash v0.4.1
[INFO] [stderr]    Compiling crypto-mac v0.11.1
[INFO] [stderr]    Compiling poly1305 v0.7.2
[INFO] [stderr]    Compiling aead v0.4.3
[INFO] [stderr]    Compiling rand v0.8.4
[INFO] [stderr]    Compiling sha2 v0.9.8
[INFO] [stderr]    Compiling block-modes v0.8.1
[INFO] [stderr]    Compiling password-hash v0.3.2
[INFO] [stderr]    Compiling bytes v1.1.0
[INFO] [stderr]    Compiling httparse v1.5.1
[INFO] [stderr]    Compiling futures-channel v0.3.17
[INFO] [stderr]    Compiling raw-cpuid v10.2.0
[INFO] [stderr]    Compiling hashbrown v0.11.2
[INFO] [stderr]    Compiling http v0.2.5
[INFO] [stderr]    Compiling pbkdf2 v0.9.0
[INFO] [stderr]    Compiling hmac v0.11.0
[INFO] [stderr]    Compiling unicode-normalization v0.1.19
[INFO] [stderr]    Compiling aes v0.7.5
[INFO] [stderr]    Compiling fpe v0.5.0
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling time v0.1.43
[INFO] [stderr]    Compiling mio v0.7.13
[INFO] [stderr]    Compiling memuse v0.2.0
[INFO] [stderr]    Compiling zcash_encoding v0.0.0 (https://github.com/zcash/librustzcash.git?rev=53d0a51d33a421cb76d3e3124d1e4c1c9036068e#53d0a51d)
[INFO] [stderr]    Compiling blake2s_simd v0.5.11
[INFO] [stderr]    Compiling nibble_vec v0.1.0
[INFO] [stderr]    Compiling regex-automata v0.1.10
[INFO] [stderr]    Compiling endian-type v0.1.2
[INFO] [stderr]    Compiling arrayvec v0.7.1
[INFO] [stderr]    Compiling try-lock v0.2.3
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling radix_trie v0.2.1
[INFO] [stderr]    Compiling ff v0.11.0
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]    Compiling chrono v0.4.19
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling group v0.11.0
[INFO] [stderr]    Compiling pairing v0.21.0
[INFO] [stderr]    Compiling bls12_381 v0.6.0
[INFO] [stderr]    Compiling pasta_curves v0.2.1
[INFO] [stderr]    Compiling http-body v0.4.3
[INFO] [stderr]    Compiling quanta v0.9.3
[INFO] [stderr]    Compiling matchers v0.0.1
[INFO] [stderr]    Compiling dashmap v4.0.2
[INFO] [stderr]    Compiling socket2 v0.3.19
[INFO] [stderr]    Compiling jubjub v0.8.0
[INFO] [stderr]    Compiling dirs-sys v0.3.6
[INFO] [stderr]    Compiling equihash v0.1.0 (https://github.com/zcash/librustzcash.git?rev=53d0a51d33a421cb76d3e3124d1e4c1c9036068e#53d0a51d)
[INFO] [stderr]    Compiling halo2 v0.1.0-beta.1
[INFO] [stderr]    Compiling thread_local v1.1.3
[INFO] [stderr]    Compiling ordered-float v2.8.0
[INFO] [stderr]    Compiling sharded-slab v0.1.3
[INFO] [stderr]    Compiling httpdate v0.3.2
[INFO] [stderr]    Compiling atomic-shim v0.1.0
[INFO] [stderr]    Compiling tower-service v0.3.1
[INFO] [stderr]    Compiling sketches-ddsketch v0.1.2
[INFO] [stderr]    Compiling directories v4.0.1
[INFO] [stderr]    Compiling bellman v0.11.1
[INFO] [stderr]    Compiling bs58 v0.4.0
[INFO] [stderr]    Compiling f4jumble v0.0.0 (https://github.com/zcash/librustzcash.git?rev=53d0a51d33a421cb76d3e3124d1e4c1c9036068e#53d0a51d)
[INFO] [stderr]    Compiling ipnet v2.3.1
[INFO] [stderr]    Compiling bech32 v0.8.1
[INFO] [stderr]    Compiling zcash_address v0.0.0 (https://github.com/zcash/librustzcash.git?rev=53d0a51d33a421cb76d3e3124d1e4c1c9036068e#53d0a51d)
[INFO] [stderr]    Compiling zcash_history v0.2.0 (https://github.com/zcash/librustzcash.git?rev=53d0a51d33a421cb76d3e3124d1e4c1c9036068e#53d0a51d)
[INFO] [stderr]    Compiling synstructure v0.12.5
[INFO] [stderr]    Compiling zeroize_derive v1.2.0
[INFO] [stderr]    Compiling serde_derive v1.0.130
[INFO] [stderr]    Compiling thiserror-impl v1.0.29
[INFO] [stderr]    Compiling tracing-attributes v0.1.18
[INFO] [stderr]    Compiling metrics-macros v0.4.0
[INFO] [stderr]    Compiling tokio-macros v1.4.1
[INFO] [stderr]    Compiling pin-project-internal v1.0.8
[INFO] [stderr]    Compiling zeroize v1.4.2
[INFO] [stderr]    Compiling chacha20 v0.8.1
[INFO] [stderr]    Compiling chacha20poly1305 v0.9.0
[INFO] [stderr]    Compiling bip0039 v0.9.0
[INFO] [stderr]    Compiling zcash_note_encryption v0.0.0 (https://github.com/zcash/librustzcash.git?rev=53d0a51d33a421cb76d3e3124d1e4c1c9036068e#53d0a51d)
[INFO] [stderr]    Compiling curve25519-dalek v3.2.0
[INFO] [stderr]    Compiling metrics-util v0.10.1
[INFO] [stderr]    Compiling thiserror v1.0.29
[INFO] [stderr]    Compiling pin-project v1.0.8
[INFO] [stderr]    Compiling tracing v0.1.29
[INFO] [stderr]    Compiling tracing-subscriber v0.2.25
[INFO] [stderr]    Compiling hyper v0.14.2
[INFO] [stderr]    Compiling metrics-exporter-prometheus v0.6.1
[INFO] [stderr]    Compiling tracing-appender v0.1.2
[INFO] [stderr]    Compiling incrementalmerkletree v0.1.0 (https://github.com/zcash/incrementalmerkletree?rev=b7bd6246122a6e9ace8edb51553fbf5228906cbb#b7bd6246)
[INFO] [stderr]    Compiling reddsa v0.0.0 (https://github.com/str4d/redjubjub.git?rev=416a6a8ebf8bd42c114c938883016c04f338de72#416a6a8e)
[INFO] [stderr]    Compiling ed25519-zebra v2.2.0 (https://github.com/ZcashFoundation/ed25519-zebra.git?rev=d3512400227a362d08367088ffaa9bd4142a69c7#d3512400)
[INFO] [stderr]    Compiling orchard v0.0.0 (https://github.com/zcash/orchard.git?rev=2c8241f25b943aa05203eacf9905db117c69bd29#2c8241f2)
[INFO] [stderr]    Compiling zcash_primitives v0.5.0 (https://github.com/zcash/librustzcash.git?rev=53d0a51d33a421cb76d3e3124d1e4c1c9036068e#53d0a51d)
[INFO] [stderr]    Compiling zcash_proofs v0.5.0 (https://github.com/zcash/librustzcash.git?rev=53d0a51d33a421cb76d3e3124d1e4c1c9036068e#53d0a51d)
[INFO] [stderr]    Compiling librustzcash v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/rust/src/rustzcash.rs:612:18
[INFO] [stdout]     |
[INFO] [stdout] 612 |         unsafe { SAPLING_SPEND_VK.as_ref() }.unwrap(),
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[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: `#[warn(static_mut_refs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/rust/src/rustzcash.rs:656:18
[INFO] [stdout]     |
[INFO] [stdout] 656 |         unsafe { SAPLING_OUTPUT_VK.as_ref() }.unwrap(),
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[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] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/rust/src/rustzcash.rs:722:18
[INFO] [stdout]     |
[INFO] [stdout] 722 |         unsafe { &SPROUT_GROTH16_PARAMS_PATH }
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[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 `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 722 |         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:792:18
[INFO] [stdout]     |
[INFO] [stdout] 792 |         unsafe { SPROUT_GROTH16_VK.as_ref() }.expect("parameters should have been initialized"),
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[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] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/rust/src/rustzcash.rs:832:18
[INFO] [stdout]     |
[INFO] [stdout] 832 |         unsafe { SAPLING_OUTPUT_PARAMS.as_ref() }.unwrap(),
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[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] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/rust/src/rustzcash.rs:990:22
[INFO] [stdout]     |
[INFO] [stdout] 990 |             unsafe { SAPLING_SPEND_PARAMS.as_ref() }.unwrap(),
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[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] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/rust/src/rustzcash.rs:991:22
[INFO] [stdout]     |
[INFO] [stdout] 991 |             unsafe { SAPLING_SPEND_VK.as_ref() }.unwrap(),
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[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] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/rust/src/orchard_ffi.rs:124:27
[INFO] [stdout]     |
[INFO] [stdout] 124 |         let vk = unsafe { crate::ORCHARD_VK.as_ref() }.unwrap();
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[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] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used
[INFO] [stdout]   --> src/rust/src/zip339_ffi.rs:66:13
[INFO] [stdout]    |
[INFO] [stdout] 66 |             CString::from_raw(phrase as *mut c_char);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: call `drop(from_raw(ptr))` if you intend to drop the `CString`
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 66 |             let _ = CString::from_raw(phrase as *mut c_char);
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4m 40s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bigint v4.4.3
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "602ff92b69eab51434297bf84e9df9bb0d2b4472a9c825d2baf20cdb42e76bbd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "602ff92b69eab51434297bf84e9df9bb0d2b4472a9c825d2baf20cdb42e76bbd", kill_on_drop: false }`
[INFO] [stdout] 602ff92b69eab51434297bf84e9df9bb0d2b4472a9c825d2baf20cdb42e76bbd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,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" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d7bdd221a2471f498031267bb06c01e6306ad2e147f5c16a4694f01ee15dee83
[INFO] running `Command { std: "docker" "start" "-a" "d7bdd221a2471f498031267bb06c01e6306ad2e147f5c16a4694f01ee15dee83", kill_on_drop: false }`
[INFO] [stderr]    Compiling librustzcash v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/rust/src/rustzcash.rs:612:18
[INFO] [stdout]     |
[INFO] [stdout] 612 |         unsafe { SAPLING_SPEND_VK.as_ref() }.unwrap(),
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[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: `#[warn(static_mut_refs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/rust/src/rustzcash.rs:656:18
[INFO] [stdout]     |
[INFO] [stdout] 656 |         unsafe { SAPLING_OUTPUT_VK.as_ref() }.unwrap(),
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[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] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/rust/src/rustzcash.rs:722:18
[INFO] [stdout]     |
[INFO] [stdout] 722 |         unsafe { &SPROUT_GROTH16_PARAMS_PATH }
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[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 `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 722 |         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:792:18
[INFO] [stdout]     |
[INFO] [stdout] 792 |         unsafe { SPROUT_GROTH16_VK.as_ref() }.expect("parameters should have been initialized"),
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[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] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/rust/src/rustzcash.rs:832:18
[INFO] [stdout]     |
[INFO] [stdout] 832 |         unsafe { SAPLING_OUTPUT_PARAMS.as_ref() }.unwrap(),
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[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] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/rust/src/rustzcash.rs:990:22
[INFO] [stdout]     |
[INFO] [stdout] 990 |             unsafe { SAPLING_SPEND_PARAMS.as_ref() }.unwrap(),
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[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] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/rust/src/rustzcash.rs:991:22
[INFO] [stdout]     |
[INFO] [stdout] 991 |             unsafe { SAPLING_SPEND_VK.as_ref() }.unwrap(),
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[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] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/rust/src/orchard_ffi.rs:124:27
[INFO] [stdout]     |
[INFO] [stdout] 124 |         let vk = unsafe { crate::ORCHARD_VK.as_ref() }.unwrap();
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[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] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used
[INFO] [stdout]   --> src/rust/src/zip339_ffi.rs:66:13
[INFO] [stdout]    |
[INFO] [stdout] 66 |             CString::from_raw(phrase as *mut c_char);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: call `drop(from_raw(ptr))` if you intend to drop the `CString`
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 66 |             let _ = CString::from_raw(phrase as *mut c_char);
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 36.98s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bigint v4.4.3
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "d7bdd221a2471f498031267bb06c01e6306ad2e147f5c16a4694f01ee15dee83", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d7bdd221a2471f498031267bb06c01e6306ad2e147f5c16a4694f01ee15dee83", kill_on_drop: false }`
[INFO] [stdout] d7bdd221a2471f498031267bb06c01e6306ad2e147f5c16a4694f01ee15dee83
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,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" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] dd2753663f892411adf8320cc9eb8738fd619bd57824937f2fd3fa7c124a4e81
[INFO] running `Command { std: "docker" "start" "-a" "dd2753663f892411adf8320cc9eb8738fd619bd57824937f2fd3fa7c124a4e81", kill_on_drop: false }`
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> src/rust/src/rustzcash.rs:612:18
[INFO] [stderr]     |
[INFO] [stderr] 612 |         unsafe { SAPLING_SPEND_VK.as_ref() }.unwrap(),
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[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: `#[warn(static_mut_refs)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> src/rust/src/rustzcash.rs:656:18
[INFO] [stderr]     |
[INFO] [stderr] 656 |         unsafe { SAPLING_OUTPUT_VK.as_ref() }.unwrap(),
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[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] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> src/rust/src/rustzcash.rs:722:18
[INFO] [stderr]     |
[INFO] [stderr] 722 |         unsafe { &SPROUT_GROTH16_PARAMS_PATH }
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[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 `&raw const` instead to create a raw pointer
[INFO] [stderr]     |
[INFO] [stderr] 722 |         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:792:18
[INFO] [stderr]     |
[INFO] [stderr] 792 |         unsafe { SPROUT_GROTH16_VK.as_ref() }.expect("parameters should have been initialized"),
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[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] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> src/rust/src/rustzcash.rs:832:18
[INFO] [stderr]     |
[INFO] [stderr] 832 |         unsafe { SAPLING_OUTPUT_PARAMS.as_ref() }.unwrap(),
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[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] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> src/rust/src/rustzcash.rs:990:22
[INFO] [stderr]     |
[INFO] [stderr] 990 |             unsafe { SAPLING_SPEND_PARAMS.as_ref() }.unwrap(),
[INFO] [stderr]     |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[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] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> src/rust/src/rustzcash.rs:991:22
[INFO] [stderr]     |
[INFO] [stderr] 991 |             unsafe { SAPLING_SPEND_VK.as_ref() }.unwrap(),
[INFO] [stderr]     |                      ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[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] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> src/rust/src/orchard_ffi.rs:124:27
[INFO] [stderr]     |
[INFO] [stderr] 124 |         let vk = unsafe { crate::ORCHARD_VK.as_ref() }.unwrap();
[INFO] [stderr]     |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[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] 
[INFO] [stderr] warning: unused return value of `CString::from_raw` that must be used
[INFO] [stderr]   --> src/rust/src/zip339_ffi.rs:66:13
[INFO] [stderr]    |
[INFO] [stderr] 66 |             CString::from_raw(phrase as *mut c_char);
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: call `drop(from_raw(ptr))` if you intend to drop the `CString`
[INFO] [stderr]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]    |
[INFO] [stderr] 66 |             let _ = CString::from_raw(phrase as *mut c_char);
[INFO] [stderr]    |             +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: `librustzcash` (lib test) generated 9 warnings
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.28s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bigint v4.4.3
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] [stderr]      Running unittests src/rust/src/rustzcash.rs (/opt/rustwide/target/debug/deps/rustzcash-8fae3ee233860dbd)
[INFO] [stdout] 
[INFO] [stdout] running 15 tests
[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/debug/deps/rustzcash-8fae3ee233860dbd` (signal: 11, SIGSEGV: invalid memory reference)
[INFO] running `Command { std: "docker" "inspect" "dd2753663f892411adf8320cc9eb8738fd619bd57824937f2fd3fa7c124a4e81", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dd2753663f892411adf8320cc9eb8738fd619bd57824937f2fd3fa7c124a4e81", kill_on_drop: false }`
[INFO] [stdout] dd2753663f892411adf8320cc9eb8738fd619bd57824937f2fd3fa7c124a4e81
