[INFO] cloning repository https://github.com/EchoAlice/Rust-KZG [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/EchoAlice/Rust-KZG" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEchoAlice%2FRust-KZG", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEchoAlice%2FRust-KZG'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dff039fe9d0e714e011a65a8f3a63637f0037698 [INFO] checking EchoAlice/Rust-KZG against master#9e293ae9f8abecb0be5105787d181518c9012a19 for pr-146440-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEchoAlice%2FRust-KZG" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/EchoAlice/Rust-KZG [INFO] finished tweaking git repo https://github.com/EchoAlice/Rust-KZG [INFO] tweaked toml for git repo https://github.com/EchoAlice/Rust-KZG written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/EchoAlice/Rust-KZG on toolchain 9e293ae9f8abecb0be5105787d181518c9012a19 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e293ae9f8abecb0be5105787d181518c9012a19" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/EchoAlice/Rust-KZG 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" "+9e293ae9f8abecb0be5105787d181518c9012a19" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/jacobkaufmann/c-kzg-4844` [INFO] [stderr] Updating git submodule `https://github.com/supranational/blst` [INFO] [stderr] Updating git repository `https://github.com/rust-lang/rust-bindgen` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro2 v1.0.69 [INFO] [stderr] Downloaded serde_derive v1.0.189 [INFO] [stderr] Downloaded serde v1.0.189 [INFO] [stderr] Downloaded home v0.5.5 [INFO] [stderr] Downloaded errno v0.3.5 [INFO] [stderr] Downloaded hermit-abi v0.3.3 [INFO] [stderr] Downloaded zeroize v1.6.0 [INFO] [stderr] Downloaded once_cell v1.18.0 [INFO] [stderr] Downloaded bitflags v2.4.1 [INFO] [stderr] Downloaded memchr v2.6.4 [INFO] [stderr] Downloaded syn v2.0.38 [INFO] [stderr] Downloaded aho-corasick v1.1.2 [INFO] [stderr] Downloaded regex v1.10.2 [INFO] [stderr] Downloaded rustix v0.38.19 [INFO] [stderr] Downloaded regex-syntax v0.8.2 [INFO] [stderr] Downloaded blst v0.3.11 [INFO] [stderr] Downloaded regex-automata v0.4.3 [INFO] [stderr] Downloaded libc v0.2.149 [INFO] [stderr] Downloaded linux-raw-sys v0.4.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+9e293ae9f8abecb0be5105787d181518c9012a19" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] be233582bf5dc4603ee08303dc4713285ecfeb5dccc02836e3039b4699b7550b [INFO] running `Command { std: "docker" "start" "-a" "be233582bf5dc4603ee08303dc4713285ecfeb5dccc02836e3039b4699b7550b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "be233582bf5dc4603ee08303dc4713285ecfeb5dccc02836e3039b4699b7550b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be233582bf5dc4603ee08303dc4713285ecfeb5dccc02836e3039b4699b7550b", kill_on_drop: false }` [INFO] [stdout] be233582bf5dc4603ee08303dc4713285ecfeb5dccc02836e3039b4699b7550b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+9e293ae9f8abecb0be5105787d181518c9012a19" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 27c714441bc1d44fbfafc2e4de1e9ebc2fa3812171888b3a092d0faafb928663 [INFO] running `Command { std: "docker" "start" "-a" "27c714441bc1d44fbfafc2e4de1e9ebc2fa3812171888b3a092d0faafb928663", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling rustix v0.38.19 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling linux-raw-sys v0.4.10 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling clang-sys v1.6.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling home v0.5.5 [INFO] [stderr] Compiling bindgen v0.64.0 (https://github.com/rust-lang/rust-bindgen?rev=0de11f0a521611ac8738b7b01d19dddaf3899e66#0de11f0a) [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling shlex v1.2.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling serde v1.0.189 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling blst v0.3.11 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling serde_derive v1.0.189 [INFO] [stderr] Checking zeroize v1.6.0 [INFO] [stderr] Compiling c-kzg v0.1.0 (https://github.com/jacobkaufmann/c-kzg-4844?branch=jtraglia-das#d701ce11) [INFO] [stderr] Checking rust_kzg v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/curves.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | fn new(x: &PrimeFieldElement, y: &PrimeFieldElement) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/curves.rs:26:35 [INFO] [stdout] | [INFO] [stdout] 26 | fn new(x: &PrimeFieldElement, y: &PrimeFieldElement) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/curves.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | fn add(p: &BlsPoint, q: &BlsPoint) -> BlsPoint { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `q` [INFO] [stdout] --> src/curves.rs:29:26 [INFO] [stdout] | [INFO] [stdout] 29 | fn add(p: &BlsPoint, q: &BlsPoint) -> BlsPoint { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/curves.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | fn multiply(p: &BlsPoint, scalar: &usize) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scalar` [INFO] [stdout] --> src/curves.rs:32:31 [INFO] [stdout] | [INFO] [stdout] 32 | fn multiply(p: &BlsPoint, scalar: &usize) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_scalar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLS_MODULUS` is never used [INFO] [stdout] --> src/curves.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | const BLS_MODULUS: usize = 65537; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BlsPoint` is never constructed [INFO] [stdout] --> src/curves.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | struct BlsPoint { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new`, `add`, and `multiply` are never used [INFO] [stdout] --> src/curves.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 25 | impl BlsPoint { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] 26 | fn new(x: &PrimeFieldElement, y: &PrimeFieldElement) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | fn add(p: &BlsPoint, q: &BlsPoint) -> BlsPoint { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | fn multiply(p: &BlsPoint, scalar: &usize) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `build` is never used [INFO] [stdout] --> src/fields.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl PrimeFieldElement { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 15 | fn build(element: u32, modulus: u32) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_prime` is never used [INFO] [stdout] --> src/fields.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn is_prime(x: u32) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/curves.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | fn new(x: &PrimeFieldElement, y: &PrimeFieldElement) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/curves.rs:26:35 [INFO] [stdout] | [INFO] [stdout] 26 | fn new(x: &PrimeFieldElement, y: &PrimeFieldElement) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/curves.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | fn add(p: &BlsPoint, q: &BlsPoint) -> BlsPoint { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `q` [INFO] [stdout] --> src/curves.rs:29:26 [INFO] [stdout] | [INFO] [stdout] 29 | fn add(p: &BlsPoint, q: &BlsPoint) -> BlsPoint { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/curves.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | fn multiply(p: &BlsPoint, scalar: &usize) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scalar` [INFO] [stdout] --> src/curves.rs:32:31 [INFO] [stdout] | [INFO] [stdout] 32 | fn multiply(p: &BlsPoint, scalar: &usize) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_scalar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLS_MODULUS` is never used [INFO] [stdout] --> src/curves.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | const BLS_MODULUS: usize = 65537; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BlsPoint` is never constructed [INFO] [stdout] --> src/curves.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | struct BlsPoint { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new`, `add`, and `multiply` are never used [INFO] [stdout] --> src/curves.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 25 | impl BlsPoint { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] 26 | fn new(x: &PrimeFieldElement, y: &PrimeFieldElement) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | fn add(p: &BlsPoint, q: &BlsPoint) -> BlsPoint { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | fn multiply(p: &BlsPoint, scalar: &usize) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 39.32s [INFO] running `Command { std: "docker" "inspect" "27c714441bc1d44fbfafc2e4de1e9ebc2fa3812171888b3a092d0faafb928663", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27c714441bc1d44fbfafc2e4de1e9ebc2fa3812171888b3a092d0faafb928663", kill_on_drop: false }` [INFO] [stdout] 27c714441bc1d44fbfafc2e4de1e9ebc2fa3812171888b3a092d0faafb928663