[INFO] fetching crate spinel 0.1.0... [INFO] checking spinel-0.1.0 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate spinel 0.1.0 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate spinel 0.1.0 [INFO] finished tweaking crates.io crate spinel 0.1.0 [INFO] tweaked toml for crates.io crate spinel 0.1.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate spinel 0.1.0 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 24 packages to latest compatible versions [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] d0752ad8b08165f9e3af373159344e69d400f90fa6464af9bde0ca12f64d58da [INFO] running `Command { std: "docker" "start" "-a" "d0752ad8b08165f9e3af373159344e69d400f90fa6464af9bde0ca12f64d58da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d0752ad8b08165f9e3af373159344e69d400f90fa6464af9bde0ca12f64d58da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0752ad8b08165f9e3af373159344e69d400f90fa6464af9bde0ca12f64d58da", kill_on_drop: false }` [INFO] [stdout] d0752ad8b08165f9e3af373159344e69d400f90fa6464af9bde0ca12f64d58da [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] ad928b3c8d0494c439b174018036bcc0c8d00b9521e9039111ee7cd04e23f52c [INFO] running `Command { std: "docker" "start" "-a" "ad928b3c8d0494c439b174018036bcc0c8d00b9521e9039111ee7cd04e23f52c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Checking cfg-if v1.0.4 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Compiling crc16 v0.4.0 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking bitflags v2.10.0 [INFO] [stderr] Checking tokio v1.48.0 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Checking tokio-util v0.7.17 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking spinel v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `thiserror` [INFO] [stdout] --> src/error.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #[cfg_attr(feature = "thiserror", derive(thiserror::Error))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `std` [INFO] [stdout] = help: consider adding `thiserror` as a feature in `Cargo.toml` [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: unexpected `cfg` condition value: `thiserror` [INFO] [stdout] --> src/error.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | #[cfg_attr(feature = "thiserror", error("Invalid header: {0}"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `std` [INFO] [stdout] = help: consider adding `thiserror` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `thiserror` [INFO] [stdout] --> src/error.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg_attr(feature = "thiserror", error("Incorrect HDLC checksum: {0}"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `std` [INFO] [stdout] = help: consider adding `thiserror` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `thiserror` [INFO] [stdout] --> src/error.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg_attr(feature = "thiserror", error("Incorrect starting delimiter: {0}"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `std` [INFO] [stdout] = help: consider adding `thiserror` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `thiserror` [INFO] [stdout] --> src/error.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg_attr(feature = "thiserror", error("Incorrect ending delimiter: {0}"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `std` [INFO] [stdout] = help: consider adding `thiserror` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `thiserror` [INFO] [stdout] --> src/error.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg_attr(feature = "thiserror", error("Unknown command: {0}"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `std` [INFO] [stdout] = help: consider adding `thiserror` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `thiserror` [INFO] [stdout] --> src/error.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | #[cfg_attr(feature = "thiserror", error("Unknown property: {0}"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `std` [INFO] [stdout] = help: consider adding `thiserror` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `thiserror` [INFO] [stdout] --> src/error.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | feature = "thiserror", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `std` [INFO] [stdout] = help: consider adding `thiserror` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `thiserror` [INFO] [stdout] --> src/error.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg_attr(feature = "thiserror", error("Incorrect packet length: {0}"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `std` [INFO] [stdout] = help: consider adding `thiserror` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `thiserror` [INFO] [stdout] --> src/error.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #[cfg_attr(feature = "thiserror", derive(thiserror::Error))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `std` [INFO] [stdout] = help: consider adding `thiserror` as a feature in `Cargo.toml` [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: unexpected `cfg` condition value: `thiserror` [INFO] [stdout] --> src/error.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | #[cfg_attr(feature = "thiserror", error("Invalid header: {0}"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `std` [INFO] [stdout] = help: consider adding `thiserror` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `thiserror` [INFO] [stdout] --> src/error.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg_attr(feature = "thiserror", error("Incorrect HDLC checksum: {0}"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `std` [INFO] [stdout] = help: consider adding `thiserror` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `thiserror` [INFO] [stdout] --> src/error.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg_attr(feature = "thiserror", error("Incorrect starting delimiter: {0}"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `std` [INFO] [stdout] = help: consider adding `thiserror` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `thiserror` [INFO] [stdout] --> src/error.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg_attr(feature = "thiserror", error("Incorrect ending delimiter: {0}"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `std` [INFO] [stdout] = help: consider adding `thiserror` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `thiserror` [INFO] [stdout] --> src/error.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg_attr(feature = "thiserror", error("Unknown command: {0}"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `std` [INFO] [stdout] = help: consider adding `thiserror` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `thiserror` [INFO] [stdout] --> src/error.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | #[cfg_attr(feature = "thiserror", error("Unknown property: {0}"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `std` [INFO] [stdout] = help: consider adding `thiserror` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `thiserror` [INFO] [stdout] --> src/error.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | feature = "thiserror", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `std` [INFO] [stdout] = help: consider adding `thiserror` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `thiserror` [INFO] [stdout] --> src/error.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg_attr(feature = "thiserror", error("Incorrect packet length: {0}"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `std` [INFO] [stdout] = help: consider adding `thiserror` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/codec/datatype/packed_u32.rs:226:31 [INFO] [stdout] | [INFO] [stdout] 226 | let result: u32 = test.try_into().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `spinel` (lib test) due to 1 previous error; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ad928b3c8d0494c439b174018036bcc0c8d00b9521e9039111ee7cd04e23f52c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad928b3c8d0494c439b174018036bcc0c8d00b9521e9039111ee7cd04e23f52c", kill_on_drop: false }` [INFO] [stdout] ad928b3c8d0494c439b174018036bcc0c8d00b9521e9039111ee7cd04e23f52c