[INFO] fetching crate rtest 0.2.1... [INFO] checking rtest-0.2.1 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate rtest 0.2.1 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate rtest 0.2.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 rtest 0.2.1 [INFO] removed 2 missing examples [INFO] finished tweaking crates.io crate rtest 0.2.1 [INFO] tweaked toml for crates.io crate rtest 0.2.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate crates.io crate rtest 0.2.1 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" "+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] ca00fb425cc54b73c6ee0970abd240a3cfb024e8a4332cd7f90d38906bac4368 [INFO] running `Command { std: "docker" "start" "-a" "ca00fb425cc54b73c6ee0970abd240a3cfb024e8a4332cd7f90d38906bac4368", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ca00fb425cc54b73c6ee0970abd240a3cfb024e8a4332cd7f90d38906bac4368", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca00fb425cc54b73c6ee0970abd240a3cfb024e8a4332cd7f90d38906bac4368", kill_on_drop: false }` [INFO] [stdout] ca00fb425cc54b73c6ee0970abd240a3cfb024e8a4332cd7f90d38906bac4368 [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] b7e2b0d698cf998eb43d77800d063c50cbcae745a0d66d3b709211f8dc5ab6ba [INFO] running `Command { std: "docker" "start" "-a" "b7e2b0d698cf998eb43d77800d063c50cbcae745a0d66d3b709211f8dc5ab6ba", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.80 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking pin-project-lite v0.2.12 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Checking bitflags v2.3.3 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling rustix v0.38.7 [INFO] [stderr] Compiling rustversion v1.0.15 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking linux-raw-sys v0.4.5 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking anstyle-parse v0.2.1 [INFO] [stderr] Checking regex-syntax v0.7.4 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking anstyle v1.0.1 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Compiling thiserror v1.0.44 [INFO] [stderr] Checking clap_lex v0.5.0 [INFO] [stderr] Compiling syn v2.0.59 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking gimli v0.27.3 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Compiling cc v1.0.82 [INFO] [stderr] Checking anstream v0.3.2 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking http-body-util v0.1.1 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling axum v0.7.4 [INFO] [stderr] Checking object v0.31.1 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Checking tracing-log v0.1.3 [INFO] [stderr] Checking clap_builder v4.3.21 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking rustls-pki-types v1.5.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking colored v2.0.4 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking rustls-pemfile v2.1.2 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking anymap v1.0.0-beta.2 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling backtrace v0.3.68 [INFO] [stderr] Checking regex-automata v0.3.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking regex v1.9.1 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking addr2line v0.20.0 [INFO] [stderr] Compiling darling_core v0.20.8 [INFO] [stderr] Compiling tracing-attributes v0.1.26 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.44 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling clap_derive v4.3.12 [INFO] [stderr] Checking tokio v1.32.0 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking tracing-subscriber v0.3.17 [INFO] [stderr] Compiling darling_macro v0.20.8 [INFO] [stderr] Compiling darling v0.20.8 [INFO] [stderr] Compiling rtest-util v0.2.0 [INFO] [stderr] Compiling rtest-derive v0.2.0 [INFO] [stderr] Checking clap v4.3.21 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking h2 v0.4.4 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_path_to_error v0.1.16 [INFO] [stderr] Checking rtest v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking hyper v1.3.1 [INFO] [stdout] warning: methods `cost` and `name` are never used [INFO] [stdout] --> src/algos/dependency/mod.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub trait Process { [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 23 | fn cost(&self) -> u64; [INFO] [stdout] | ^^^^ [INFO] [stdout] 24 | fn id(&self) -> ProcessId; [INFO] [stdout] 25 | fn name(&self) -> &str { "" } [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `name` is never used [INFO] [stdout] --> src/algos/dependency/mod.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub trait Resource { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] 31 | fn id(&self) -> ResourceId; [INFO] [stdout] 32 | fn name(&self) -> &str { "" } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking hyper-util v0.1.3 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.4 [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin` [INFO] [stdout] --> tests/verify_examples.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(not(tarpaulin))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin` [INFO] [stdout] --> tests/verify_examples.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | #[cfg(not(tarpaulin))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `reqwest::Response` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> examples/webshop/carts.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 36 | server: WebserverWithUsers, [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 48 | let res = server [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 `reqwest::Response` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> examples/webshop/carts.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 61 | server: WebserverWithUsers, [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 73 | let res = server [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 `reqwest::Response` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> examples/webshop/carts.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 94 | pub async fn add_different_carts(server: WebserverWithUsers) -> Result { [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 115 | let res = server [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 `reqwest::Response` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> examples/webshop/items.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub async fn create_delete_item(server: Webserver) -> Result { [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | let res = server [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 `Webserver` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> examples/webshop/items.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 114 | pub async fn undeploy_items_server(server: WebserverWithItems) -> Result { [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 117 | let webserver = server.webserver; [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 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rtest` (example "webshop") due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: methods `cost` and `name` are never used [INFO] [stdout] --> src/algos/dependency/mod.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub trait Process { [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 23 | fn cost(&self) -> u64; [INFO] [stdout] | ^^^^ [INFO] [stdout] 24 | fn id(&self) -> ProcessId; [INFO] [stdout] 25 | fn name(&self) -> &str { "" } [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `name` is never used [INFO] [stdout] --> src/algos/dependency/mod.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub trait Resource { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] 31 | fn id(&self) -> ResourceId; [INFO] [stdout] 32 | fn name(&self) -> &str { "" } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b7e2b0d698cf998eb43d77800d063c50cbcae745a0d66d3b709211f8dc5ab6ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7e2b0d698cf998eb43d77800d063c50cbcae745a0d66d3b709211f8dc5ab6ba", kill_on_drop: false }` [INFO] [stdout] b7e2b0d698cf998eb43d77800d063c50cbcae745a0d66d3b709211f8dc5ab6ba