[INFO] cloning repository https://github.com/Licheam/cplit [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Licheam/cplit" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLicheam%2Fcplit", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLicheam%2Fcplit'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6279ebe4ddf5a4a5b0a23a750488c7733758d70f [INFO] checking Licheam/cplit/6279ebe4ddf5a4a5b0a23a750488c7733758d70f against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLicheam%2Fcplit" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Licheam/cplit 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 git repo https://github.com/Licheam/cplit [INFO] finished tweaking git repo https://github.com/Licheam/cplit [INFO] tweaked toml for git repo https://github.com/Licheam/cplit written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Licheam/cplit 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 86e2e32e104585f698e3a3c219dfadcbcdd555c8dc2a630cd3542fa1b2d03eb5 [INFO] running `Command { std: "docker" "start" "-a" "86e2e32e104585f698e3a3c219dfadcbcdd555c8dc2a630cd3542fa1b2d03eb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "86e2e32e104585f698e3a3c219dfadcbcdd555c8dc2a630cd3542fa1b2d03eb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86e2e32e104585f698e3a3c219dfadcbcdd555c8dc2a630cd3542fa1b2d03eb5", kill_on_drop: false }` [INFO] [stdout] 86e2e32e104585f698e3a3c219dfadcbcdd555c8dc2a630cd3542fa1b2d03eb5 [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 -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] 480da40d02baa0006f7fb4ca9552d0eb118155fdc1ec2dd9bacaf9e9c0600650 [INFO] running `Command { std: "docker" "start" "-a" "480da40d02baa0006f7fb4ca9552d0eb118155fdc1ec2dd9bacaf9e9c0600650", 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" "480da40d02baa0006f7fb4ca9552d0eb118155fdc1ec2dd9bacaf9e9c0600650", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "480da40d02baa0006f7fb4ca9552d0eb118155fdc1ec2dd9bacaf9e9c0600650", kill_on_drop: false }` [INFO] [stdout] 480da40d02baa0006f7fb4ca9552d0eb118155fdc1ec2dd9bacaf9e9c0600650