[INFO] fetching crate pthash 0.4.0... [INFO] checking pthash-0.4.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate pthash 0.4.0 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate pthash 0.4.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 pthash 0.4.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate pthash 0.4.0 [INFO] tweaked toml for crates.io crate pthash 0.4.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate pthash 0.4.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] dd48a26c5515211fe4a7610181c0e6b6e9a9384f96afa423d623687e171946a4 [INFO] running `Command { std: "docker" "start" "-a" "dd48a26c5515211fe4a7610181c0e6b6e9a9384f96afa423d623687e171946a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dd48a26c5515211fe4a7610181c0e6b6e9a9384f96afa423d623687e171946a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd48a26c5515211fe4a7610181c0e6b6e9a9384f96afa423d623687e171946a4", kill_on_drop: false }` [INFO] [stdout] dd48a26c5515211fe4a7610181c0e6b6e9a9384f96afa423d623687e171946a4 [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] 6bfdcf792dab09aaaa1332f0898431dfe01928a3ebcddffe84fe12319747fc46 [INFO] running `Command { std: "docker" "start" "-a" "6bfdcf792dab09aaaa1332f0898431dfe01928a3ebcddffe84fe12319747fc46", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling cc v1.0.95 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling either v1.11.0 [INFO] [stderr] Compiling serde v1.0.199 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling cxxbridge-flags v1.0.121 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling link-cplusplus v1.0.9 [INFO] [stderr] Compiling cxx v1.0.121 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling libloading v0.8.4 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling prettyplease v0.2.20 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling autocxx-bindgen v0.69.5 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling scratch v1.0.7 [INFO] [stderr] Compiling fastrand v2.0.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling indoc v1.0.9 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling aquamarine v0.1.12 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling autocxx v0.27.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Compiling cxx-gen v0.7.124 [INFO] [stderr] Compiling cxx-build v1.0.121 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Checking stderrlog v0.5.4 [INFO] [stderr] Compiling serde_derive v1.0.199 [INFO] [stderr] Compiling thiserror-impl v1.0.59 [INFO] [stderr] Compiling miette-derive v5.10.0 [INFO] [stderr] Compiling cxxbridge-macro v1.0.121 [INFO] [stderr] Compiling miette v5.10.0 [INFO] [stderr] Checking moveit v0.6.0 [INFO] [stderr] Compiling autocxx-parser v0.27.0 [INFO] [stderr] Compiling autocxx-engine v0.27.0 [INFO] [stderr] Compiling autocxx-macro v0.27.0 [INFO] [stderr] Compiling autocxx-build v0.27.0 [INFO] [stderr] Compiling pthash v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `byte_range` is never constructed [INFO] [stdout] --> src/hashing.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 107 | struct byte_range { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/partitioned_phf.rs:104:29 [INFO] [stdout] | [INFO] [stdout] 103 | fn hash(&self, key: impl Hashable) -> u64 { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 104 | self.inner.position(H::hash(key, self.seed)) [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/structs.rs:24:46 [INFO] [stdout] | [INFO] [stdout] 21 | / moveit! { [INFO] [stdout] 22 | | let h = unsafe { hash64::new1(value) }; [INFO] [stdout] | | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | | }; [INFO] [stdout] | |_________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | autocxx::moveit::MoveRef::into_inner(std::pin::Pin::into_inner(h)) [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/structs.rs:43:46 [INFO] [stdout] | [INFO] [stdout] 40 | / moveit! { [INFO] [stdout] 41 | | let h = unsafe { hash128::new1(high, low) }; [INFO] [stdout] | | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | | }; [INFO] [stdout] | |_________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | autocxx::moveit::MoveRef::into_inner(std::pin::Pin::into_inner(h)) [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/single_phf.rs:124:29 [INFO] [stdout] | [INFO] [stdout] 123 | fn hash(&self, key: impl Hashable) -> u64 { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 124 | self.inner.position(H::hash(key, self.seed)) [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; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pthash` (lib) due to 5 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: struct `byte_range` is never constructed [INFO] [stdout] --> src/hashing.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 107 | struct byte_range { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/partitioned_phf.rs:104:29 [INFO] [stdout] | [INFO] [stdout] 103 | fn hash(&self, key: impl Hashable) -> u64 { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 104 | self.inner.position(H::hash(key, self.seed)) [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/structs.rs:24:46 [INFO] [stdout] | [INFO] [stdout] 21 | / moveit! { [INFO] [stdout] 22 | | let h = unsafe { hash64::new1(value) }; [INFO] [stdout] | | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | | }; [INFO] [stdout] | |_________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | autocxx::moveit::MoveRef::into_inner(std::pin::Pin::into_inner(h)) [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/structs.rs:43:46 [INFO] [stdout] | [INFO] [stdout] 40 | / moveit! { [INFO] [stdout] 41 | | let h = unsafe { hash128::new1(high, low) }; [INFO] [stdout] | | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | | }; [INFO] [stdout] | |_________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | autocxx::moveit::MoveRef::into_inner(std::pin::Pin::into_inner(h)) [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/single_phf.rs:124:29 [INFO] [stdout] | [INFO] [stdout] 123 | fn hash(&self, key: impl Hashable) -> u64 { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 124 | self.inner.position(H::hash(key, self.seed)) [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; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pthash` (lib test) due to 5 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "6bfdcf792dab09aaaa1332f0898431dfe01928a3ebcddffe84fe12319747fc46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6bfdcf792dab09aaaa1332f0898431dfe01928a3ebcddffe84fe12319747fc46", kill_on_drop: false }` [INFO] [stdout] 6bfdcf792dab09aaaa1332f0898431dfe01928a3ebcddffe84fe12319747fc46