[INFO] cloning repository https://github.com/changhe3/swd [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/changhe3/swd" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchanghe3%2Fswd", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchanghe3%2Fswd'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5af8e040d34b798c4e494010add5b2432dded9a2 [INFO] checking changhe3/swd/5af8e040d34b798c4e494010add5b2432dded9a2 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchanghe3%2Fswd" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/changhe3/swd 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 git repo https://github.com/changhe3/swd [INFO] finished tweaking git repo https://github.com/changhe3/swd [INFO] tweaked toml for git repo https://github.com/changhe3/swd written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/changhe3/swd 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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] f1e17ef83b38c1e163c44be2a91042d8f804efd293528f797adc8a4888782313 [INFO] running `Command { std: "docker" "start" "-a" "f1e17ef83b38c1e163c44be2a91042d8f804efd293528f797adc8a4888782313", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f1e17ef83b38c1e163c44be2a91042d8f804efd293528f797adc8a4888782313", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1e17ef83b38c1e163c44be2a91042d8f804efd293528f797adc8a4888782313", kill_on_drop: false }` [INFO] [stdout] f1e17ef83b38c1e163c44be2a91042d8f804efd293528f797adc8a4888782313 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 5b9b07554b60e692349841a5b4fe210794db12420d5db411efe33712fbba6d0a [INFO] running `Command { std: "docker" "start" "-a" "5b9b07554b60e692349841a5b4fe210794db12420d5db411efe33712fbba6d0a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Checking once_cell v1.12.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling openssl v0.10.40 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking tracing-core v0.1.28 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking hashbrown v0.12.1 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking tracing v0.1.35 [INFO] [stderr] Checking unicode-normalization v0.1.20 [INFO] [stderr] Checking gimli v0.26.1 [INFO] [stderr] Checking regex-syntax v0.6.26 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling eyre v0.6.8 [INFO] [stderr] Checking unicode-bidi v0.3.8 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Checking miniz_oxide v0.5.3 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking tracing-subscriber v0.3.11 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling openssl-sys v0.9.74 [INFO] [stderr] Compiling backtrace v0.3.65 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking object v0.28.4 [INFO] [stderr] Checking owo-colors v3.4.0 [INFO] [stderr] Checking fastrand v1.7.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Checking tokio v1.19.2 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking either v1.7.0 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking regex v1.5.6 [INFO] [stderr] Checking ipnet v2.5.0 [INFO] [stderr] Checking zeroize v1.5.6 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Checking shlex v1.1.0 [INFO] [stderr] Checking console v0.15.0 [INFO] [stderr] Checking tracing-error v0.2.0 [INFO] [stderr] Checking dialoguer v0.10.1 [INFO] [stderr] Checking color-spantrace v0.2.0 [INFO] [stderr] Checking addr2line v0.17.0 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Checking color-eyre v0.6.1 [INFO] [stderr] Checking tokio-util v0.7.3 [INFO] [stderr] Checking thiserror v1.0.31 [INFO] [stderr] Checking h2 v0.3.13 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking hyper v0.14.19 [INFO] [stderr] Checking serde_json v1.0.81 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking serde_qs v0.9.2 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking serde-aux v3.0.1 [INFO] [stderr] Checking reqwest v0.11.11 [INFO] [stderr] Checking swd v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `format` [INFO] [stdout] --> src/main.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | fmt::{format, Debug}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `format` [INFO] [stdout] --> src/main.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | fmt::{format, Debug}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `result` is never read [INFO] [stdout] --> src/net/get_collection_details.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct Detail { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 94 | pub result: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Detail` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `result` is never read [INFO] [stdout] --> src/net/get_collection_details.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct Detail { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 94 | pub result: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Detail` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `count` is never read [INFO] [stdout] --> src/net/get_published_file_details.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct Response { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 42 | #[serde(rename = "resultcount")] [INFO] [stdout] 43 | pub count: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `count` is never read [INFO] [stdout] --> src/net/get_published_file_details.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct Response { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 42 | #[serde(rename = "resultcount")] [INFO] [stdout] 43 | pub count: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OsStrBuf` is never constructed [INFO] [stdout] --> src/util.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | pub(crate) struct OsStrBuf<'a> { [INFO] [stdout] | ^^^^^^^^ [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] --> src/net/mod.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 32 | fn serialize(&self, serializer: S) -> Result [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 37 | / self.iter [INFO] [stdout] 38 | | .clone() [INFO] [stdout] 39 | | .inspect(|_id| self.len.set(self.len.get() + 1)), [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: aborting due to 1 previous error; 4 warnings 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] --> src/net/mod.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 32 | fn serialize(&self, serializer: S) -> Result [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 37 | / self.iter [INFO] [stdout] 38 | | .clone() [INFO] [stdout] 39 | | .inspect(|_id| self.len.set(self.len.get() + 1)), [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] [stderr] error: could not compile `swd` (bin "swd") due to 2 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `swd` (bin "swd" test) due to 2 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5b9b07554b60e692349841a5b4fe210794db12420d5db411efe33712fbba6d0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b9b07554b60e692349841a5b4fe210794db12420d5db411efe33712fbba6d0a", kill_on_drop: false }` [INFO] [stdout] 5b9b07554b60e692349841a5b4fe210794db12420d5db411efe33712fbba6d0a