[INFO] cloning repository https://github.com/JadKHaddad/Rocust-JSON [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JadKHaddad/Rocust-JSON" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJadKHaddad%2FRocust-JSON", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJadKHaddad%2FRocust-JSON'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a5816e6731c7274e1b53902aa9c7f9b59e542a48 [INFO] checking JadKHaddad/Rocust-JSON/a5816e6731c7274e1b53902aa9c7f9b59e542a48 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJadKHaddad%2FRocust-JSON" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JadKHaddad/Rocust-JSON 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 git repo https://github.com/JadKHaddad/Rocust-JSON [INFO] finished tweaking git repo https://github.com/JadKHaddad/Rocust-JSON [INFO] tweaked toml for git repo https://github.com/JadKHaddad/Rocust-JSON written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/JadKHaddad/Rocust-JSON 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] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] f216e991c830a0ea3166e1324eebad0f37da31b367e14845cc69d04ca958a543 [INFO] running `Command { std: "docker" "start" "-a" "f216e991c830a0ea3166e1324eebad0f37da31b367e14845cc69d04ca958a543", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f216e991c830a0ea3166e1324eebad0f37da31b367e14845cc69d04ca958a543", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f216e991c830a0ea3166e1324eebad0f37da31b367e14845cc69d04ca958a543", kill_on_drop: false }` [INFO] [stdout] f216e991c830a0ea3166e1324eebad0f37da31b367e14845cc69d04ca958a543 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 9288a2f1d7be8b2e9f599575c88d3938cf9b89c8b8a372bde2ad69057419510d [INFO] running `Command { std: "docker" "start" "-a" "9288a2f1d7be8b2e9f599575c88d3938cf9b89c8b8a372bde2ad69057419510d", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling tokio v1.21.0 [INFO] [stderr] Compiling futures-task v0.3.24 [INFO] [stderr] Checking tracing-core v0.1.29 [INFO] [stderr] Checking futures-io v0.3.24 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Checking cpufeatures v0.2.5 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Compiling uncased v0.9.7 [INFO] [stderr] Checking aho-corasick v0.7.19 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking iana-time-zone v0.1.47 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling async-trait v0.1.57 [INFO] [stderr] Checking block-buffer v0.10.3 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling once_cell v1.14.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking digest v0.10.3 [INFO] [stderr] Checking sha-1 v0.10.0 [INFO] [stderr] Checking sha1 v0.10.4 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking rfc7239 v0.1.0 [INFO] [stderr] Checking headers v0.3.8 [INFO] [stderr] Checking term v0.7.0 [INFO] [stderr] Checking tracing-log v0.1.3 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Checking chrono v0.4.22 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Checking encode_unicode v1.0.0 [INFO] [stderr] Checking rocust_frontend v0.1.0 (/opt/rustwide/workdir/rocust_frontend) [INFO] [stderr] Checking rocust_desktop v0.1.0 (/opt/rustwide/workdir/rocust_desktop) [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Checking typed-headers v0.2.0 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling futures-macro v0.3.24 [INFO] [stderr] Compiling tracing-attributes v0.1.22 [INFO] [stderr] Compiling thiserror-impl v1.0.34 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Checking openssl v0.10.41 [INFO] [stderr] Checking futures-util v0.3.24 [INFO] [stderr] Checking tracing v0.1.36 [INFO] [stderr] Checking thiserror v1.0.34 [INFO] [stderr] Checking tungstenite v0.17.3 [INFO] [stderr] Checking tracing-subscriber v0.3.15 [INFO] [stderr] Checking native-tls v0.2.10 [INFO] [stderr] Checking serde v1.0.144 [INFO] [stderr] Checking futures-executor v0.3.24 [INFO] [stderr] Checking futures v0.3.24 [INFO] [stderr] Checking tokio-util v0.7.3 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking tokio-tungstenite v0.17.2 [INFO] [stderr] Checking tokio-stream v0.1.9 [INFO] [stderr] Checking h2 v0.3.14 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking serde_json v1.0.85 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Compiling proc-macro-crate v1.2.1 [INFO] [stderr] Checking prettytable-rs v0.9.0 [INFO] [stderr] Compiling poem-derive v1.3.41 [INFO] [stderr] Checking hyper v0.14.20 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking poem v1.3.41 [INFO] [stderr] Checking reqwest v0.11.11 [INFO] [stderr] Checking rocust_lib v0.1.0 (/opt/rustwide/workdir/rocust_lib) [INFO] [stdout] warning: unused import: `fs` [INFO] [stdout] --> rocust_lib/src/logger.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use tokio::{fs, fs::OpenOptions, io::AsyncWriteExt}; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fs` [INFO] [stdout] --> rocust_lib/src/logger.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use tokio::{fs, fs::OpenOptions, io::AsyncWriteExt}; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `CancellationToken` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> rocust_lib/src/master.rs:362:13 [INFO] [stdout] | [INFO] [stdout] 362 | let token = self.token.lock().unwrap().clone(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] 363 | / select! { [INFO] [stdout] 364 | | _ = token.cancelled() => { [INFO] [stdout] 365 | | [INFO] [stdout] 366 | | } [INFO] [stdout] ... | [INFO] [stdout] 369 | | } [INFO] [stdout] 370 | | } [INFO] [stdout] | |_________- these local bindings with significant drop implementation may 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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `CancellationToken` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> rocust_lib/src/master.rs:362:13 [INFO] [stdout] | [INFO] [stdout] 362 | let token = self.token.lock().unwrap().clone(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] 363 | / select! { [INFO] [stdout] 364 | | _ = token.cancelled() => { [INFO] [stdout] 365 | | [INFO] [stdout] 366 | | } [INFO] [stdout] ... | [INFO] [stdout] 369 | | } [INFO] [stdout] 370 | | } [INFO] [stdout] | |_________- these local bindings with significant drop implementation may 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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `CancellationToken` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> rocust_lib/src/test.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | let background_token = self.background_token.lock().unwrap().clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 98 | / select! { [INFO] [stdout] 99 | | _ = background_token.cancelled() => { [INFO] [stdout] 100 | | [INFO] [stdout] 101 | | } [INFO] [stdout] ... | [INFO] [stdout] 104 | | } [INFO] [stdout] 105 | | } [INFO] [stdout] | |_________- these local bindings with significant drop implementation may 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: this value of type `CancellationToken` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> rocust_lib/src/test.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | let background_token = self.background_token.lock().unwrap().clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 98 | / select! { [INFO] [stdout] 99 | | _ = background_token.cancelled() => { [INFO] [stdout] 100 | | [INFO] [stdout] 101 | | } [INFO] [stdout] ... | [INFO] [stdout] 104 | | } [INFO] [stdout] 105 | | } [INFO] [stdout] | |_________- these local bindings with significant drop implementation may 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: this value of type `CancellationToken` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> rocust_lib/src/worker.rs:266:13 [INFO] [stdout] | [INFO] [stdout] 266 | let token = self.token.lock().unwrap().clone(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] 267 | / select! { [INFO] [stdout] 268 | | _ = token.cancelled() => { [INFO] [stdout] 269 | | [INFO] [stdout] 270 | | } [INFO] [stdout] ... | [INFO] [stdout] 273 | | } [INFO] [stdout] 274 | | } [INFO] [stdout] | |_________- these local bindings with significant drop implementation may 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: this value of type `CancellationToken` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> rocust_lib/src/worker.rs:266:13 [INFO] [stdout] | [INFO] [stdout] 266 | let token = self.token.lock().unwrap().clone(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] 267 | / select! { [INFO] [stdout] 268 | | _ = token.cancelled() => { [INFO] [stdout] 269 | | [INFO] [stdout] 270 | | } [INFO] [stdout] ... | [INFO] [stdout] 273 | | } [INFO] [stdout] 274 | | } [INFO] [stdout] | |_________- these local bindings with significant drop implementation may 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: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rocust_lib` (lib test) due to 4 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rocust_lib` (lib) due to 4 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "9288a2f1d7be8b2e9f599575c88d3938cf9b89c8b8a372bde2ad69057419510d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9288a2f1d7be8b2e9f599575c88d3938cf9b89c8b8a372bde2ad69057419510d", kill_on_drop: false }` [INFO] [stdout] 9288a2f1d7be8b2e9f599575c88d3938cf9b89c8b8a372bde2ad69057419510d