[INFO] fetching crate zk_secp256k1 0.1.0... [INFO] checking zk_secp256k1-0.1.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate zk_secp256k1 0.1.0 into /workspace/builds/worker-6-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-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate zk_secp256k1 0.1.0 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fbb1146769ecf27be85fe8a295972cf7f658e09f64b06ddee5a17a53ae002817 [INFO] running `Command { std: "docker" "start" "-a" "fbb1146769ecf27be85fe8a295972cf7f658e09f64b06ddee5a17a53ae002817", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fbb1146769ecf27be85fe8a295972cf7f658e09f64b06ddee5a17a53ae002817", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fbb1146769ecf27be85fe8a295972cf7f658e09f64b06ddee5a17a53ae002817", kill_on_drop: false }` [INFO] [stdout] fbb1146769ecf27be85fe8a295972cf7f658e09f64b06ddee5a17a53ae002817 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3c62402505a72c57c534f238a3b424011604d938165288dd3efea77b16af018e [INFO] running `Command { std: "docker" "start" "-a" "3c62402505a72c57c534f238a3b424011604d938165288dd3efea77b16af018e", 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] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking uint v0.9.5 [INFO] [stderr] Checking 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: 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] [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] running `Command { std: "docker" "inspect" "3c62402505a72c57c534f238a3b424011604d938165288dd3efea77b16af018e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c62402505a72c57c534f238a3b424011604d938165288dd3efea77b16af018e", kill_on_drop: false }` [INFO] [stdout] 3c62402505a72c57c534f238a3b424011604d938165288dd3efea77b16af018e