[INFO] fetching crate cargo-cocoapods 0.3.0... [INFO] checking cargo-cocoapods-0.3.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate cargo-cocoapods 0.3.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate cargo-cocoapods 0.3.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 cargo-cocoapods 0.3.0 [INFO] finished tweaking crates.io crate cargo-cocoapods 0.3.0 [INFO] tweaked toml for crates.io crate cargo-cocoapods 0.3.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate crates.io crate cargo-cocoapods 0.3.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] 6f8272f89ca9dcd976815fab33ac50735e66ece3946073e8297b962591496ff4 [INFO] running `Command { std: "docker" "start" "-a" "6f8272f89ca9dcd976815fab33ac50735e66ece3946073e8297b962591496ff4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6f8272f89ca9dcd976815fab33ac50735e66ece3946073e8297b962591496ff4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f8272f89ca9dcd976815fab33ac50735e66ece3946073e8297b962591496ff4", kill_on_drop: false }` [INFO] [stdout] 6f8272f89ca9dcd976815fab33ac50735e66ece3946073e8297b962591496ff4 [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] 4132f56c55ee9c76a4c46a1035355845080dd0558d5c6bc7c0efd0191241939a [INFO] running `Command { std: "docker" "start" "-a" "4132f56c55ee9c76a4c46a1035355845080dd0558d5c6bc7c0efd0191241939a", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling syn v1.0.92 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking pct-str v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Checking semver-parser v0.7.0 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking iref v1.4.3 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking unicode-segmentation v1.9.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking os_str_bytes v2.4.0 [INFO] [stderr] Checking eieio v1.0.0 [INFO] [stderr] Checking fastrand v1.7.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking heck v0.3.3 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Checking globset v0.4.8 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Compiling regex_static_impl v0.1.0 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling regex_static_macro v0.1.0 [INFO] [stderr] Compiling gumdrop_derive v0.8.1 [INFO] [stderr] Checking regex_static v0.1.1 [INFO] [stderr] Checking thiserror v1.0.31 [INFO] [stderr] Checking pathos v0.3.0-pre.5 [INFO] [stderr] Checking gumdrop v0.8.1 [INFO] [stderr] Checking serde v1.0.137 [INFO] [stderr] Checking serde_json v1.0.81 [INFO] [stderr] Checking semver v0.9.0 [INFO] [stderr] Checking toml v0.5.9 [INFO] [stderr] Checking cargo_metadata v0.10.0 [INFO] [stderr] Checking cargo-cocoapods v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `features` is never read [INFO] [stdout] --> src/meta.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | pub features: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` 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 `prepare_command` is never read [INFO] [stdout] --> src/podspec.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Podspec { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 39 | pub prepare_command: Option, [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/cargo.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 12 | let mut cargo_cmd = Command::new(cargo_bin); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 27 | / cargo_cmd [INFO] [stdout] 28 | | .args(cargo_args) [INFO] [stdout] 29 | | .arg("--target") [INFO] [stdout] 30 | | .arg(&triple) [INFO] [stdout] 31 | | .current_dir(dir) [INFO] [stdout] 32 | | .status() [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/podspec.rs:142:34 [INFO] [stdout] | [INFO] [stdout] 95 | let mut authors = IndexMap::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 111 | let captures = SOURCE_RE.captures(&repo); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 112 | match captures { [INFO] [stdout] 113 | Some(c) if c.get(1).is_some() && c.get(2).is_some() => { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 142 | pod_target_xcconfig: Default::default(), [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] warning: field `features` is never read [INFO] [stdout] --> src/meta.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | pub features: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` 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] error: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `prepare_command` is never read [INFO] [stdout] --> src/podspec.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Podspec { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 39 | pub prepare_command: Option, [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/cargo.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 12 | let mut cargo_cmd = Command::new(cargo_bin); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 27 | / cargo_cmd [INFO] [stdout] 28 | | .args(cargo_args) [INFO] [stdout] 29 | | .arg("--target") [INFO] [stdout] 30 | | .arg(&triple) [INFO] [stdout] 31 | | .current_dir(dir) [INFO] [stdout] 32 | | .status() [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/podspec.rs:142:34 [INFO] [stdout] | [INFO] [stdout] 95 | let mut authors = IndexMap::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 111 | let captures = SOURCE_RE.captures(&repo); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 112 | match captures { [INFO] [stdout] 113 | Some(c) if c.get(1).is_some() && c.get(2).is_some() => { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 142 | pod_target_xcconfig: Default::default(), [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; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo-cocoapods` (bin "cargo-pod") due to 3 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `cargo-cocoapods` (bin "cargo-pod" test) due to 3 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4132f56c55ee9c76a4c46a1035355845080dd0558d5c6bc7c0efd0191241939a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4132f56c55ee9c76a4c46a1035355845080dd0558d5c6bc7c0efd0191241939a", kill_on_drop: false }` [INFO] [stdout] 4132f56c55ee9c76a4c46a1035355845080dd0558d5c6bc7c0efd0191241939a