[INFO] cloning repository https://github.com/AcrylicShrimp/titi-lang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AcrylicShrimp/titi-lang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAcrylicShrimp%2Ftiti-lang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAcrylicShrimp%2Ftiti-lang'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0695e659666756afacdfa15107564aac3f3afce9 [INFO] checking AcrylicShrimp/titi-lang/0695e659666756afacdfa15107564aac3f3afce9 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%2FAcrylicShrimp%2Ftiti-lang" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AcrylicShrimp/titi-lang 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/AcrylicShrimp/titi-lang [INFO] finished tweaking git repo https://github.com/AcrylicShrimp/titi-lang [INFO] tweaked toml for git repo https://github.com/AcrylicShrimp/titi-lang written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/AcrylicShrimp/titi-lang 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] 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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1afcbe7d24fbd44a7fe95b08215274b936266ef1c7c7910ebc84732032cbdb90 [INFO] running `Command { std: "docker" "start" "-a" "1afcbe7d24fbd44a7fe95b08215274b936266ef1c7c7910ebc84732032cbdb90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1afcbe7d24fbd44a7fe95b08215274b936266ef1c7c7910ebc84732032cbdb90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1afcbe7d24fbd44a7fe95b08215274b936266ef1c7c7910ebc84732032cbdb90", kill_on_drop: false }` [INFO] [stdout] 1afcbe7d24fbd44a7fe95b08215274b936266ef1c7c7910ebc84732032cbdb90 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a2aed2c43d65b6621ae724ccd62efdf3ce69c3f70d167f156aace3b2f670bc2a [INFO] running `Command { std: "docker" "start" "-a" "a2aed2c43d65b6621ae724ccd62efdf3ce69c3f70d167f156aace3b2f670bc2a", kill_on_drop: false }` [INFO] [stderr] Checking span v0.0.1 (/opt/rustwide/workdir/src/span) [INFO] [stderr] Checking unicode-xid v0.2.2 [INFO] [stderr] Checking str_interner v0.0.1 (/opt/rustwide/workdir/src/str_interner) [INFO] [stderr] Checking low_lexer v0.0.1 (/opt/rustwide/workdir/src/low_lexer) [INFO] [stderr] Checking diagnostic v0.0.1 (/opt/rustwide/workdir/src/diagnostic) [INFO] [stderr] Checking high_lexer v0.0.1 (/opt/rustwide/workdir/src/high_lexer) [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/high_lexer/src/lib.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 17 | let mut iter = unglued_token_iter(source); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 21 | iter_from_fn(move || { [INFO] [stdout] | __________________^ [INFO] [stdout] 22 | | let mut token = match current.take() { [INFO] [stdout] 23 | | Some(token) => token, [INFO] [stdout] 24 | | None => return None, [INFO] [stdout] ... | [INFO] [stdout] 39 | | Some(token) [INFO] [stdout] 40 | | }) [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/high_lexer/src/lib.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 45 | let mut iter = low_token_iter(source.content()); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 46 | [INFO] [stdout] 47 | iter_from_fn(move || loop { [INFO] [stdout] | __________________^ [INFO] [stdout] 48 | | let token = match iter.next() { [INFO] [stdout] 49 | | Some(token) => token, [INFO] [stdout] 50 | | None => return None, [INFO] [stdout] ... | [INFO] [stdout] 62 | | } [INFO] [stdout] 63 | | }) [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/high_lexer/src/lib.rs:73:51 [INFO] [stdout] | [INFO] [stdout] 73 | $suffix.map(|suffix: &str| Symbol(STR_INTERNER.lock().intern(suffix))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | "true" => literal!(TokenLiteralKind::Bool, "true", None), [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 `literal` (in Nightly builds, run with -Z macro-backtrace for more info) [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/high_lexer/src/lib.rs:73:51 [INFO] [stdout] | [INFO] [stdout] 73 | $suffix.map(|suffix: &str| Symbol(STR_INTERNER.lock().intern(suffix))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | "false" => literal!(TokenLiteralKind::Bool, "false", None), [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 `literal` (in Nightly builds, run with -Z macro-backtrace for more info) [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/high_lexer/src/lib.rs:73:51 [INFO] [stdout] | [INFO] [stdout] 73 | $suffix.map(|suffix: &str| Symbol(STR_INTERNER.lock().intern(suffix))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | LowTokenLiteralKind::Number(number) => literal!( [INFO] [stdout] | ____________________________________________________________- [INFO] [stdout] 123 | | match number.kind() { [INFO] [stdout] 124 | | LowTokenNumberLiteralKind::Integer(integer) => match integer { [INFO] [stdout] 125 | | LowTokenIntegerLiteralKind::Binary => [INFO] [stdout] ... | [INFO] [stdout] 140 | | } [INFO] [stdout] 141 | | ), [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 `literal` (in Nightly builds, run with -Z macro-backtrace for more info) [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/high_lexer/src/lib.rs:73:51 [INFO] [stdout] | [INFO] [stdout] 73 | $suffix.map(|suffix: &str| Symbol(STR_INTERNER.lock().intern(suffix))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | literal!(TokenLiteralKind::SingleQuotedStr, str, None) [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 `literal` (in Nightly builds, run with -Z macro-backtrace for more info) [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/high_lexer/src/lib.rs:73:51 [INFO] [stdout] | [INFO] [stdout] 73 | $suffix.map(|suffix: &str| Symbol(STR_INTERNER.lock().intern(suffix))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | literal!(TokenLiteralKind::DoubleQuotedStr, str, None) [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 `literal` (in Nightly builds, run with -Z macro-backtrace for more info) [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/high_lexer/src/token/token_kind.rs:61:25 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn id>(id: S) -> Self { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | Self::Id(Symbol(STR_INTERNER.lock().intern(id))) [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 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `high_lexer` (lib) due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "a2aed2c43d65b6621ae724ccd62efdf3ce69c3f70d167f156aace3b2f670bc2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2aed2c43d65b6621ae724ccd62efdf3ce69c3f70d167f156aace3b2f670bc2a", kill_on_drop: false }` [INFO] [stdout] a2aed2c43d65b6621ae724ccd62efdf3ce69c3f70d167f156aace3b2f670bc2a