[INFO] fetching crate eccoxide 0.3.1... [INFO] checking eccoxide-0.3.1 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate eccoxide 0.3.1 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate eccoxide 0.3.1 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate eccoxide 0.3.1 [INFO] finished tweaking crates.io crate eccoxide 0.3.1 [INFO] tweaked toml for crates.io crate eccoxide 0.3.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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 num-bigint v0.3.3 (available: v0.4.6) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 37d877e7af4b6127d677a82c52eb6654c4a077b3f489f8983f46cc10ad087a2a [INFO] running `Command { std: "docker" "start" "-a" "37d877e7af4b6127d677a82c52eb6654c4a077b3f489f8983f46cc10ad087a2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "37d877e7af4b6127d677a82c52eb6654c4a077b3f489f8983f46cc10ad087a2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37d877e7af4b6127d677a82c52eb6654c4a077b3f489f8983f46cc10ad087a2a", kill_on_drop: false }` [INFO] [stdout] 37d877e7af4b6127d677a82c52eb6654c4a077b3f489f8983f46cc10ad087a2a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3fc648ae878c2d992b405f1a68de88c898cffa94e770bd8ec3d111e2bf786f7f [INFO] running `Command { std: "docker" "start" "-a" "3fc648ae878c2d992b405f1a68de88c898cffa94e770bd8ec3d111e2bf786f7f", kill_on_drop: false }` [INFO] [stderr] Checking eccoxide v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `p112r1` [INFO] [stdout] --> src/curve/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | feature = "p112r1", [INFO] [stdout] | ^^^^^^^^^^-------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"p112r2"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `num-bigint`, `num-traits`, `p112r2`, `p128r1`, `p128r2`, `p160k1`, `p160r1`, `p160r2`, `p192k1`, `p192r1`, `p224k1`, `p224r1`, `p256k1`, `p256r1`, `p384r1`, `p521r1`, `sec2`, and `sec2-small` [INFO] [stdout] = help: consider adding `p112r1` 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: `p112r1` [INFO] [stdout] --> src/curve/sec2/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | feature = "p112r1", [INFO] [stdout] | ^^^^^^^^^^-------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"p112r2"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `num-bigint`, `num-traits`, `p112r2`, `p128r1`, `p128r2`, `p160k1`, `p160r1`, `p160r2`, `p192k1`, `p192r1`, `p224k1`, `p224r1`, `p256k1`, `p256r1`, `p384r1`, `p521r1`, `sec2`, and `sec2-small` [INFO] [stdout] = help: consider adding `p112r1` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `p112r1` [INFO] [stdout] --> src/curve/sec2/mod.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | feature = "p112r1", [INFO] [stdout] | ^^^^^^^^^^-------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"p112r2"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `num-bigint`, `num-traits`, `p112r2`, `p128r1`, `p128r2`, `p160k1`, `p160r1`, `p160r2`, `p192k1`, `p192r1`, `p224k1`, `p224r1`, `p256k1`, `p256r1`, `p384r1`, `p521r1`, `sec2`, and `sec2-small` [INFO] [stdout] = help: consider adding `p112r1` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `p112r1` [INFO] [stdout] --> src/curve/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | feature = "p112r1", [INFO] [stdout] | ^^^^^^^^^^-------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"p112r2"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `num-bigint`, `num-traits`, `p112r2`, `p128r1`, `p128r2`, `p160k1`, `p160r1`, `p160r2`, `p192k1`, `p192r1`, `p224k1`, `p224r1`, `p256k1`, `p256r1`, `p384r1`, `p521r1`, `sec2`, and `sec2-small` [INFO] [stdout] = help: consider adding `p112r1` 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: `p112r1` [INFO] [stdout] --> src/curve/sec2/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | feature = "p112r1", [INFO] [stdout] | ^^^^^^^^^^-------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"p112r2"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `num-bigint`, `num-traits`, `p112r2`, `p128r1`, `p128r2`, `p160k1`, `p160r1`, `p160r2`, `p192k1`, `p192r1`, `p224k1`, `p224r1`, `p256k1`, `p256r1`, `p384r1`, `p521r1`, `sec2`, and `sec2-small` [INFO] [stdout] = help: consider adding `p112r1` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `p112r1` [INFO] [stdout] --> src/curve/sec2/mod.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | feature = "p112r1", [INFO] [stdout] | ^^^^^^^^^^-------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"p112r2"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `num-bigint`, `num-traits`, `p112r2`, `p128r1`, `p128r2`, `p160k1`, `p160r1`, `p160r2`, `p192k1`, `p192r1`, `p224k1`, `p224r1`, `p256k1`, `p256r1`, `p384r1`, `p521r1`, `sec2`, and `sec2-small` [INFO] [stdout] = help: consider adding `p112r1` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/curve/affine.rs:41:15 [INFO] [stdout] | [INFO] [stdout] 40 | let yy = x.square() * x + (curve.a() * &x) + curve.b(); [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | match yy.sqrt().into_option() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `ct_gt` and `ct_le` are never used [INFO] [stdout] --> src/mp/ct.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 104 | pub trait CtGreater: Sized { [INFO] [stdout] | --------- associated functions in this trait [INFO] [stdout] 105 | fn ct_gt(a: Self, b: Self) -> Choice; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 106 | fn ct_le(a: Self, b: Self) -> Choice { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `ct_ge` is never used [INFO] [stdout] --> src/mp/ct.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 114 | pub trait CtLesser: Sized { [INFO] [stdout] | -------- associated function in this trait [INFO] [stdout] 115 | fn ct_lt(a: Self, b: Self) -> Choice; [INFO] [stdout] 116 | fn ct_ge(a: Self, b: Self) -> Choice { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `eccoxide` (lib) due to 2 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/curve/affine.rs:41:15 [INFO] [stdout] | [INFO] [stdout] 40 | let yy = x.square() * x + (curve.a() * &x) + curve.b(); [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | match yy.sqrt().into_option() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `ct_gt` and `ct_le` are never used [INFO] [stdout] --> src/mp/ct.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 104 | pub trait CtGreater: Sized { [INFO] [stdout] | --------- associated functions in this trait [INFO] [stdout] 105 | fn ct_gt(a: Self, b: Self) -> Choice; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 106 | fn ct_le(a: Self, b: Self) -> Choice { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `ct_ge` is never used [INFO] [stdout] --> src/mp/ct.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 114 | pub trait CtLesser: Sized { [INFO] [stdout] | -------- associated function in this trait [INFO] [stdout] 115 | fn ct_lt(a: Self, b: Self) -> Choice; [INFO] [stdout] 116 | fn ct_ge(a: Self, b: Self) -> Choice { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `eccoxide` (lib test) due to 2 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3fc648ae878c2d992b405f1a68de88c898cffa94e770bd8ec3d111e2bf786f7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fc648ae878c2d992b405f1a68de88c898cffa94e770bd8ec3d111e2bf786f7f", kill_on_drop: false }` [INFO] [stdout] 3fc648ae878c2d992b405f1a68de88c898cffa94e770bd8ec3d111e2bf786f7f