[INFO] cloning repository https://github.com/fan2nd/ch347-hal [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fan2nd/ch347-hal" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffan2nd%2Fch347-hal", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffan2nd%2Fch347-hal'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fdaac827059290a9f4febf296cab388d12edbbb7 [INFO] checking fan2nd/ch347-hal against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffan2nd%2Fch347-hal" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/fan2nd/ch347-hal [INFO] finished tweaking git repo https://github.com/fan2nd/ch347-hal [INFO] tweaked toml for git repo https://github.com/fan2nd/ch347-hal written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/fan2nd/ch347-hal on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/fan2nd/ch347-hal 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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 190376f685911a2f43a572878241d99402e38294763120d80b5d8f33f6a4b313 [INFO] running `Command { std: "docker" "start" "-a" "190376f685911a2f43a572878241d99402e38294763120d80b5d8f33f6a4b313", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "190376f685911a2f43a572878241d99402e38294763120d80b5d8f33f6a4b313", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "190376f685911a2f43a572878241d99402e38294763120d80b5d8f33f6a4b313", kill_on_drop: false }` [INFO] [stdout] 190376f685911a2f43a572878241d99402e38294763120d80b5d8f33f6a4b313 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eea74b389da2e05ef64ebf619c302656b84d28c0280324d26f367e27060adb5a [INFO] running `Command { std: "docker" "start" "-a" "eea74b389da2e05ef64ebf619c302656b84d28c0280324d26f367e27060adb5a", kill_on_drop: false }` [INFO] [stderr] Compiling ch347-hal v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking embedded-hal v1.0.0 [INFO] [stdout] error[E0432]: unresolved import `ch347_hal::windows` [INFO] [stdout] --> examples/win-nor.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use ch347_hal::windows::{CH347, CH347SPI}; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `ch347_hal` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod windows; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: the item is gated behind the `windows` feature [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(target_os="windows")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ch347_hal::windows` [INFO] [stdout] --> examples/win-i2cscan.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use ch347_hal::windows::{CH347, CH347IIC}; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `ch347_hal` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod windows; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: the item is gated behind the `windows` feature [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(target_os="windows")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Operation` [INFO] [stdout] --> examples/win-i2cscan.rs:2:30 [INFO] [stdout] | [INFO] [stdout] 2 | use embedded_hal::i2c::{I2c, Operation}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ch347_hal::windows` [INFO] [stdout] --> examples/win-eeprom.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use ch347_hal::windows::{CH347, CH347IIC}; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `ch347_hal` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod windows; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: the item is gated behind the `windows` feature [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(target_os="windows")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Operation` [INFO] [stdout] --> examples/win-eeprom.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | use embedded_hal::i2c::{I2c, Operation}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ch347-hal` (example "win-nor") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `ch347-hal` (example "win-i2cscan") due to 1 previous error; 1 warning emitted [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ch347-hal` (example "win-eeprom") due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "eea74b389da2e05ef64ebf619c302656b84d28c0280324d26f367e27060adb5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eea74b389da2e05ef64ebf619c302656b84d28c0280324d26f367e27060adb5a", kill_on_drop: false }` [INFO] [stdout] eea74b389da2e05ef64ebf619c302656b84d28c0280324d26f367e27060adb5a