[INFO] fetching crate nanvm-lib 0.1.0... [INFO] checking nanvm-lib-0.1.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate nanvm-lib 0.1.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate nanvm-lib 0.1.0 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 nanvm-lib 0.1.0 [INFO] finished tweaking crates.io crate nanvm-lib 0.1.0 [INFO] tweaked toml for crates.io crate nanvm-lib 0.1.0 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 39 packages to latest compatible versions [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-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a9754285bfb2c944e228e759be58d582693c649129abd6b805702d7b4e2729ee [INFO] running `Command { std: "docker" "start" "-a" "a9754285bfb2c944e228e759be58d582693c649129abd6b805702d7b4e2729ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a9754285bfb2c944e228e759be58d582693c649129abd6b805702d7b4e2729ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9754285bfb2c944e228e759be58d582693c649129abd6b805702d7b4e2729ee", kill_on_drop: false }` [INFO] [stdout] a9754285bfb2c944e228e759be58d582693c649129abd6b805702d7b4e2729ee [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8092b95b1cbfffb7ae6d58915ebc0653e84dff2c80e4498ef6fb1a22d33f6808 [INFO] running `Command { std: "docker" "start" "-a" "8092b95b1cbfffb7ae6d58915ebc0653e84dff2c80e4498ef6fb1a22d33f6808", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.93 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling wasm-bindgen v0.2.93 [INFO] [stderr] Checking io-trait v0.11.0 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking io-test v0.11.0 [INFO] [stderr] Checking nanvm-lib v0.1.0 (/opt/rustwide/workdir) [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/js/new.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 14 | i: impl IntoIterator>>, [INFO] [stdout] | ---------------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | ) -> Any { [INFO] [stdout] 16 | new_array(self, i).to_ref().move_to_any() [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/js/new.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 20 | s: impl IntoIterator>, [INFO] [stdout] | ------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | ) -> Any { [INFO] [stdout] 22 | new_string(self, s).to_ref().move_to_any() [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/js/new.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 26 | / i: impl IntoIterator< [INFO] [stdout] 27 | | IntoIter = impl ExactSizeIterator, Any)>, [INFO] [stdout] 28 | | >, [INFO] [stdout] | |_________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | ) -> Any { [INFO] [stdout] 30 | new_object(self, i).to_ref().move_to_any() [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/mem/manager.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 46 | fn fixed_new(self, value: T) -> MutRef, Self::Dealloc> { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 47 | self.new(Fixed(value)) [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/mem/manager.rs:54:18 [INFO] [stdout] | [INFO] [stdout] 52 | items: impl IntoIterator, [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 53 | ) -> MutRef, Self::Dealloc> { [INFO] [stdout] 54 | self.new(FlexibleArrayConstructor::from(items.into_iter())) [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/parser/mod.rs:582:29 [INFO] [stdout] | [INFO] [stdout] 578 | fn begin_import(mut self) -> AnyResult { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 582 | AnyResult::Continue(AnyState { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 583 | | data_type: DataType::Cjs, [INFO] [stdout] 584 | | status: ParsingStatus::ImportBegin, [INFO] [stdout] 585 | | current: JsonElement::None, [INFO] [stdout] 586 | | stack: self.stack, [INFO] [stdout] 587 | | consts: self.consts, [INFO] [stdout] 588 | | }) [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/parser/mod.rs:677:29 [INFO] [stdout] | [INFO] [stdout] 672 | fn begin_array(mut self) -> AnyResult { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 673 | let new_top = JsonStackElement::Array(Vec::default()); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 677 | AnyResult::Continue(AnyState { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 678 | | data_type: self.data_type, [INFO] [stdout] 679 | | status: ParsingStatus::ArrayBegin, [INFO] [stdout] 680 | | current: JsonElement::Stack(new_top), [INFO] [stdout] 681 | | stack: self.stack, [INFO] [stdout] 682 | | consts: self.consts, [INFO] [stdout] 683 | | }) [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/parser/mod.rs:716:29 [INFO] [stdout] | [INFO] [stdout] 707 | fn begin_object(mut self) -> AnyResult { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 708 | let new_top: JsonStackElement<::Dealloc> = [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 716 | AnyResult::Continue(AnyState { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 717 | | data_type: self.data_type, [INFO] [stdout] 718 | | status: ParsingStatus::ObjectBegin, [INFO] [stdout] 719 | | current: JsonElement::Stack(new_top), [INFO] [stdout] 720 | | stack: self.stack, [INFO] [stdout] 721 | | consts: self.consts, [INFO] [stdout] 722 | | }) [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/parser/mod.rs:731:32 [INFO] [stdout] | [INFO] [stdout] 731 | .map(|kv| (to_js_string(manager, kv.0), kv.1)) [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/range_map.rs:167:15 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn from_range(range: Range, value: T) -> RangeMap> { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 166 | RangeMap { [INFO] [stdout] 167 | list: [ [INFO] [stdout] | _______________^ [INFO] [stdout] 168 | | Entry { [INFO] [stdout] 169 | | key: char::from_u32(range.start as u32 - 1).unwrap_or(range.start), [INFO] [stdout] 170 | | value: State { value: None }, [INFO] [stdout] ... | [INFO] [stdout] 176 | | ] [INFO] [stdout] 177 | | .cast(), [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/range_map.rs:183:15 [INFO] [stdout] | [INFO] [stdout] 181 | pub fn from_one(c: char, value: T) -> RangeMap> { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 182 | RangeMap { [INFO] [stdout] 183 | list: match char::from_u32(c as u32 - 1) { [INFO] [stdout] | _______________^ [INFO] [stdout] 184 | | Some(p) => [ [INFO] [stdout] 185 | | Entry { [INFO] [stdout] 186 | | key: p, [INFO] [stdout] ... | [INFO] [stdout] 199 | | .cast(), [INFO] [stdout] 200 | | }, [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/serializer/to_djs.rs:156:53 [INFO] [stdout] | [INFO] [stdout] 156 | |w, i| write_with_const_refs(w, i.clone(), const_refs), [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/serializer/to_json.rs:76:15 [INFO] [stdout] | [INFO] [stdout] 75 | fn write_json(&mut self, any: Any) -> fmt::Result { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 76 | match to_visitor(any) { [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/serializer/to_json.rs:87:83 [INFO] [stdout] | [INFO] [stdout] 87 | Visitor::Array(a) => self.write_list('[', ']', a, |w, i| w.write_json(i.clone())), [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 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nanvm-lib` (lib) due to 15 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "8092b95b1cbfffb7ae6d58915ebc0653e84dff2c80e4498ef6fb1a22d33f6808", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8092b95b1cbfffb7ae6d58915ebc0653e84dff2c80e4498ef6fb1a22d33f6808", kill_on_drop: false }` [INFO] [stdout] 8092b95b1cbfffb7ae6d58915ebc0653e84dff2c80e4498ef6fb1a22d33f6808