[INFO] fetching crate shawshank 0.2.3... [INFO] checking shawshank-0.2.3 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate shawshank 0.2.3 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate shawshank 0.2.3 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 shawshank 0.2.3 [INFO] finished tweaking crates.io crate shawshank 0.2.3 [INFO] tweaked toml for crates.io crate shawshank 0.2.3 written to /workspace/builds/worker-1-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 14 packages to latest compatible versions [INFO] [stderr] Adding num-traits v0.1.43 (available: v0.2.19) [INFO] [stderr] Adding rand v0.3.23 (available: v0.8.5) [INFO] [stderr] Adding rand v0.4.6 (available: v0.8.5) [INFO] [stderr] Adding rand_core v0.3.1 (available: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (available: v0.6.4) [INFO] [stderr] Adding rdrand v0.4.0 (available: v0.8.3) [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] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 97f129c88cb1d103738a46f330101ff8a07bb842498aef6f3174045a2a7052de [INFO] running `Command { std: "docker" "start" "-a" "97f129c88cb1d103738a46f330101ff8a07bb842498aef6f3174045a2a7052de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "97f129c88cb1d103738a46f330101ff8a07bb842498aef6f3174045a2a7052de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97f129c88cb1d103738a46f330101ff8a07bb842498aef6f3174045a2a7052de", kill_on_drop: false }` [INFO] [stdout] 97f129c88cb1d103738a46f330101ff8a07bb842498aef6f3174045a2a7052de [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8e382c3ff47f542d0f03acb0b24aff6954b379e8754ff03b217f73968c7fd8d2 [INFO] running `Command { std: "docker" "start" "-a" "8e382c3ff47f542d0f03acb0b24aff6954b379e8754ff03b217f73968c7fd8d2", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking shawshank v0.2.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/traits.rs:25:22 [INFO] [stdout] | [INFO] [stdout] 25 | fn with_capacity(usize) -> Self; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: usize` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/traits.rs:34:26 [INFO] [stdout] | [INFO] [stdout] 34 | fn insert(&mut self, Self::Key, Self::Value) -> Option; [INFO] [stdout] | ^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self::Key` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/traits.rs:34:37 [INFO] [stdout] | [INFO] [stdout] 34 | fn insert(&mut self, Self::Key, Self::Value) -> Option; [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self::Value` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/traits.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 39 | fn get(&self, Self::Key) -> Option<&Self::Value>; [INFO] [stdout] | ^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self::Key` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/traits.rs:44:26 [INFO] [stdout] | [INFO] [stdout] 44 | fn remove(&mut self, Self::Key) -> Option; [INFO] [stdout] | ^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self::Key` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Slot` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/arena_set.rs:219:41 [INFO] [stdout] | [INFO] [stdout] 219 | if let Slot::Vacant(next) = mem::replace(unsafe { $this.interned.get_unchecked_mut(ix) }, [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 220 | | Slot::Occupied(owned)) { [INFO] [stdout] | |___________________________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 318 | pub fn intern(&mut self, item: Q) -> Result [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 321 | insert!(self, item, |item: Q| { O::from(item) }) [INFO] [stdout] | ------------------------------------------------ in this macro invocation [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] = note: this error originates in the macro `insert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Slot` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/arena_set.rs:256:47 [INFO] [stdout] | [INFO] [stdout] 256 | if let Slot::Occupied(item) = mem::replace(occupied, Slot::Vacant($this.head)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 342 | pub fn disintern<'a, U: Borrow>(&'a mut self, id: U) -> Result { [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 343 | disintern!(self, id) [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `disintern` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Slot` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/arena_set.rs:219:41 [INFO] [stdout] | [INFO] [stdout] 219 | if let Slot::Vacant(next) = mem::replace(unsafe { $this.interned.get_unchecked_mut(ix) }, [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 220 | | Slot::Occupied(owned)) { [INFO] [stdout] | |___________________________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 404 | pub fn intern(&mut self, item: Q) -> Result [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 409 | insert!(this, item, |item: Q| { O::from(O::Target::from(item)) }) [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `insert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Slot` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/arena_set.rs:256:47 [INFO] [stdout] | [INFO] [stdout] 256 | if let Slot::Occupied(item) = mem::replace(occupied, Slot::Vacant($this.head)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 425 | pub fn disintern<'a, U: Borrow>(&'a mut self, id: U) -> Result { [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 426 | let ref mut this = self.0; [INFO] [stdout] 427 | disintern!(this, id) [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `disintern` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `shawshank` (lib) due to 5 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "8e382c3ff47f542d0f03acb0b24aff6954b379e8754ff03b217f73968c7fd8d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e382c3ff47f542d0f03acb0b24aff6954b379e8754ff03b217f73968c7fd8d2", kill_on_drop: false }` [INFO] [stdout] 8e382c3ff47f542d0f03acb0b24aff6954b379e8754ff03b217f73968c7fd8d2