[INFO] fetching crate sen6x-driver 0.1.0... [INFO] checking sen6x-driver-0.1.0 against 656ccbe796ff98def9b555c118e1620c5389e3b2 for pr-133502-25 [INFO] extracting crate sen6x-driver 0.1.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate sen6x-driver 0.1.0 [INFO] finished tweaking crates.io crate sen6x-driver 0.1.0 [INFO] tweaked toml for crates.io crate sen6x-driver 0.1.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate sen6x-driver 0.1.0 on toolchain 656ccbe796ff98def9b555c118e1620c5389e3b2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+656ccbe796ff98def9b555c118e1620c5389e3b2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate sen6x-driver 0.1.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" "+656ccbe796ff98def9b555c118e1620c5389e3b2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gcd v2.3.0 [INFO] [stderr] Downloaded quote v1.0.46 [INFO] [stderr] Downloaded thiserror-no-std v2.0.2 [INFO] [stderr] Downloaded embedded-io v0.7.1 [INFO] [stderr] Downloaded units-nostd v0.2.0 [INFO] [stderr] Downloaded embedded-hal-async v1.0.0 [INFO] [stderr] Downloaded sen6x-macros v0.1.0 [INFO] [stderr] Downloaded hash32 v0.3.1 [INFO] [stderr] Downloaded thiserror-impl-no-std v2.0.2 [INFO] [stderr] Downloaded nb v1.1.0 [INFO] [stderr] Downloaded nb v0.1.3 [INFO] [stderr] Downloaded embassy-time-driver v0.2.2 [INFO] [stderr] Downloaded bitrs v0.10.0 [INFO] [stderr] Downloaded sensirion-i2c v0.4.0 [INFO] [stderr] Downloaded embedded-hal-nb v1.0.0 [INFO] [stderr] Downloaded embedded-hal v0.2.7 [INFO] [stderr] Downloaded embedded-hal v1.0.0 [INFO] [stderr] Downloaded stringcase v0.4.0 [INFO] [stderr] Downloaded embassy-time v0.5.1 [INFO] [stderr] Downloaded critical-section v1.2.0 [INFO] [stderr] Downloaded embedded-io-async v0.7.0 [INFO] [stderr] Downloaded embedded-hal-mock v0.11.1 [INFO] [stderr] Downloaded embassy-sync v0.8.0 [INFO] [stderr] Downloaded zerocopy-derive v0.8.52 [INFO] [stderr] Downloaded heapless v0.9.1 [INFO] [stderr] Downloaded syn v2.0.118 [INFO] [stderr] Downloaded zerocopy v0.8.52 [INFO] [stderr] Downloaded fixed_str v0.9.1 [INFO] [stderr] Downloaded bitrs-macro v0.10.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] a7afb5758f4c0c359ab4b2d972a4e982a36d0ddd4172889629dffc3804d018c1 [INFO] running `Command { std: "docker" "start" "a7afb5758f4c0c359ab4b2d972a4e982a36d0ddd4172889629dffc3804d018c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a7afb5758f4c0c359ab4b2d972a4e982a36d0ddd4172889629dffc3804d018c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a7afb5758f4c0c359ab4b2d972a4e982a36d0ddd4172889629dffc3804d018c1" "/opt/rustwide/cargo-home/bin/cargo" "+656ccbe796ff98def9b555c118e1620c5389e3b2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a7afb5758f4c0c359ab4b2d972a4e982a36d0ddd4172889629dffc3804d018c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a7afb5758f4c0c359ab4b2d972a4e982a36d0ddd4172889629dffc3804d018c1" "/opt/rustwide/cargo-home/bin/cargo" "+656ccbe796ff98def9b555c118e1620c5389e3b2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.46 [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Compiling autocfg v1.5.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling zerocopy v0.8.52 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking embedded-hal v1.0.0 [INFO] [stderr] Checking typenum v1.20.1 [INFO] [stderr] Compiling sen6x-driver v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking gcd v2.3.0 [INFO] [stderr] Checking nb v1.1.0 [INFO] [stderr] Compiling stringcase v0.4.0 [INFO] [stderr] Checking fixed_str v0.9.1 [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Checking embedded-hal-nb v1.0.0 [INFO] [stderr] Checking sensirion-i2c v0.4.0 [INFO] [stderr] Checking embedded-hal-mock v0.11.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling syn v2.0.118 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking units-nostd v0.2.0 [INFO] [stderr] Compiling thiserror-impl-no-std v2.0.2 [INFO] [stderr] Checking thiserror-no-std v2.0.2 [INFO] [stderr] Compiling zerocopy-derive v0.8.52 [INFO] [stderr] Compiling bitrs-macro v0.10.0 [INFO] [stderr] Compiling sen6x-macros v0.1.0 [INFO] [stderr] Checking bitrs v0.10.0 [INFO] [stdout] warning: fields `i2c`, `delay`, and `state` are never read [INFO] [stdout] --> src/lib.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct Sen6x<'a, I2C, D> { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 56 | i2c: I2C, [INFO] [stdout] | ^^^ [INFO] [stdout] 57 | delay: RefCell<&'a mut D>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 58 | state: State, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Sen6x` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `SensorState` is never used [INFO] [stdout] --> src/lib.rs:79:7 [INFO] [stdout] | [INFO] [stdout] 79 | trait SensorState { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CommandId` is never used [INFO] [stdout] --> src/commands.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) enum CommandId { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Measurement` is never constructed [INFO] [stdout] --> src/connection.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) enum State { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 10 | Idle, [INFO] [stdout] 11 | Measurement, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `State` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `SensorModel` is never used [INFO] [stdout] --> src/connection.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) trait SensorModel { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Sen62` is never constructed [INFO] [stdout] --> src/connection.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | sensor_model!(Sen62, 0x6B); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `sensor_model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Sen63c` is never constructed [INFO] [stdout] --> src/connection.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | sensor_model!(Sen63c, 0x6B); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `sensor_model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Sen65` is never constructed [INFO] [stdout] --> src/connection.rs:29:15 [INFO] [stdout] | [INFO] [stdout] 29 | sensor_model!(Sen65, 0x6B); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `sensor_model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Sen66` is never constructed [INFO] [stdout] --> src/connection.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 30 | sensor_model!(Sen66, 0x6B); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `sensor_model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Sen68` is never constructed [INFO] [stdout] --> src/connection.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | sensor_model!(Sen68, 0x6B); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `sensor_model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Sen69c` is never constructed [INFO] [stdout] --> src/connection.rs:32:15 [INFO] [stdout] | [INFO] [stdout] 32 | sensor_model!(Sen69c, 0x6B); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `sensor_model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Milliseconds` is never used [INFO] [stdout] --> src/types.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) type Milliseconds = u16; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `i2c`, `delay`, and `state` are never read [INFO] [stdout] --> src/lib.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct Sen6x<'a, I2C, D> { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 56 | i2c: I2C, [INFO] [stdout] | ^^^ [INFO] [stdout] 57 | delay: RefCell<&'a mut D>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 58 | state: State, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Sen6x` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `SensorState` is never used [INFO] [stdout] --> src/lib.rs:79:7 [INFO] [stdout] | [INFO] [stdout] 79 | trait SensorState { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CommandId` is never used [INFO] [stdout] --> src/commands.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) enum CommandId { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Measurement` is never constructed [INFO] [stdout] --> src/connection.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) enum State { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 10 | Idle, [INFO] [stdout] 11 | Measurement, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `State` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `SensorModel` is never used [INFO] [stdout] --> src/connection.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) trait SensorModel { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Sen62` is never constructed [INFO] [stdout] --> src/connection.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | sensor_model!(Sen62, 0x6B); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `sensor_model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Sen63c` is never constructed [INFO] [stdout] --> src/connection.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | sensor_model!(Sen63c, 0x6B); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `sensor_model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Sen65` is never constructed [INFO] [stdout] --> src/connection.rs:29:15 [INFO] [stdout] | [INFO] [stdout] 29 | sensor_model!(Sen65, 0x6B); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `sensor_model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Sen66` is never constructed [INFO] [stdout] --> src/connection.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 30 | sensor_model!(Sen66, 0x6B); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `sensor_model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Sen68` is never constructed [INFO] [stdout] --> src/connection.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | sensor_model!(Sen68, 0x6B); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `sensor_model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Sen69c` is never constructed [INFO] [stdout] --> src/connection.rs:32:15 [INFO] [stdout] | [INFO] [stdout] 32 | sensor_model!(Sen69c, 0x6B); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `sensor_model` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `FromBytes` is never used [INFO] [stdout] --> src/io.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) trait FromBytes { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_size` is never used [INFO] [stdout] --> src/io.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) const fn get_size(_: fn(x: O) -> F) -> usize [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ToBytes` is never used [INFO] [stdout] --> src/io.rs:70:18 [INFO] [stdout] | [INFO] [stdout] 70 | pub(super) trait ToBytes { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_crc` is never used [INFO] [stdout] --> src/io.rs:115:15 [INFO] [stdout] | [INFO] [stdout] 115 | pub(crate) fn check_crc(bytes: &[u8]) -> Result<[u8; N], Error> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ValueWrapper` is never used [INFO] [stdout] --> src/io.rs:130:18 [INFO] [stdout] | [INFO] [stdout] 130 | pub(crate) trait ValueWrapper { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Milliseconds` is never used [INFO] [stdout] --> src/types.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) type Milliseconds = u16; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.21s [INFO] running `Command { std: "docker" "inspect" "a7afb5758f4c0c359ab4b2d972a4e982a36d0ddd4172889629dffc3804d018c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7afb5758f4c0c359ab4b2d972a4e982a36d0ddd4172889629dffc3804d018c1", kill_on_drop: false }` [INFO] [stdout] a7afb5758f4c0c359ab4b2d972a4e982a36d0ddd4172889629dffc3804d018c1