[INFO] fetching crate cargo-license 0.6.1... [INFO] checking cargo-license-0.6.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate cargo-license 0.6.1 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate cargo-license 0.6.1 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-license 0.6.1 [INFO] finished tweaking crates.io crate cargo-license 0.6.1 [INFO] tweaked toml for crates.io crate cargo-license 0.6.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate crates.io crate cargo-license 0.6.1 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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 0bfa3234c9b1b61b4ef358479b99c0ed153c042e44ebe57c90c76e3b6f310aa7 [INFO] running `Command { std: "docker" "start" "-a" "0bfa3234c9b1b61b4ef358479b99c0ed153c042e44ebe57c90c76e3b6f310aa7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0bfa3234c9b1b61b4ef358479b99c0ed153c042e44ebe57c90c76e3b6f310aa7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0bfa3234c9b1b61b4ef358479b99c0ed153c042e44ebe57c90c76e3b6f310aa7", kill_on_drop: false }` [INFO] [stdout] 0bfa3234c9b1b61b4ef358479b99c0ed153c042e44ebe57c90c76e3b6f310aa7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 36b35880b50ddbc0ee84b80e8c4101e797a85d1fe31373458c92c11f0af99ea5 [INFO] running `Command { std: "docker" "start" "-a" "36b35880b50ddbc0ee84b80e8c4101e797a85d1fe31373458c92c11f0af99ea5", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Compiling semver v1.0.21 [INFO] [stderr] Compiling serde_json v1.0.111 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Compiling camino v1.1.6 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking winnow v0.5.34 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking spdx v0.10.3 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking itertools v0.12.0 [INFO] [stderr] Checking anstream v0.6.11 [INFO] [stderr] Checking clap_builder v4.4.18 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Compiling serde_derive v1.0.195 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Checking clap v4.4.18 [INFO] [stderr] Checking serde_spanned v0.6.5 [INFO] [stderr] Checking toml_datetime v0.6.5 [INFO] [stderr] Checking cargo-platform v0.1.6 [INFO] [stderr] Checking csv v1.3.0 [INFO] [stderr] Checking toml_edit v0.21.0 [INFO] [stderr] Checking cargo_metadata v0.18.1 [INFO] [stderr] Checking toml v0.8.8 [INFO] [stderr] Checking cargo-license v0.6.1 (/opt/rustwide/workdir) [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:103:12 [INFO] [stdout] | [INFO] [stdout] 102 | let expression = spdx::Expression::parse_mode(license, spdx::ParseMode::LAX)?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 103 | Ok(expression [INFO] [stdout] | ____________^ [INFO] [stdout] 104 | | .requirements() [INFO] [stdout] 105 | | .flat_map(|req| { [INFO] [stdout] 106 | | req.req.license.id().map(|license| Self { [INFO] [stdout] ... | [INFO] [stdout] 111 | | }) [INFO] [stdout] 112 | | .collect()) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______________________| [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:144:12 [INFO] [stdout] | [INFO] [stdout] 126 | let mut licenses = HashSet::new(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 127 | let dependencies = dependencies [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 144 | Ok(GitlabLicenseScanningReport { [INFO] [stdout] | ____________^ [INFO] [stdout] 145 | | version: "2.1", [INFO] [stdout] 146 | | dependencies, [INFO] [stdout] 147 | | licenses, [INFO] [stdout] 148 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: 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:134:38 [INFO] [stdout] | [INFO] [stdout] 130 | .map(|dependency| { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 131 | let dep_licenses = GitlabLicense::parse_licenses(&dependency)?; [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 134 | Ok::<_, Self::Error>(GitlabDependency { [INFO] [stdout] | ______________________________________^ [INFO] [stdout] 135 | | name: dependency.name, [INFO] [stdout] 136 | | version: dependency.version, [INFO] [stdout] 137 | | package_manager: "cargo", [INFO] [stdout] 138 | | path: Default::default(), [INFO] [stdout] 139 | | licenses: license_ids, [INFO] [stdout] 140 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo-license` (lib test) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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:103:12 [INFO] [stdout] | [INFO] [stdout] 102 | let expression = spdx::Expression::parse_mode(license, spdx::ParseMode::LAX)?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 103 | Ok(expression [INFO] [stdout] | ____________^ [INFO] [stdout] 104 | | .requirements() [INFO] [stdout] 105 | | .flat_map(|req| { [INFO] [stdout] 106 | | req.req.license.id().map(|license| Self { [INFO] [stdout] ... | [INFO] [stdout] 111 | | }) [INFO] [stdout] 112 | | .collect()) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______________________| [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:144:12 [INFO] [stdout] | [INFO] [stdout] 126 | let mut licenses = HashSet::new(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 127 | let dependencies = dependencies [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 144 | Ok(GitlabLicenseScanningReport { [INFO] [stdout] | ____________^ [INFO] [stdout] 145 | | version: "2.1", [INFO] [stdout] 146 | | dependencies, [INFO] [stdout] 147 | | licenses, [INFO] [stdout] 148 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: 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:134:38 [INFO] [stdout] | [INFO] [stdout] 130 | .map(|dependency| { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 131 | let dep_licenses = GitlabLicense::parse_licenses(&dependency)?; [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 134 | Ok::<_, Self::Error>(GitlabDependency { [INFO] [stdout] | ______________________________________^ [INFO] [stdout] 135 | | name: dependency.name, [INFO] [stdout] 136 | | version: dependency.version, [INFO] [stdout] 137 | | package_manager: "cargo", [INFO] [stdout] 138 | | path: Default::default(), [INFO] [stdout] 139 | | licenses: license_ids, [INFO] [stdout] 140 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo-license` (lib) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "36b35880b50ddbc0ee84b80e8c4101e797a85d1fe31373458c92c11f0af99ea5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36b35880b50ddbc0ee84b80e8c4101e797a85d1fe31373458c92c11f0af99ea5", kill_on_drop: false }` [INFO] [stdout] 36b35880b50ddbc0ee84b80e8c4101e797a85d1fe31373458c92c11f0af99ea5