[INFO] cloning repository https://github.com/fakecoinbase/zcashslashzcash [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fakecoinbase/zcashslashzcash" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffakecoinbase%2Fzcashslashzcash", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffakecoinbase%2Fzcashslashzcash'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] de52eed97443a851b62ea333e9cade0476dafc19 [INFO] testing fakecoinbase/zcashslashzcash against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffakecoinbase%2Fzcashslashzcash" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-4-tc2/source/rust-toolchain [INFO] started tweaking git repo https://github.com/fakecoinbase/zcashslashzcash [INFO] finished tweaking git repo https://github.com/fakecoinbase/zcashslashzcash [INFO] tweaked toml for git repo https://github.com/fakecoinbase/zcashslashzcash written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/fakecoinbase/zcashslashzcash on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/fakecoinbase/zcashslashzcash 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6fbe834c406eb215694bbf256f7f1fb39a67e05505a7768049fe1c36fa67578c [INFO] running `Command { std: "docker" "start" "-a" "6fbe834c406eb215694bbf256f7f1fb39a67e05505a7768049fe1c36fa67578c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6fbe834c406eb215694bbf256f7f1fb39a67e05505a7768049fe1c36fa67578c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fbe834c406eb215694bbf256f7f1fb39a67e05505a7768049fe1c36fa67578c", kill_on_drop: false }` [INFO] [stdout] 6fbe834c406eb215694bbf256f7f1fb39a67e05505a7768049fe1c36fa67578c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fa46e961d225c921a89cfa57371cd17bd722298c4c49406c939c170c621ed622 [INFO] running `Command { std: "docker" "start" "-a" "fa46e961d225c921a89cfa57371cd17bd722298c4c49406c939c170c621ed622", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling autocfg v0.1.6 [INFO] [stderr] Compiling proc-macro2 v1.0.3 [INFO] [stderr] Compiling getrandom v0.1.12 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling arrayvec v0.4.11 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling num-bigint v0.2.3 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.5 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Compiling constant_time_eq v0.1.4 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling c2-chacha v0.2.2 [INFO] [stderr] Compiling arrayref v0.3.5 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling rand_xorshift v0.2.0 [INFO] [stderr] Compiling block-cipher-trait v0.6.2 [INFO] [stderr] Compiling block-padding v0.1.4 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling aes-soft v0.3.3 [INFO] [stderr] Compiling serde_derive v1.0.113 [INFO] [stderr] Compiling crossbeam-epoch v0.7.2 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling rand v0.7.0 [INFO] [stderr] Compiling crunchy v0.1.6 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling sha2 v0.8.0 [INFO] [stderr] Compiling crossbeam-channel v0.3.9 [INFO] [stderr] Compiling aes v0.3.2 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling blake2s_simd v0.5.8 [INFO] [stderr] Compiling blake2b_simd v0.5.8 [INFO] [stderr] Compiling num_cpus v1.10.1 [INFO] [stderr] Compiling serde v1.0.113 [INFO] [stderr] Compiling futures v0.1.29 [INFO] [stderr] Compiling crypto_api v0.2.2 [INFO] [stderr] Compiling crossbeam v0.7.2 [INFO] [stderr] Compiling crypto_api_chachapoly v0.2.2 [INFO] [stderr] Compiling hex v0.3.2 [INFO] [stderr] Compiling bit-vec v0.4.4 [INFO] [stderr] Compiling zeroize v1.1.0 [INFO] [stderr] Compiling subtle v2.2.3 [INFO] [stderr] Compiling fpe v0.2.0 [INFO] [stderr] Compiling curve25519-dalek v2.1.0 [INFO] [stderr] Compiling bigint v4.4.1 [INFO] [stderr] Compiling directories v1.0.2 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling ff_derive v0.6.0 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling zcash_history v0.2.0 [INFO] [stderr] Compiling thiserror v1.0.20 [INFO] [stderr] Compiling ff v0.6.0 [INFO] [stderr] Compiling group v0.6.0 [INFO] [stderr] Compiling pairing v0.16.0 [INFO] [stderr] Compiling bellman v0.6.0 [INFO] [stderr] Compiling zcash_primitives v0.2.0 [INFO] [stderr] Compiling zcash_proofs v0.2.0 [INFO] [stderr] Compiling ed25519-zebra v2.0.0 [INFO] [stderr] Compiling librustzcash v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lint `intra_doc_link_resolution_failure` has been removed: use `rustdoc::broken_intra_doc_links` instead [INFO] [stdout] --> src/rust/src/rustzcash.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | #![deny(intra_doc_link_resolution_failure)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/rust/src/rustzcash.rs:659:18 [INFO] [stdout] | [INFO] [stdout] 659 | unsafe { SAPLING_SPEND_VK.as_ref() }.unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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)]` (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:704:18 [INFO] [stdout] | [INFO] [stdout] 704 | unsafe { SAPLING_OUTPUT_VK.as_ref() }.unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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:776:18 [INFO] [stdout] | [INFO] [stdout] 776 | unsafe { &SPROUT_GROTH16_PARAMS_PATH } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] 776 | 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:846:18 [INFO] [stdout] | [INFO] [stdout] 846 | 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 [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:887:18 [INFO] [stdout] | [INFO] [stdout] 887 | unsafe { SAPLING_OUTPUT_PARAMS.as_ref() }.unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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:1049:22 [INFO] [stdout] | [INFO] [stdout] 1049 | unsafe { SAPLING_SPEND_PARAMS.as_ref() }.unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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:1050:22 [INFO] [stdout] | [INFO] [stdout] 1050 | unsafe { SAPLING_SPEND_VK.as_ref() }.unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 41.07s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bigint v4.4.1 [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" "fa46e961d225c921a89cfa57371cd17bd722298c4c49406c939c170c621ed622", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa46e961d225c921a89cfa57371cd17bd722298c4c49406c939c170c621ed622", kill_on_drop: false }` [INFO] [stdout] fa46e961d225c921a89cfa57371cd17bd722298c4c49406c939c170c621ed622 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bb5548794a3b4aac303dbd65280394ec65bad2eb076d34edbf9763d827491f7b [INFO] running `Command { std: "docker" "start" "-a" "bb5548794a3b4aac303dbd65280394ec65bad2eb076d34edbf9763d827491f7b", kill_on_drop: false }` [INFO] [stderr] Compiling librustzcash v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lint `intra_doc_link_resolution_failure` has been removed: use `rustdoc::broken_intra_doc_links` instead [INFO] [stdout] --> src/rust/src/rustzcash.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | #![deny(intra_doc_link_resolution_failure)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/rust/src/tests/key_components.rs:33:6 [INFO] [stdout] | [INFO] [stdout] 33 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/rust/src/tests/notes.rs:22:6 [INFO] [stdout] | [INFO] [stdout] 22 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/rust/src/tests/signatures.rs:19:6 [INFO] [stdout] | [INFO] [stdout] 19 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/rust/src/tests/mod.rs:20:6 [INFO] [stdout] | [INFO] [stdout] 20 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/rust/src/rustzcash.rs:659:18 [INFO] [stdout] | [INFO] [stdout] 659 | unsafe { SAPLING_SPEND_VK.as_ref() }.unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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)]` (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:704:18 [INFO] [stdout] | [INFO] [stdout] 704 | unsafe { SAPLING_OUTPUT_VK.as_ref() }.unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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:776:18 [INFO] [stdout] | [INFO] [stdout] 776 | unsafe { &SPROUT_GROTH16_PARAMS_PATH } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] 776 | 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:846:18 [INFO] [stdout] | [INFO] [stdout] 846 | 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 [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:887:18 [INFO] [stdout] | [INFO] [stdout] 887 | unsafe { SAPLING_OUTPUT_PARAMS.as_ref() }.unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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:1049:22 [INFO] [stdout] | [INFO] [stdout] 1049 | unsafe { SAPLING_SPEND_PARAMS.as_ref() }.unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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:1050:22 [INFO] [stdout] | [INFO] [stdout] 1050 | unsafe { SAPLING_SPEND_VK.as_ref() }.unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.97s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bigint v4.4.1 [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" "bb5548794a3b4aac303dbd65280394ec65bad2eb076d34edbf9763d827491f7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb5548794a3b4aac303dbd65280394ec65bad2eb076d34edbf9763d827491f7b", kill_on_drop: false }` [INFO] [stdout] bb5548794a3b4aac303dbd65280394ec65bad2eb076d34edbf9763d827491f7b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a39aad99158e73fa82227482a7dabd256dadb06909b524c9e730799b677e21dd [INFO] running `Command { std: "docker" "start" "-a" "a39aad99158e73fa82227482a7dabd256dadb06909b524c9e730799b677e21dd", kill_on_drop: false }` [INFO] [stderr] warning: lint `intra_doc_link_resolution_failure` has been removed: use `rustdoc::broken_intra_doc_links` instead [INFO] [stderr] --> src/rust/src/rustzcash.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 6 | #![deny(intra_doc_link_resolution_failure)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/rust/src/tests/key_components.rs:33:6 [INFO] [stderr] | [INFO] [stderr] 33 | }; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/rust/src/tests/notes.rs:22:6 [INFO] [stderr] | [INFO] [stderr] 22 | }; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/rust/src/tests/signatures.rs:19:6 [INFO] [stderr] | [INFO] [stderr] 19 | }; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/rust/src/tests/mod.rs:20:6 [INFO] [stderr] | [INFO] [stderr] 20 | }; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/rust/src/rustzcash.rs:659:18 [INFO] [stderr] | [INFO] [stderr] 659 | unsafe { SAPLING_SPEND_VK.as_ref() }.unwrap(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [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)]` (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:704:18 [INFO] [stderr] | [INFO] [stderr] 704 | unsafe { SAPLING_OUTPUT_VK.as_ref() }.unwrap(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [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:776:18 [INFO] [stderr] | [INFO] [stderr] 776 | unsafe { &SPROUT_GROTH16_PARAMS_PATH } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [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] 776 | 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:846:18 [INFO] [stderr] | [INFO] [stderr] 846 | 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 [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:887:18 [INFO] [stderr] | [INFO] [stderr] 887 | unsafe { SAPLING_OUTPUT_PARAMS.as_ref() }.unwrap(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [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:1049:22 [INFO] [stderr] | [INFO] [stderr] 1049 | unsafe { SAPLING_SPEND_PARAMS.as_ref() }.unwrap(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [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:1050:22 [INFO] [stderr] | [INFO] [stderr] 1050 | unsafe { SAPLING_SPEND_VK.as_ref() }.unwrap(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [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: `librustzcash` (lib test) generated 12 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bigint v4.4.1 [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-df1dcfa6b0b3b571) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test test_gen_r ... ok [INFO] [stdout] test tests::mmr::append ... ok [INFO] [stdout] test tests::mmr::delete ... ok [INFO] [stdout] test tests::sapling_generators ... ok [INFO] [stdout] test tests::key_agreement::test_key_agreement ... ok [INFO] [stdout] test tests::notes::notes ... ok [INFO] [stdout] test tests::key_components::key_components ... ok [INFO] [stdout] test tests::signatures::redjubjub_signatures ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 4.38s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a39aad99158e73fa82227482a7dabd256dadb06909b524c9e730799b677e21dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a39aad99158e73fa82227482a7dabd256dadb06909b524c9e730799b677e21dd", kill_on_drop: false }` [INFO] [stdout] a39aad99158e73fa82227482a7dabd256dadb06909b524c9e730799b677e21dd