[INFO] cloning repository https://github.com/KogarashiNetwork/zksnarks [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KogarashiNetwork/zksnarks" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKogarashiNetwork%2Fzksnarks", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKogarashiNetwork%2Fzksnarks'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3f17e9fe667ccf73ab2988d669b48dc7f7344af3 [INFO] testing KogarashiNetwork/zksnarks/3f17e9fe667ccf73ab2988d669b48dc7f7344af3 against master#414482f6a0d4e7290f614300581a0b55442552a3 for pr-140985 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKogarashiNetwork%2Fzksnarks" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/KogarashiNetwork/zksnarks on toolchain 414482f6a0d4e7290f614300581a0b55442552a3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/KogarashiNetwork/zksnarks [INFO] finished tweaking git repo https://github.com/KogarashiNetwork/zksnarks [INFO] tweaked toml for git repo https://github.com/KogarashiNetwork/zksnarks written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/KogarashiNetwork/zksnarks 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" "+414482f6a0d4e7290f614300581a0b55442552a3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ec-pairing v0.0.14 [INFO] [stderr] Downloaded zkstd v0.0.22 [INFO] [stderr] Downloaded bls-12-381 v0.0.23 [INFO] [stderr] Downloaded poly-commit v0.0.13 [INFO] [stderr] Downloaded jub-jub v0.0.20 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5280c444bedd430593963583edb1fc4a66f7ae0d1f1bba1e79dbac5a509efe4b [INFO] running `Command { std: "docker" "start" "-a" "5280c444bedd430593963583edb1fc4a66f7ae0d1f1bba1e79dbac5a509efe4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5280c444bedd430593963583edb1fc4a66f7ae0d1f1bba1e79dbac5a509efe4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5280c444bedd430593963583edb1fc4a66f7ae0d1f1bba1e79dbac5a509efe4b", kill_on_drop: false }` [INFO] [stdout] 5280c444bedd430593963583edb1fc4a66f7ae0d1f1bba1e79dbac5a509efe4b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1b17d64a4bf1271ae97bc1986012940ad30a31a420c0aab02abede62aff86c24 [INFO] running `Command { std: "docker" "start" "-a" "1b17d64a4bf1271ae97bc1986012940ad30a31a420c0aab02abede62aff86c24", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.14.2 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling winnow v0.5.19 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling serde v1.0.190 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling byte-slice-cast v1.2.2 [INFO] [stderr] Compiling sp-std v3.0.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling keccak v0.1.4 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling serde_derive v1.0.190 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling zeroize v1.6.0 [INFO] [stderr] Compiling merlin v3.0.0 [INFO] [stderr] Compiling parity-scale-codec-derive v2.3.1 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.2 [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 `evaluate` is never used [INFO] [stdout] --> src/groth16/matrix.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub trait Evaluable { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 17 | fn evaluate(&self, instance: &[Element], witness: &[Element]) -> R; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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 `dev` profile [unoptimized + debuginfo] target(s) in 26.01s [INFO] running `Command { std: "docker" "inspect" "1b17d64a4bf1271ae97bc1986012940ad30a31a420c0aab02abede62aff86c24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b17d64a4bf1271ae97bc1986012940ad30a31a420c0aab02abede62aff86c24", kill_on_drop: false }` [INFO] [stdout] 1b17d64a4bf1271ae97bc1986012940ad30a31a420c0aab02abede62aff86c24 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fd0608e6db71f79ca3fa839401134aca70da371a49192cf7c36f8c890d7a3486 [INFO] running `Command { std: "docker" "start" "-a" "fd0608e6db71f79ca3fa839401134aca70da371a49192cf7c36f8c890d7a3486", kill_on_drop: false }` [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 `evaluate` is never used [INFO] [stdout] --> src/groth16/matrix.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub trait Evaluable { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 17 | fn evaluate(&self, instance: &[Element], witness: &[Element]) -> R; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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: 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 `evaluate` is never used [INFO] [stdout] --> src/groth16/matrix.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub trait Evaluable { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 17 | fn evaluate(&self, instance: &[Element], witness: &[Element]) -> R; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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.75s [INFO] running `Command { std: "docker" "inspect" "fd0608e6db71f79ca3fa839401134aca70da371a49192cf7c36f8c890d7a3486", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd0608e6db71f79ca3fa839401134aca70da371a49192cf7c36f8c890d7a3486", kill_on_drop: false }` [INFO] [stdout] fd0608e6db71f79ca3fa839401134aca70da371a49192cf7c36f8c890d7a3486 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 98a4babd4424d4b0778b173e2f0019223fefd34031f5a4e1f70d8e597687f027 [INFO] running `Command { std: "docker" "start" "-a" "98a4babd4424d4b0778b173e2f0019223fefd34031f5a4e1f70d8e597687f027", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `std` [INFO] [stderr] --> src/error.rs:83:7 [INFO] [stderr] | [INFO] [stderr] 83 | #[cfg(feature = "std")] [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `std` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `std` [INFO] [stderr] --> src/error.rs:167:7 [INFO] [stderr] | [INFO] [stderr] 167 | #[cfg(feature = "std")] [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `std` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: method `evaluate` is never used [INFO] [stderr] --> src/groth16/matrix.rs:17:8 [INFO] [stderr] | [INFO] [stderr] 16 | pub trait Evaluable { [INFO] [stderr] | --------- method in this trait [INFO] [stderr] 17 | fn evaluate(&self, instance: &[Element], witness: &[Element]) -> R; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait `Prover` is never used [INFO] [stderr] --> src/prover.rs:6:11 [INFO] [stderr] | [INFO] [stderr] 6 | pub trait Prover { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `zksnarks` (lib) generated 4 warnings [INFO] [stderr] warning: `zksnarks` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/zksnarks-0a45845079a97d48) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test bit_iterator::test::test_bit_iterator8 ... ok [INFO] [stdout] test groth16::tests::circuit_to_r1cs ... ok [INFO] [stdout] test groth16::tests::r1cs_qap ... ok [INFO] [stderr] Doc-tests zksnarks [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 3.35s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "98a4babd4424d4b0778b173e2f0019223fefd34031f5a4e1f70d8e597687f027", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98a4babd4424d4b0778b173e2f0019223fefd34031f5a4e1f70d8e597687f027", kill_on_drop: false }` [INFO] [stdout] 98a4babd4424d4b0778b173e2f0019223fefd34031f5a4e1f70d8e597687f027