[INFO] fetching crate cplit 0.4.1... [INFO] checking cplit-0.4.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate cplit 0.4.1 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate cplit 0.4.1 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cplit 0.4.1 [INFO] finished tweaking crates.io crate cplit 0.4.1 [INFO] tweaked toml for crates.io crate cplit 0.4.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 85d1012436123588aef4fc59495bf697e7047b0c9791f804eb3dfb64239e8ca4 [INFO] running `Command { std: "docker" "start" "-a" "85d1012436123588aef4fc59495bf697e7047b0c9791f804eb3dfb64239e8ca4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "85d1012436123588aef4fc59495bf697e7047b0c9791f804eb3dfb64239e8ca4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85d1012436123588aef4fc59495bf697e7047b0c9791f804eb3dfb64239e8ca4", kill_on_drop: false }` [INFO] [stdout] 85d1012436123588aef4fc59495bf697e7047b0c9791f804eb3dfb64239e8ca4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 91d0d2072a47a318ff95d856236a4dfe893a218655605021238b93009a1a9af2 [INFO] running `Command { std: "docker" "start" "-a" "91d0d2072a47a318ff95d856236a4dfe893a218655605021238b93009a1a9af2", kill_on_drop: false }` [INFO] [stderr] Checking cplit v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated constants `COMBINE`, `PUSH_VAL`, `PUSH_TAG`, `TAG_IDENTITY`, and `VAL_IDENTITY` are never used [INFO] [stdout] --> src/data_structure/segment_tree/ops.rs:72:11 [INFO] [stdout] | [INFO] [stdout] 63 | / impl OperationPair [INFO] [stdout] 64 | | where [INFO] [stdout] 65 | | V1: Clone + Copy, [INFO] [stdout] 66 | | V2: Clone + Copy, [INFO] [stdout] ... | [INFO] [stdout] 69 | | O1: Operation, [INFO] [stdout] 70 | | O2: Operation, [INFO] [stdout] | |__________________________- associated constants in this implementation [INFO] [stdout] 71 | { [INFO] [stdout] 72 | const COMBINE: fn(left_val: (V1, V2), right_val: (V1, V2)) -> (V1, V2) = [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | const PUSH_VAL: fn((V1, V2), (T1, T2), usize) -> (V1, V2) = |val, tag, len| { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | const PUSH_TAG: fn((T1, T2), (T1, T2)) -> (T1, T2) = |child_tag, tag| { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | const TAG_IDENTITY: (T1, T2) = (O1::TAG_IDENTITY, O2::TAG_IDENTITY); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 95 | [INFO] [stdout] 96 | const VAL_IDENTITY: (V1, V2) = (O1::VAL_IDENTITY, O2::VAL_IDENTITY); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/data_structure/segment_tree/ops.rs:37:72 [INFO] [stdout] | [INFO] [stdout] 37 | const PUSH_VAL: fn(V, V, usize) -> V = |val, tag, len| val + tag * V::try_from(len).unwrap(); [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/number_theory/euler_sieve.rs:84:57 [INFO] [stdout] | [INFO] [stdout] 84 | const P: fn(usize, usize) -> (T1, T2) = |p, index| (F1::P(p, index), F2::P(p, index)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/number_theory/euler_sieve.rs:84:74 [INFO] [stdout] | [INFO] [stdout] 84 | const P: fn(usize, usize) -> (T1, T2) = |p, index| (F1::P(p, index), F2::P(p, index)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/number_theory/euler_sieve.rs:87:45 [INFO] [stdout] | [INFO] [stdout] 87 | F1::DERIVE_DIVIDES(p, x, &|idx| f(idx).0), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/number_theory/euler_sieve.rs:88:45 [INFO] [stdout] | [INFO] [stdout] 88 | F2::DERIVE_DIVIDES(p, x, &|idx| f(idx).1), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/number_theory/euler_sieve.rs:93:45 [INFO] [stdout] | [INFO] [stdout] 93 | F1::DERIVE_COPRIME(p, x, &|idx| f(idx).0), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/number_theory/euler_sieve.rs:94:45 [INFO] [stdout] | [INFO] [stdout] 94 | F2::DERIVE_COPRIME(p, x, &|idx| f(idx).1), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cplit` (lib) due to 8 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: associated constants `COMBINE`, `PUSH_VAL`, `PUSH_TAG`, `TAG_IDENTITY`, and `VAL_IDENTITY` are never used [INFO] [stdout] --> src/data_structure/segment_tree/ops.rs:72:11 [INFO] [stdout] | [INFO] [stdout] 63 | / impl OperationPair [INFO] [stdout] 64 | | where [INFO] [stdout] 65 | | V1: Clone + Copy, [INFO] [stdout] 66 | | V2: Clone + Copy, [INFO] [stdout] ... | [INFO] [stdout] 69 | | O1: Operation, [INFO] [stdout] 70 | | O2: Operation, [INFO] [stdout] | |__________________________- associated constants in this implementation [INFO] [stdout] 71 | { [INFO] [stdout] 72 | const COMBINE: fn(left_val: (V1, V2), right_val: (V1, V2)) -> (V1, V2) = [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | const PUSH_VAL: fn((V1, V2), (T1, T2), usize) -> (V1, V2) = |val, tag, len| { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | const PUSH_TAG: fn((T1, T2), (T1, T2)) -> (T1, T2) = |child_tag, tag| { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | const TAG_IDENTITY: (T1, T2) = (O1::TAG_IDENTITY, O2::TAG_IDENTITY); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 95 | [INFO] [stdout] 96 | const VAL_IDENTITY: (V1, V2) = (O1::VAL_IDENTITY, O2::VAL_IDENTITY); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/data_structure/segment_tree/ops.rs:37:72 [INFO] [stdout] | [INFO] [stdout] 37 | const PUSH_VAL: fn(V, V, usize) -> V = |val, tag, len| val + tag * V::try_from(len).unwrap(); [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/number_theory/euler_sieve.rs:84:57 [INFO] [stdout] | [INFO] [stdout] 84 | const P: fn(usize, usize) -> (T1, T2) = |p, index| (F1::P(p, index), F2::P(p, index)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/number_theory/euler_sieve.rs:84:74 [INFO] [stdout] | [INFO] [stdout] 84 | const P: fn(usize, usize) -> (T1, T2) = |p, index| (F1::P(p, index), F2::P(p, index)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/number_theory/euler_sieve.rs:87:45 [INFO] [stdout] | [INFO] [stdout] 87 | F1::DERIVE_DIVIDES(p, x, &|idx| f(idx).0), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/number_theory/euler_sieve.rs:88:45 [INFO] [stdout] | [INFO] [stdout] 88 | F2::DERIVE_DIVIDES(p, x, &|idx| f(idx).1), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/number_theory/euler_sieve.rs:93:45 [INFO] [stdout] | [INFO] [stdout] 93 | F1::DERIVE_COPRIME(p, x, &|idx| f(idx).0), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/number_theory/euler_sieve.rs:94:45 [INFO] [stdout] | [INFO] [stdout] 94 | F2::DERIVE_COPRIME(p, x, &|idx| f(idx).1), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cplit` (lib test) due to 8 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "91d0d2072a47a318ff95d856236a4dfe893a218655605021238b93009a1a9af2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91d0d2072a47a318ff95d856236a4dfe893a218655605021238b93009a1a9af2", kill_on_drop: false }` [INFO] [stdout] 91d0d2072a47a318ff95d856236a4dfe893a218655605021238b93009a1a9af2