[INFO] fetching crate binrw 0.13.3... [INFO] checking binrw-0.13.3 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1 [INFO] extracting crate binrw 0.13.3 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate binrw 0.13.3 on toolchain 5518eaa946291f00471af8b254b2a1715f234882 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate binrw 0.13.3 [INFO] finished tweaking crates.io crate binrw 0.13.3 [INFO] tweaked toml for crates.io crate binrw 0.13.3 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded static_assertions v1.1.0 [INFO] [stderr] Downloaded glob v0.3.1 [INFO] [stderr] Downloaded bytemuck v1.14.1 [INFO] [stderr] Downloaded trybuild v1.0.89 [INFO] [stderr] Downloaded modular-bitfield v0.11.2 [INFO] [stderr] Downloaded array-init v2.1.0 [INFO] [stderr] Downloaded owo-colors v3.5.0 [INFO] [stderr] Downloaded modular-bitfield-impl v0.11.2 [INFO] [stderr] Downloaded binrw_derive v0.13.3 [INFO] [stderr] Downloaded basic-toml v0.1.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 20d9c0772e1301470f3ae3a3e41131a968abbdd8644a222a01d47f4068fbd056 [INFO] running `Command { std: "docker" "start" "-a" "20d9c0772e1301470f3ae3a3e41131a968abbdd8644a222a01d47f4068fbd056", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "20d9c0772e1301470f3ae3a3e41131a968abbdd8644a222a01d47f4068fbd056", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20d9c0772e1301470f3ae3a3e41131a968abbdd8644a222a01d47f4068fbd056", kill_on_drop: false }` [INFO] [stdout] 20d9c0772e1301470f3ae3a3e41131a968abbdd8644a222a01d47f4068fbd056 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2ca1fb3a829aeb6d794e3993ff383441905456ab633586b2e2a714f6704389df [INFO] running `Command { std: "docker" "start" "-a" "2ca1fb3a829aeb6d794e3993ff383441905456ab633586b2e2a714f6704389df", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Compiling binrw_derive v0.13.3 [INFO] [stderr] Compiling owo-colors v3.5.0 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Compiling binrw v0.13.3 (/opt/rustwide/workdir) [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Compiling trybuild v1.0.89 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking bytemuck v1.14.1 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking array-init v2.1.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking basic-toml v0.1.8 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling modular-bitfield-impl v0.11.2 [INFO] [stderr] Checking modular-bitfield v0.11.2 [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> tests/meta.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | struct Big(u16); [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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] 10 | struct Big(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> tests/meta.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | struct Little(u16); [INFO] [stdout] | ------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [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] 14 | struct Little(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> tests/meta.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | struct Runtime(u8); [INFO] [stdout] | ------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [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] 18 | struct Runtime(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> tests/dbg.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | struct Inner(u32); [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `Inner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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] 7 | struct Inner(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> tests/error.rs:140:11 [INFO] [stdout] | [INFO] [stdout] 140 | A(u32), [INFO] [stdout] | - ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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] 140 | A(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> tests/error.rs:142:11 [INFO] [stdout] | [INFO] [stdout] 142 | B(u16), [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] 142 | B(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> tests/error.rs:159:11 [INFO] [stdout] | [INFO] [stdout] 159 | A([u8; 2]), [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] 159 | A(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> tests/error.rs:160:11 [INFO] [stdout] | [INFO] [stdout] 160 | B([u8; 1]), [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] 160 | B(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> tests/error.rs:228:38 [INFO] [stdout] | [INFO] [stdout] 228 | A(#[br(assert(self_0 == 1))] u32), [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] 228 | A(#[br(assert(self_0 == 1))] ()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> tests/error.rs:230:38 [INFO] [stdout] | [INFO] [stdout] 230 | B(#[br(assert(self_0 == 2))] u32), [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] 230 | B(#[br(assert(self_0 == 2))] ()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 16.72s [INFO] running `Command { std: "docker" "inspect" "2ca1fb3a829aeb6d794e3993ff383441905456ab633586b2e2a714f6704389df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ca1fb3a829aeb6d794e3993ff383441905456ab633586b2e2a714f6704389df", kill_on_drop: false }` [INFO] [stdout] 2ca1fb3a829aeb6d794e3993ff383441905456ab633586b2e2a714f6704389df [INFO] checking binrw-0.13.3 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393-1 [INFO] extracting crate binrw 0.13.3 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate binrw 0.13.3 on toolchain 7622c0f807a4e13c4db886a1681bf343795692df [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate binrw 0.13.3 [INFO] finished tweaking crates.io crate binrw 0.13.3 [INFO] tweaked toml for crates.io crate binrw 0.13.3 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4a3f7eee480717e40bb7ed57a807d6a22856dff87688517af67ecad14f557bf5 [INFO] running `Command { std: "docker" "start" "-a" "4a3f7eee480717e40bb7ed57a807d6a22856dff87688517af67ecad14f557bf5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4a3f7eee480717e40bb7ed57a807d6a22856dff87688517af67ecad14f557bf5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a3f7eee480717e40bb7ed57a807d6a22856dff87688517af67ecad14f557bf5", kill_on_drop: false }` [INFO] [stdout] 4a3f7eee480717e40bb7ed57a807d6a22856dff87688517af67ecad14f557bf5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Dnon_local_definitions" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 92fd0bff3d90b188ceebabc266f30a7887a185a3730013e2ecddb78cf88be4f1 [INFO] running `Command { std: "docker" "start" "-a" "92fd0bff3d90b188ceebabc266f30a7887a185a3730013e2ecddb78cf88be4f1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling binrw_derive v0.13.3 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Compiling binrw v0.13.3 (/opt/rustwide/workdir) [INFO] [stderr] Compiling owo-colors v3.5.0 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Compiling trybuild v1.0.89 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Checking bytemuck v1.14.1 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking array-init v2.1.0 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking basic-toml v0.1.8 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling modular-bitfield-impl v0.11.2 [INFO] [stderr] Checking modular-bitfield v0.11.2 [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> tests/dbg.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | struct Inner(u32); [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `Inner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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] 7 | struct Inner(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> tests/meta.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | struct Big(u16); [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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] 10 | struct Big(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> tests/meta.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | struct Little(u16); [INFO] [stdout] | ------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [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] 14 | struct Little(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> tests/meta.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | struct Runtime(u8); [INFO] [stdout] | ------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [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] 18 | struct Runtime(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> tests/error.rs:140:11 [INFO] [stdout] | [INFO] [stdout] 140 | A(u32), [INFO] [stdout] | - ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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] 140 | A(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> tests/error.rs:142:11 [INFO] [stdout] | [INFO] [stdout] 142 | B(u16), [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] 142 | B(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> tests/error.rs:159:11 [INFO] [stdout] | [INFO] [stdout] 159 | A([u8; 2]), [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] 159 | A(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> tests/error.rs:160:11 [INFO] [stdout] | [INFO] [stdout] 160 | B([u8; 1]), [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] 160 | B(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> tests/error.rs:228:38 [INFO] [stdout] | [INFO] [stdout] 228 | A(#[br(assert(self_0 == 1))] u32), [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] 228 | A(#[br(assert(self_0 == 1))] ()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> tests/error.rs:230:38 [INFO] [stdout] | [INFO] [stdout] 230 | B(#[br(assert(self_0 == 2))] u32), [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] 230 | B(#[br(assert(self_0 == 2))] ()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> tests/derive/write/map.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | / impl From<&Test> for u8 { [INFO] [stdout] 52 | | fn from(t: &Test) -> Self { [INFO] [stdout] 53 | | match t { [INFO] [stdout] 54 | | Test::SubTest(u) => *u, [INFO] [stdout] 55 | | } [INFO] [stdout] 56 | | } [INFO] [stdout] 57 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `map_repr_enum` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> tests/derive/write/map.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | / impl From<&SubTest> for u8 { [INFO] [stdout] 72 | | fn from(s: &SubTest) -> Self { [INFO] [stdout] 73 | | s.0 [INFO] [stdout] 74 | | } [INFO] [stdout] 75 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `map_repr_enum_variant` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> tests/derive/write/map.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | / impl From<&Test> for u8 { [INFO] [stdout] 87 | | fn from(t: &Test) -> Self { [INFO] [stdout] 88 | | t.a [INFO] [stdout] 89 | | } [INFO] [stdout] 90 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `map_repr_struct` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> tests/derive/write/map.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 107 | / impl From<&SubTest> for u8 { [INFO] [stdout] 108 | | fn from(s: &SubTest) -> Self { [INFO] [stdout] 109 | | s.a [INFO] [stdout] 110 | | } [INFO] [stdout] 111 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `map_repr_struct_field` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `binrw` (test "lib") due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "92fd0bff3d90b188ceebabc266f30a7887a185a3730013e2ecddb78cf88be4f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92fd0bff3d90b188ceebabc266f30a7887a185a3730013e2ecddb78cf88be4f1", kill_on_drop: false }` [INFO] [stdout] 92fd0bff3d90b188ceebabc266f30a7887a185a3730013e2ecddb78cf88be4f1