[INFO] cloning repository https://github.com/tomasz-wiszkowski/rust-attiny85-spi [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tomasz-wiszkowski/rust-attiny85-spi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftomasz-wiszkowski%2Frust-attiny85-spi", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftomasz-wiszkowski%2Frust-attiny85-spi'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e9417f91dbd811717e03a3db0f3c319cacd48a76 [INFO] checking tomasz-wiszkowski/rust-attiny85-spi against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftomasz-wiszkowski%2Frust-attiny85-spi" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-5-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/tomasz-wiszkowski/rust-attiny85-spi [INFO] finished tweaking git repo https://github.com/tomasz-wiszkowski/rust-attiny85-spi [INFO] tweaked toml for git repo https://github.com/tomasz-wiszkowski/rust-attiny85-spi written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tomasz-wiszkowski/rust-attiny85-spi 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/tomasz-wiszkowski/rust-attiny85-spi 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] [stderr] Updating git repository `https://github.com/Rahix/avr-hal` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ufmt-macros v0.3.0 [INFO] [stderr] Downloaded ufmt-write v0.1.0 [INFO] [stderr] Downloaded ufmt-macros v0.2.0 [INFO] [stderr] Downloaded bare-metal v1.0.0 [INFO] [stderr] Downloaded embedded-storage v0.2.0 [INFO] [stderr] Downloaded panic-halt v0.2.0 [INFO] [stderr] Downloaded avr-device-macros v0.5.1 [INFO] [stderr] Downloaded ufmt v0.2.0 [INFO] [stderr] Downloaded ufmt v0.1.2 [INFO] [stderr] Downloaded avr-device v0.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] cb6584fc1b45f56164c98b3a1855d720ef513208f92565ee09db9fc5f63595f7 [INFO] running `Command { std: "docker" "start" "-a" "cb6584fc1b45f56164c98b3a1855d720ef513208f92565ee09db9fc5f63595f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cb6584fc1b45f56164c98b3a1855d720ef513208f92565ee09db9fc5f63595f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb6584fc1b45f56164c98b3a1855d720ef513208f92565ee09db9fc5f63595f7", kill_on_drop: false }` [INFO] [stdout] cb6584fc1b45f56164c98b3a1855d720ef513208f92565ee09db9fc5f63595f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] beb38829c8f8002656b53bcca8d8fe9bc129fc222f18f785525027ed29344bdd [INFO] running `Command { std: "docker" "start" "-a" "beb38829c8f8002656b53bcca8d8fe9bc129fc222f18f785525027ed29344bdd", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking ufmt-write v0.1.0 [INFO] [stderr] Checking nb v1.1.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking bare-metal v1.0.0 [INFO] [stderr] Checking vcell v0.1.3 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking embedded-storage v0.2.0 [INFO] [stderr] Checking panic-halt v0.2.0 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking embedded-hal v0.2.7 [INFO] [stderr] Compiling avr-hal-generic v0.1.0 (https://github.com/Rahix/avr-hal?branch=main#e490872a) [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Compiling ufmt-macros v0.2.0 [INFO] [stderr] Compiling avr-device-macros v0.5.1 [INFO] [stderr] Compiling ufmt-macros v0.3.0 [INFO] [stderr] Checking ufmt v0.2.0 [INFO] [stderr] Checking ufmt v0.1.2 [INFO] [stderr] Checking avr-device v0.5.1 [INFO] [stderr] Checking attiny-hal v0.1.0 (https://github.com/Rahix/avr-hal?branch=main#e490872a) [INFO] [stderr] Checking arduino-hal v0.1.0 (https://github.com/Rahix/avr-hal?branch=main#e490872a) [INFO] [stderr] Checking attiny85 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `LedType_WS2812B_GRB` should have an upper camel case name [INFO] [stdout] --> src/ws2812b.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct LedType_WS2812B_GRB; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LedTypeWs2812bGrb` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `LedType_WS2812B_RGBW` should have an upper camel case name [INFO] [stdout] --> src/ws2812b.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct LedType_WS2812B_RGBW; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LedTypeWs2812bRgbw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `LedType_WS2812B_GRB` should have an upper camel case name [INFO] [stdout] --> src/ws2812b.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct LedType_WS2812B_GRB; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LedTypeWs2812bGrb` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `LedType_WS2812B_RGBW` should have an upper camel case name [INFO] [stdout] --> src/ws2812b.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct LedType_WS2812B_RGBW; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LedTypeWs2812bRgbw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Ensure that you are using an AVR target! You may need to change directories or pass a --target flag to cargo. See [INFO] [stdout] https://github.com/Rahix/avr-device/pull/41 for more details. [INFO] [stdout] --> examples/stutter_blink.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[arduino_hal::entry] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `arduino_hal::entry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Ensure that you are using an AVR target! You may need to change directories or pass a --target flag to cargo. See [INFO] [stdout] https://github.com/Rahix/avr-device/pull/41 for more details. [INFO] [stdout] --> examples/spi_slave.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | #[arduino_hal::entry] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `arduino_hal::entry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Ensure that you are using an AVR target! You may need to change directories or pass a --target flag to cargo. See [INFO] [stdout] https://github.com/Rahix/avr-device/pull/41 for more details. [INFO] [stdout] --> examples/fading_blink.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[arduino_hal::entry] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `arduino_hal::entry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Ensure that you are using an AVR target! You may need to change directories or pass a --target flag to cargo. See [INFO] [stdout] https://github.com/Rahix/avr-device/pull/41 for more details. [INFO] [stdout] --> examples/spi_master.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | #[arduino_hal::entry] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `arduino_hal::entry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Ensure that you are using an AVR target! You may need to change directories or pass a --target flag to cargo. See [INFO] [stdout] https://github.com/Rahix/avr-device/pull/41 for more details. [INFO] [stdout] --> examples/ws2812b.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[arduino_hal::entry] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `arduino_hal::entry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `attiny85` (example "spi_slave") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `attiny85` (example "stutter_blink") due to 1 previous error [INFO] [stderr] error: could not compile `attiny85` (example "fading_blink") due to 1 previous error [INFO] [stderr] error: could not compile `attiny85` (example "ws2812b") due to 1 previous error [INFO] [stdout] error[E0599]: no method named `read` found for struct `MicroSPI` in the current scope [INFO] [stdout] --> examples/spi_master.rs:40:20 [INFO] [stdout] | [INFO] [stdout] 40 | master.read(&mut data_in).unwrap(); [INFO] [stdout] | ^^^^ method not found in `MicroSPI<'_, RoleMaster>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/spi.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | fn read(&mut self, dat: &mut [u8]) -> Result; [INFO] [stdout] | ---- the method is available for `MicroSPI<'_, RoleMaster>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `SPIRead` which provides `read` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 4 + use attiny85::spi::SPIRead; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `attiny85` (example "spi_master") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "beb38829c8f8002656b53bcca8d8fe9bc129fc222f18f785525027ed29344bdd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "beb38829c8f8002656b53bcca8d8fe9bc129fc222f18f785525027ed29344bdd", kill_on_drop: false }` [INFO] [stdout] beb38829c8f8002656b53bcca8d8fe9bc129fc222f18f785525027ed29344bdd