[INFO] fetching crate alpm-ll 3.0.0... [INFO] checking alpm-ll-3.0.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate alpm-ll 3.0.0 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate alpm-ll 3.0.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 alpm-ll 3.0.0 [INFO] finished tweaking crates.io crate alpm-ll 3.0.0 [INFO] tweaked toml for crates.io crate alpm-ll 3.0.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate alpm-ll 3.0.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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] eeb52f6acca2c09de10d4ef0eaffea1909e3d6c69695b04cc122dbade45b7897 [INFO] running `Command { std: "docker" "start" "-a" "eeb52f6acca2c09de10d4ef0eaffea1909e3d6c69695b04cc122dbade45b7897", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eeb52f6acca2c09de10d4ef0eaffea1909e3d6c69695b04cc122dbade45b7897", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eeb52f6acca2c09de10d4ef0eaffea1909e3d6c69695b04cc122dbade45b7897", kill_on_drop: false }` [INFO] [stdout] eeb52f6acca2c09de10d4ef0eaffea1909e3d6c69695b04cc122dbade45b7897 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] c2ce4b0210e6113beac478fbc5d435344051d327b34c55318b9e91fbc9d3fb17 [INFO] running `Command { std: "docker" "start" "-a" "c2ce4b0210e6113beac478fbc5d435344051d327b34c55318b9e91fbc9d3fb17", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.11 [INFO] [stderr] Checking once_cell v1.13.1 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling alpm-sys-ll v3.0.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Checking either v1.8.0 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking plotters-backend v0.3.4 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking plotters-svg v0.3.3 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking crossbeam-channel v0.5.6 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.10 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking crossbeam-deque v0.8.2 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Checking criterion-plot v0.4.5 [INFO] [stderr] Compiling alpm-ll v3.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `alpm_sys_ll::*` [INFO] [stdout] --> src/be_pkg.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use alpm_sys_ll::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alpm_sys_ll::*` [INFO] [stdout] --> src/be_sync.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use alpm_sys_ll::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alpm_sys_ll::*` [INFO] [stdout] --> src/dload.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use alpm_sys_ll::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alpm_sys_ll::*` [INFO] [stdout] --> src/log.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use alpm_sys_ll::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alpm_sys_ll::*` [INFO] [stdout] --> src/remove.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use alpm_sys_ll::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alpm_sys_ll::*` [INFO] [stdout] --> src/sync.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use alpm_sys_ll::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alpm_sys_ll::*` [INFO] [stdout] --> src/trans.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use alpm_sys_ll::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `git` [INFO] [stdout] --> src/trans.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | #[cfg(feature = "git")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `checkver`, `default`, `docs-rs`, `generate`, `libarchive`, `libarchive3-sys`, and `mtree` [INFO] [stdout] = help: consider adding `git` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `git` [INFO] [stdout] --> src/types.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(not(feature = "git"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `checkver`, `default`, `docs-rs`, `generate`, `libarchive`, `libarchive3-sys`, and `mtree` [INFO] [stdout] = help: consider adding `git` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `git` [INFO] [stdout] --> src/types.rs:691:15 [INFO] [stdout] | [INFO] [stdout] 691 | #[cfg(not(feature = "git"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `checkver`, `default`, `docs-rs`, `generate`, `libarchive`, `libarchive3-sys`, and `mtree` [INFO] [stdout] = help: consider adding `git` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `git` [INFO] [stdout] --> src/types.rs:699:11 [INFO] [stdout] | [INFO] [stdout] 699 | #[cfg(feature = "git")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `checkver`, `default`, `docs-rs`, `generate`, `libarchive`, `libarchive3-sys`, and `mtree` [INFO] [stdout] = help: consider adding `git` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `git` [INFO] [stdout] --> src/types.rs:960:11 [INFO] [stdout] | [INFO] [stdout] 960 | #[cfg(feature = "git")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `checkver`, `default`, `docs-rs`, `generate`, `libarchive`, `libarchive3-sys`, and `mtree` [INFO] [stdout] = help: consider adding `git` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `git` [INFO] [stdout] --> src/types.rs:965:11 [INFO] [stdout] | [INFO] [stdout] 965 | #[cfg(feature = "git")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `checkver`, `default`, `docs-rs`, `generate`, `libarchive`, `libarchive3-sys`, and `mtree` [INFO] [stdout] = help: consider adding `git` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `git` [INFO] [stdout] --> src/types.rs:970:15 [INFO] [stdout] | [INFO] [stdout] 970 | #[cfg(not(feature = "git"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `checkver`, `default`, `docs-rs`, `generate`, `libarchive`, `libarchive3-sys`, and `mtree` [INFO] [stdout] = help: consider adding `git` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alpm_sys_ll::*` [INFO] [stdout] --> src/util.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use alpm_sys_ll::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alpm_sys_ll::*` [INFO] [stdout] --> src/version.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use alpm_sys_ll::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::be_local::*` [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | pub use crate::be_local::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::be_sync::*` [INFO] [stdout] --> src/lib.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub use crate::be_sync::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::dload::*` [INFO] [stdout] --> src/lib.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | pub use crate::dload::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::handle::*` [INFO] [stdout] --> src/lib.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub use crate::handle::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::remove::*` [INFO] [stdout] --> src/lib.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | pub use crate::remove::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::sync::*` [INFO] [stdout] --> src/lib.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | pub use crate::sync::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking plotters v0.3.3 [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/alpm.rs:37:33 [INFO] [stdout] | [INFO] [stdout] 37 | self.get_or_try_init(|| libalpm::new(library_filename("alpm")).map(|l| Box::new(l))).ok() [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/be_pkg.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 46 | filename: S, [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 50 | let filename = CString::new(filename).unwrap(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 63 | Ok(LoadedPackage { [INFO] [stdout] | ____________^ [INFO] [stdout] 64 | | pkg: unsafe { Pkg::new(self, pkg) }, [INFO] [stdout] 65 | | }) [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/signing.rs:203:12 [INFO] [stdout] | [INFO] [stdout] 195 | let mut siglist = SigList::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 203 | Ok((valid, siglist)) [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/signing.rs:217:12 [INFO] [stdout] | [INFO] [stdout] 209 | let mut siglist = SigList::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 217 | Ok((valid, siglist)) [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 4 previous errors; 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `alpm-ll` (lib) due to 5 previous errors; 22 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "c2ce4b0210e6113beac478fbc5d435344051d327b34c55318b9e91fbc9d3fb17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2ce4b0210e6113beac478fbc5d435344051d327b34c55318b9e91fbc9d3fb17", kill_on_drop: false }` [INFO] [stdout] c2ce4b0210e6113beac478fbc5d435344051d327b34c55318b9e91fbc9d3fb17