[INFO] fetching crate updatehub-sdk 2.1.4... [INFO] checking updatehub-sdk-2.1.4 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate updatehub-sdk 2.1.4 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate updatehub-sdk 2.1.4 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 updatehub-sdk 2.1.4 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate updatehub-sdk 2.1.4 [INFO] tweaked toml for crates.io crate updatehub-sdk 2.1.4 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate crates.io crate updatehub-sdk 2.1.4 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" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 1a46372b328da2c3b8ef877720d641ed6219e26e8b64ed6c52ea4bdc23495bda [INFO] running `Command { std: "docker" "start" "-a" "1a46372b328da2c3b8ef877720d641ed6219e26e8b64ed6c52ea4bdc23495bda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a46372b328da2c3b8ef877720d641ed6219e26e8b64ed6c52ea4bdc23495bda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a46372b328da2c3b8ef877720d641ed6219e26e8b64ed6c52ea4bdc23495bda", kill_on_drop: false }` [INFO] [stdout] 1a46372b328da2c3b8ef877720d641ed6219e26e8b64ed6c52ea4bdc23495bda [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 1a04c89c0a8f9207664762b17dd4649b07a60b0344856b35b842356653992cfc [INFO] running `Command { std: "docker" "start" "-a" "1a04c89c0a8f9207664762b17dd4649b07a60b0344856b35b842356653992cfc", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking indexmap v2.2.5 [INFO] [stderr] Compiling openssl-sys v0.9.101 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking ms-converter v1.4.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking h2 v0.3.24 [INFO] [stderr] Checking chrono v0.4.35 [INFO] [stderr] Checking serde_with v1.14.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking bollard-stubs v1.41.0 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.24 [INFO] [stderr] Checking updatehub-sdk v2.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `chrono::TimeDelta::milliseconds`: Use `TimeDelta::try_milliseconds` instead [INFO] [stdout] --> src/serde_helpers.rs:23:22 [INFO] [stdout] | [INFO] [stdout] 23 | Ok(Duration::milliseconds(ms(s).map_err(de::Error::custom)?)) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking testcontainers v0.14.0 [INFO] [stdout] error: this value of type `updatehub_sdk::Error` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/openapi_integration.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 83 | let mock = MockServer::new(); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 84 | let (addr, _guard) = &mock.start(); [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 85 | let client = sdk::Client::new(addr); [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 86 | let response = client.probe(None).await; [INFO] [stdout] 87 | match dbg!(response) { [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] ... [INFO] [stdout] 90 | Err(e) => panic!("Unexpected Error response: {}", e), [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 `updatehub_sdk::Error` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/openapi_integration.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 96 | let mock = MockServer::new(); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 97 | let (addr, _guard) = &mock.start(); [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 98 | let client = sdk::Client::new(addr); [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 99 | let response = client.probe(Some(String::from("http://foo.bar"))).await; [INFO] [stdout] 100 | match dbg!(response) { [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] ... [INFO] [stdout] 103 | Err(e) => panic!("Unexpected Error response: {}", e), [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 `updatehub_sdk::Error` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/openapi_integration.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 109 | let mock = MockServer::new(); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 110 | let (addr, _guard) = &mock.start(); [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 111 | let client = sdk::Client::new(addr); [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 112 | let file = tempfile::NamedTempFile::new().unwrap(); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 115 | match dbg!(response) { [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] ... [INFO] [stdout] 118 | Err(e) => panic!("Unexpected Error response: {}", e), [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 `updatehub_sdk::Error` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/openapi_integration.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 124 | let mock = MockServer::new(); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 125 | let (addr, _guard) = &mock.start(); [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 126 | let client = sdk::Client::new(addr); [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 127 | let response = client.remote_install("http://foo.bar").await; [INFO] [stdout] 128 | match dbg!(response) { [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] ... [INFO] [stdout] 131 | Err(e) => panic!("Unexpected Error response: {}", e), [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 `updatehub_sdk::Error` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/openapi_integration.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 137 | let mock = MockServer::new(); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 138 | let (addr, _guard) = &mock.start(); [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 139 | let client = sdk::Client::new(addr); [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 140 | let response = client.abort_download().await; [INFO] [stdout] 141 | match dbg!(response) { [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] ... [INFO] [stdout] 144 | Err(e) => panic!("Unexpected Error response: {}", e), [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 `updatehub-sdk` (test "openapi_integration") due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: use of deprecated associated function `chrono::TimeDelta::milliseconds`: Use `TimeDelta::try_milliseconds` instead [INFO] [stdout] --> src/serde_helpers.rs:23:22 [INFO] [stdout] | [INFO] [stdout] 23 | Ok(Duration::milliseconds(ms(s).map_err(de::Error::custom)?)) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1a04c89c0a8f9207664762b17dd4649b07a60b0344856b35b842356653992cfc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a04c89c0a8f9207664762b17dd4649b07a60b0344856b35b842356653992cfc", kill_on_drop: false }` [INFO] [stdout] 1a04c89c0a8f9207664762b17dd4649b07a60b0344856b35b842356653992cfc