[INFO] fetching crate halo2curves 0.9.0... [INFO] checking halo2curves-0.9.0 against master#fd0c901b00ee1e08a250039cdb90258603497e20 for pr-153692 [INFO] extracting crate halo2curves 0.9.0 into /workspace/builds/worker-1-tc1/source [INFO] removed /workspace/builds/worker-1-tc1/source/rust-toolchain [INFO] started tweaking crates.io crate halo2curves 0.9.0 [INFO] finished tweaking crates.io crate halo2curves 0.9.0 [INFO] tweaked toml for crates.io crate halo2curves 0.9.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate halo2curves 0.9.0 on toolchain fd0c901b00ee1e08a250039cdb90258603497e20 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fd0c901b00ee1e08a250039cdb90258603497e20" "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" "+fd0c901b00ee1e08a250039cdb90258603497e20" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 114 packages to latest compatible versions [INFO] [stderr] Adding ark-std v0.3.0 (available: v0.5.0) [INFO] [stderr] Adding bincode v1.3.3 (available: v3.0.0) [INFO] [stderr] Adding criterion v0.3.6 (available: v0.8.2) [INFO] [stderr] Adding digest v0.10.7 (available: v0.11.2) [INFO] [stderr] Adding generic-array v0.14.7 (available: v0.14.9) [INFO] [stderr] Adding getrandom v0.2.17 (available: v0.4.2) [INFO] [stderr] Adding rand_chacha v0.3.1 (available: v0.10.0) [INFO] [stderr] Adding rand_core v0.6.4 (available: v0.10.0) [INFO] [stderr] Adding rand_xorshift v0.3.0 (available: v0.5.0) [INFO] [stderr] Adding sha2 v0.10.9 (available: v0.11.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fd0c901b00ee1e08a250039cdb90258603497e20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_arrays v0.2.0 [INFO] [stderr] Downloaded halo2derive v0.2.0 [INFO] [stderr] Downloaded plonky2_maybe_rayon v1.0.0 [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" "+fd0c901b00ee1e08a250039cdb90258603497e20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6d7c121fb3a0eaf44da03606c5e012a671018deb6ea411ad68d775a3cb0dad58 [INFO] running `Command { std: "docker" "start" "-a" "6d7c121fb3a0eaf44da03606c5e012a671018deb6ea411ad68d775a3cb0dad58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6d7c121fb3a0eaf44da03606c5e012a671018deb6ea411ad68d775a3cb0dad58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d7c121fb3a0eaf44da03606c5e012a671018deb6ea411ad68d775a3cb0dad58", kill_on_drop: false }` [INFO] [stdout] 6d7c121fb3a0eaf44da03606c5e012a671018deb6ea411ad68d775a3cb0dad58 [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" "+fd0c901b00ee1e08a250039cdb90258603497e20" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f1f60d64ed4a9856549d369e5c5e7e97d3e6bb8b6bec026f28a831ae662fae14 [INFO] running `Command { std: "docker" "start" "-a" "f1f60d64ed4a9856549d369e5c5e7e97d3e6bb8b6bec026f28a831ae662fae14", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Compiling libm v0.2.16 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling halo2curves v0.9.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking plonky2_maybe_rayon v1.0.0 [INFO] [stderr] Checking criterion v0.3.6 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking impls v1.0.3 [INFO] [stderr] Checking ark-std v0.3.0 [INFO] [stderr] Checking ff v0.13.1 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking pairing v0.23.0 [INFO] [stderr] Compiling halo2derive v0.2.0 [INFO] [stdout] warning: unused import: `vec::Vec` [INFO] [stdout] --> src/t256/curve.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use alloc::{boxed::Box, vec::Vec}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::serde::SerdeObject` [INFO] [stdout] --> src/t256/curve.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | use crate::serde::SerdeObject; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vec::Vec` [INFO] [stdout] --> src/t256/curve.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use alloc::{boxed::Box, vec::Vec}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/derive/pairing.rs:262:13 [INFO] [stdout] | [INFO] [stdout] 262 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/bls12381/engine.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | crate::impl_gt!(Gt, Fq12, Fr); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, and traits [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `crate::impl_gt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/derive/pairing.rs:262:13 [INFO] [stdout] | [INFO] [stdout] 262 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/bn256/engine.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | crate::impl_gt!(Gt, Fq12, Fr); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, and traits [INFO] [stdout] = note: this warning originates in the macro `crate::impl_gt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/derive/pairing.rs:262:13 [INFO] [stdout] | [INFO] [stdout] 262 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/pluto_eris/engine.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | crate::impl_gt!(Gt, Fp12, Fq); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, and traits [INFO] [stdout] = note: this warning originates in the macro `crate::impl_gt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/derive/pairing.rs:262:13 [INFO] [stdout] | [INFO] [stdout] 262 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/bls12381/engine.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | crate::impl_gt!(Gt, Fq12, Fr); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, and traits [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `crate::impl_gt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/derive/pairing.rs:262:13 [INFO] [stdout] | [INFO] [stdout] 262 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/bn256/engine.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | crate::impl_gt!(Gt, Fq12, Fr); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, and traits [INFO] [stdout] = note: this warning originates in the macro `crate::impl_gt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/derive/pairing.rs:262:13 [INFO] [stdout] | [INFO] [stdout] 262 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/pluto_eris/engine.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | crate::impl_gt!(Gt, Fp12, Fq); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, and traits [INFO] [stdout] = note: this warning originates in the macro `crate::impl_gt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EndoParameters` is never constructed [INFO] [stdout] --> src/arithmetic.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) struct EndoParameters { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `CurveEndo` is never used [INFO] [stdout] --> src/arithmetic.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | pub trait CurveEndo: CurveExt { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `macx` is never used [INFO] [stdout] --> src/arithmetic.rs:43:21 [INFO] [stdout] | [INFO] [stdout] 43 | pub(crate) const fn macx(a: u64, b: u64, c: u64) -> (u64, u64) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mul_512` is never used [INFO] [stdout] --> src/arithmetic.rs:50:15 [INFO] [stdout] | [INFO] [stdout] 50 | pub(crate) fn mul_512(a: [u64; 4], b: [u64; 4]) -> [u64; 8] { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_flags` is never used [INFO] [stdout] --> src/serde.rs:301:8 [INFO] [stdout] | [INFO] [stdout] 221 | pub(crate) trait Compressed: [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 301 | fn set_flags(&mut self, c: &C) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ENDO_PARAMS` is never used [INFO] [stdout] --> src/bls12381/mod.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | const ENDO_PARAMS: EndoParameters = EndoParameters { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ENDO_PARAMS_BN` is never used [INFO] [stdout] --> src/bn256/curve.rs:137:7 [INFO] [stdout] | [INFO] [stdout] 137 | const ENDO_PARAMS_BN: EndoParameters = EndoParameters { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ENDO_PARAMS_GRUMPKIN` is never used [INFO] [stdout] --> src/grumpkin/curve.rs:62:7 [INFO] [stdout] | [INFO] [stdout] 62 | const ENDO_PARAMS_GRUMPKIN: EndoParameters = EndoParameters { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ENDO_PARAMS_EQ` is never used [INFO] [stdout] --> src/pasta/curve.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const ENDO_PARAMS_EQ: EndoParameters = EndoParameters { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ENDO_PARAMS_EP` is never used [INFO] [stdout] --> src/pasta/curve.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | const ENDO_PARAMS_EP: EndoParameters = EndoParameters { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_flags` is never used [INFO] [stdout] --> src/serde.rs:301:8 [INFO] [stdout] | [INFO] [stdout] 221 | pub(crate) trait Compressed: [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 301 | fn set_flags(&mut self, c: &C) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.36s [INFO] running `Command { std: "docker" "inspect" "f1f60d64ed4a9856549d369e5c5e7e97d3e6bb8b6bec026f28a831ae662fae14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1f60d64ed4a9856549d369e5c5e7e97d3e6bb8b6bec026f28a831ae662fae14", kill_on_drop: false }` [INFO] [stdout] f1f60d64ed4a9856549d369e5c5e7e97d3e6bb8b6bec026f28a831ae662fae14