[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] 01bd1285ff0ff29f68d6e9d33833d07102091aed [INFO] checking Bangboom030518/M-Compiler/01bd1285ff0ff29f68d6e9d33833d07102091aed against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBangboom030518%2FM-Compiler" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Bangboom030518/M-Compiler on toolchain 7014e13d5becc920d4bea3cd87942c8a13d359bf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "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-3-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" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-3-tc2/source/Cargo.toml: unused manifest key: workspace.default-run [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f4f4515b37ad03b148530805092a13c3e7729dfd01e89fd1a32bec2e461092b5 [INFO] running `Command { std: "docker" "start" "-a" "f4f4515b37ad03b148530805092a13c3e7729dfd01e89fd1a32bec2e461092b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f4f4515b37ad03b148530805092a13c3e7729dfd01e89fd1a32bec2e461092b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4f4515b37ad03b148530805092a13c3e7729dfd01e89fd1a32bec2e461092b5", kill_on_drop: false }` [INFO] [stdout] f4f4515b37ad03b148530805092a13c3e7729dfd01e89fd1a32bec2e461092b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0ca5b21bf3cd9b0dd654a426323c614a278da878e6847aced838a8f0f062923a [INFO] running `Command { std: "docker" "start" "-a" "0ca5b21bf3cd9b0dd654a426323c614a278da878e6847aced838a8f0f062923a", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/Cargo.toml: unused manifest key: workspace.default-run [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [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] Checking equivalent v1.0.1 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Checking hashbrown v0.14.1 [INFO] [stderr] Checking arbitrary v1.3.2 [INFO] [stderr] Checking slice-group-by v0.3.1 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling cranelift-codegen-meta v0.111.0 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking cranelift-entity v0.111.0 [INFO] [stderr] Checking bumpalo v3.13.0 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Compiling anyhow v1.0.72 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling thiserror v1.0.51 [INFO] [stderr] Checking cranelift-bforest v0.111.0 [INFO] [stderr] Checking indexmap v2.0.2 [INFO] [stderr] Checking cranelift-control v0.111.0 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Checking quote v1.0.35 [INFO] [stderr] Checking region v2.2.0 [INFO] [stderr] Checking syn v2.0.52 [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] Compiling cranelift-codegen v0.111.0 [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] 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] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking cranelift-frontend v0.111.0 [INFO] [stderr] Checking cranelift-module v0.111.0 [INFO] [stderr] Checking cranelift-native v0.111.0 [INFO] [stderr] Checking cranelift-reader v0.111.0 [INFO] [stderr] Checking cranelift-jit v0.111.0 [INFO] [stderr] Checking cranelift v0.111.0 [INFO] [stderr] Checking parser v0.1.0 (/opt/rustwide/workdir/parser) [INFO] [stdout] warning: unexpected `cfg` condition name: `ignore` [INFO] [stdout] --> parser/src/lib.rs:191:7 [INFO] [stdout] | [INFO] [stdout] 191 | #[cfg(ignore)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ignore)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ignore)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GenericArgument` [INFO] [stdout] --> parser/src/expression.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{Error, GenericArgument, Ident, Parse, Type}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ignore` [INFO] [stdout] --> parser/src/expression/control_flow.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | #[cfg(ignore)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ignore)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ignore)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ignore` [INFO] [stdout] --> parser/src/top_level.rs:500:7 [INFO] [stdout] | [INFO] [stdout] 500 | #[cfg(ignore)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ignore)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ignore)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ignore` [INFO] [stdout] --> parser/src/lib.rs:191:7 [INFO] [stdout] | [INFO] [stdout] 191 | #[cfg(ignore)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ignore)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ignore)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GenericArgument` [INFO] [stdout] --> parser/src/expression.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{Error, GenericArgument, Ident, Parse, Type}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ignore` [INFO] [stdout] --> parser/src/expression/control_flow.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | #[cfg(ignore)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ignore)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ignore)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ignore` [INFO] [stdout] --> parser/src/top_level.rs:500:7 [INFO] [stdout] | [INFO] [stdout] 500 | #[cfg(ignore)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ignore)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ignore)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Spanned>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> parser/src/top_level.rs:109:36 [INFO] [stdout] | [INFO] [stdout] 101 | let Ok(open) = parser.take_token_if(TokenType::OpenSquareParen) else { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 109 | .spanned(open.start()..parser.take_token_if(TokenType::CloseSquareParen)?.end())) [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: this value of type `Spanned>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> parser/src/top_level.rs:109:36 [INFO] [stdout] | [INFO] [stdout] 101 | let Ok(open) = parser.take_token_if(TokenType::OpenSquareParen) else { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 109 | .spanned(open.start()..parser.take_token_if(TokenType::CloseSquareParen)?.end())) [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; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `parser` (lib) due to 2 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `parser` (lib test) due to 2 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0ca5b21bf3cd9b0dd654a426323c614a278da878e6847aced838a8f0f062923a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ca5b21bf3cd9b0dd654a426323c614a278da878e6847aced838a8f0f062923a", kill_on_drop: false }` [INFO] [stdout] 0ca5b21bf3cd9b0dd654a426323c614a278da878e6847aced838a8f0f062923a