[INFO] fetching crate packbits 0.1.1... [INFO] checking packbits-0.1.1 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate packbits 0.1.1 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate packbits 0.1.1 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate packbits 0.1.1 [INFO] tweaked toml for crates.io crate packbits 0.1.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate packbits 0.1.1 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate packbits 0.1.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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4aede5eff5dfec4c2ee5b416875a4c0e46010519b289e03d608d793302da1eb6 [INFO] running `Command { std: "docker" "start" "-a" "4aede5eff5dfec4c2ee5b416875a4c0e46010519b289e03d608d793302da1eb6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4aede5eff5dfec4c2ee5b416875a4c0e46010519b289e03d608d793302da1eb6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4aede5eff5dfec4c2ee5b416875a4c0e46010519b289e03d608d793302da1eb6", kill_on_drop: false }` [INFO] [stdout] 4aede5eff5dfec4c2ee5b416875a4c0e46010519b289e03d608d793302da1eb6 [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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 149d78fed17b600012f39f339bf4c654290775ed74f1bb1d20cb896f4e558a79 [INFO] running `Command { std: "docker" "start" "-a" "149d78fed17b600012f39f339bf4c654290775ed74f1bb1d20cb896f4e558a79", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Checking unicode-ident v1.0.18 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Compiling target-triple v0.1.4 [INFO] [stderr] Checking clap_builder v4.5.47 [INFO] [stderr] Checking toml_parser v1.0.2 [INFO] [stderr] Compiling packed_struct v0.10.1 [INFO] [stderr] Checking toml_writer v1.0.2 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Checking clap v4.5.47 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Compiling packed_struct_codegen v0.10.1 [INFO] [stderr] Compiling modular-bitfield-impl v0.11.2 [INFO] [stderr] Checking packbits v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/pack/diagram.rs:201:45 [INFO] [stdout] | [INFO] [stdout] 201 | if best.as_ref().map(|&(_, s, e)| (e + 1 - s)).unwrap_or(0) < len { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 201 - if best.as_ref().map(|&(_, s, e)| (e + 1 - s)).unwrap_or(0) < len { [INFO] [stdout] 201 + if best.as_ref().map(|&(_, s, e)| e + 1 - s).unwrap_or(0) < len { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking modular-bitfield v0.11.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling bitfield-struct v0.8.0 [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/pack/diagram.rs:201:45 [INFO] [stdout] | [INFO] [stdout] 201 | if best.as_ref().map(|&(_, s, e)| (e + 1 - s)).unwrap_or(0) < len { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 201 - if best.as_ref().map(|&(_, s, e)| (e + 1 - s)).unwrap_or(0) < len { [INFO] [stdout] 201 + if best.as_ref().map(|&(_, s, e)| e + 1 - s).unwrap_or(0) < len { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking serde_json v1.0.143 [INFO] [stderr] Checking serde_spanned v1.0.0 [INFO] [stderr] Checking toml_datetime v0.7.0 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking toml v0.9.5 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking trybuild v1.0.110 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/pack/diagram.rs:201:45 [INFO] [stdout] | [INFO] [stdout] 201 | if best.as_ref().map(|&(_, s, e)| (e + 1 - s)).unwrap_or(0) < len { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 201 - if best.as_ref().map(|&(_, s, e)| (e + 1 - s)).unwrap_or(0) < len { [INFO] [stdout] 201 + if best.as_ref().map(|&(_, s, e)| e + 1 - s).unwrap_or(0) < len { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/nested.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | #[packbits::pack(bytes = 2)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the attribute macro `packbits::pack` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/nested.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | #[packbits::pack(bytes = 2)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `packbits::pack` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/other_types.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | #[packbits::pack(bytes = 1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the attribute macro `packbits::pack` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `packbits` (test "nested") due to 2 previous errors [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/packet.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | #[packbits::pack(u32)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the attribute macro `packbits::pack` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/packet.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | #[packbits::pack(u32)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `packbits::pack` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/other_types.rs:107:1 [INFO] [stdout] | [INFO] [stdout] 107 | #[packbits::pack(bytes = 3)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `packbits::pack` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/other_types.rs:107:1 [INFO] [stdout] | [INFO] [stdout] 107 | #[packbits::pack(bytes = 3)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `packbits::pack` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/other_types.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | #[packbits::pack(bytes = 1, msb)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `packbits::pack` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/other_types.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | #[packbits::pack(bytes = 1, msb)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `packbits::pack` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `packbits` (test "other_types") due to 5 previous errors [INFO] [stderr] error: could not compile `packbits` (example "packet") due to 2 previous errors [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/nested_struct.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | #[packbits::pack(bytes = 4)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the attribute macro `packbits::pack` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/nested_struct.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | #[packbits::pack(bytes = 4)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `packbits::pack` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `packbits` (test "nested_struct") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "149d78fed17b600012f39f339bf4c654290775ed74f1bb1d20cb896f4e558a79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "149d78fed17b600012f39f339bf4c654290775ed74f1bb1d20cb896f4e558a79", kill_on_drop: false }` [INFO] [stdout] 149d78fed17b600012f39f339bf4c654290775ed74f1bb1d20cb896f4e558a79