[INFO] fetching crate zk_secp256k1 0.1.0... [INFO] testing zk_secp256k1-0.1.0 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate zk_secp256k1 0.1.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate zk_secp256k1 0.1.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate zk_secp256k1 0.1.0 [INFO] tweaked toml for crates.io crate zk_secp256k1 0.1.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate zk_secp256k1 0.1.0 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 5 packages to latest compatible versions [INFO] [stderr] Adding uint v0.9.5 (available: v0.10.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fbe8f2d10fb2f36b9680a3146a7a0204a44eef714ca38db0eb30be5df95e08b3 [INFO] running `Command { std: "docker" "start" "-a" "fbe8f2d10fb2f36b9680a3146a7a0204a44eef714ca38db0eb30be5df95e08b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fbe8f2d10fb2f36b9680a3146a7a0204a44eef714ca38db0eb30be5df95e08b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fbe8f2d10fb2f36b9680a3146a7a0204a44eef714ca38db0eb30be5df95e08b3", kill_on_drop: false }` [INFO] [stdout] fbe8f2d10fb2f36b9680a3146a7a0204a44eef714ca38db0eb30be5df95e08b3 [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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3737009d9d60c4d80fe281ff2983907148dffc010abebb8d5c5bd883e8cd0984 [INFO] running `Command { std: "docker" "start" "-a" "3737009d9d60c4d80fe281ff2983907148dffc010abebb8d5c5bd883e8cd0984", kill_on_drop: false }` [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling uint v0.9.5 [INFO] [stderr] Compiling zk_secp256k1 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `std` [INFO] [stdout] --> src/secp256k1.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | #[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: field `params` is never read [INFO] [stdout] --> src/secp256k1.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Curve { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 6 | params: CurveParams [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/secp256k1.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct CurveParams { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 11 | // prime number of modulo [INFO] [stdout] 12 | p: U256, [INFO] [stdout] | ^ [INFO] [stdout] 13 | // base point order [INFO] [stdout] 14 | n: U256, [INFO] [stdout] | ^ [INFO] [stdout] 15 | // coefficient of zero degree [INFO] [stdout] 16 | b: U256, [INFO] [stdout] | ^ [INFO] [stdout] 17 | // base point coordinate [INFO] [stdout] 18 | gx: U256, [INFO] [stdout] | ^^ [INFO] [stdout] 19 | gy: U256, [INFO] [stdout] | ^^ [INFO] [stdout] 20 | // bit size [INFO] [stdout] 21 | bit_size: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 22 | // elliptic curve algorithm name [INFO] [stdout] 23 | name: String [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CurveParams` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.62s [INFO] running `Command { std: "docker" "inspect" "3737009d9d60c4d80fe281ff2983907148dffc010abebb8d5c5bd883e8cd0984", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3737009d9d60c4d80fe281ff2983907148dffc010abebb8d5c5bd883e8cd0984", kill_on_drop: false }` [INFO] [stdout] 3737009d9d60c4d80fe281ff2983907148dffc010abebb8d5c5bd883e8cd0984 [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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e80e4577d496c6b4c01ff399f79d9d109bd8dcd4da5ad3b11abe88cb2b0eb346 [INFO] running `Command { std: "docker" "start" "-a" "e80e4577d496c6b4c01ff399f79d9d109bd8dcd4da5ad3b11abe88cb2b0eb346", kill_on_drop: false }` [INFO] [stderr] warning: invalid feature `std` in required-features of target `unit_tests`: `std` is not present in [features] section [INFO] [stdout] warning: unexpected `cfg` condition value: `std` [INFO] [stdout] --> src/secp256k1.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | #[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: field `params` is never read [INFO] [stdout] --> src/secp256k1.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Curve { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 6 | params: CurveParams [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling zk_secp256k1 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/secp256k1.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct CurveParams { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 11 | // prime number of modulo [INFO] [stdout] 12 | p: U256, [INFO] [stdout] | ^ [INFO] [stdout] 13 | // base point order [INFO] [stdout] 14 | n: U256, [INFO] [stdout] | ^ [INFO] [stdout] 15 | // coefficient of zero degree [INFO] [stdout] 16 | b: U256, [INFO] [stdout] | ^ [INFO] [stdout] 17 | // base point coordinate [INFO] [stdout] 18 | gx: U256, [INFO] [stdout] | ^^ [INFO] [stdout] 19 | gy: U256, [INFO] [stdout] | ^^ [INFO] [stdout] 20 | // bit size [INFO] [stdout] 21 | bit_size: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 22 | // elliptic curve algorithm name [INFO] [stdout] 23 | name: String [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CurveParams` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `std` [INFO] [stdout] --> src/secp256k1.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | #[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] error[E0599]: no function or associated item named `new` found for struct `Curve` in the current scope [INFO] [stdout] --> src/lib.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | let curve = Curve::new(); [INFO] [stdout] | ^^^ function or associated item not found in `Curve` [INFO] [stdout] | [INFO] [stdout] ::: src/secp256k1.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Curve { [INFO] [stdout] | ---------------- function or associated item `new` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `zk_secp256k1` (lib test) due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "e80e4577d496c6b4c01ff399f79d9d109bd8dcd4da5ad3b11abe88cb2b0eb346", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e80e4577d496c6b4c01ff399f79d9d109bd8dcd4da5ad3b11abe88cb2b0eb346", kill_on_drop: false }` [INFO] [stdout] e80e4577d496c6b4c01ff399f79d9d109bd8dcd4da5ad3b11abe88cb2b0eb346