[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#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMangoIV%2Fpinsel_keyberon" "/workspace/builds/worker-103/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-103/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MangoIV/pinsel_keyberon on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-103/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-103/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: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded embedded-hal v0.2.5 [INFO] [stderr] Downloaded seq-macro v0.2.2 [INFO] [stderr] Downloaded cortex-m-rt v0.6.14 [INFO] [stderr] Downloaded usb-device v0.2.8 [INFO] [stderr] Downloaded replace_with v0.1.7 [INFO] [stderr] Downloaded modular-bitfield-impl v0.11.2 [INFO] [stderr] Downloaded cortex-m v0.7.2 [INFO] [stderr] Downloaded modular-bitfield v0.11.2 [INFO] [stderr] Downloaded usbd-serial 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-103/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-103/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d28a4669215eb07ddc1a99f253bbf1fdcb39b7619ab5e2eb5e0d265e90ffeb63 [INFO] running `Command { std: "docker" "start" "-a" "d28a4669215eb07ddc1a99f253bbf1fdcb39b7619ab5e2eb5e0d265e90ffeb63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d28a4669215eb07ddc1a99f253bbf1fdcb39b7619ab5e2eb5e0d265e90ffeb63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d28a4669215eb07ddc1a99f253bbf1fdcb39b7619ab5e2eb5e0d265e90ffeb63", kill_on_drop: false }` [INFO] [stdout] d28a4669215eb07ddc1a99f253bbf1fdcb39b7619ab5e2eb5e0d265e90ffeb63 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-103/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-103/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b3e45a60c98cc2ee574e49bc29e57fdd1319fc6504a9d38874a31cfe0dae7ad3 [INFO] running `Command { std: "docker" "start" "-a" "b3e45a60c98cc2ee574e49bc29e57fdd1319fc6504a9d38874a31cfe0dae7ad3", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling typenum v1.13.0 [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] Checking bitfield v0.13.2 [INFO] [stderr] Compiling cortex-m-rt v0.6.14 [INFO] [stderr] Compiling cortex-m v0.6.7 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking r0 v0.2.2 [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] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling heapless v0.5.6 [INFO] [stderr] Compiling arraydeque v0.4.5 [INFO] [stderr] Compiling heapless v0.6.1 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking replace_with v0.1.7 [INFO] [stderr] Compiling paste v1.0.5 [INFO] [stderr] Compiling seq-macro v0.2.2 [INFO] [stderr] Checking rtic-core v0.3.1 [INFO] [stderr] Checking panic-halt v0.2.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling cortex-m-rtic v0.5.6 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking volatile-register v0.2.0 [INFO] [stderr] Checking hash32 v0.1.1 [INFO] [stderr] Checking embedded-hal v0.2.5 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking usbd-serial v0.1.1 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling num-traits v0.2.14 [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 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [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: language item required, but not found: `eh_personality` [INFO] [stdout] [INFO] [stdout] [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] [INFO] [stdout] error[E0599]: the method `write` exists for struct `resources::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] | ---------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | method `write` not found for this [INFO] [stdout] | doesn't satisfy `_: embedded_hal::blocking::spi::write::Default<_>` [INFO] [stdout] | doesn't satisfy `_: embedded_hal::prelude::_embedded_hal_blocking_spi_Write<_>` [INFO] [stdout] ... [INFO] [stdout] 286 | block!(c.resources.i2c.write(b)).get(); [INFO] [stdout] | ^^^^^ method cannot be called on `resources::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] [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] 294 | fn CEC_CAN(); [INFO] [stdout] | ^^^^^^^ variant or associated item not found in `xiao_m0::atsamd21g::Interrupt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 4 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` due to 5 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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: 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-31d59393651153d0.rmeta [INFO] [stdout] = note: second definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/a7a572ce3edd6d476191fbfe92c9c1986e009b34/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1dd6c19f0820d51d.rlib [INFO] [stdout] [INFO] [stdout] [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] [INFO] [stdout] error[E0599]: the method `write` exists for struct `resources::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] | ---------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | method `write` not found for this [INFO] [stdout] | doesn't satisfy `_: embedded_hal::blocking::spi::write::Default<_>` [INFO] [stdout] | doesn't satisfy `_: embedded_hal::prelude::_embedded_hal_blocking_spi_Write<_>` [INFO] [stdout] ... [INFO] [stdout] 286 | block!(c.resources.i2c.write(b)).get(); [INFO] [stdout] | ^^^^^ method cannot be called on `resources::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] [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] 294 | fn CEC_CAN(); [INFO] [stdout] | ^^^^^^^ variant or associated item not found in `xiao_m0::atsamd21g::Interrupt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 4 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: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "b3e45a60c98cc2ee574e49bc29e57fdd1319fc6504a9d38874a31cfe0dae7ad3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3e45a60c98cc2ee574e49bc29e57fdd1319fc6504a9d38874a31cfe0dae7ad3", kill_on_drop: false }` [INFO] [stdout] b3e45a60c98cc2ee574e49bc29e57fdd1319fc6504a9d38874a31cfe0dae7ad3