[INFO] cloning repository https://github.com/techhazard/teensy-firmware
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/techhazard/teensy-firmware" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftechhazard%2Fteensy-firmware", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftechhazard%2Fteensy-firmware'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] cbde05e4efa1fc38b5cd2241615b622d400417e9
[INFO] checking techhazard/teensy-firmware against 65b20a97de33e9e59992793a144aef2950c48c76 for pr-154715
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftechhazard%2Fteensy-firmware" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-3-tc2/source/.cargo/config
[INFO] started tweaking git repo https://github.com/techhazard/teensy-firmware
[INFO] finished tweaking git repo https://github.com/techhazard/teensy-firmware
[INFO] tweaked toml for git repo https://github.com/techhazard/teensy-firmware written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/techhazard/teensy-firmware on toolchain 65b20a97de33e9e59992793a144aef2950c48c76
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65b20a97de33e9e59992793a144aef2950c48c76" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/techhazard/teensy-firmware 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" "+65b20a97de33e9e59992793a144aef2950c48c76" "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]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 1f85c94a2d40772b7247273e3bb78ce0a800fd8b2fed4810edc92c54deb19742
[INFO] running `Command { std: "docker" "start" "1f85c94a2d40772b7247273e3bb78ce0a800fd8b2fed4810edc92c54deb19742", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1f85c94a2d40772b7247273e3bb78ce0a800fd8b2fed4810edc92c54deb19742", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "1f85c94a2d40772b7247273e3bb78ce0a800fd8b2fed4810edc92c54deb19742" "/opt/rustwide/cargo-home/bin/cargo" "+65b20a97de33e9e59992793a144aef2950c48c76" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1f85c94a2d40772b7247273e3bb78ce0a800fd8b2fed4810edc92c54deb19742", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "1f85c94a2d40772b7247273e3bb78ce0a800fd8b2fed4810edc92c54deb19742" "/opt/rustwide/cargo-home/bin/cargo" "+65b20a97de33e9e59992793a144aef2950c48c76" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking teensy-firmware v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `core::arch::arm`
[INFO] [stdout]  --> src/watchdog.rs:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | 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:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::arch::arm::__NOP;
[INFO] [stdout]   |                 ^^^ could not find `arm` in `arch`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/main.rs:13:1
[INFO] [stdout]    |
[INFO] [stdout] 13 | extern fn main() {
[INFO] [stdout]    | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(missing_abi)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/main.rs:38:1
[INFO] [stdout]    |
[INFO] [stdout] 38 | extern {
[INFO] [stdout]    | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/main.rs:44:30
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub static _VECTORS: [unsafe extern fn(); 2] = [
[INFO] [stdout]    |                              ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[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: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/main.rs:13:1
[INFO] [stdout]    |
[INFO] [stdout] 13 | extern fn main() {
[INFO] [stdout]    | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(missing_abi)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/main.rs:38:1
[INFO] [stdout]    |
[INFO] [stdout] 38 | extern {
[INFO] [stdout]    | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/main.rs:44:30
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub static _VECTORS: [unsafe extern fn(); 2] = [
[INFO] [stdout]    |                              ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0635]: unknown feature `stdsimd`
[INFO] [stdout]  --> src/main.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | #![feature(stdsimd)]
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl`
[INFO] [stdout]   --> src/main.rs:34:1
[INFO] [stdout]    |
[INFO] [stdout] 34 | / fn teensy_panic(_pi: &core::panic::PanicInfo) -> ! {
[INFO] [stdout] 35 | |     loop {};
[INFO] [stdout] 36 | | }
[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/65b20a97de33e9e59992793a144aef2950c48c76/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-2f7e17dbfe663611.rmeta
[INFO] [stdout]    = note: second definition in the local crate (`teensy_firmware`)
[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] error[E0793]: reference to field of packed struct is unaligned
[INFO] [stdout]   --> src/port.rs:33:66
[INFO] [stdout]    |
[INFO] [stdout] 33 |         let mut port_control_register = core::ptr::read_volatile(&self.pcr[port_number]);
[INFO] [stdout]    |                                                                  ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this struct is 1-byte aligned, but the type of this field may require higher alignment
[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 field of packed struct is unaligned
[INFO] [stdout]   --> src/port.rs:38:35
[INFO] [stdout]    |
[INFO] [stdout] 38 |         core::ptr::write_volatile(&mut self.pcr[port_number], port_control_register);
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this struct is 1-byte aligned, but the type of this field may require higher alignment
[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] [stderr] error: could not compile `teensy-firmware` (bin "teensy-firmware" test) due to 2 previous errors; 3 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0793]: reference to field of packed struct is unaligned
[INFO] [stdout]   --> src/port.rs:99:39
[INFO] [stdout]    |
[INFO] [stdout] 99 |             core::ptr::write_volatile(&mut (*self.gpio).pddr[self.pin], 1);
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this struct is 1-byte aligned, but the type of this field may require higher alignment
[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 field of packed struct is unaligned
[INFO] [stdout]    --> src/port.rs:105:39
[INFO] [stdout]     |
[INFO] [stdout] 105 |             core::ptr::write_volatile(&mut (*self.gpio).psor[self.pin], 1);
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this struct is 1-byte aligned, but the type of this field may require higher alignment
[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 field of packed struct is unaligned
[INFO] [stdout]    --> src/port.rs:111:39
[INFO] [stdout]     |
[INFO] [stdout] 111 |             core::ptr::write_volatile(&mut (*self.gpio).psor[self.pin], 0);
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this struct is 1-byte aligned, but the type of this field may require higher alignment
[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 field of packed struct is unaligned
[INFO] [stdout]   --> src/sim.rs:66:61
[INFO] [stdout]    |
[INFO] [stdout] 66 |                     let mut scgc = core::ptr::read_volatile(&self.scgc5);
[INFO] [stdout]    |                                                             ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this struct is 1-byte aligned, but the type of this field may require higher alignment
[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 field of packed struct is unaligned
[INFO] [stdout]   --> src/sim.rs:68:47
[INFO] [stdout]    |
[INFO] [stdout] 68 |                     core::ptr::write_volatile(&mut self.scgc5, scgc);
[INFO] [stdout]    |                                               ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this struct is 1-byte aligned, but the type of this field may require higher alignment
[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] Some errors have detailed explanations: E0432, E0635, E0793.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `teensy-firmware` (bin "teensy-firmware") due to 10 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "1f85c94a2d40772b7247273e3bb78ce0a800fd8b2fed4810edc92c54deb19742", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1f85c94a2d40772b7247273e3bb78ce0a800fd8b2fed4810edc92c54deb19742", kill_on_drop: false }`
[INFO] [stdout] 1f85c94a2d40772b7247273e3bb78ce0a800fd8b2fed4810edc92c54deb19742
