[INFO] fetching crate deku 0.18.1... [INFO] checking deku-0.18.1 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate deku 0.18.1 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate deku 0.18.1 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate deku 0.18.1 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate deku 0.18.1 [INFO] tweaked toml for crates.io crate deku 0.18.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate deku 0.18.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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e3b3ce859b73c7cd85ded0361b9082875de8da0668bb32f32388021926fd6004 [INFO] running `Command { std: "docker" "start" "-a" "e3b3ce859b73c7cd85ded0361b9082875de8da0668bb32f32388021926fd6004", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e3b3ce859b73c7cd85ded0361b9082875de8da0668bb32f32388021926fd6004", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3b3ce859b73c7cd85ded0361b9082875de8da0668bb32f32388021926fd6004", kill_on_drop: false }` [INFO] [stdout] e3b3ce859b73c7cd85ded0361b9082875de8da0668bb32f32388021926fd6004 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a21a28ea077042c45ab202735aa727ec8f4977748859301c51e0633ff9488695 [INFO] running `Command { std: "docker" "start" "-a" "a21a28ea077042c45ab202735aa727ec8f4977748859301c51e0633ff9488695", kill_on_drop: false }` [INFO] [stderr] Compiling winnow v0.6.18 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling rstest_macros v0.22.0 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking clap_builder v4.5.17 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Compiling trybuild v1.0.99 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking no_std_io2 v0.8.0 [INFO] [stderr] Checking hexlit v0.5.5 [INFO] [stderr] Checking assert_hex v0.4.1 [INFO] [stderr] Checking rustc-hash v2.0.0 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking plotters v0.3.6 [INFO] [stderr] Checking clap v4.5.17 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Compiling toml_edit v0.22.20 [INFO] [stderr] Checking env_filter v0.1.2 [INFO] [stderr] Checking env_logger v0.11.5 [INFO] [stderr] Compiling alloc_counter_macro v0.0.2 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Checking alloc_counter v0.0.4 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling deku_derive v0.18.1 [INFO] [stderr] Checking serde v1.0.210 [INFO] [stderr] Checking deku v0.18.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking rstest v0.22.0 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking serde_spanned v0.6.7 [INFO] [stderr] Checking serde_json v1.0.128 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stdout] warning: trait `ReadSeek` is never used [INFO] [stdout] --> tests/test_own_impl.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait ReadSeek: Read + Seek {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> tests/test_own_impl.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | Offset(u64), [INFO] [stdout] | ------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 9 | Offset(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `field_a` is never read [INFO] [stdout] --> tests/test_struct.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct TestStruct { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 37 | #[deku(bits = 6)] [INFO] [stdout] 38 | pub field_a: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_be_bytes` is never used [INFO] [stdout] --> tests/test_common/mod.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait FromBeBytes: Sized { [INFO] [stdout] | ----------- associated function in this trait [INFO] [stdout] 2 | type Bytes; [INFO] [stdout] 3 | fn from_be_bytes(_: Self::Bytes) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin` [INFO] [stdout] --> tests/test_compile/mod.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(not(tarpaulin))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin)");` to the top of the `build.rs` [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: unused import: `bitvec::prelude` [INFO] [stdout] --> src/impls/slice.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | use bitvec::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `writer::Writer>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/impls/tuple.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 96 | fn test_tuple_write(input: T, expected: Vec) [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 102 | let mut writer = Writer::new(Cursor::new(vec![])); [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: this value of type `reader::Reader<'_, std::io::Cursor<&[u8]>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/impls/cstring.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 67 | fn test_cstring(input: &[u8], expected: CString, expected_rest: &[u8]) { [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 68 | let mut cursor = Cursor::new(input); [INFO] [stdout] 69 | let mut reader = Reader::new(&mut cursor); [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: this value of type `reader::Reader<'_, std::io::Cursor<&[u8]>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/impls/hashset.rs:261:13 [INFO] [stdout] | [INFO] [stdout] 256 | expected: FxHashSet, [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 261 | let mut reader = Reader::new(&mut cursor); [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: this value of type `writer::Writer>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/impls/hashset.rs:284:13 [INFO] [stdout] | [INFO] [stdout] 283 | fn test_hashset_write(input: FxHashSet, endian: Endian, expected: Vec) { [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 284 | let mut writer = Writer::new(Cursor::new(vec![])); [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: this value of type `reader::Reader<'_, std::io::Cursor<&[u8]>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/impls/hashset.rs:313:13 [INFO] [stdout] | [INFO] [stdout] 304 | expected: FxHashSet, [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 313 | let mut reader = Reader::new(&mut cursor); [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] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/lib.rs:620:1 [INFO] [stdout] | [INFO] [stdout] 620 | pub mod test_common; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:347:9 [INFO] [stdout] | [INFO] [stdout] 347 | #![warn(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a trait [INFO] [stdout] --> src/../tests/test_common/mod.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait FromBeBytes: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated type [INFO] [stdout] --> src/../tests/test_common/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | type Bytes; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/../tests/test_common/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | fn from_be_bytes(_: Self::Bytes) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `deku` (lib test) due to 6 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a21a28ea077042c45ab202735aa727ec8f4977748859301c51e0633ff9488695", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a21a28ea077042c45ab202735aa727ec8f4977748859301c51e0633ff9488695", kill_on_drop: false }` [INFO] [stdout] a21a28ea077042c45ab202735aa727ec8f4977748859301c51e0633ff9488695