[INFO] cloning repository https://github.com/LPGhatguy/teensy-rust-experiment [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LPGhatguy/teensy-rust-experiment" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLPGhatguy%2Fteensy-rust-experiment", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLPGhatguy%2Fteensy-rust-experiment'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8a7c7dfd75acf5ca24e9e4171b4891baff430692 [INFO] checking LPGhatguy/teensy-rust-experiment/8a7c7dfd75acf5ca24e9e4171b4891baff430692 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLPGhatguy%2Fteensy-rust-experiment" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LPGhatguy/teensy-rust-experiment 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-1-tc1/source/.cargo/config [INFO] started tweaking git repo https://github.com/LPGhatguy/teensy-rust-experiment [INFO] finished tweaking git repo https://github.com/LPGhatguy/teensy-rust-experiment [INFO] tweaked toml for git repo https://github.com/LPGhatguy/teensy-rust-experiment written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/LPGhatguy/teensy-rust-experiment 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] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bitfield v0.13.2 [INFO] [stderr] Downloaded proc-macro2 v1.0.8 [INFO] [stderr] Downloaded cortex-m-rt-macros v0.1.8 [INFO] [stderr] Downloaded cortex-m-rt v0.6.12 [INFO] [stderr] Downloaded r0 v0.2.2 [INFO] [stderr] Downloaded volatile v0.2.6 [INFO] [stderr] Downloaded syn v1.0.14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 4150459d02518232cd33c67b6d6262aac8e4a7b65be90075d2fd4a17d6cdfc10 [INFO] running `Command { std: "docker" "start" "-a" "4150459d02518232cd33c67b6d6262aac8e4a7b65be90075d2fd4a17d6cdfc10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4150459d02518232cd33c67b6d6262aac8e4a7b65be90075d2fd4a17d6cdfc10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4150459d02518232cd33c67b6d6262aac8e4a7b65be90075d2fd4a17d6cdfc10", kill_on_drop: false }` [INFO] [stdout] 4150459d02518232cd33c67b6d6262aac8e4a7b65be90075d2fd4a17d6cdfc10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] a2d26ad4980825ee80c93890cfb0781f46b3a661e2bac7ca5c45d7fca38b17e8 [INFO] running `Command { std: "docker" "start" "-a" "a2d26ad4980825ee80c93890cfb0781f46b3a661e2bac7ca5c45d7fca38b17e8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Compiling cortex-m-rt v0.6.12 [INFO] [stderr] Checking r0 v0.2.2 [INFO] [stderr] Checking volatile v0.2.6 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling cortex-m-rt-macros v0.1.8 [INFO] [stderr] Checking teensy-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `core::arch::arm` [INFO] [stdout] --> src/watchdog.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | use core::{arch::arm::__nop, ptr}; [INFO] [stdout] | ^^^ could not find `arm` in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `core::arch::arm` [INFO] [stdout] --> src/main.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | use core::{arch::arm::__nop, panic::PanicInfo, ptr}; [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:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | use core::{arch::arm::__nop, ptr}; [INFO] [stdout] | ^^^ could not find `arm` in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `core::arch::arm` [INFO] [stdout] --> src/main.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | use core::{arch::arm::__nop, panic::PanicInfo, ptr}; [INFO] [stdout] | ^^^ could not find `arm` in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GpioOutputPin`, `PortName`, and `Port` [INFO] [stdout] --> src/main.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::port::{GpioOutputPin, Port, PortName}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GpioOutputPin`, `PortName`, and `Port` [INFO] [stdout] --> src/main.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::port::{GpioOutputPin, Port, PortName}; [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:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | / fn teensy_panic(_info: &PanicInfo) -> ! { [INFO] [stdout] 54 | | let portc_pcr5 = 0x4004_B014 as *mut u32; [INFO] [stdout] 55 | | [INFO] [stdout] 56 | | let gpioc_pdor = 0x400F_F080 as *mut u32; [INFO] [stdout] ... | [INFO] [stdout] 94 | | loop {} [INFO] [stdout] 95 | | } [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 (`teensy_rs`) [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: the feature `asm` has been stable since 1.59.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(stdsimd, asm)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [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, asm)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [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] [stderr] error: could not compile `teensy-rs` (bin "teensy-rs" test) due to 4 previous errors; 1 warning emitted [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/port.rs:99:23 [INFO] [stdout] | [INFO] [stdout] 99 | let pcr = &mut (*self.port.control).pcr[index] as *mut u32; [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/port.rs:116:24 [INFO] [stdout] | [INFO] [stdout] 116 | let pddr = &mut (*self.pin.port.gpio).pddr as *mut u32; [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/port.rs:128:24 [INFO] [stdout] | [INFO] [stdout] 128 | let pdir = &mut (*self.pin.port.gpio).pdir as *mut u32; [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/port.rs:143:24 [INFO] [stdout] | [INFO] [stdout] 143 | let pdor = &mut (*self.pin.port.gpio).pdor as *mut u32; [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/port.rs:153:24 [INFO] [stdout] | [INFO] [stdout] 153 | let pdor = &mut (*self.pin.port.gpio).pdor as *mut u32; [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:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | (*self.data1).clkdiv1.update(|value| { [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:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | (*self.data1).scgc5.update(|value| { [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] warning: unused variable: `mcg` [INFO] [stdout] --> src/main.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let mcg = mcg.into_fbe(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_mcg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors; 3 warnings emitted [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-rs` (bin "teensy-rs") due to 12 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a2d26ad4980825ee80c93890cfb0781f46b3a661e2bac7ca5c45d7fca38b17e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2d26ad4980825ee80c93890cfb0781f46b3a661e2bac7ca5c45d7fca38b17e8", kill_on_drop: false }` [INFO] [stdout] a2d26ad4980825ee80c93890cfb0781f46b3a661e2bac7ca5c45d7fca38b17e8