[INFO] fetching crate drought 0.0.1... [INFO] checking drought-0.0.1 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate drought 0.0.1 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate drought 0.0.1 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 drought 0.0.1 [INFO] finished tweaking crates.io crate drought 0.0.1 [INFO] tweaked toml for crates.io crate drought 0.0.1 written to /workspace/builds/worker-2-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 37 packages to latest compatible versions [INFO] [stderr] Adding http v0.2.12 (available: v1.1.0) [INFO] [stderr] Adding lazy-regex v2.5.0 (available: v3.3.0) [INFO] [stderr] Adding lazy-regex-proc_macros v2.4.1 (available: v3.3.0) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.79) [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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] fac9266e93bc58e46a3f587e82bdc60bc4b8dd5a231488ebb2ed1514517db2ae [INFO] running `Command { std: "docker" "start" "-a" "fac9266e93bc58e46a3f587e82bdc60bc4b8dd5a231488ebb2ed1514517db2ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fac9266e93bc58e46a3f587e82bdc60bc4b8dd5a231488ebb2ed1514517db2ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fac9266e93bc58e46a3f587e82bdc60bc4b8dd5a231488ebb2ed1514517db2ae", kill_on_drop: false }` [INFO] [stdout] fac9266e93bc58e46a3f587e82bdc60bc4b8dd5a231488ebb2ed1514517db2ae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 1d006d93e07d70f7ff98375d212811eace2e66d9241d792d62e253957ce7c2b0 [INFO] running `Command { std: "docker" "start" "-a" "1d006d93e07d70f7ff98375d212811eace2e66d9241d792d62e253957ce7c2b0", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking bytes v1.7.2 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling lazy-regex-proc_macros v2.4.1 [INFO] [stderr] Compiling drought_macros v0.0.2 [INFO] [stderr] Checking lazy-regex v2.5.0 [INFO] [stderr] Checking drought v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `rustdoc_internals` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(rustdoc_internals)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `rustdoc_internals` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(rustdoc_internals)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `tokio::runtime::Runtime` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/droughter/mod.rs:556:5 [INFO] [stdout] | [INFO] [stdout] 531 | let layer3_foo = DroughterBuilder::new() [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 532 | .build_with_lambda(simple!(|_,_,_,_| { "/?/?/foo!".into() })); [INFO] [stdout] 533 | let layer3_bar = DroughterBuilder::new() [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 534 | .build_with_lambda(simple!(|_,_,_,_| { "/?/?/bar!".into() })); [INFO] [stdout] 535 | let layer2_foo = DroughterBuilder::new() [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 539 | let layer2_bar = DroughterBuilder::new() [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 543 | let layer1_foo = DroughterBuilder::new() [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 547 | let layer1_bar = DroughterBuilder::new() [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 551 | let router = DroughterBuilder::new() [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 556 | / tokio::runtime::Builder::new_current_thread() [INFO] [stdout] 557 | | .enable_all() [INFO] [stdout] 558 | | .build() [INFO] [stdout] 559 | | .unwrap() [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 `tokio::runtime::Runtime` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/droughter/mod.rs:613:5 [INFO] [stdout] | [INFO] [stdout] 590 | let layer1_foo = DroughterBuilder::new() [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 591 | .build_with_lambda(simple!(|_,_,_,_| { "/foo!".into() })); [INFO] [stdout] 592 | let layer1_bar = DroughterBuilder::new() [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 593 | .build_with_lambda(simple!(|_,_,_,_| { "/bar!".into() })); [INFO] [stdout] 594 | let router = DroughterBuilder::new() [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 613 | / tokio::runtime::Builder::new_current_thread() [INFO] [stdout] 614 | | .enable_all() [INFO] [stdout] 615 | | .build() [INFO] [stdout] 616 | | .unwrap() [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: this value of type `tokio::runtime::Runtime` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/droughter/mod.rs:646:5 [INFO] [stdout] | [INFO] [stdout] 641 | let router = DroughterBuilder::new() [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 646 | / tokio::runtime::Builder::new_current_thread() [INFO] [stdout] 647 | | .enable_all() [INFO] [stdout] 648 | | .build() [INFO] [stdout] 649 | | .unwrap() [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 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `drought` (lib test) due to 4 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "1d006d93e07d70f7ff98375d212811eace2e66d9241d792d62e253957ce7c2b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d006d93e07d70f7ff98375d212811eace2e66d9241d792d62e253957ce7c2b0", kill_on_drop: false }` [INFO] [stdout] 1d006d93e07d70f7ff98375d212811eace2e66d9241d792d62e253957ce7c2b0