[INFO] fetching crate cargo-cyclonedx 0.5.5... [INFO] checking cargo-cyclonedx-0.5.5 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate cargo-cyclonedx 0.5.5 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate cargo-cyclonedx 0.5.5 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-cyclonedx 0.5.5 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate cargo-cyclonedx 0.5.5 [INFO] tweaked toml for crates.io crate cargo-cyclonedx 0.5.5 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate crates.io crate cargo-cyclonedx 0.5.5 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] 6eb51f0707a308065dc1e562688a5baca8e2a02f7583ac9b6e137c458701fb9c [INFO] running `Command { std: "docker" "start" "-a" "6eb51f0707a308065dc1e562688a5baca8e2a02f7583ac9b6e137c458701fb9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6eb51f0707a308065dc1e562688a5baca8e2a02f7583ac9b6e137c458701fb9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6eb51f0707a308065dc1e562688a5baca8e2a02f7583ac9b6e137c458701fb9c", kill_on_drop: false }` [INFO] [stdout] 6eb51f0707a308065dc1e562688a5baca8e2a02f7583ac9b6e137c458701fb9c [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] dd4c0adfe2c1edfd22e2039778cfe3cc38442ffcd9b64b24063401d8088ae7c1 [INFO] running `Command { std: "docker" "start" "-a" "dd4c0adfe2c1edfd22e2039778cfe3cc38442ffcd9b64b24063401d8088ae7c1", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling rustix v0.38.21 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Compiling syn v2.0.50 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling rustversion v1.0.15 [INFO] [stderr] Checking linux-raw-sys v0.4.11 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling anyhow v1.0.80 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling semver v1.0.20 [INFO] [stderr] Compiling camino v1.1.6 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Checking anstyle-parse v0.2.2 [INFO] [stderr] Checking deranged v0.3.9 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking winnow v0.5.40 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Checking anstream v0.6.4 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Checking base64 v0.21.5 [INFO] [stderr] Checking num-cmp v0.1.0 [INFO] [stderr] Checking indexmap v2.2.3 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking predicates-core v1.0.6 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking bytecount v0.6.7 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking fluent-uri v0.1.4 [INFO] [stderr] Checking clap_builder v4.4.11 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking uuid v1.6.1 [INFO] [stderr] Checking spdx v0.10.6 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking termcolor v1.3.0 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking termtree v0.4.1 [INFO] [stderr] Checking xml-rs v0.8.19 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking predicates-tree v1.0.9 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.5 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking ordered-float v4.2.0 [INFO] [stderr] Checking num-iter v0.1.44 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking iso8601 v0.6.1 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking tempfile v3.8.1 [INFO] [stderr] Checking num v0.4.1 [INFO] [stderr] Checking fraction v0.13.1 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking bstr v1.8.0 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling strum_macros v0.26.2 [INFO] [stderr] Compiling cyclonedx-bom-macros v0.1.0 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Checking fancy-regex v0.11.0 [INFO] [stderr] Checking predicates v3.0.4 [INFO] [stderr] Checking env_logger v0.10.1 [INFO] [stderr] Checking globset v0.4.13 [INFO] [stderr] Checking ignore v0.4.20 [INFO] [stderr] Checking assert_cmd v2.0.12 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Checking globwalk v0.9.1 [INFO] [stderr] Checking assert_fs v1.1.1 [INFO] [stderr] Checking packageurl v0.3.0 [INFO] [stderr] Checking purl v0.1.3 [INFO] [stderr] Checking clap v4.4.11 [INFO] [stderr] Checking strum v0.26.2 [INFO] [stderr] Checking toml_datetime v0.6.5 [INFO] [stderr] Checking serde_spanned v0.6.5 [INFO] [stderr] Checking cargo-platform v0.1.4 [INFO] [stderr] Checking toml_edit v0.19.15 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Checking jsonschema v0.17.1 [INFO] [stderr] Checking validator v0.16.1 [INFO] [stderr] Checking cargo_metadata v0.18.1 [INFO] [stderr] Checking toml v0.7.8 [INFO] [stderr] Checking cyclonedx-bom v0.6.2 [INFO] [stderr] Checking cargo-lock v9.0.0 [INFO] [stderr] Checking cargo-cyclonedx v0.5.5 (/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/config.rs:57:30 [INFO] [stdout] | [INFO] [stdout] 57 | .map(|other| self.license_parser.clone().unwrap_or_default().merge(other)) [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/config.rs:218:27 [INFO] [stdout] | [INFO] [stdout] 215 | pub fn merge(mut self, other: Self) -> Self { [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] ... [INFO] [stdout] 218 | accept_named: { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 219 | | self.accept_named.extend(other.accept_named); [INFO] [stdout] 220 | | self.accept_named [INFO] [stdout] 221 | | }, [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/generator.rs:577:5 [INFO] [stdout] | [INFO] [stdout] 576 | fn index_packages(packages: Vec) -> PackageMap { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 577 | / packages [INFO] [stdout] 578 | | .into_iter() [INFO] [stdout] 579 | | .map(|pkg| (pkg.id.clone(), pkg)) [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/generator.rs:584:5 [INFO] [stdout] | [INFO] [stdout] 583 | fn index_resolve(packages: Vec) -> ResolveMap { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 584 | / packages [INFO] [stdout] 585 | | .into_iter() [INFO] [stdout] 586 | | .map(|pkg| (pkg.id.clone(), pkg)) [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/generator.rs:751:42 [INFO] [stdout] | [INFO] [stdout] 751 | .map(|(id, pkg)| (id.to_owned(), pkg.to_owned())) [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/generator.rs:963:9 [INFO] [stdout] | [INFO] [stdout] 963 | Err(std::io::Error::new( [INFO] [stdout] | _________^ [INFO] [stdout] 964 | | std::io::ErrorKind::NotFound, [INFO] [stdout] 965 | | "Could not find Cargo.lock in any parent directories", [INFO] [stdout] 966 | | )) [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] [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/config.rs:57:30 [INFO] [stdout] | [INFO] [stdout] 57 | .map(|other| self.license_parser.clone().unwrap_or_default().merge(other)) [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/config.rs:218:27 [INFO] [stdout] | [INFO] [stdout] 215 | pub fn merge(mut self, other: Self) -> Self { [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] ... [INFO] [stdout] 218 | accept_named: { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 219 | | self.accept_named.extend(other.accept_named); [INFO] [stdout] 220 | | self.accept_named [INFO] [stdout] 221 | | }, [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 6 previous errors [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/generator.rs:577:5 [INFO] [stdout] | [INFO] [stdout] 576 | fn index_packages(packages: Vec) -> PackageMap { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 577 | / packages [INFO] [stdout] 578 | | .into_iter() [INFO] [stdout] 579 | | .map(|pkg| (pkg.id.clone(), pkg)) [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/generator.rs:584:5 [INFO] [stdout] | [INFO] [stdout] 583 | fn index_resolve(packages: Vec) -> ResolveMap { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 584 | / packages [INFO] [stdout] 585 | | .into_iter() [INFO] [stdout] 586 | | .map(|pkg| (pkg.id.clone(), pkg)) [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/generator.rs:751:42 [INFO] [stdout] | [INFO] [stdout] 751 | .map(|(id, pkg)| (id.to_owned(), pkg.to_owned())) [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/generator.rs:963:9 [INFO] [stdout] | [INFO] [stdout] 963 | Err(std::io::Error::new( [INFO] [stdout] | _________^ [INFO] [stdout] 964 | | std::io::ErrorKind::NotFound, [INFO] [stdout] 965 | | "Could not find Cargo.lock in any parent directories", [INFO] [stdout] 966 | | )) [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] [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo-cyclonedx` (lib) due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo-cyclonedx` (lib test) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "dd4c0adfe2c1edfd22e2039778cfe3cc38442ffcd9b64b24063401d8088ae7c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd4c0adfe2c1edfd22e2039778cfe3cc38442ffcd9b64b24063401d8088ae7c1", kill_on_drop: false }` [INFO] [stdout] dd4c0adfe2c1edfd22e2039778cfe3cc38442ffcd9b64b24063401d8088ae7c1