[INFO] cloning repository https://github.com/MangoIV/pinsel_keyberon [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MangoIV/pinsel_keyberon" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMangoIV%2Fpinsel_keyberon", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMangoIV%2Fpinsel_keyberon'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b857e5daa409b78c924a5bb4062869d82c8eaf48 [INFO] checking MangoIV/pinsel_keyberon against master#bd71213cf0a765705e7d72a099151bd4eb465ccb for pr-123864 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMangoIV%2Fpinsel_keyberon" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MangoIV/pinsel_keyberon on toolchain bd71213cf0a765705e7d72a099151bd4eb465ccb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd71213cf0a765705e7d72a099151bd4eb465ccb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2-tc1/source/.cargo/config [INFO] started tweaking git repo https://github.com/MangoIV/pinsel_keyberon [INFO] finished tweaking git repo https://github.com/MangoIV/pinsel_keyberon [INFO] tweaked toml for git repo https://github.com/MangoIV/pinsel_keyberon written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/MangoIV/pinsel_keyberon 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" "+bd71213cf0a765705e7d72a099151bd4eb465ccb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/atsamd-rs/atsamd/` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking MangoIV/pinsel_keyberon against try#c0f799aeda763fc507814da0dc46c2dde7ca9133 for pr-123864 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMangoIV%2Fpinsel_keyberon" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MangoIV/pinsel_keyberon on toolchain c0f799aeda763fc507814da0dc46c2dde7ca9133 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c0f799aeda763fc507814da0dc46c2dde7ca9133" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2-tc2/source/.cargo/config [INFO] started tweaking git repo https://github.com/MangoIV/pinsel_keyberon [INFO] finished tweaking git repo https://github.com/MangoIV/pinsel_keyberon [INFO] tweaked toml for git repo https://github.com/MangoIV/pinsel_keyberon written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/MangoIV/pinsel_keyberon 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" "+c0f799aeda763fc507814da0dc46c2dde7ca9133" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cortex-m-rt v0.6.14 [INFO] [stderr] Downloaded rtic-syntax v0.4.0 [INFO] [stderr] Downloaded rtic-core v0.3.1 [INFO] [stderr] Downloaded cortex-m-rtic v0.5.6 [INFO] [stderr] Downloaded heapless v0.5.6 [INFO] [stderr] Downloaded cortex-m v0.7.2 [INFO] [stderr] Downloaded keyberon v0.1.1 [INFO] [stderr] Downloaded seq-macro v0.2.2 [INFO] [stderr] Downloaded cortex-m-rtic-macros v0.5.2 [INFO] [stderr] Downloaded heapless v0.6.1 [INFO] [stderr] Downloaded arraydeque v0.4.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+c0f799aeda763fc507814da0dc46c2dde7ca9133" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a1452096412d1273311a7f4b7fcedfe235474bf8965e2c7f44ea8d0c6b443386 [INFO] running `Command { std: "docker" "start" "-a" "a1452096412d1273311a7f4b7fcedfe235474bf8965e2c7f44ea8d0c6b443386", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a1452096412d1273311a7f4b7fcedfe235474bf8965e2c7f44ea8d0c6b443386", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1452096412d1273311a7f4b7fcedfe235474bf8965e2c7f44ea8d0c6b443386", kill_on_drop: false }` [INFO] [stdout] a1452096412d1273311a7f4b7fcedfe235474bf8965e2c7f44ea8d0c6b443386 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+c0f799aeda763fc507814da0dc46c2dde7ca9133" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 663c7429aa66ffe595c53e6a4d5502601e6ce34f8a90df75553e8222af64aadc [INFO] running `Command { std: "docker" "start" "-a" "663c7429aa66ffe595c53e6a4d5502601e6ce34f8a90df75553e8222af64aadc", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Checking nb v1.0.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling cortex-m v0.7.2 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Checking vcell v0.1.3 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking volatile-register v0.2.0 [INFO] [stderr] Checking embedded-hal v0.2.5 [INFO] [stderr] Compiling cortex-m v0.6.7 [INFO] [stderr] Compiling cortex-m-rt v0.6.14 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Checking r0 v0.2.2 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Checking usb-device v0.2.8 [INFO] [stderr] Compiling atsamd21g v0.9.0 (https://github.com/atsamd-rs/atsamd/?branch=master#9a9e7621) [INFO] [stderr] Checking hash32 v0.1.1 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling heapless v0.6.1 [INFO] [stderr] Compiling heapless v0.5.6 [INFO] [stderr] Compiling arraydeque v0.4.5 [INFO] [stderr] Compiling cortex-m-rtic v0.5.6 [INFO] [stderr] Compiling paste v1.0.5 [INFO] [stderr] Checking replace_with v0.1.7 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling seq-macro v0.2.2 [INFO] [stderr] Checking usbd-serial v0.1.1 [INFO] [stderr] Checking rtic-core v0.3.1 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking generic-array v0.13.3 [INFO] [stderr] Checking panic-halt v0.2.0 [INFO] [stderr] Checking as-slice v0.1.5 [INFO] [stderr] Checking aligned v0.3.4 [INFO] [stderr] Checking keyberon v0.1.1 [INFO] [stderr] Compiling rtic-syntax v0.4.0 [INFO] [stderr] Compiling cortex-m-rt-macros v0.1.8 [INFO] [stderr] Compiling modular-bitfield-impl v0.11.2 [INFO] [stderr] Compiling cortex-m-rtic-macros v0.5.2 [INFO] [stderr] Checking modular-bitfield v0.11.2 [INFO] [stderr] Checking atsamd-hal v0.12.0 (https://github.com/atsamd-rs/atsamd/?branch=master#9a9e7621) [INFO] [stderr] Checking xiao_m0 v0.9.0 (https://github.com/atsamd-rs/atsamd/?branch=master#9a9e7621) [INFO] [stderr] Checking pinsel v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Floating`, `Pins` [INFO] [stdout] --> src/main.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | use hal::gpio::v2::{Pin, Pins, Floating, Input, Output, PullUp, PushPull}; [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Sercom2Pad0`, `Sercom2Pad1` [INFO] [stdout] --> src/main.rs:14:31 [INFO] [stdout] | [INFO] [stdout] 14 | use hal::sercom::{I2CMaster2, Sercom2Pad0, Sercom2Pad1}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `m` [INFO] [stdout] --> src/main.rs:23:30 [INFO] [stdout] | [INFO] [stdout] 23 | use keyberon::action::{k, l, m, Action, Action::*}; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `usb_device::prelude::*` [INFO] [stdout] --> src/main.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use usb_device::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unwinding panics are not supported without std [INFO] [stdout] | [INFO] [stdout] = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding [INFO] [stdout] = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Floating`, `Pins` [INFO] [stdout] --> src/main.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | use hal::gpio::v2::{Pin, Pins, Floating, Input, Output, PullUp, PushPull}; [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Sercom2Pad0`, `Sercom2Pad1` [INFO] [stdout] --> src/main.rs:14:31 [INFO] [stdout] | [INFO] [stdout] 14 | use hal::sercom::{I2CMaster2, Sercom2Pad0, Sercom2Pad1}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `m` [INFO] [stdout] --> src/main.rs:23:30 [INFO] [stdout] | [INFO] [stdout] 23 | use keyberon::action::{k, l, m, Action, Action::*}; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `usb_device::prelude::*` [INFO] [stdout] --> src/main.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use usb_device::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: duplicate lang item in crate `std` (which `test` depends on): `panic_impl`. [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `panic_halt` (which `pinsel` depends on) [INFO] [stdout] = note: first definition in `panic_halt` loaded from /opt/rustwide/target/debug/deps/libpanic_halt-d4b2984cf0ecee47.rmeta [INFO] [stdout] = note: second definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/c0f799aeda763fc507814da0dc46c2dde7ca9133/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-6183181fa671dc5b.rlib [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pinsel` (bin "pinsel" test) due to 2 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:240:22 [INFO] [stdout] | [INFO] [stdout] 240 | BUF[3] = b; [INFO] [stdout] | ------ ^ expected `u8`, found `()` [INFO] [stdout] | | [INFO] [stdout] | expected due to the type of this binding [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `write` exists for struct `i2c<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/main.rs:286:40 [INFO] [stdout] | [INFO] [stdout] 138 | #[app(device = crate::hal::pac, peripherals = true)] [INFO] [stdout] | ---------------------------------------------------- method `write` not found for this struct because it doesn't satisfy `_: Default<_>` or `_: _embedded_hal_blocking_spi_Write<_>` [INFO] [stdout] ... [INFO] [stdout] 286 | block!(c.resources.i2c.write(b)).get(); [INFO] [stdout] | ^^^^^ method cannot be called on `i2c<'_>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `resources::i2c<'_>: embedded_hal::blocking::spi::write::Default<_>` [INFO] [stdout] which is required by `resources::i2c<'_>: embedded_hal::prelude::_embedded_hal_blocking_spi_Write<_>` [INFO] [stdout] note: the trait `embedded_hal::blocking::spi::write::Default` must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/embedded-hal-0.2.5/src/blocking/spi.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | pub trait Default: ::spi::FullDuplex {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Hasher` [INFO] [stdout] candidate #2: `embedded_hal::blocking::i2c::WriteIter` [INFO] [stdout] candidate #3: `embedded_hal::prelude::_embedded_hal_blocking_i2c_Write` [INFO] [stdout] candidate #4: `embedded_hal::prelude::_embedded_hal_blocking_spi_Write` [INFO] [stdout] candidate #5: `embedded_hal::prelude::_embedded_hal_serial_Write` [INFO] [stdout] candidate #6: `hash32::Hasher` [INFO] [stdout] candidate #7: `usb_device::bus::UsbBus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `CEC_CAN` found for enum `xiao_m0::atsamd21g::Interrupt` in the current scope [INFO] [stdout] --> src/main.rs:294:12 [INFO] [stdout] | [INFO] [stdout] 138 | #[app(device = crate::hal::pac, peripherals = true)] [INFO] [stdout] | ________________- [INFO] [stdout] 139 | | const APP: () = { [INFO] [stdout] 140 | | struct Resources{ [INFO] [stdout] 141 | | usb_dev: UsbDevice, [INFO] [stdout] ... | [INFO] [stdout] 293 | | extern "C" { [INFO] [stdout] 294 | | fn CEC_CAN(); [INFO] [stdout] | | -^^^^^^^ variant or associated item not found in `Interrupt` [INFO] [stdout] | |___________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | fn init(mut cx: init::Context) -> init::LateResources { [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:181:13 [INFO] [stdout] | [INFO] [stdout] 181 | let mut timer =timer::TimerCounter::tc3_( [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pinsel` (bin "pinsel") due to 5 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "663c7429aa66ffe595c53e6a4d5502601e6ce34f8a90df75553e8222af64aadc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "663c7429aa66ffe595c53e6a4d5502601e6ce34f8a90df75553e8222af64aadc", kill_on_drop: false }` [INFO] [stdout] 663c7429aa66ffe595c53e6a4d5502601e6ce34f8a90df75553e8222af64aadc