[INFO] fetching crate lip 8.1.2... [INFO] checking lip-8.1.2 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate lip 8.1.2 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate lip 8.1.2 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 lip 8.1.2 [INFO] finished tweaking crates.io crate lip 8.1.2 [INFO] tweaked toml for crates.io crate lip 8.1.2 written to /workspace/builds/worker-5-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] [stderr] Updating crates.io index [INFO] [stderr] Locking 57 packages to latest compatible versions [INFO] [stderr] Adding anes v0.1.6 (available: v0.2.0) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.13.0) [INFO] [stderr] Adding itertools v0.11.0 (available: v0.13.0) [INFO] [stderr] Adding unicode-width v0.1.14 (available: v0.2.0) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [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] 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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7d55c9e19a9583c6bdd1d83b664847de2a63386847b9e32654e8a0a9d93870f9 [INFO] running `Command { std: "docker" "start" "-a" "7d55c9e19a9583c6bdd1d83b664847de2a63386847b9e32654e8a0a9d93870f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7d55c9e19a9583c6bdd1d83b664847de2a63386847b9e32654e8a0a9d93870f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d55c9e19a9583c6bdd1d83b664847de2a63386847b9e32654e8a0a9d93870f9", kill_on_drop: false }` [INFO] [stdout] 7d55c9e19a9583c6bdd1d83b664847de2a63386847b9e32654e8a0a9d93870f9 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5c9ea00d1fef9159b7abdb917ddb4e2ae7ee06c0697a14829551898160273c75 [INFO] running `Command { std: "docker" "start" "-a" "5c9ea00d1fef9159b7abdb917ddb4e2ae7ee06c0697a14829551898160273c75", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking xi-unicode v0.3.0 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Checking partial_application v0.2.1 [INFO] [stderr] Checking serde v1.0.210 [INFO] [stderr] Checking lip v8.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/lib.rs:946:63 [INFO] [stdout] | [INFO] [stdout] 855 | pub trait Parser<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 946 | fn pred(self, predicate: F, expecting: &'a str) -> Pred [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/lib.rs:1109:66 [INFO] [stdout] | [INFO] [stdout] 1109 | pub fn token<'a, S: Clone + 'a>(expected: &'a str) -> impl Parser { [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/lib.rs:1893:18 [INFO] [stdout] | [INFO] [stdout] 1890 | pub fn chomp_if<'a, F: 'a, S: Clone + 'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 1893 | ) -> impl Parser<'_, Output = (), State = S> [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/lib.rs:1906:18 [INFO] [stdout] | [INFO] [stdout] 1903 | pub fn chomp_ifc<'a, F: 'a, S: Clone + 'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 1906 | ) -> impl Parser<'_, Output = (), State = S> [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/lib.rs:1919:18 [INFO] [stdout] | [INFO] [stdout] 1916 | pub fn chomp_while0<'a, F: 'a, S: Clone + 'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 1919 | ) -> impl Parser<'_, Output = (), State = S> [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/lib.rs:1939:18 [INFO] [stdout] | [INFO] [stdout] 1936 | pub fn chomp_while0c<'a, F: 'a, S: Clone + 'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 1939 | ) -> impl Parser<'_, Output = (), State = S> [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/lib.rs:1950:18 [INFO] [stdout] | [INFO] [stdout] 1947 | pub fn chomp_while1<'a, F: 'a, S: Clone + 'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 1950 | ) -> impl Parser<'_, Output = (), State = S> [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/lib.rs:1973:18 [INFO] [stdout] | [INFO] [stdout] 1970 | pub fn chomp_while1c<'a, F: 'a, S: Clone + 'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 1973 | ) -> impl Parser<'_, Output = (), State = S> [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/lib.rs:2352:18 [INFO] [stdout] | [INFO] [stdout] 2350 | pub fn newline_with_comment<'a, S: Clone + 'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 2351 | comment_symbol: &'a str, [INFO] [stdout] 2352 | ) -> impl Parser<'_, Output = (), State = S> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/lib.rs:2361:18 [INFO] [stdout] | [INFO] [stdout] 2359 | pub fn line_comment<'a, S: Clone + 'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 2360 | comment_symbol: &'a str, [INFO] [stdout] 2361 | ) -> impl Parser<'_, Output = (), State = S> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/lib.rs:2435:18 [INFO] [stdout] | [INFO] [stdout] 2432 | fn digits<'a, S: Clone + 'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 2435 | ) -> impl Parser<'_, Output = String, State = S> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `T` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:400:31 [INFO] [stdout] | [INFO] [stdout] 395 | fn unwrap_err(self) -> String [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] ... [INFO] [stdout] 400 | ParseResult::Ok { output, .. } => panic!("{:#?}", output), [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; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lip` (lib) due to 2 previous errors; 11 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "5c9ea00d1fef9159b7abdb917ddb4e2ae7ee06c0697a14829551898160273c75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c9ea00d1fef9159b7abdb917ddb4e2ae7ee06c0697a14829551898160273c75", kill_on_drop: false }` [INFO] [stdout] 5c9ea00d1fef9159b7abdb917ddb4e2ae7ee06c0697a14829551898160273c75