[INFO] fetching crate sbnf 0.6.4... [INFO] checking sbnf-0.6.4 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate sbnf 0.6.4 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate sbnf 0.6.4 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate sbnf 0.6.4 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate sbnf 0.6.4 [INFO] tweaked toml for crates.io crate sbnf 0.6.4 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 17 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.21.7 (available: v0.22.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 496edf8cbbb9a6adbec529d7a80bc64178d952ee819086fa16031b8b112a21f6 [INFO] running `Command { std: "docker" "start" "-a" "496edf8cbbb9a6adbec529d7a80bc64178d952ee819086fa16031b8b112a21f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "496edf8cbbb9a6adbec529d7a80bc64178d952ee819086fa16031b8b112a21f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "496edf8cbbb9a6adbec529d7a80bc64178d952ee819086fa16031b8b112a21f6", kill_on_drop: false }` [INFO] [stdout] 496edf8cbbb9a6adbec529d7a80bc64178d952ee819086fa16031b8b112a21f6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e684bdd3b6beaf07d64f3ec2563c1fb4ce64421be011a94e68c6aa737ef36776 [INFO] running `Command { std: "docker" "start" "-a" "e684bdd3b6beaf07d64f3ec2563c1fb4ce64421be011a94e68c6aa737ef36776", kill_on_drop: false }` [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Checking bumpalo v3.16.0 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking sbnf v0.6.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/compiler/codegen/lookahead.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 44 | impl<'a> StackEntry<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 48 | ) -> StackEntryWithCompiler { [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/compiler/codegen/lookahead.rs:93:68 [INFO] [stdout] | [INFO] [stdout] 92 | impl<'a> Terminal<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 93 | fn new(regex: Symbol, options: Option<&'a TerminalOptions>) -> Terminal { [INFO] [stdout] | ^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/compiler/codegen/mod.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 29 | impl<'a> ContextKey<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 34 | ) -> ContextKeyWithCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/compiler/common.rs:104:10 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn with_compiler_and_source<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 104 | ) -> ErrorWithCompilerAndSource { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/compiler/common.rs:201:10 [INFO] [stdout] | [INFO] [stdout] 198 | pub fn with_compiler<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 201 | ) -> ValueWithCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/compiler/common.rs:242:10 [INFO] [stdout] | [INFO] [stdout] 239 | pub fn with_compiler<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 242 | ) -> StackFrameWithCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/compiler/interpreter.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn with_compiler<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 30 | ) -> KeyWithCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/compiler/interpreter.rs:183:10 [INFO] [stdout] | [INFO] [stdout] 179 | impl<'a> Expression<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 183 | ) -> ExpressionWithCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/sbnf.rs:255:10 [INFO] [stdout] | [INFO] [stdout] 252 | pub fn with_source<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 255 | ) -> TextLocationWithSource { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/sbnf.rs:315:10 [INFO] [stdout] | [INFO] [stdout] 311 | pub fn with_source<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 315 | ) -> ParseErrorWithSource { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/compiler/codegen/lookahead.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 44 | impl<'a> StackEntry<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 48 | ) -> StackEntryWithCompiler { [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/compiler/codegen/lookahead.rs:93:68 [INFO] [stdout] | [INFO] [stdout] 92 | impl<'a> Terminal<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 93 | fn new(regex: Symbol, options: Option<&'a TerminalOptions>) -> Terminal { [INFO] [stdout] | ^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/compiler/codegen/mod.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 29 | impl<'a> ContextKey<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 34 | ) -> ContextKeyWithCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/compiler/common.rs:104:10 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn with_compiler_and_source<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 104 | ) -> ErrorWithCompilerAndSource { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/compiler/common.rs:201:10 [INFO] [stdout] | [INFO] [stdout] 198 | pub fn with_compiler<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 201 | ) -> ValueWithCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/compiler/common.rs:242:10 [INFO] [stdout] | [INFO] [stdout] 239 | pub fn with_compiler<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 242 | ) -> StackFrameWithCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/compiler/interpreter.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn with_compiler<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 30 | ) -> KeyWithCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/compiler/interpreter.rs:183:10 [INFO] [stdout] | [INFO] [stdout] 179 | impl<'a> Expression<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 183 | ) -> ExpressionWithCompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/sbnf.rs:255:10 [INFO] [stdout] | [INFO] [stdout] 252 | pub fn with_source<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 255 | ) -> TextLocationWithSource { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/sbnf.rs:315:10 [INFO] [stdout] | [INFO] [stdout] 311 | pub fn with_source<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 315 | ) -> ParseErrorWithSource { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `sublime_syntax::Syntax` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/compiler/mod.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 64 | let mut compiler = Compiler::default(); [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 65 | let result = compiler.compile(&options, &grammar); [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 95 | result.result.unwrap().contexts [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; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sbnf` (lib test) due to 2 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e684bdd3b6beaf07d64f3ec2563c1fb4ce64421be011a94e68c6aa737ef36776", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e684bdd3b6beaf07d64f3ec2563c1fb4ce64421be011a94e68c6aa737ef36776", kill_on_drop: false }` [INFO] [stdout] e684bdd3b6beaf07d64f3ec2563c1fb4ce64421be011a94e68c6aa737ef36776