[INFO] cloning repository https://github.com/ashWhiteHat/bn254-bls [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ashWhiteHat/bn254-bls" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FashWhiteHat%2Fbn254-bls", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FashWhiteHat%2Fbn254-bls'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e25a6bf4ce9a8e7e2e3582bd2c234e20d8b4f805 [INFO] building ashWhiteHat/bn254-bls against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FashWhiteHat%2Fbn254-bls" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ashWhiteHat/bn254-bls on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ashWhiteHat/bn254-bls [INFO] finished tweaking git repo https://github.com/ashWhiteHat/bn254-bls [INFO] tweaked toml for git repo https://github.com/ashWhiteHat/bn254-bls written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ashWhiteHat/bn254-bls 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fab99f6e2739537ede2befaf471eed81f2c9b477a09ee5311d60dc6e073d76f4 [INFO] running `Command { std: "docker" "start" "-a" "fab99f6e2739537ede2befaf471eed81f2c9b477a09ee5311d60dc6e073d76f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fab99f6e2739537ede2befaf471eed81f2c9b477a09ee5311d60dc6e073d76f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fab99f6e2739537ede2befaf471eed81f2c9b477a09ee5311d60dc6e073d76f4", kill_on_drop: false }` [INFO] [stdout] fab99f6e2739537ede2befaf471eed81f2c9b477a09ee5311d60dc6e073d76f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0cbd8f441f2130bc0812a69bce9f20324d425b0b66e017901b3a77e88d1b300a [INFO] running `Command { std: "docker" "start" "-a" "0cbd8f441f2130bc0812a69bce9f20324d425b0b66e017901b3a77e88d1b300a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.156 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling bn254-bls v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `PrivateKey` is never constructed [INFO] [stdout] --> src/bls/private.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct PrivateKey(pub(crate) Fr); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `sign`, and `public_key` are never used [INFO] [stdout] --> src/bls/private.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 7 | impl PrivateKey { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 8 | pub(crate) fn new(value: Fr) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | pub(crate) fn sign(self) {} [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | [INFO] [stdout] 14 | pub(crate) fn public_key(self) -> PublicKey { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PublicKey` is never constructed [INFO] [stdout] --> src/bls/public.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) struct PublicKey(pub(crate) G1Affine); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `R3` is never used [INFO] [stdout] --> src/bn254/fq.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 35 | pub(crate) const R3: [u64; 4] = [ [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `random` is never used [INFO] [stdout] --> src/bn254/fq.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 48 | impl Fq { [INFO] [stdout] | ------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn random(rand: &mut R) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_bytes` is never used [INFO] [stdout] --> src/bn254/fq.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 155 | impl Fq { [INFO] [stdout] | ------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 167 | pub fn from_bytes(bytes: [u8; 32]) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `random` is never used [INFO] [stdout] --> src/bn254/fq2.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Fq2 { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn random(rand: &mut R) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `R` is never used [INFO] [stdout] --> src/bn254/fr.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) const R: [u64; 4] = [ [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_on_curve` is never used [INFO] [stdout] --> src/bn254/g1.rs:50:19 [INFO] [stdout] | [INFO] [stdout] 17 | impl G1Affine { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 50 | pub(crate) fn is_on_curve(self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_bytes` is never used [INFO] [stdout] --> src/bn254/g1.rs:342:8 [INFO] [stdout] | [INFO] [stdout] 333 | impl G1Affine { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 342 | fn from_bytes(bytes: [u8; 64]) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_affine` is never used [INFO] [stdout] --> src/bn254/g2.rs:304:8 [INFO] [stdout] | [INFO] [stdout] 304 | pub fn add_affine(lhs: G2Affine, rhs: G2Affine) -> G2Projective { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.91s [INFO] running `Command { std: "docker" "inspect" "0cbd8f441f2130bc0812a69bce9f20324d425b0b66e017901b3a77e88d1b300a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0cbd8f441f2130bc0812a69bce9f20324d425b0b66e017901b3a77e88d1b300a", kill_on_drop: false }` [INFO] [stdout] 0cbd8f441f2130bc0812a69bce9f20324d425b0b66e017901b3a77e88d1b300a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c4921c76636cc83dcf92ac5d39b3657cfc3bd6e47a6cf7cfe8ad786c59058636 [INFO] running `Command { std: "docker" "start" "-a" "c4921c76636cc83dcf92ac5d39b3657cfc3bd6e47a6cf7cfe8ad786c59058636", kill_on_drop: false }` [INFO] [stdout] warning: struct `PrivateKey` is never constructed [INFO] [stdout] --> src/bls/private.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct PrivateKey(pub(crate) Fr); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `sign`, and `public_key` are never used [INFO] [stdout] --> src/bls/private.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 7 | impl PrivateKey { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 8 | pub(crate) fn new(value: Fr) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | pub(crate) fn sign(self) {} [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | [INFO] [stdout] 14 | pub(crate) fn public_key(self) -> PublicKey { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PublicKey` is never constructed [INFO] [stdout] --> src/bls/public.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) struct PublicKey(pub(crate) G1Affine); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `R3` is never used [INFO] [stdout] --> src/bn254/fq.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 35 | pub(crate) const R3: [u64; 4] = [ [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `random` is never used [INFO] [stdout] --> src/bn254/fq.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 48 | impl Fq { [INFO] [stdout] | ------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn random(rand: &mut R) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_bytes` is never used [INFO] [stdout] --> src/bn254/fq.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 155 | impl Fq { [INFO] [stdout] | ------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 167 | pub fn from_bytes(bytes: [u8; 32]) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `random` is never used [INFO] [stdout] --> src/bn254/fq2.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Fq2 { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn random(rand: &mut R) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling bn254-bls v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant `R` is never used [INFO] [stdout] --> src/bn254/fr.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) const R: [u64; 4] = [ [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_on_curve` is never used [INFO] [stdout] --> src/bn254/g1.rs:50:19 [INFO] [stdout] | [INFO] [stdout] 17 | impl G1Affine { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 50 | pub(crate) fn is_on_curve(self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_bytes` is never used [INFO] [stdout] --> src/bn254/g1.rs:342:8 [INFO] [stdout] | [INFO] [stdout] 333 | impl G1Affine { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 342 | fn from_bytes(bytes: [u8; 64]) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_affine` is never used [INFO] [stdout] --> src/bn254/g2.rs:304:8 [INFO] [stdout] | [INFO] [stdout] 304 | pub fn add_affine(lhs: G2Affine, rhs: G2Affine) -> G2Projective { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PrivateKey` is never constructed [INFO] [stdout] --> src/bls/private.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct PrivateKey(pub(crate) Fr); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `sign`, and `public_key` are never used [INFO] [stdout] --> src/bls/private.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 7 | impl PrivateKey { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 8 | pub(crate) fn new(value: Fr) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | pub(crate) fn sign(self) {} [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | [INFO] [stdout] 14 | pub(crate) fn public_key(self) -> PublicKey { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PublicKey` is never constructed [INFO] [stdout] --> src/bls/public.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) struct PublicKey(pub(crate) G1Affine); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_bytes` is never used [INFO] [stdout] --> src/bn254/fq.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 155 | impl Fq { [INFO] [stdout] | ------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 167 | pub fn from_bytes(bytes: [u8; 32]) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `R` is never used [INFO] [stdout] --> src/bn254/fr.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) const R: [u64; 4] = [ [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_bytes` is never used [INFO] [stdout] --> src/bn254/g1.rs:342:8 [INFO] [stdout] | [INFO] [stdout] 333 | impl G1Affine { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 342 | fn from_bytes(bytes: [u8; 64]) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_affine` is never used [INFO] [stdout] --> src/bn254/g2.rs:304:8 [INFO] [stdout] | [INFO] [stdout] 304 | pub fn add_affine(lhs: G2Affine, rhs: G2Affine) -> G2Projective { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.53s [INFO] running `Command { std: "docker" "inspect" "c4921c76636cc83dcf92ac5d39b3657cfc3bd6e47a6cf7cfe8ad786c59058636", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4921c76636cc83dcf92ac5d39b3657cfc3bd6e47a6cf7cfe8ad786c59058636", kill_on_drop: false }` [INFO] [stdout] c4921c76636cc83dcf92ac5d39b3657cfc3bd6e47a6cf7cfe8ad786c59058636