[INFO] cloning repository https://github.com/NathanHowell/cargo-plan [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/NathanHowell/cargo-plan" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNathanHowell%2Fcargo-plan", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNathanHowell%2Fcargo-plan'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dce6616d196d0c2da9d76b5e8214e9d65521e82d [INFO] checking NathanHowell/cargo-plan/dce6616d196d0c2da9d76b5e8214e9d65521e82d 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%2FNathanHowell%2Fcargo-plan" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/NathanHowell/cargo-plan 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/NathanHowell/cargo-plan [INFO] finished tweaking git repo https://github.com/NathanHowell/cargo-plan [INFO] tweaked toml for git repo https://github.com/NathanHowell/cargo-plan written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/NathanHowell/cargo-plan 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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 86941939225c75449387829df7af7a079ad4e8faacd943dafa5acade667d0010 [INFO] running `Command { std: "docker" "start" "-a" "86941939225c75449387829df7af7a079ad4e8faacd943dafa5acade667d0010", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "86941939225c75449387829df7af7a079ad4e8faacd943dafa5acade667d0010", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86941939225c75449387829df7af7a079ad4e8faacd943dafa5acade667d0010", kill_on_drop: false }` [INFO] [stdout] 86941939225c75449387829df7af7a079ad4e8faacd943dafa5acade667d0010 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 6fe8b95a54e3681120e3547be98632dee178ef2e4774c3fa897622b17c04375d [INFO] running `Command { std: "docker" "start" "-a" "6fe8b95a54e3681120e3547be98632dee178ef2e4774c3fa897622b17c04375d", kill_on_drop: false }` [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] Compiling libc v0.2.116 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling pkg-config v0.3.20 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling semver v1.0.10 [INFO] [stderr] Compiling rustversion v1.0.11 [INFO] [stderr] Compiling tinyvec v1.5.0 [INFO] [stderr] Compiling anyhow v1.0.69 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling unicode-bidi v0.3.6 [INFO] [stderr] Compiling time-core v0.1.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling time v0.3.17 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling cc v1.0.70 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling sysinfo v0.27.7 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling camino v1.0.9 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling vergen v7.5.1 [INFO] [stderr] Checking filetime v0.2.15 [INFO] [stderr] Checking clap_lex v0.2.2 [INFO] [stderr] Checking xattr v0.2.2 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking fastrand v1.6.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking tar v0.4.38 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling libz-sys v1.1.3 [INFO] [stderr] Compiling libgit2-sys v0.14.2+1.5.1 [INFO] [stderr] Checking clap v3.2.2 [INFO] [stderr] Compiling thiserror-impl v1.0.38 [INFO] [stderr] Compiling enum-iterator-derive v1.1.0 [INFO] [stderr] Compiling getset v0.1.2 [INFO] [stderr] Compiling enum-iterator v1.2.0 [INFO] [stderr] Compiling thiserror v1.0.38 [INFO] [stderr] Compiling git2 v0.16.1 [INFO] [stderr] Checking cargo-platform v0.1.2 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking cargo_metadata v0.15.3 [INFO] [stderr] Compiling cargo-plan v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `packages_to_build` is never used [INFO] [stdout] --> src/lib.rs:253:4 [INFO] [stdout] | [INFO] [stdout] 253 | fn packages_to_build(metadata: &Metadata, workspace_relative_path: &Path) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `packages_to_build` is never used [INFO] [stdout] --> src/lib.rs:253:4 [INFO] [stdout] | [INFO] [stdout] 253 | fn packages_to_build(metadata: &Metadata, workspace_relative_path: &Path) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/lib.rs:250:8 [INFO] [stdout] | [INFO] [stdout] 234 | pub fn unpack, R: Read + Seek>(dir: P, source: R) -> Result { [INFO] [stdout] | ------ --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 235 | let dir = dir.into(); [INFO] [stdout] 236 | let mut archive = tar::Archive::new(source); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 245 | let mut reader = archive.into_inner(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 246 | reader.seek(SeekFrom::Start(0))?; [INFO] [stdout] 247 | let mut recipe = tar::Archive::new(reader); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 250 | Ok(recipe.into_inner()) [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/lib.rs:250:8 [INFO] [stdout] | [INFO] [stdout] 234 | pub fn unpack, R: Read + Seek>(dir: P, source: R) -> Result { [INFO] [stdout] | ------ --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 235 | let dir = dir.into(); [INFO] [stdout] 236 | let mut archive = tar::Archive::new(source); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 245 | let mut reader = archive.into_inner(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 246 | reader.seek(SeekFrom::Start(0))?; [INFO] [stdout] 247 | let mut recipe = tar::Archive::new(reader); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 250 | Ok(recipe.into_inner()) [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; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo-plan` (lib test) due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `cargo-plan` (lib) due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "6fe8b95a54e3681120e3547be98632dee178ef2e4774c3fa897622b17c04375d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fe8b95a54e3681120e3547be98632dee178ef2e4774c3fa897622b17c04375d", kill_on_drop: false }` [INFO] [stdout] 6fe8b95a54e3681120e3547be98632dee178ef2e4774c3fa897622b17c04375d