[INFO] cloning repository https://github.com/Bangboom030518/M-Compiler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Bangboom030518/M-Compiler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBangboom030518%2FM-Compiler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBangboom030518%2FM-Compiler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 912b3f32e675b805bc6273947c7a238e38f63a53 [INFO] checking Bangboom030518/M-Compiler/912b3f32e675b805bc6273947c7a238e38f63a53 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%2FBangboom030518%2FM-Compiler" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Bangboom030518/M-Compiler 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/Bangboom030518/M-Compiler [INFO] finished tweaking git repo https://github.com/Bangboom030518/M-Compiler [INFO] tweaked toml for git repo https://github.com/Bangboom030518/M-Compiler written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Bangboom030518/M-Compiler 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] [stderr] warning: /workspace/builds/worker-5-tc2/source/Cargo.toml: unused manifest key: workspace.default-run [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 7a3722aee92e7c52a6cebd8f6c62d6581fd7e9a9f43bb7fa979b5389e21545c3 [INFO] running `Command { std: "docker" "start" "-a" "7a3722aee92e7c52a6cebd8f6c62d6581fd7e9a9f43bb7fa979b5389e21545c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7a3722aee92e7c52a6cebd8f6c62d6581fd7e9a9f43bb7fa979b5389e21545c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a3722aee92e7c52a6cebd8f6c62d6581fd7e9a9f43bb7fa979b5389e21545c3", kill_on_drop: false }` [INFO] [stdout] 7a3722aee92e7c52a6cebd8f6c62d6581fd7e9a9f43bb7fa979b5389e21545c3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 857e80bdbc1e919ba39df3ddb1e6727757b0c36ffd9147d4db4085724edd154f [INFO] running `Command { std: "docker" "start" "-a" "857e80bdbc1e919ba39df3ddb1e6727757b0c36ffd9147d4db4085724edd154f", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/Cargo.toml: unused manifest key: workspace.default-run [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling cranelift-isle v0.111.0 [INFO] [stderr] Compiling cranelift-codegen-shared v0.111.0 [INFO] [stderr] Checking cranelift-bitset v0.111.0 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Checking hashbrown v0.14.1 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Checking slice-group-by v0.3.1 [INFO] [stderr] Checking cranelift-control v0.111.0 [INFO] [stderr] Checking bumpalo v3.13.0 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Compiling cranelift-codegen-meta v0.111.0 [INFO] [stderr] Compiling anyhow v1.0.72 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Checking cranelift-entity v0.111.0 [INFO] [stderr] Compiling thiserror v1.0.51 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Checking heck v0.5.0 [INFO] [stderr] Checking proc-macro2 v1.0.78 [INFO] [stderr] Checking cranelift-bforest v0.111.0 [INFO] [stderr] Checking indexmap v2.0.2 [INFO] [stderr] Checking quote v1.0.35 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking region v2.2.0 [INFO] [stderr] Checking wasmtime-jit-icache-coherence v24.0.0 [INFO] [stderr] Checking gimli v0.29.0 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking regalloc2 v0.9.3 [INFO] [stderr] Checking bitfields v0.1.0 (/opt/rustwide/workdir/bitfields) [INFO] [stderr] Compiling thiserror-impl v1.0.51 [INFO] [stderr] Compiling cranelift-codegen v0.111.0 [INFO] [stderr] Checking tokenizer v0.1.0 (/opt/rustwide/workdir/tokenizer) [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> tokenizer/src/lib.rs:191:14 [INFO] [stdout] | [INFO] [stdout] 191 | .intersperse_with(|| ", ".to_string()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `itertools::Itertools::intersperse_with(...)` to keep using the current method [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stdout] help: add `#![feature(iter_intersperse)]` to the crate attributes to enable `std::iter::Iterator::intersperse_with` [INFO] [stdout] | [INFO] [stdout] 3 + #![feature(iter_intersperse)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> tokenizer/src/lib.rs:191:14 [INFO] [stdout] | [INFO] [stdout] 191 | .intersperse_with(|| ", ".to_string()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `itertools::Itertools::intersperse_with(...)` to keep using the current method [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stdout] help: add `#![feature(iter_intersperse)]` to the crate attributes to enable `std::iter::Iterator::intersperse_with` [INFO] [stdout] | [INFO] [stdout] 3 + #![feature(iter_intersperse)] [INFO] [stdout] | [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] --> tokenizer/src/lib.rs:109:20 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn map(self, mapping: impl FnOnce(T) -> U) -> Spanned { [INFO] [stdout] | ---- ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 108 | Spanned { [INFO] [stdout] 109 | value: mapping(self.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] = 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] --> tokenizer/src/lib.rs:152:18 [INFO] [stdout] | [INFO] [stdout] 151 | fn with_spanned(self, value: U) -> Result, E> { [INFO] [stdout] | ---- -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 152 | self.map(|token| token.with(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] --> tokenizer/src/lib.rs:156:18 [INFO] [stdout] | [INFO] [stdout] 155 | fn map_spanned(self, mapping: impl FnOnce(T) -> U) -> Result, E> { [INFO] [stdout] | ---- ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 156 | self.map(|spanned| spanned.map(mapping)) [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] --> tokenizer/src/lib.rs:160:23 [INFO] [stdout] | [INFO] [stdout] 159 | fn and_then_spanned(self, mapping: impl FnOnce(T) -> Result) -> Result, E> { [INFO] [stdout] | ---- --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 160 | self.and_then(|spanned| mapping(spanned.value).map(|value| value.spanned(spanned.span))) [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] --> tokenizer/src/lib.rs:160:33 [INFO] [stdout] | [INFO] [stdout] 159 | fn and_then_spanned(self, mapping: impl FnOnce(T) -> Result) -> Result, E> { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 160 | self.and_then(|spanned| mapping(spanned.value).map(|value| value.spanned(spanned.span))) [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] --> tokenizer/src/lib.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn despan_vec(list: Vec>) -> Vec { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 165 | list.into_iter().map(|item| item.value).collect() [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 6 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tokenizer` (lib test) due to 7 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] --> tokenizer/src/lib.rs:109:20 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn map(self, mapping: impl FnOnce(T) -> U) -> Spanned { [INFO] [stdout] | ---- ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 108 | Spanned { [INFO] [stdout] 109 | value: mapping(self.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] = 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] --> tokenizer/src/lib.rs:152:18 [INFO] [stdout] | [INFO] [stdout] 151 | fn with_spanned(self, value: U) -> Result, E> { [INFO] [stdout] | ---- -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 152 | self.map(|token| token.with(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] --> tokenizer/src/lib.rs:156:18 [INFO] [stdout] | [INFO] [stdout] 155 | fn map_spanned(self, mapping: impl FnOnce(T) -> U) -> Result, E> { [INFO] [stdout] | ---- ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 156 | self.map(|spanned| spanned.map(mapping)) [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] --> tokenizer/src/lib.rs:160:23 [INFO] [stdout] | [INFO] [stdout] 159 | fn and_then_spanned(self, mapping: impl FnOnce(T) -> Result) -> Result, E> { [INFO] [stdout] | ---- --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 160 | self.and_then(|spanned| mapping(spanned.value).map(|value| value.spanned(spanned.span))) [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] --> tokenizer/src/lib.rs:160:33 [INFO] [stdout] | [INFO] [stdout] 159 | fn and_then_spanned(self, mapping: impl FnOnce(T) -> Result) -> Result, E> { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 160 | self.and_then(|spanned| mapping(spanned.value).map(|value| value.spanned(spanned.span))) [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] --> tokenizer/src/lib.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn despan_vec(list: Vec>) -> Vec { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 165 | list.into_iter().map(|item| item.value).collect() [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 6 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tokenizer` (lib) due to 7 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "857e80bdbc1e919ba39df3ddb1e6727757b0c36ffd9147d4db4085724edd154f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "857e80bdbc1e919ba39df3ddb1e6727757b0c36ffd9147d4db4085724edd154f", kill_on_drop: false }` [INFO] [stdout] 857e80bdbc1e919ba39df3ddb1e6727757b0c36ffd9147d4db4085724edd154f