[INFO] fetching crate midnight-curves 0.2.0... [INFO] checking midnight-curves-0.2.0 against try#39605810efb1a0d52f955bfba9e4eec7a01d5deb for pr-153692 [INFO] extracting crate midnight-curves 0.2.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate midnight-curves 0.2.0 [INFO] finished tweaking crates.io crate midnight-curves 0.2.0 [INFO] tweaked toml for crates.io crate midnight-curves 0.2.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate midnight-curves 0.2.0 on toolchain 39605810efb1a0d52f955bfba9e4eec7a01d5deb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+39605810efb1a0d52f955bfba9e4eec7a01d5deb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate midnight-curves 0.2.0 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" "+39605810efb1a0d52f955bfba9e4eec7a01d5deb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+39605810efb1a0d52f955bfba9e4eec7a01d5deb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aa522422de8d4df14bf7f3664260cc6872ccc87fc919a7b926829f0543d77887 [INFO] running `Command { std: "docker" "start" "-a" "aa522422de8d4df14bf7f3664260cc6872ccc87fc919a7b926829f0543d77887", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aa522422de8d4df14bf7f3664260cc6872ccc87fc919a7b926829f0543d77887", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa522422de8d4df14bf7f3664260cc6872ccc87fc919a7b926829f0543d77887", kill_on_drop: false }` [INFO] [stdout] aa522422de8d4df14bf7f3664260cc6872ccc87fc919a7b926829f0543d77887 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+39605810efb1a0d52f955bfba9e4eec7a01d5deb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d00263e0736e8674847b66fc2032ce2e8364e75222433ed227aaeff2905a4218 [INFO] running `Command { std: "docker" "start" "-a" "d00263e0736e8674847b66fc2032ce2e8364e75222433ed227aaeff2905a4218", kill_on_drop: false }` [INFO] [stderr] Compiling zerocopy v0.8.31 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling cc v1.2.50 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Checking clap_builder v4.5.53 [INFO] [stderr] Checking serde_json v1.0.145 [INFO] [stderr] Checking byte-slice-cast v1.2.3 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling blst v0.3.16 [INFO] [stderr] Checking regex v1.12.2 [INFO] [stderr] Checking clap v4.5.53 [INFO] [stderr] Compiling halo2derive v0.2.0 [INFO] [stderr] Checking ff v0.13.1 [INFO] [stderr] Compiling zerocopy-derive v0.8.31 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Checking zeroize v1.8.2 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking half v2.7.1 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking serde_arrays v0.2.0 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking criterion v0.7.0 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking ark-std v0.4.0 [INFO] [stderr] Checking pairing v0.23.0 [INFO] [stderr] Checking midnight-curves v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `impl_binops_additive_specify_output`, `impl_binops_additive`, `impl_binops_multiplicative_mixed`, and `impl_binops_multiplicative` [INFO] [stdout] --> src/jubjub/curve.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | impl_binops_additive, impl_binops_additive_specify_output, impl_binops_multiplicative, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 51 | impl_binops_multiplicative_mixed, [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 imports: `impl_binops_additive` and `impl_binops_multiplicative` [INFO] [stdout] --> src/jubjub/fr.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | impl_binops_additive, impl_binops_multiplicative, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `impl_binops_additive_specify_output`, `impl_binops_additive`, `impl_binops_multiplicative_mixed`, and `impl_binops_multiplicative` [INFO] [stdout] --> src/jubjub/curve.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | impl_binops_additive, impl_binops_additive_specify_output, impl_binops_multiplicative, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 51 | impl_binops_multiplicative_mixed, [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 imports: `impl_binops_additive` and `impl_binops_multiplicative` [INFO] [stdout] --> src/jubjub/fr.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | impl_binops_additive, impl_binops_multiplicative, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `impl_binops_additive_specify_output`, `impl_binops_additive`, `impl_binops_multiplicative_mixed`, `impl_binops_multiplicative`, and `new_curve_impl` [INFO] [stdout] --> src/bn256/curve.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | impl_binops_additive, impl_binops_additive_specify_output, impl_binops_multiplicative, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | impl_binops_multiplicative_mixed, new_curve_impl, Coordinates, CurveAffine, CurveExt, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/bn256/fq6.rs:38:32 [INFO] [stdout] | [INFO] [stdout] 38 | fn mul_by_nonresidue(self: &Fq6) -> Fq6 { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [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] = note: for more information, see issue #140611 [INFO] [stdout] = note: `#[deny(self_lifetime_elision_not_applicable)]` (part of `#[deny(future_incompatible)]`) 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/bn256/engine.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | 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] [stderr] error: could not compile `midnight-curves` (lib test) due to 1 previous error; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d00263e0736e8674847b66fc2032ce2e8364e75222433ed227aaeff2905a4218", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d00263e0736e8674847b66fc2032ce2e8364e75222433ed227aaeff2905a4218", kill_on_drop: false }` [INFO] [stdout] d00263e0736e8674847b66fc2032ce2e8364e75222433ed227aaeff2905a4218