[INFO] fetching crate trashcan 0.1.0... [INFO] checking trashcan-0.1.0 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate trashcan 0.1.0 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate trashcan 0.1.0 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 crates.io crate trashcan 0.1.0 [INFO] finished tweaking crates.io crate trashcan 0.1.0 [INFO] tweaked toml for crates.io crate trashcan 0.1.0 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" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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: 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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2fa86eff6df06850bde7d0ed4689936d696a0486def814004910d3f0fb8607bd [INFO] running `Command { std: "docker" "start" "-a" "2fa86eff6df06850bde7d0ed4689936d696a0486def814004910d3f0fb8607bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2fa86eff6df06850bde7d0ed4689936d696a0486def814004910d3f0fb8607bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fa86eff6df06850bde7d0ed4689936d696a0486def814004910d3f0fb8607bd", kill_on_drop: false }` [INFO] [stdout] 2fa86eff6df06850bde7d0ed4689936d696a0486def814004910d3f0fb8607bd [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c2055e82a1ff70d37b7e6613e7cea80b5ba9c742ae761e9530c574151dbeac31 [INFO] running `Command { std: "docker" "start" "-a" "c2055e82a1ff70d37b7e6613e7cea80b5ba9c742ae761e9530c574151dbeac31", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking trashcan v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition: `expect_parse` [INFO] [stdout] --> src/parser/mod.rs:100:14 [INFO] [stdout] | [INFO] [stdout] 100 | macro_rules! expect_parse { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `expect_parse_err` [INFO] [stdout] --> src/parser/mod.rs:112:14 [INFO] [stdout] | [INFO] [stdout] 112 | macro_rules! expect_parse_err { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `expect_parse_cut` [INFO] [stdout] --> src/parser/mod.rs:124:14 [INFO] [stdout] | [INFO] [stdout] 124 | macro_rules! expect_parse_cut { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/parser/bits.rs:291:42 [INFO] [stdout] | [INFO] [stdout] 290 | pub fn opt<'a, F, R>(input: &'a [u8], parser: F) -> CutParseResult> [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 291 | where F: Fn(&'a [u8]) -> CutParseResult { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/parser/bits.rs:290:67 [INFO] [stdout] | [INFO] [stdout] 290 | pub fn opt<'a, F, R>(input: &'a [u8], parser: F) -> CutParseResult> [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/parser/bits.rs:319:42 [INFO] [stdout] | [INFO] [stdout] 318 | pub fn many<'a, F, R>(input: &'a [u8], parser: F) -> CutParseResult> [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 319 | where F: Fn(&'a [u8]) -> CutParseResult { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/parser/bits.rs:318:68 [INFO] [stdout] | [INFO] [stdout] 318 | pub fn many<'a, F, R>(input: &'a [u8], parser: F) -> CutParseResult> [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/parser/bits.rs:347:42 [INFO] [stdout] | [INFO] [stdout] 345 | pub fn at_least_one<'a, F, R>(input: &'a [u8], parser: F) [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 346 | -> CutParseResult> [INFO] [stdout] 347 | where F: Fn(&'a [u8]) -> CutParseResult { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/parser/bits.rs:346:20 [INFO] [stdout] | [INFO] [stdout] 345 | pub fn at_least_one<'a, F, R>(input: &'a [u8], parser: F) [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 346 | -> CutParseResult> [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/parser/bits.rs:360:42 [INFO] [stdout] | [INFO] [stdout] 358 | pub fn delimited<'a, F, R, D, _R>(input: &'a [u8], parser: F, delim_parser: D) [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 359 | -> CutParseResult> [INFO] [stdout] 360 | where F: Fn(&'a [u8]) -> CutParseResult, [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/parser/bits.rs:361:42 [INFO] [stdout] | [INFO] [stdout] 358 | pub fn delimited<'a, F, R, D, _R>(input: &'a [u8], parser: F, delim_parser: D) [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 361 | D: Fn(&'a [u8]) -> CutParseResult<_R> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/parser/bits.rs:359:20 [INFO] [stdout] | [INFO] [stdout] 358 | pub fn delimited<'a, F, R, D, _R>(input: &'a [u8], parser: F, delim_parser: D) [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 359 | -> CutParseResult> [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/parser/bits.rs:383:42 [INFO] [stdout] | [INFO] [stdout] 381 | pub fn delimited_at_least_one<'a, F, R, D, _R>(input: &'a [u8], parser: F, [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 382 | delim_parser: D) -> CutParseResult> [INFO] [stdout] 383 | where F: Fn(&'a [u8]) -> CutParseResult, [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/parser/bits.rs:384:42 [INFO] [stdout] | [INFO] [stdout] 381 | pub fn delimited_at_least_one<'a, F, R, D, _R>(input: &'a [u8], parser: F, [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 384 | D: Fn(&'a [u8]) -> CutParseResult<_R> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/parser/bits.rs:382:37 [INFO] [stdout] | [INFO] [stdout] 381 | pub fn delimited_at_least_one<'a, F, R, D, _R>(input: &'a [u8], parser: F, [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 382 | delim_parser: D) -> CutParseResult> [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/parser/bits.rs:291:42 [INFO] [stdout] | [INFO] [stdout] 290 | pub fn opt<'a, F, R>(input: &'a [u8], parser: F) -> CutParseResult> [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 291 | where F: Fn(&'a [u8]) -> CutParseResult { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/parser/bits.rs:290:67 [INFO] [stdout] | [INFO] [stdout] 290 | pub fn opt<'a, F, R>(input: &'a [u8], parser: F) -> CutParseResult> [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/parser/bits.rs:319:42 [INFO] [stdout] | [INFO] [stdout] 318 | pub fn many<'a, F, R>(input: &'a [u8], parser: F) -> CutParseResult> [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 319 | where F: Fn(&'a [u8]) -> CutParseResult { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/parser/bits.rs:318:68 [INFO] [stdout] | [INFO] [stdout] 318 | pub fn many<'a, F, R>(input: &'a [u8], parser: F) -> CutParseResult> [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/parser/bits.rs:347:42 [INFO] [stdout] | [INFO] [stdout] 345 | pub fn at_least_one<'a, F, R>(input: &'a [u8], parser: F) [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 346 | -> CutParseResult> [INFO] [stdout] 347 | where F: Fn(&'a [u8]) -> CutParseResult { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/parser/bits.rs:346:20 [INFO] [stdout] | [INFO] [stdout] 345 | pub fn at_least_one<'a, F, R>(input: &'a [u8], parser: F) [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 346 | -> CutParseResult> [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/parser/bits.rs:360:42 [INFO] [stdout] | [INFO] [stdout] 358 | pub fn delimited<'a, F, R, D, _R>(input: &'a [u8], parser: F, delim_parser: D) [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 359 | -> CutParseResult> [INFO] [stdout] 360 | where F: Fn(&'a [u8]) -> CutParseResult, [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/parser/bits.rs:361:42 [INFO] [stdout] | [INFO] [stdout] 358 | pub fn delimited<'a, F, R, D, _R>(input: &'a [u8], parser: F, delim_parser: D) [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 361 | D: Fn(&'a [u8]) -> CutParseResult<_R> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/parser/bits.rs:359:20 [INFO] [stdout] | [INFO] [stdout] 358 | pub fn delimited<'a, F, R, D, _R>(input: &'a [u8], parser: F, delim_parser: D) [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 359 | -> CutParseResult> [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/parser/bits.rs:383:42 [INFO] [stdout] | [INFO] [stdout] 381 | pub fn delimited_at_least_one<'a, F, R, D, _R>(input: &'a [u8], parser: F, [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 382 | delim_parser: D) -> CutParseResult> [INFO] [stdout] 383 | where F: Fn(&'a [u8]) -> CutParseResult, [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/parser/bits.rs:384:42 [INFO] [stdout] | [INFO] [stdout] 381 | pub fn delimited_at_least_one<'a, F, R, D, _R>(input: &'a [u8], parser: F, [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 384 | D: Fn(&'a [u8]) -> CutParseResult<_R> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/parser/bits.rs:382:37 [INFO] [stdout] | [INFO] [stdout] 381 | pub fn delimited_at_least_one<'a, F, R, D, _R>(input: &'a [u8], parser: F, [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 382 | delim_parser: D) -> CutParseResult> [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `(&[u8], Result)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/bits.rs:146:15 [INFO] [stdout] | [INFO] [stdout] 130 | match $alt? { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 146 | match $alt? { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/parser/expr.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | / alt!(input, [INFO] [stdout] 138 | | unitary_expr(input) [INFO] [stdout] 139 | | ; unitary_op_expr1(input) [INFO] [stdout] 140 | | ) [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 `alt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `(&[u8], Result)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/bits.rs:146:15 [INFO] [stdout] | [INFO] [stdout] 130 | match $alt? { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 146 | match $alt? { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/parser/expr.rs:164:42 [INFO] [stdout] | [INFO] [stdout] 164 | let (i, rest) = require!(many(i, |i| alt!(i, [INFO] [stdout] | __________________________________________- [INFO] [stdout] 165 | | indexed(i) [INFO] [stdout] 166 | | ; memberinvoke(i) [INFO] [stdout] 167 | | ; member(i) [INFO] [stdout] 168 | | ; cast(i) [INFO] [stdout] 169 | | ))); [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 `alt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `(&[u8], Result)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/bits.rs:146:15 [INFO] [stdout] | [INFO] [stdout] 130 | match $alt? { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 146 | match $alt? { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/parser/expr.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 176 | / alt!(input, [INFO] [stdout] 177 | | litexpr(input) // because keywords can be literals [INFO] [stdout] 178 | | ; extent_expr(input) // and these guys start with keywords [INFO] [stdout] 179 | | ; fncall(input) [INFO] [stdout] ... | [INFO] [stdout] 182 | | ; vbexpr(input) [INFO] [stdout] 183 | | ) [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 `alt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `(&[u8], Result)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/bits.rs:146:15 [INFO] [stdout] | [INFO] [stdout] 130 | match $alt? { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 146 | match $alt? { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/parser/stmt.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | / alt!(input, [INFO] [stdout] 13 | | decl(input) [INFO] [stdout] 14 | | ; ret(input) [INFO] [stdout] 15 | | ; print(input) [INFO] [stdout] ... | [INFO] [stdout] 24 | | ; exprstmt(input) [INFO] [stdout] 25 | | ) [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 `alt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `(&[u8], Result)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/bits.rs:146:15 [INFO] [stdout] | [INFO] [stdout] 130 | match $alt? { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 146 | match $alt? { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/parser/stmt.rs:363:5 [INFO] [stdout] | [INFO] [stdout] 363 | / alt!(input, [INFO] [stdout] 364 | | along_extent(input) // this has to be first; it starts with a keyword [INFO] [stdout] 365 | | ; range_extent(input) [INFO] [stdout] 366 | | ) [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 `alt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `(&[u8], Result)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/bits.rs:153:15 [INFO] [stdout] | [INFO] [stdout] 138 | match $alt? { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 153 | match $alt? { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/parser/item.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | / alt!(input, [INFO] [stdout] 13 | | fundef(input) => NormalItem::Function [INFO] [stdout] 14 | | ; structdef(input) => NormalItem::Struct [INFO] [stdout] 15 | | ; staticdef(input) => NormalItem::Static [INFO] [stdout] 16 | | ; constantdef(input) => NormalItem::Const [INFO] [stdout] 17 | | ) [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 `alt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `(&[u8], Result)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/bits.rs:146:15 [INFO] [stdout] | [INFO] [stdout] 130 | match $alt? { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 146 | match $alt? { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/parser/expr.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | / alt!(input, [INFO] [stdout] 138 | | unitary_expr(input) [INFO] [stdout] 139 | | ; unitary_op_expr1(input) [INFO] [stdout] 140 | | ) [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 `alt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `(&[u8], Result)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/bits.rs:146:15 [INFO] [stdout] | [INFO] [stdout] 130 | match $alt? { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 146 | match $alt? { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/parser/expr.rs:164:42 [INFO] [stdout] | [INFO] [stdout] 164 | let (i, rest) = require!(many(i, |i| alt!(i, [INFO] [stdout] | __________________________________________- [INFO] [stdout] 165 | | indexed(i) [INFO] [stdout] 166 | | ; memberinvoke(i) [INFO] [stdout] 167 | | ; member(i) [INFO] [stdout] 168 | | ; cast(i) [INFO] [stdout] 169 | | ))); [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 `alt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `(&[u8], Result)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/bits.rs:146:15 [INFO] [stdout] | [INFO] [stdout] 130 | match $alt? { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 146 | match $alt? { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/parser/expr.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 176 | / alt!(input, [INFO] [stdout] 177 | | litexpr(input) // because keywords can be literals [INFO] [stdout] 178 | | ; extent_expr(input) // and these guys start with keywords [INFO] [stdout] 179 | | ; fncall(input) [INFO] [stdout] ... | [INFO] [stdout] 182 | | ; vbexpr(input) [INFO] [stdout] 183 | | ) [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 `alt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `(&[u8], Result)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/bits.rs:146:15 [INFO] [stdout] | [INFO] [stdout] 130 | match $alt? { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 146 | match $alt? { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/parser/stmt.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | / alt!(input, [INFO] [stdout] 13 | | decl(input) [INFO] [stdout] 14 | | ; ret(input) [INFO] [stdout] 15 | | ; print(input) [INFO] [stdout] ... | [INFO] [stdout] 24 | | ; exprstmt(input) [INFO] [stdout] 25 | | ) [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 `alt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `(&[u8], Result)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/bits.rs:146:15 [INFO] [stdout] | [INFO] [stdout] 130 | match $alt? { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 146 | match $alt? { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/parser/stmt.rs:363:5 [INFO] [stdout] | [INFO] [stdout] 363 | / alt!(input, [INFO] [stdout] 364 | | along_extent(input) // this has to be first; it starts with a keyword [INFO] [stdout] 365 | | ; range_extent(input) [INFO] [stdout] 366 | | ) [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 `alt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `(&[u8], Result)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/bits.rs:153:15 [INFO] [stdout] | [INFO] [stdout] 138 | match $alt? { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 153 | match $alt? { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/parser/item.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | / alt!(input, [INFO] [stdout] 13 | | fundef(input) => NormalItem::Function [INFO] [stdout] 14 | | ; structdef(input) => NormalItem::Struct [INFO] [stdout] 15 | | ; staticdef(input) => NormalItem::Static [INFO] [stdout] 16 | | ; constantdef(input) => NormalItem::Const [INFO] [stdout] 17 | | ) [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 `alt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/transform/gensym.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | let num = unsafe { GENSYM_ID.fetch_add(1, Ordering::Relaxed) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `trashcan` (lib) due to 7 previous errors; 16 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/transform/gensym.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | let num = unsafe { GENSYM_ID.fetch_add(1, Ordering::Relaxed) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `trashcan` (lib test) due to 7 previous errors; 13 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c2055e82a1ff70d37b7e6613e7cea80b5ba9c742ae761e9530c574151dbeac31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2055e82a1ff70d37b7e6613e7cea80b5ba9c742ae761e9530c574151dbeac31", kill_on_drop: false }` [INFO] [stdout] c2055e82a1ff70d37b7e6613e7cea80b5ba9c742ae761e9530c574151dbeac31