[INFO] fetching crate mmap-bitvec 0.4.1...
[INFO] checking mmap-bitvec-0.4.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604
[INFO] extracting crate mmap-bitvec 0.4.1 into /workspace/builds/worker-0-tc2/source
[INFO] validating manifest of crates.io crate mmap-bitvec 0.4.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 mmap-bitvec 0.4.1
[INFO] finished tweaking crates.io crate mmap-bitvec 0.4.1
[INFO] tweaked toml for crates.io crate mmap-bitvec 0.4.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] Updating crates.io index
[INFO] [stderr] Locking 80 packages to latest compatible versions
[INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.6.0)
[INFO] [stderr] Adding clap v2.34.0 (latest: v4.5.16)
[INFO] [stderr] Adding criterion v0.3.6 (latest: v0.5.1)
[INFO] [stderr] Adding criterion-plot v0.4.5 (latest: v0.5.0)
[INFO] [stderr] Adding half v1.8.3 (latest: v2.4.1)
[INFO] [stderr] Adding hermit-abi v0.1.19 (latest: v0.4.0)
[INFO] [stderr] Adding itertools v0.10.5 (latest: v0.13.0)
[INFO] [stderr] Adding linux-raw-sys v0.4.14 (latest: v0.6.5)
[INFO] [stderr] Adding memmap2 v0.5.10 (latest: v0.9.4)
[INFO] [stderr] Adding textwrap v0.11.0 (latest: v0.16.1)
[INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0)
[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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 972a4b40884c0ae9bbab3834e5c68c9a0640cbdc6b3c37db2c7933a54b5b0a9a
[INFO] running `Command { std: "docker" "start" "-a" "972a4b40884c0ae9bbab3834e5c68c9a0640cbdc6b3c37db2c7933a54b5b0a9a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "972a4b40884c0ae9bbab3834e5c68c9a0640cbdc6b3c37db2c7933a54b5b0a9a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "972a4b40884c0ae9bbab3834e5c68c9a0640cbdc6b3c37db2c7933a54b5b0a9a", kill_on_drop: false }`
[INFO] [stdout] 972a4b40884c0ae9bbab3834e5c68c9a0640cbdc6b3c37db2c7933a54b5b0a9a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 356867da11472aa1b99a40fac2eac55560b79a4a56126293787137e141867e65
[INFO] running `Command { std: "docker" "start" "-a" "356867da11472aa1b99a40fac2eac55560b79a4a56126293787137e141867e65", kill_on_drop: false }`
[INFO] [stderr] Compiling serde v1.0.209
[INFO] [stderr] Checking unicode-width v0.1.13
[INFO] [stderr] Compiling rustix v0.38.35
[INFO] [stderr] Checking csv-core v0.1.11
[INFO] [stderr] Checking half v1.8.3
[INFO] [stderr] Checking murmurhash3 v0.0.5
[INFO] [stderr] Checking atty v0.2.14
[INFO] [stderr] Checking criterion-plot v0.4.5
[INFO] [stderr] Checking memmap2 v0.5.10
[INFO] [stderr] Compiling syn v2.0.77
[INFO] [stderr] Checking textwrap v0.11.0
[INFO] [stderr] Checking mmap-bitvec v0.4.1 (/opt/rustwide/workdir)
[INFO] [stderr] Checking clap v2.34.0
[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/bloom.rs:65:12
[INFO] [stdout] |
[INFO] [stdout] 50 | pub fn new
(filename: Option
, bits: usize, n_hashes: u8) -> Result
[INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 55 | let bitvec = match filename {
[INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 56 | Some(filename) => {
[INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 65 | Ok(BloomFilter {
[INFO] [stdout] | ____________^
[INFO] [stdout] 66 | | bit_vec: bitvec,
[INFO] [stdout] 67 | | hashes: n_hashes,
[INFO] [stdout] 68 | | })
[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] | | 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] | | 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] = 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/mmap_bitvec.rs:110:8
[INFO] [stdout] |
[INFO] [stdout] 90 | let mut file = OpenOptions::new()
[INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 110 | Ok((file, total_header_size))
[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] = 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/mmap_bitvec.rs:131:12
[INFO] [stdout] |
[INFO] [stdout] 119 | filename: P,
[INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 129 | let (file, total_header_size) = create_bitvec_file(filename.as_ref(), size, magic, header)?;
[INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 130 | let mmap = unsafe { MmapOptions::new().offset(total_header_size).map_mut(&file) }?;
[INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 131 | Ok(MmapBitVec {
[INFO] [stdout] | ____________^
[INFO] [stdout] 132 | | mmap: MmapKind::MmapMut(mmap),
[INFO] [stdout] 133 | | size,
[INFO] [stdout] 134 | | header: header.to_vec().into_boxed_slice(),
[INFO] [stdout] 135 | | is_map_anonymous: false,
[INFO] [stdout] 136 | | })
[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] | | 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/mmap_bitvec.rs:210:12
[INFO] [stdout] |
[INFO] [stdout] 146 | pub fn open(filename: P, magic: Option<&[u8; 2]>, read_only: bool) -> Result
[INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 153 | let mut file = OpenOptions::new()
[INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 202 | let mmap = if read_only {
[INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 203 | let mmap = unsafe { MmapOptions::new().offset(total_header_size).map(&file) }?;
[INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 206 | let mmap = unsafe { MmapOptions::new().offset(total_header_size).map_mut(&file) }?;
[INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 210 | Ok(MmapBitVec {
[INFO] [stdout] | ____________^
[INFO] [stdout] 211 | | mmap,
[INFO] [stdout] 212 | | size: size as usize,
[INFO] [stdout] 213 | | header: header.into_boxed_slice(),
[INFO] [stdout] 214 | | is_map_anonymous: false,
[INFO] [stdout] 215 | | })
[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] | | 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] | | 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/mmap_bitvec.rs:229:12
[INFO] [stdout] |
[INFO] [stdout] 220 | pub fn open_no_header(filename: P, offset: usize) -> Result
[INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 226 | let f = OpenOptions::new().read(true).write(false).open(&filename)?;
[INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 227 | let mmap = unsafe { MmapOptions::new().offset(offset as u64).map(&f) }?;
[INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 228 |
[INFO] [stdout] 229 | Ok(MmapBitVec {
[INFO] [stdout] | ____________^
[INFO] [stdout] 230 | | mmap: MmapKind::Mmap(mmap),
[INFO] [stdout] 231 | | size: byte_size * 8,
[INFO] [stdout] 232 | | header: Box::new([]),
[INFO] [stdout] 233 | | is_map_anonymous: false,
[INFO] [stdout] 234 | | })
[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] | | 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] | |_________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/mmap_bitvec.rs:244:12
[INFO] [stdout] |
[INFO] [stdout] 243 | let mmap = MmapOptions::new().len(byte_size as usize).map_anon()?;
[INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 244 | Ok(MmapBitVec {
[INFO] [stdout] | ____________^
[INFO] [stdout] 245 | | mmap: MmapKind::MmapMut(mmap),
[INFO] [stdout] 246 | | size,
[INFO] [stdout] 247 | | header: vec![].into_boxed_slice(),
[INFO] [stdout] 248 | | is_map_anonymous: true,
[INFO] [stdout] 249 | | })
[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 6 previous errors
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] error: could not compile `mmap-bitvec` (lib) due to 7 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "356867da11472aa1b99a40fac2eac55560b79a4a56126293787137e141867e65", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "356867da11472aa1b99a40fac2eac55560b79a4a56126293787137e141867e65", kill_on_drop: false }`
[INFO] [stdout] 356867da11472aa1b99a40fac2eac55560b79a4a56126293787137e141867e65