[INFO] fetching crate zksnarks 0.0.1... [INFO] building zksnarks-0.0.1 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] extracting crate zksnarks 0.0.1 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate zksnarks 0.0.1 [INFO] finished tweaking crates.io crate zksnarks 0.0.1 [INFO] tweaked toml for crates.io crate zksnarks 0.0.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate zksnarks 0.0.1 on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 41 packages to latest compatible versions [INFO] [stderr] Adding parity-scale-codec v2.3.1 (available: v3.7.5) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "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/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 66e1a9cdd5a20e0dd5442222827204b6114d8f22ec8b08bc64430f97963f3a10 [INFO] running `Command { std: "docker" "start" "-a" "66e1a9cdd5a20e0dd5442222827204b6114d8f22ec8b08bc64430f97963f3a10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "66e1a9cdd5a20e0dd5442222827204b6114d8f22ec8b08bc64430f97963f3a10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66e1a9cdd5a20e0dd5442222827204b6114d8f22ec8b08bc64430f97963f3a10", kill_on_drop: false }` [INFO] [stdout] 66e1a9cdd5a20e0dd5442222827204b6114d8f22ec8b08bc64430f97963f3a10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] badba63dfd0a1494eb20e0288ae10ce1c772d371b237028fd35e488a1c2074d1 [INFO] running `Command { std: "docker" "start" "-a" "badba63dfd0a1494eb20e0288ae10ce1c772d371b237028fd35e488a1c2074d1", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling byte-slice-cast v1.2.3 [INFO] [stderr] Compiling sp-std v3.0.0 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.3 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling merlin v3.0.0 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling parity-scale-codec-derive v2.3.1 [INFO] [stderr] Compiling parity-scale-codec v2.3.1 [INFO] [stderr] Compiling zkstd v0.0.22 [INFO] [stderr] Compiling bls-12-381 v0.0.23 [INFO] [stderr] Compiling jub-jub v0.0.20 [INFO] [stderr] Compiling ec-pairing v0.0.14 [INFO] [stderr] Compiling poly-commit v0.0.13 [INFO] [stderr] Compiling zksnarks v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `std` [INFO] [stdout] --> src/error.rs:83:7 [INFO] [stdout] | [INFO] [stdout] 83 | #[cfg(feature = "std")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `std` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `std` [INFO] [stdout] --> src/error.rs:167:7 [INFO] [stdout] | [INFO] [stdout] 167 | #[cfg(feature = "std")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `std` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `witness_len` is never used [INFO] [stdout] --> src/groth16.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 78 | impl Groth16 { [INFO] [stdout] | ---------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 83 | fn witness_len(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Prover` is never used [INFO] [stdout] --> src/prover.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait Prover { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `z_vectors` is never used [INFO] [stdout] --> src/groth16/constraint.rs:46:19 [INFO] [stdout] | [INFO] [stdout] 15 | impl R1csStruct { [INFO] [stdout] | --------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 46 | pub(crate) fn z_vectors( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Groth16Key` is never constructed [INFO] [stdout] --> src/groth16/key.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Groth16Key, C: Circuit> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `compile_with_circuit` is never used [INFO] [stdout] --> src/groth16/key.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 39 | / impl< [INFO] [stdout] 40 | | P: Pairing, [INFO] [stdout] 41 | | A: TwistedEdwardsAffine, [INFO] [stdout] 42 | | C: Circuit>, [INFO] [stdout] 43 | | > Groth16Key [INFO] [stdout] | |_________________________- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn compile_with_circuit( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eval` is never used [INFO] [stdout] --> src/groth16/key.rs:175:4 [INFO] [stdout] | [INFO] [stdout] 175 | fn eval( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eval_at_tau` is never used [INFO] [stdout] --> src/groth16/key.rs:240:4 [INFO] [stdout] | [INFO] [stdout] 240 | fn eval_at_tau(powers_of_tau: &[F], p: &[(F, usize)]) -> F { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `prepare` is never used [INFO] [stdout] --> src/groth16/key.rs:300:19 [INFO] [stdout] | [INFO] [stdout] 299 | impl VerifyingKey

{ [INFO] [stdout] | -------------------------------- method in this implementation [INFO] [stdout] 300 | pub(crate) fn prepare(&self) -> PreparedVerifyingKey

{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Evaluable` is never used [INFO] [stdout] --> src/groth16/matrix.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | pub trait Evaluable { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Groth16Params` is never constructed [INFO] [stdout] --> src/groth16/params.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Groth16Params { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_random_parameters` is never used [INFO] [stdout] --> src/groth16/params.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn generate_random_parameters(mut rng: &mut R) -> (F, F, F, F, F) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.54s [INFO] running `Command { std: "docker" "inspect" "badba63dfd0a1494eb20e0288ae10ce1c772d371b237028fd35e488a1c2074d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "badba63dfd0a1494eb20e0288ae10ce1c772d371b237028fd35e488a1c2074d1", kill_on_drop: false }` [INFO] [stdout] badba63dfd0a1494eb20e0288ae10ce1c772d371b237028fd35e488a1c2074d1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fad8a75919f55ea338e3cc58cd90df5878850459e64eee9f500aa8b135256ada [INFO] running `Command { std: "docker" "start" "-a" "fad8a75919f55ea338e3cc58cd90df5878850459e64eee9f500aa8b135256ada", kill_on_drop: false }` [INFO] [stdout] warning: unexpected `cfg` condition value: `std` [INFO] [stdout] --> src/error.rs:83:7 [INFO] [stdout] | [INFO] [stdout] 83 | #[cfg(feature = "std")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `std` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `std` [INFO] [stdout] --> src/error.rs:167:7 [INFO] [stdout] | [INFO] [stdout] 167 | #[cfg(feature = "std")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `std` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `witness_len` is never used [INFO] [stdout] --> src/groth16.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 78 | impl Groth16 { [INFO] [stdout] | ---------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 83 | fn witness_len(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Prover` is never used [INFO] [stdout] --> src/prover.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait Prover { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `z_vectors` is never used [INFO] [stdout] --> src/groth16/constraint.rs:46:19 [INFO] [stdout] | [INFO] [stdout] 15 | impl R1csStruct { [INFO] [stdout] | --------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 46 | pub(crate) fn z_vectors( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Groth16Key` is never constructed [INFO] [stdout] --> src/groth16/key.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Groth16Key, C: Circuit> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `compile_with_circuit` is never used [INFO] [stdout] --> src/groth16/key.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 39 | / impl< [INFO] [stdout] 40 | | P: Pairing, [INFO] [stdout] 41 | | A: TwistedEdwardsAffine, [INFO] [stdout] 42 | | C: Circuit>, [INFO] [stdout] 43 | | > Groth16Key [INFO] [stdout] | |_________________________- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn compile_with_circuit( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eval` is never used [INFO] [stdout] --> src/groth16/key.rs:175:4 [INFO] [stdout] | [INFO] [stdout] 175 | fn eval( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eval_at_tau` is never used [INFO] [stdout] --> src/groth16/key.rs:240:4 [INFO] [stdout] | [INFO] [stdout] 240 | fn eval_at_tau(powers_of_tau: &[F], p: &[(F, usize)]) -> F { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `prepare` is never used [INFO] [stdout] --> src/groth16/key.rs:300:19 [INFO] [stdout] | [INFO] [stdout] 299 | impl VerifyingKey

{ [INFO] [stdout] | -------------------------------- method in this implementation [INFO] [stdout] 300 | pub(crate) fn prepare(&self) -> PreparedVerifyingKey

{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Evaluable` is never used [INFO] [stdout] --> src/groth16/matrix.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | pub trait Evaluable { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Groth16Params` is never constructed [INFO] [stdout] --> src/groth16/params.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Groth16Params { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_random_parameters` is never used [INFO] [stdout] --> src/groth16/params.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn generate_random_parameters(mut rng: &mut R) -> (F, F, F, F, F) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling zksnarks v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `std` [INFO] [stdout] --> src/error.rs:83:7 [INFO] [stdout] | [INFO] [stdout] 83 | #[cfg(feature = "std")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `std` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `std` [INFO] [stdout] --> src/error.rs:167:7 [INFO] [stdout] | [INFO] [stdout] 167 | #[cfg(feature = "std")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `std` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Evaluable` is never used [INFO] [stdout] --> src/groth16/matrix.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | pub trait Evaluable { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Prover` is never used [INFO] [stdout] --> src/prover.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait Prover { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.87s [INFO] running `Command { std: "docker" "inspect" "fad8a75919f55ea338e3cc58cd90df5878850459e64eee9f500aa8b135256ada", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fad8a75919f55ea338e3cc58cd90df5878850459e64eee9f500aa8b135256ada", kill_on_drop: false }` [INFO] [stdout] fad8a75919f55ea338e3cc58cd90df5878850459e64eee9f500aa8b135256ada