[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 try#5fee451ebd94296ea05214e819c311e164b30af6 for pr-139042 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMangoIV%2Fpinsel_keyberon" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MangoIV/pinsel_keyberon on toolchain 5fee451ebd94296ea05214e819c311e164b30af6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5fee451ebd94296ea05214e819c311e164b30af6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5-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-5-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" "+5fee451ebd94296ea05214e819c311e164b30af6" "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 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded usbd-serial v0.1.1 [INFO] [stderr] Downloaded seq-macro v0.2.2 [INFO] [stderr] Downloaded cortex-m v0.6.7 [INFO] [stderr] Downloaded usb-device v0.2.8 [INFO] [stderr] Downloaded aligned v0.3.4 [INFO] [stderr] Downloaded cortex-m-rt v0.6.14 [INFO] [stderr] Downloaded rtic-core v0.3.1 [INFO] [stderr] Downloaded rtic-syntax v0.4.0 [INFO] [stderr] Downloaded heapless v0.5.6 [INFO] [stderr] Downloaded heapless v0.6.1 [INFO] [stderr] Downloaded cortex-m-rtic-macros v0.5.2 [INFO] [stderr] Downloaded arraydeque v0.4.5 [INFO] [stderr] Downloaded cortex-m v0.7.2 [INFO] [stderr] Downloaded embedded-hal v0.2.5 [INFO] [stderr] Downloaded hash32 v0.1.1 [INFO] [stderr] Downloaded cortex-m-rtic v0.5.6 [INFO] [stderr] Downloaded keyberon v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+5fee451ebd94296ea05214e819c311e164b30af6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 12ea42a846d0dc8b28f231dfcebe84dcd422fb712b4bb571389e349058d77fb4 [INFO] running `Command { std: "docker" "start" "-a" "12ea42a846d0dc8b28f231dfcebe84dcd422fb712b4bb571389e349058d77fb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "12ea42a846d0dc8b28f231dfcebe84dcd422fb712b4bb571389e349058d77fb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12ea42a846d0dc8b28f231dfcebe84dcd422fb712b4bb571389e349058d77fb4", kill_on_drop: false }` [INFO] [stdout] 12ea42a846d0dc8b28f231dfcebe84dcd422fb712b4bb571389e349058d77fb4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+5fee451ebd94296ea05214e819c311e164b30af6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 653bef3531e31759df920d672c3667e71896354c7a0ef22708ae1ff053b6e8a4 [INFO] running `Command { std: "docker" "start" "-a" "653bef3531e31759df920d672c3667e71896354c7a0ef22708ae1ff053b6e8a4", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking nb v1.0.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling cortex-m v0.7.2 [INFO] [stderr] Checking vcell v0.1.3 [INFO] [stderr] Compiling cortex-m-rt v0.6.14 [INFO] [stderr] Compiling cortex-m v0.6.7 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Checking r0 v0.2.2 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling atsamd21g v0.9.0 (https://github.com/atsamd-rs/atsamd/?branch=master#9a9e7621) [INFO] [stderr] Checking volatile-register v0.2.0 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Checking usb-device v0.2.8 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking embedded-hal v0.2.5 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling heapless v0.6.1 [INFO] [stderr] Compiling heapless v0.5.6 [INFO] [stderr] Compiling arraydeque v0.4.5 [INFO] [stderr] Checking replace_with v0.1.7 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking hash32 v0.1.1 [INFO] [stderr] Compiling paste v1.0.5 [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] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling cortex-m-rtic v0.5.6 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking panic-halt v0.2.0 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Checking generic-array v0.13.3 [INFO] [stderr] Checking generic-array v0.12.4 [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` and `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` and `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] warning: unexpected `cfg` condition name: `core` [INFO] [stdout] --> src/main.rs:138:1 [INFO] [stdout] | [INFO] [stdout] 138 | #[app(device = crate::hal::pac, peripherals = true)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `app` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `app` may come from an old version of the `cortex_m_rtic_macros` crate, try updating your dependency with `cargo update -p cortex_m_rtic_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `app` (in Nightly builds, run with -Z macro-backtrace for more info) [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` and `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` and `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] warning: unexpected `cfg` condition name: `core` [INFO] [stdout] --> src/main.rs:138:1 [INFO] [stdout] | [INFO] [stdout] 138 | #[app(device = crate::hal::pac, peripherals = true)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `app` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `app` may come from an old version of the `cortex_m_rtic_macros` crate, try updating your dependency with `cargo update -p cortex_m_rtic_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `app` (in Nightly builds, run with -Z macro-backtrace for more info) [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-b09f8ab056e64272.rmeta [INFO] [stdout] = note: second definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/5fee451ebd94296ea05214e819c311e164b30af6/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-a8a1b340385a4070.rlib [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 1 previous error; 5 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-1949cf8c6b5b557f/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] 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 4 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "653bef3531e31759df920d672c3667e71896354c7a0ef22708ae1ff053b6e8a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "653bef3531e31759df920d672c3667e71896354c7a0ef22708ae1ff053b6e8a4", kill_on_drop: false }` [INFO] [stdout] 653bef3531e31759df920d672c3667e71896354c7a0ef22708ae1ff053b6e8a4