[INFO] cloning repository https://github.com/devansh-kumar-jha/rduino4 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/devansh-kumar-jha/rduino4" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdevansh-kumar-jha%2Frduino4", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdevansh-kumar-jha%2Frduino4'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e6134807ad3e38c5a3cce21ef35edc8ab7f81255 [INFO] checking devansh-kumar-jha/rduino4/e6134807ad3e38c5a3cce21ef35edc8ab7f81255 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdevansh-kumar-jha%2Frduino4" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/devansh-kumar-jha/rduino4 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-6-tc1/source/.cargo/config [INFO] started tweaking git repo https://github.com/devansh-kumar-jha/rduino4 [INFO] finished tweaking git repo https://github.com/devansh-kumar-jha/rduino4 [INFO] tweaked toml for git repo https://github.com/devansh-kumar-jha/rduino4 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/devansh-kumar-jha/rduino4 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7316cf5261e45c917a54176c31728e81fdf4924c166a3f903247b68e168af177 [INFO] running `Command { std: "docker" "start" "-a" "7316cf5261e45c917a54176c31728e81fdf4924c166a3f903247b68e168af177", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7316cf5261e45c917a54176c31728e81fdf4924c166a3f903247b68e168af177", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7316cf5261e45c917a54176c31728e81fdf4924c166a3f903247b68e168af177", kill_on_drop: false }` [INFO] [stdout] 7316cf5261e45c917a54176c31728e81fdf4924c166a3f903247b68e168af177 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] baa5ec03aea3d24d407618cdf5815a312e853a0288a73b78894e38e925aab62e [INFO] running `Command { std: "docker" "start" "-a" "baa5ec03aea3d24d407618cdf5815a312e853a0288a73b78894e38e925aab62e", kill_on_drop: false }` [INFO] [stderr] Checking rduino2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected one of `(`, `[`, or `{`, found `}` [INFO] [stdout] --> src/port.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 74 | _ => unreachable! [INFO] [stdout] | -- - expected one of `(`, `[`, or `{` [INFO] [stdout] | | [INFO] [stdout] | while parsing the `match` arm starting here [INFO] [stdout] 75 | } [INFO] [stdout] | ^ unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `(`, `[`, or `{`, found `}` [INFO] [stdout] --> src/port.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 74 | _ => unreachable! [INFO] [stdout] | -- - expected one of `(`, `[`, or `{` [INFO] [stdout] | | [INFO] [stdout] | while parsing the `match` arm starting here [INFO] [stdout] 75 | } [INFO] [stdout] | ^ unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `core::arch::arm` [INFO] [stdout] --> src/watchdog.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use core::arch::arm::__nop; [INFO] [stdout] | ^^^ could not find `arm` in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `core::arch::arm` [INFO] [stdout] --> src/watchdog.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use core::arch::arm::__nop; [INFO] [stdout] | ^^^ could not find `arm` in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Gpio` [INFO] [stdout] --> src/port.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 63 | / pub struct Gpio { [INFO] [stdout] 64 | | gpio: *mut GpioBitBand, [INFO] [stdout] 65 | | pin: usize, [INFO] [stdout] 66 | | } [INFO] [stdout] | |_- `Gpio` defined here [INFO] [stdout] ... [INFO] [stdout] 86 | Gpio [INFO] [stdout] | ^^^^ help: use struct literal syntax instead: `Gpio { gpio: val, pin: val }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Gpio` [INFO] [stdout] --> src/port.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 63 | / pub struct Gpio { [INFO] [stdout] 64 | | gpio: *mut GpioBitBand, [INFO] [stdout] 65 | | pin: usize, [INFO] [stdout] 66 | | } [INFO] [stdout] | |_- `Gpio` defined here [INFO] [stdout] ... [INFO] [stdout] 86 | Gpio [INFO] [stdout] | ^^^^ help: use struct literal syntax instead: `Gpio { gpio: val, pin: val }` [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[E0635]: unknown feature `stdsimd` [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(stdsimd)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> src/main.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | / fn teensy_panic(_pi: &core::panic::PanicInfo) -> ! { [INFO] [stdout] 32 | | loop {} [INFO] [stdout] 33 | | } [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/f609b7e0586f81fefb3523e3e17adf779ac416be/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-e0ee872a6f64065a.rlib [INFO] [stdout] = note: second definition in the local crate (`rduino2`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/port.rs:93:54 [INFO] [stdout] | [INFO] [stdout] 93 | pub unsafe fn new(port: PortName, pin: usize) -> Gpio { [INFO] [stdout] | --- ^^^^ expected `Gpio`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `pdor` on type `&mut Gpio` [INFO] [stdout] --> src/port.rs:105:65 [INFO] [stdout] | [INFO] [stdout] 105 | let mut ctrl_output = core::ptr::read_volatile(&self.pdor); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `gpio`, `pin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `pdor` on type `&mut Gpio` [INFO] [stdout] --> src/port.rs:106:48 [INFO] [stdout] | [INFO] [stdout] 106 | core::ptr::write_volatile(&mut self.pdor, ctrl_output |(1<<31)); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `gpio`, `pin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `psor` on type `&mut Gpio` [INFO] [stdout] --> src/port.rs:115:63 [INFO] [stdout] | [INFO] [stdout] 115 | let mut ctrl_disable = core::ptr::read_volatile(&self.psor); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `gpio`, `pin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `psor` on type `&mut Gpio` [INFO] [stdout] --> src/port.rs:116:45 [INFO] [stdout] | [INFO] [stdout] 116 | core::ptr::write_volatile(&mut self.psor, ctrl_disable | (1<<31) ); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `gpio`, `pin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/port.rs:32:48 [INFO] [stdout] | [INFO] [stdout] 32 | let mut pcr = core::ptr::read_volatile(&self.pcr[p]); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0152, E0423, E0432. [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/port.rs:36:35 [INFO] [stdout] | [INFO] [stdout] 36 | core::ptr::write_volatile(&mut self.pcr[p], pcr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/sim.rs:53:67 [INFO] [stdout] | [INFO] [stdout] 53 | let mut ctrl_scgc5 = core::ptr::read_volatile(&self.scgc5); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/sim.rs:54:47 [INFO] [stdout] | [INFO] [stdout] 54 | core::ptr::write_volatile(&mut self.scgc5, ctrl_scgc5 | (1 << 11) ); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: variable does not need to be mutable [INFO] [stdout] --> src/sim.rs:53:25 [INFO] [stdout] | [INFO] [stdout] 53 | let mut ctrl_scgc5 = core::ptr::read_volatile(&self.scgc5); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/main.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unused_mut)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0423, E0432, E0609, E0635, E0793. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rduino2` (bin "rduino2" test) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rduino2` (bin "rduino2") due to 16 previous errors [INFO] running `Command { std: "docker" "inspect" "baa5ec03aea3d24d407618cdf5815a312e853a0288a73b78894e38e925aab62e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "baa5ec03aea3d24d407618cdf5815a312e853a0288a73b78894e38e925aab62e", kill_on_drop: false }` [INFO] [stdout] baa5ec03aea3d24d407618cdf5815a312e853a0288a73b78894e38e925aab62e