[INFO] cloning repository https://github.com/YanisARE/HW [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/YanisARE/HW" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYanisARE%2FHW", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYanisARE%2FHW'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7708ec44f5772ef2c38980c117f08c5a26abb9db [INFO] checking YanisARE/HW/7708ec44f5772ef2c38980c117f08c5a26abb9db against master#b2728d5426bab1d8c39709768c7e22b7f66dde5d for pr-135852 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYanisARE%2FHW" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/YanisARE/HW on toolchain b2728d5426bab1d8c39709768c7e22b7f66dde5d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/YanisARE/HW [INFO] finished tweaking git repo https://github.com/YanisARE/HW [INFO] tweaked toml for git repo https://github.com/YanisARE/HW written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/YanisARE/HW 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" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded generic-array v0.13.3 [INFO] [stderr] Downloaded cortex-m-semihosting v0.3.7 [INFO] [stderr] Downloaded cortex-m-rt v0.6.15 [INFO] [stderr] Downloaded as-slice v0.1.5 [INFO] [stderr] Downloaded cortex-m v0.6.7 [INFO] [stderr] Downloaded aligned v0.3.5 [INFO] [stderr] Downloaded cortex-m-rt-macros v0.6.15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ee04b032f7514fef9b491565ed55eff8ab7f224c081a368bc04e6c9f0aa369eb [INFO] running `Command { std: "docker" "start" "-a" "ee04b032f7514fef9b491565ed55eff8ab7f224c081a368bc04e6c9f0aa369eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ee04b032f7514fef9b491565ed55eff8ab7f224c081a368bc04e6c9f0aa369eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee04b032f7514fef9b491565ed55eff8ab7f224c081a368bc04e6c9f0aa369eb", kill_on_drop: false }` [INFO] [stdout] ee04b032f7514fef9b491565ed55eff8ab7f224c081a368bc04e6c9f0aa369eb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 060dfe1a7c22541bb1ba16321e1f585a513b22b276fd627576ec25d49ad443ef [INFO] running `Command { std: "docker" "start" "-a" "060dfe1a7c22541bb1ba16321e1f585a513b22b276fd627576ec25d49ad443ef", kill_on_drop: false }` [INFO] [stderr] Compiling cortex-m v0.7.7 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Checking nb v1.1.0 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking vcell v0.1.3 [INFO] [stderr] Checking volatile-register v0.2.2 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking generic-array v0.13.3 [INFO] [stderr] Checking embedded-hal v0.2.7 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Compiling cortex-m-rt v0.6.15 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Compiling cortex-m v0.6.7 [INFO] [stderr] Compiling cortex-m-semihosting v0.3.7 [INFO] [stderr] Compiling GPIO v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking r0 v0.2.2 [INFO] [stderr] Checking panic-halt v0.2.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking as-slice v0.1.5 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking aligned v0.3.5 [INFO] [stderr] Compiling cortex-m-rt-macros v0.6.15 [INFO] [stdout] error[E0432]: unresolved import `usart::Usart` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use usart::Usart; // import the Usart structure [INFO] [stdout] | ^^^^^^^^^^^^ no `Usart` in `usart` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/usart.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Usart { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: the item is gated behind the `avr` feature [INFO] [stdout] --> src/usart.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | #[cfg(target_arch = "avr")] // specific to AVR architecture [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/usart.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct Usart { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: the item is gated behind the `arm` feature [INFO] [stdout] --> src/usart.rs:64:7 [INFO] [stdout] | [INFO] [stdout] 64 | #[cfg(target_arch = "arm")] // specific to ARM architecture (STM32 or other Cortex-M) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `i2c::I2c` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use i2c::I2c; // import the I2C structure [INFO] [stdout] | ^^^^^^^^ no `I2c` in `i2c` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/i2c.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct I2c { [INFO] [stdout] | ^^^ [INFO] [stdout] note: the item is gated behind the `avr` feature [INFO] [stdout] --> src/i2c.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(target_arch = "avr")] // specific to the AVR architecture [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/i2c.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct I2c { [INFO] [stdout] | ^^^ [INFO] [stdout] note: the item is gated behind the `arm` feature [INFO] [stdout] --> src/i2c.rs:70:7 [INFO] [stdout] | [INFO] [stdout] 70 | #[cfg(target_arch = "arm")] // specific to the ARM architecture (STM32 or other Cortex-M) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::ptr` [INFO] [stdout] --> src/i2c.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::ptr; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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] error[E0432]: unresolved import `usart::Usart` [INFO] [stdout] --> src/atmega.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use usart::Usart; // import the Usart structure [INFO] [stdout] | ^^^^^^^^^^^^ no `Usart` in `usart` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/usart.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Usart { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: the item is gated behind the `avr` feature [INFO] [stdout] --> src/usart.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | #[cfg(target_arch = "avr")] // specific to AVR architecture [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/usart.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct Usart { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: the item is gated behind the `arm` feature [INFO] [stdout] --> src/usart.rs:64:7 [INFO] [stdout] | [INFO] [stdout] 64 | #[cfg(target_arch = "arm")] // specific to ARM architecture (STM32 or other Cortex-M) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `i2c::I2c` [INFO] [stdout] --> src/atmega.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use i2c::I2c; // import the I2C structure [INFO] [stdout] | ^^^^^^^^ no `I2c` in `i2c` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/i2c.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct I2c { [INFO] [stdout] | ^^^ [INFO] [stdout] note: the item is gated behind the `avr` feature [INFO] [stdout] --> src/i2c.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(target_arch = "avr")] // specific to the AVR architecture [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/i2c.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct I2c { [INFO] [stdout] | ^^^ [INFO] [stdout] note: the item is gated behind the `arm` feature [INFO] [stdout] --> src/i2c.rs:70:7 [INFO] [stdout] | [INFO] [stdout] 70 | #[cfg(target_arch = "arm")] // specific to the ARM architecture (STM32 or other Cortex-M) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::ptr` [INFO] [stdout] --> src/i2c.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::ptr; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GpioPin` and `PinMode` [INFO] [stdout] --> src/atmega.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | use gpio::{GpioPin, PinMode, SpiPins}; // add SpiPins [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] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `GPIO` (bin "thumbv7") due to 3 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved import `usart::Usart` [INFO] [stdout] --> src/atmega.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use usart::Usart; // import the Usart structure [INFO] [stdout] | ^^^^^^^^^^^^ no `Usart` in `usart` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/usart.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Usart { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: the item is gated behind the `avr` feature [INFO] [stdout] --> src/usart.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | #[cfg(target_arch = "avr")] // specific to AVR architecture [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/usart.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct Usart { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: the item is gated behind the `arm` feature [INFO] [stdout] --> src/usart.rs:64:7 [INFO] [stdout] | [INFO] [stdout] 64 | #[cfg(target_arch = "arm")] // specific to ARM architecture (STM32 or other Cortex-M) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `i2c::I2c` [INFO] [stdout] --> src/atmega.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use i2c::I2c; // import the I2C structure [INFO] [stdout] | ^^^^^^^^ no `I2c` in `i2c` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/i2c.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct I2c { [INFO] [stdout] | ^^^ [INFO] [stdout] note: the item is gated behind the `avr` feature [INFO] [stdout] --> src/i2c.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(target_arch = "avr")] // specific to the AVR architecture [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/i2c.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct I2c { [INFO] [stdout] | ^^^ [INFO] [stdout] note: the item is gated behind the `arm` feature [INFO] [stdout] --> src/i2c.rs:70:7 [INFO] [stdout] | [INFO] [stdout] 70 | #[cfg(target_arch = "arm")] // specific to the ARM architecture (STM32 or other Cortex-M) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `usart::Usart` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use usart::Usart; // import the Usart structure [INFO] [stdout] | ^^^^^^^^^^^^ no `Usart` in `usart` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/usart.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Usart { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: the item is gated behind the `avr` feature [INFO] [stdout] --> src/usart.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | #[cfg(target_arch = "avr")] // specific to AVR architecture [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/usart.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct Usart { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: the item is gated behind the `arm` feature [INFO] [stdout] --> src/usart.rs:64:7 [INFO] [stdout] | [INFO] [stdout] 64 | #[cfg(target_arch = "arm")] // specific to ARM architecture (STM32 or other Cortex-M) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `i2c::I2c` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use i2c::I2c; // import the I2C structure [INFO] [stdout] | ^^^^^^^^ no `I2c` in `i2c` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/i2c.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct I2c { [INFO] [stdout] | ^^^ [INFO] [stdout] note: the item is gated behind the `avr` feature [INFO] [stdout] --> src/i2c.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(target_arch = "avr")] // specific to the AVR architecture [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/i2c.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct I2c { [INFO] [stdout] | ^^^ [INFO] [stdout] note: the item is gated behind the `arm` feature [INFO] [stdout] --> src/i2c.rs:70:7 [INFO] [stdout] | [INFO] [stdout] 70 | #[cfg(target_arch = "arm")] // specific to the ARM architecture (STM32 or other Cortex-M) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::ptr` [INFO] [stdout] --> src/i2c.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::ptr; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> src/main.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / fn panic(_info: &core::panic::PanicInfo) -> ! { [INFO] [stdout] 20 | | loop {} [INFO] [stdout] 21 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std` (which `test` depends on) [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/b2728d5426bab1d8c39709768c7e22b7f66dde5d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-43b59670b7ad3fb9.rlib [INFO] [stdout] = note: second definition in the local crate (`thumbv7`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::ptr` [INFO] [stdout] --> src/i2c.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::ptr; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GpioPin` and `PinMode` [INFO] [stdout] --> src/atmega.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | use gpio::{GpioPin, PinMode, SpiPins}; // add SpiPins [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> src/atmega.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / fn panic(_info: &core::panic::PanicInfo) -> ! { [INFO] [stdout] 18 | | loop {} [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std` (which `test` depends on) [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/b2728d5426bab1d8c39709768c7e22b7f66dde5d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-43b59670b7ad3fb9.rlib [INFO] [stdout] = note: second definition in the local crate (`atmega`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0152, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0152, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: could not compile `GPIO` (bin "atmega" test) due to 3 previous errors; 2 warnings emitted [INFO] [stderr] error: could not compile `GPIO` (bin "thumbv7" test) due to 3 previous errors; 1 warning emitted [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `GPIO` (bin "atmega") due to 3 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "060dfe1a7c22541bb1ba16321e1f585a513b22b276fd627576ec25d49ad443ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "060dfe1a7c22541bb1ba16321e1f585a513b22b276fd627576ec25d49ad443ef", kill_on_drop: false }` [INFO] [stdout] 060dfe1a7c22541bb1ba16321e1f585a513b22b276fd627576ec25d49ad443ef