[INFO] fetching crate restest 0.1.0... [INFO] checking restest-0.1.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate restest 0.1.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate restest 0.1.0 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate restest 0.1.0 [INFO] finished tweaking crates.io crate restest 0.1.0 [INFO] tweaked toml for crates.io crate restest 0.1.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate crates.io crate restest 0.1.0 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3a8020687385cadee252bf027f761d0f1679bdb537a75caa3d3c49e884f4a992 [INFO] running `Command { std: "docker" "start" "-a" "3a8020687385cadee252bf027f761d0f1679bdb537a75caa3d3c49e884f4a992", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3a8020687385cadee252bf027f761d0f1679bdb537a75caa3d3c49e884f4a992", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a8020687385cadee252bf027f761d0f1679bdb537a75caa3d3c49e884f4a992", kill_on_drop: false }` [INFO] [stdout] 3a8020687385cadee252bf027f761d0f1679bdb537a75caa3d3c49e884f4a992 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e098f028627ed760033c02ae57453c60addf58e84c31977374befb7fce0c0c79 [INFO] running `Command { std: "docker" "start" "-a" "e098f028627ed760033c02ae57453c60addf58e84c31977374befb7fce0c0c79", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.33 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling libc v0.2.109 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling futures-core v0.3.18 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling pkg-config v0.3.23 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Checking http v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.131 [INFO] [stderr] Checking futures-sink v0.3.18 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling serde v1.0.131 [INFO] [stderr] Compiling futures-task v0.3.18 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Compiling futures-util v0.3.18 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling ryu v1.0.6 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking tracing-core v0.1.21 [INFO] [stderr] Compiling futures-channel v0.3.18 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking ppv-lite86 v0.2.15 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking openssl-probe v0.1.4 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking tracing v0.1.29 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking socket2 v0.4.2 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Compiling openssl-sys v0.9.71 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking twoway v0.1.8 [INFO] [stderr] Checking ipnet v2.3.1 [INFO] [stderr] Compiling trybuild v1.0.53 [INFO] [stderr] Checking buf_redux v0.8.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking dep_doc v0.1.1 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking headers v0.3.5 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking multipart v0.18.0 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Compiling tokio-macros v1.6.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling restest_macros v0.1.0 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking tungstenite v0.14.0 [INFO] [stderr] Checking pin-project v1.0.8 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking tokio-tungstenite v0.15.0 [INFO] [stderr] Checking tokio-stream v0.1.8 [INFO] [stderr] Checking h2 v0.3.8 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking hyper v0.14.15 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking warp v0.3.2 [INFO] [stderr] Checking reqwest v0.11.7 [INFO] [stderr] Checking restest v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `#[track_caller]` on async functions is a no-op [INFO] [stdout] --> src/request.rs:204:5 [INFO] [stdout] | [INFO] [stdout] 204 | #[track_caller] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 205 | / pub async fn expect_status(self, status: StatusCode) -> T [INFO] [stdout] 206 | | where [INFO] [stdout] 207 | | T: DeserializeOwned, [INFO] [stdout] 208 | | { [INFO] [stdout] ... | [INFO] [stdout] 214 | | .expect("Failed to deserialize body") [INFO] [stdout] 215 | | } [INFO] [stdout] | |_____- this function will not propagate the caller location [INFO] [stdout] | [INFO] [stdout] = note: see issue #110011 for more information [INFO] [stdout] = help: add `#![feature(async_fn_track_caller)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-08-27; consider upgrading it if it is out of date [INFO] [stdout] = note: `#[warn(ungated_async_fn_track_caller)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[track_caller]` on async functions is a no-op [INFO] [stdout] --> src/request.rs:204:5 [INFO] [stdout] | [INFO] [stdout] 204 | #[track_caller] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 205 | / pub async fn expect_status(self, status: StatusCode) -> T [INFO] [stdout] 206 | | where [INFO] [stdout] 207 | | T: DeserializeOwned, [INFO] [stdout] 208 | | { [INFO] [stdout] ... | [INFO] [stdout] 214 | | .expect("Failed to deserialize body") [INFO] [stdout] 215 | | } [INFO] [stdout] | |_____- this function will not propagate the caller location [INFO] [stdout] | [INFO] [stdout] = note: see issue #110011 for more information [INFO] [stdout] = help: add `#![feature(async_fn_track_caller)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-08-27; consider upgrading it if it is out of date [INFO] [stdout] = note: `#[warn(ungated_async_fn_track_caller)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> examples/user_server.rs:55:18 [INFO] [stdout] | [INFO] [stdout] 52 | fn post_route(self) -> impl Filter + Clone { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 55 | .map(move |input| { [INFO] [stdout] | __________________^ [INFO] [stdout] 56 | | let id = Uuid::new_v4(); [INFO] [stdout] 57 | | let user_infos = Self::make_user(id, input); [INFO] [stdout] ... | [INFO] [stdout] 61 | | response [INFO] [stdout] 62 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> examples/user_server.rs:68:18 [INFO] [stdout] | [INFO] [stdout] 65 | fn get_route(self) -> impl Filter + Clone { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 68 | .map(move |id| match self.users.lock().unwrap().get(&id) { [INFO] [stdout] | __________________^ [INFO] [stdout] 69 | | Some(user) => reply::json(user), [INFO] [stdout] 70 | | None => reply::json(&"Failed to get user infos"), [INFO] [stdout] 71 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> examples/user_server.rs:68:34 [INFO] [stdout] | [INFO] [stdout] 65 | fn get_route(self) -> impl Filter + Clone { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 68 | .map(move |id| match self.users.lock().unwrap().get(&id) { [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> examples/user_server.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | server.await [INFO] [stdout] | ^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> examples/user_server.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 96 | let db = Database::new(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 97 | [INFO] [stdout] 98 | let post = path::path("users").and(db.clone().post_route()); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 99 | let get = path::path("users").and(db.get_route()); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 100 | [INFO] [stdout] 101 | let server = warp::serve(post.or(get)).run(([127, 0, 0, 1], 8080)); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 102 | [INFO] [stdout] 103 | server.await [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 `restest` (example "user_server") due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "e098f028627ed760033c02ae57453c60addf58e84c31977374befb7fce0c0c79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e098f028627ed760033c02ae57453c60addf58e84c31977374befb7fce0c0c79", kill_on_drop: false }` [INFO] [stdout] e098f028627ed760033c02ae57453c60addf58e84c31977374befb7fce0c0c79