[INFO] fetching crate flo_rope 0.2.0... [INFO] checking flo_rope-0.2.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate flo_rope 0.2.0 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate flo_rope 0.2.0 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 flo_rope 0.2.0 [INFO] finished tweaking crates.io crate flo_rope 0.2.0 [INFO] tweaked toml for crates.io crate flo_rope 0.2.0 written to /workspace/builds/worker-0-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] 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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f4d887a955a58f21cd86cdc8de4c28634404c0636ad91aee9d7911609255edfd [INFO] running `Command { std: "docker" "start" "-a" "f4d887a955a58f21cd86cdc8de4c28634404c0636ad91aee9d7911609255edfd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f4d887a955a58f21cd86cdc8de4c28634404c0636ad91aee9d7911609255edfd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4d887a955a58f21cd86cdc8de4c28634404c0636ad91aee9d7911609255edfd", kill_on_drop: false }` [INFO] [stdout] f4d887a955a58f21cd86cdc8de4c28634404c0636ad91aee9d7911609255edfd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 75609242b8d2d48cd52ba7972c483acc82daecc3445a7f4214e1bd0d23ec0378 [INFO] running `Command { std: "docker" "start" "-a" "75609242b8d2d48cd52ba7972c483acc82daecc3445a7f4214e1bd0d23ec0378", kill_on_drop: false }` [INFO] [stderr] Checking flo_rope v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/api/rope_trait.rs:21:82 [INFO] [stdout] | [INFO] [stdout] 21 | fn read_cells<'a>(&'a self, range: Range) -> Box>; [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/rope/attributed_rope.rs:582:82 [INFO] [stdout] | [INFO] [stdout] 582 | fn read_cells<'a>(&'a self, range: Range) -> Box> { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::attributed_rope::*` [INFO] [stdout] --> src/rope/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use self::attributed_rope::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/stream_rope/push_rope.rs:47:82 [INFO] [stdout] | [INFO] [stdout] 47 | fn read_cells<'a>(&'a self, range: Range) -> Box> { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/stream_rope/push_rope.rs:117:82 [INFO] [stdout] | [INFO] [stdout] 117 | fn read_cells<'a>(&'a self, range: Range) -> Box> { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/stream_rope/pull_rope.rs:361:82 [INFO] [stdout] | [INFO] [stdout] 361 | fn read_cells<'a>(&'a self, range: Range) -> Box> { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/api/rope_trait.rs:21:82 [INFO] [stdout] | [INFO] [stdout] 21 | fn read_cells<'a>(&'a self, range: Range) -> Box>; [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/rope/attributed_rope.rs:582:82 [INFO] [stdout] | [INFO] [stdout] 582 | fn read_cells<'a>(&'a self, range: Range) -> Box> { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::attributed_rope::*` [INFO] [stdout] --> src/rope/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use self::attributed_rope::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/stream_rope/push_rope.rs:47:82 [INFO] [stdout] | [INFO] [stdout] 47 | fn read_cells<'a>(&'a self, range: Range) -> Box> { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/stream_rope/push_rope.rs:117:82 [INFO] [stdout] | [INFO] [stdout] 117 | fn read_cells<'a>(&'a self, range: Range) -> Box> { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/stream_rope/pull_rope.rs:361:82 [INFO] [stdout] | [INFO] [stdout] 361 | fn read_cells<'a>(&'a self, range: Range) -> Box> { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `node::RopeNode` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rope/attributed_rope.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 141 | let leaf_node = self.nodes[leaf_node_idx.idx()].take(); [INFO] [stdout] | --------- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 171 | leaf_node => { [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: aborting due to 1 previous error; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `flo_rope` (lib) due to 2 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `node::RopeNode` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rope/attributed_rope.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 141 | let leaf_node = self.nodes[leaf_node_idx.idx()].take(); [INFO] [stdout] | --------- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 171 | leaf_node => { [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: aborting due to 1 previous error; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `flo_rope` (lib test) due to 2 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "75609242b8d2d48cd52ba7972c483acc82daecc3445a7f4214e1bd0d23ec0378", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75609242b8d2d48cd52ba7972c483acc82daecc3445a7f4214e1bd0d23ec0378", kill_on_drop: false }` [INFO] [stdout] 75609242b8d2d48cd52ba7972c483acc82daecc3445a7f4214e1bd0d23ec0378