[INFO] fetching crate sen5x 0.0.1... [INFO] testing sen5x-0.0.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate sen5x 0.0.1 into /workspace/builds/worker-0-tc1/source [INFO] removed /workspace/builds/worker-0-tc1/source/.cargo/config.toml [INFO] started tweaking crates.io crate sen5x 0.0.1 [INFO] finished tweaking crates.io crate sen5x 0.0.1 [INFO] tweaked toml for crates.io crate sen5x 0.0.1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate sen5x 0.0.1 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate sen5x 0.0.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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sensirion-i2c v0.2.0 [INFO] [stderr] Downloaded sysfs_gpio v0.6.1 [INFO] [stderr] Downloaded embedded-hal-mock v0.9.0 [INFO] [stderr] Downloaded embedded-time v0.12.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d95e75557639c0d77bc50e8bee4b0e53487f1e106c460829a266d05fe4373c1d [INFO] running `Command { std: "docker" "start" "-a" "d95e75557639c0d77bc50e8bee4b0e53487f1e106c460829a266d05fe4373c1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d95e75557639c0d77bc50e8bee4b0e53487f1e106c460829a266d05fe4373c1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d95e75557639c0d77bc50e8bee4b0e53487f1e106c460829a266d05fe4373c1d", kill_on_drop: false }` [INFO] [stdout] d95e75557639c0d77bc50e8bee4b0e53487f1e106c460829a266d05fe4373c1d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 42dd72e442e79159e6cb24722d3b7c465e6f1367cc96a88acdeb249b988d2ab4 [INFO] running `Command { std: "docker" "start" "-a" "42dd72e442e79159e6cb24722d3b7c465e6f1367cc96a88acdeb249b988d2ab4", kill_on_drop: false }` [INFO] [stderr] Compiling nb v1.1.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling embedded-hal v0.2.7 [INFO] [stderr] Compiling sensirion-i2c v0.2.0 [INFO] [stderr] Compiling sen5x v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `thiserror` [INFO] [stdout] --> src/error.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg_attr(feature = "thiserror", derive(thiserror::Error))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [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:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg_attr(feature = "thiserror", error("I2C: {0}"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [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("CRC"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [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:16:16 [INFO] [stdout] | [INFO] [stdout] 16 | #[cfg_attr(feature = "thiserror", error("Not Allowed"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [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:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | #[cfg_attr(feature = "thiserror", error("Internal"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] running `Command { std: "docker" "inspect" "42dd72e442e79159e6cb24722d3b7c465e6f1367cc96a88acdeb249b988d2ab4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42dd72e442e79159e6cb24722d3b7c465e6f1367cc96a88acdeb249b988d2ab4", kill_on_drop: false }` [INFO] [stdout] 42dd72e442e79159e6cb24722d3b7c465e6f1367cc96a88acdeb249b988d2ab4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 105fbd4020e3fdf056cf89558efb0417318d267e2df2440e7474d5f7981597e3 [INFO] running `Command { std: "docker" "start" "-a" "105fbd4020e3fdf056cf89558efb0417318d267e2df2440e7474d5f7981597e3", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling embedded-hal v0.2.7 [INFO] [stderr] Compiling sensirion-i2c v0.2.0 [INFO] [stderr] Compiling sen5x v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `thiserror` [INFO] [stdout] --> src/error.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg_attr(feature = "thiserror", derive(thiserror::Error))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [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:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg_attr(feature = "thiserror", error("I2C: {0}"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [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("CRC"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [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:16:16 [INFO] [stdout] | [INFO] [stdout] 16 | #[cfg_attr(feature = "thiserror", error("Not Allowed"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [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:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | #[cfg_attr(feature = "thiserror", error("Internal"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [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] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-complex v0.3.1 [INFO] [stderr] Compiling nix v0.23.2 [INFO] [stderr] Compiling ioctl-rs v0.1.6 [INFO] [stderr] Compiling termios v0.2.2 [INFO] [stderr] Compiling serial-core v0.4.0 [INFO] [stderr] Compiling serial-unix v0.4.0 [INFO] [stderr] Compiling num v0.3.1 [INFO] [stderr] Compiling embedded-time v0.12.1 [INFO] [stderr] Compiling embedded-hal-mock v0.9.0 [INFO] [stderr] Compiling gpio-cdev v0.5.1 [INFO] [stderr] Compiling sysfs_gpio v0.6.1 [INFO] [stderr] Compiling spidev v0.5.2 [INFO] [stderr] Compiling i2cdev v0.5.1 [INFO] [stderr] Compiling linux-embedded-hal v0.3.2 [INFO] [stdout] warning: unused import: `embedded_hal::blocking::delay::DelayMs` [INFO] [stdout] --> examples/rp.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use embedded_hal::blocking::delay::DelayMs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Delay` and `I2cdev` [INFO] [stdout] --> examples/rp.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use hal::{Delay, I2cdev}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `thiserror` [INFO] [stdout] --> src/error.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg_attr(feature = "thiserror", derive(thiserror::Error))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [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:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg_attr(feature = "thiserror", error("I2C: {0}"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [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("CRC"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [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:16:16 [INFO] [stdout] | [INFO] [stdout] 16 | #[cfg_attr(feature = "thiserror", error("Not Allowed"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [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:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | #[cfg_attr(feature = "thiserror", error("Internal"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [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[E0308]: mismatched types [INFO] [stdout] --> src/sen5x.rs:224:13 [INFO] [stdout] | [INFO] [stdout] 224 | let (cmd, _, _) = Command::GetSerialNumber.as_tuple(); [INFO] [stdout] | ^^^^^^^^^^^ ----------------------------------- this expression has type `(u16, u32)` [INFO] [stdout] | | [INFO] [stdout] | expected a tuple with 2 elements, found one with 3 elements [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(u16, u32)` [INFO] [stdout] found tuple `(_, _, _)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sen5x` (lib test) due to 1 previous error; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "105fbd4020e3fdf056cf89558efb0417318d267e2df2440e7474d5f7981597e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "105fbd4020e3fdf056cf89558efb0417318d267e2df2440e7474d5f7981597e3", kill_on_drop: false }` [INFO] [stdout] 105fbd4020e3fdf056cf89558efb0417318d267e2df2440e7474d5f7981597e3