[INFO] fetching crate async-git 0.0.0-squat-name... [INFO] checking async-git-0.0.0-squat-name against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate async-git 0.0.0-squat-name into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate async-git 0.0.0-squat-name 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 async-git 0.0.0-squat-name [INFO] finished tweaking crates.io crate async-git 0.0.0-squat-name [INFO] tweaked toml for crates.io crate async-git 0.0.0-squat-name written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate crates.io crate async-git 0.0.0-squat-name 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-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0beed3ace534011c9a7a3f07a2eafd49da506117f37445d6a6663f08b5f7004b [INFO] running `Command { std: "docker" "start" "-a" "0beed3ace534011c9a7a3f07a2eafd49da506117f37445d6a6663f08b5f7004b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0beed3ace534011c9a7a3f07a2eafd49da506117f37445d6a6663f08b5f7004b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0beed3ace534011c9a7a3f07a2eafd49da506117f37445d6a6663f08b5f7004b", kill_on_drop: false }` [INFO] [stdout] 0beed3ace534011c9a7a3f07a2eafd49da506117f37445d6a6663f08b5f7004b [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f2c8e3b454f650a35b8da969f577b9b2146479d8d5c185c5f75ddd818aedb023 [INFO] running `Command { std: "docker" "start" "-a" "f2c8e3b454f650a35b8da969f577b9b2146479d8d5c185c5f75ddd818aedb023", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.18 [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking futures-core v0.3.4 [INFO] [stderr] Checking futures v0.1.29 [INFO] [stderr] Checking futures-sink v0.3.4 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking futures-io v0.3.4 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Checking futures-channel v0.3.4 [INFO] [stderr] Checking miniz_oxide v0.3.6 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking pin-project-lite v0.1.4 [INFO] [stderr] Checking futures-task v0.3.4 [INFO] [stderr] Checking bytes v0.5.4 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.2 [INFO] [stderr] Compiling proc-macro-error v1.0.2 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking flate2 v1.0.14 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking async-compression v0.3.2 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking sha-1 v0.8.2 [INFO] [stderr] Checking futures-util v0.3.4 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Checking futures v0.3.4 [INFO] [stderr] Compiling thiserror-impl v1.0.15 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Checking tokio v0.2.18 [INFO] [stderr] Compiling structopt-derive v0.4.7 [INFO] [stderr] Checking thiserror v1.0.15 [INFO] [stderr] Checking structopt v0.3.14 [INFO] [stderr] Checking async-git v0.0.0-squat-name (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/plumbing/commit.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | let size = { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> src/plumbing/commit.rs:85:53 [INFO] [stdout] | [INFO] [stdout] 85 | pub async fn write(self, w: W) -> Result<(), IOError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/plumbing/commit.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | let size = { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> src/plumbing/commit.rs:85:53 [INFO] [stdout] | [INFO] [stdout] 85 | pub async fn write(self, w: W) -> Result<(), IOError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/porcelain/log.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | pub async fn log_cmd(options: LogOptions) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/plumbing/interrogators/rev_parse.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn rev_parse_cmd(options: RevParseOptions) {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tree`, `parents`, `author`, `committer`, `gpgsig`, and `message` are never read [INFO] [stdout] --> src/plumbing/commit.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Commit { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 11 | tree: Oid, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | parents: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 13 | author: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 14 | committer: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 15 | gpgsig: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 16 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Commit` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `target` is never read [INFO] [stdout] --> src/plumbing/ref.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Ref { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 5 | target: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `template` is never read [INFO] [stdout] --> src/porcelain/init.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct InitOptions { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | template: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InitOptions` 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 `commit` is never read [INFO] [stdout] --> src/porcelain/log.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct LogOptions { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 6 | commit: Oid, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LogOptions` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ZlibIO` is never used [INFO] [stdout] --> src/util/mod.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub trait ZlibIO {} [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/porcelain/log.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | commit: Oid, [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] --> src/porcelain/show.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | / /// The names of objects to show (defaults to HEAD). [INFO] [stdout] 7 | | objects: Vec, [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 2 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `async-git` (lib) due to 3 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/porcelain/log.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | pub async fn log_cmd(options: LogOptions) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/plumbing/interrogators/rev_parse.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn rev_parse_cmd(options: RevParseOptions) {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tree`, `parents`, `author`, `committer`, `gpgsig`, and `message` are never read [INFO] [stdout] --> src/plumbing/commit.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Commit { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 11 | tree: Oid, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | parents: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 13 | author: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 14 | committer: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 15 | gpgsig: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 16 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Commit` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `target` is never read [INFO] [stdout] --> src/plumbing/ref.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Ref { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 5 | target: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `template` is never read [INFO] [stdout] --> src/porcelain/init.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct InitOptions { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | template: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InitOptions` 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 `commit` is never read [INFO] [stdout] --> src/porcelain/log.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct LogOptions { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 6 | commit: Oid, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LogOptions` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ZlibIO` is never used [INFO] [stdout] --> src/util/mod.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub trait ZlibIO {} [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/porcelain/log.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | commit: Oid, [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] --> src/porcelain/show.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | / /// The names of objects to show (defaults to HEAD). [INFO] [stdout] 7 | | objects: Vec, [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 2 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `async-git` (lib test) due to 3 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f2c8e3b454f650a35b8da969f577b9b2146479d8d5c185c5f75ddd818aedb023", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2c8e3b454f650a35b8da969f577b9b2146479d8d5c185c5f75ddd818aedb023", kill_on_drop: false }` [INFO] [stdout] f2c8e3b454f650a35b8da969f577b9b2146479d8d5c185c5f75ddd818aedb023