[INFO] cloning repository https://github.com/OlivierLemoine/raspberry-pi-4-hal [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/OlivierLemoine/raspberry-pi-4-hal" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOlivierLemoine%2Fraspberry-pi-4-hal", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOlivierLemoine%2Fraspberry-pi-4-hal'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0c7a04cd7ebf33e886d43915f368694130899626 [INFO] checking OlivierLemoine/raspberry-pi-4-hal against master#3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 for pr-65819 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOlivierLemoine%2Fraspberry-pi-4-hal" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/OlivierLemoine/raspberry-pi-4-hal on toolchain 3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0/source/.cargo/config [INFO] started tweaking git repo https://github.com/OlivierLemoine/raspberry-pi-4-hal [INFO] finished tweaking git repo https://github.com/OlivierLemoine/raspberry-pi-4-hal [INFO] tweaked toml for git repo https://github.com/OlivierLemoine/raspberry-pi-4-hal written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/OlivierLemoine/raspberry-pi-4-hal already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f474b7a2ae1eda313dc09c3600827e13686efe5f6e18347406a69067d4a8e55d [INFO] running `Command { std: "docker" "start" "-a" "f474b7a2ae1eda313dc09c3600827e13686efe5f6e18347406a69067d4a8e55d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f474b7a2ae1eda313dc09c3600827e13686efe5f6e18347406a69067d4a8e55d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f474b7a2ae1eda313dc09c3600827e13686efe5f6e18347406a69067d4a8e55d", kill_on_drop: false }` [INFO] [stdout] f474b7a2ae1eda313dc09c3600827e13686efe5f6e18347406a69067d4a8e55d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 07d58f7b8c12a94050d23f27dce72a672c68733ca50f2e9d001aa4e8f4b74ba5 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "07d58f7b8c12a94050d23f27dce72a672c68733ca50f2e9d001aa4e8f4b74ba5", kill_on_drop: false }` [INFO] [stderr] Checking register v0.1.0 (/opt/rustwide/workdir/register) [INFO] [stderr] Checking hal v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `const_generics` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(const_generics)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] = note: see issue #44580 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_evaluatable_checked` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/lib.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | #![feature(const_evaluatable_checked)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #76560 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/mailbox.rs:339:13 [INFO] [stdout] | [INFO] [stdout] 339 | for i in 0..Self::LEN { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buffer` [INFO] [stdout] --> src/mailbox.rs:338:24 [INFO] [stdout] | [INFO] [stdout] 338 | fn serialize(self, buffer: &mut [u32]) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> src/gpio.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | / if v { [INFO] [stdout] 90 | | &mut gpio().GPSET [INFO] [stdout] 91 | | } else { [INFO] [stdout] 92 | | &mut gpio().GPCLR [INFO] [stdout] 93 | | } [INFO] [stdout] 94 | | .value [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unaligned_references)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> src/gpio.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | / gpio() [INFO] [stdout] 101 | | .GPLEV [INFO] [stdout] 102 | | .value [INFO] [stdout] | |__________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> src/gpio.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | / gpio() [INFO] [stdout] 108 | | .GPFSEL [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> src/gpio.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | / gpio() [INFO] [stdout] 115 | | .GPPUD [INFO] [stdout] 116 | | .CNTRL_OFF [INFO] [stdout] 117 | | .GPIO_PUP_PDN_CNTRL [INFO] [stdout] | |_______________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> src/gpio.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | / gpio() [INFO] [stdout] 142 | | .GPREN [INFO] [stdout] 143 | | .value [INFO] [stdout] | |__________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> src/gpio.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | / gpio() [INFO] [stdout] 150 | | .GPFEN [INFO] [stdout] 151 | | .value [INFO] [stdout] | |__________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> src/gpio.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | / gpio() [INFO] [stdout] 158 | | .GPHEN [INFO] [stdout] 159 | | .value [INFO] [stdout] | |__________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> src/gpio.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | / gpio() [INFO] [stdout] 166 | | .GPLEN [INFO] [stdout] 167 | | .value [INFO] [stdout] | |__________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> src/mailbox.rs:58:24 [INFO] [stdout] | [INFO] [stdout] 58 | while unsafe { mailbox().write.param.status.get(31) } {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> src/mailbox.rs:60:18 [INFO] [stdout] | [INFO] [stdout] 60 | unsafe { mailbox().write.write.write(message) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> src/mailbox.rs:66:28 [INFO] [stdout] | [INFO] [stdout] 66 | while unsafe { mailbox().read.param.status.get(30) } {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> src/mailbox.rs:68:36 [INFO] [stdout] | [INFO] [stdout] 68 | let message = unsafe { mailbox().read.read.read() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_generics` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(const_generics)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] = note: see issue #44580 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_evaluatable_checked` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/lib.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | #![feature(const_evaluatable_checked)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #76560 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> src/uart.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | aux().ENABLES.write(1); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> src/uart.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | aux().MU.control.write(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> src/uart.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | aux().MU.IER.write(0); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> src/uart.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | aux().MU.IIR.write(0b1100_0110); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> src/uart.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | aux().MU.LCR.write(0b11); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> src/uart.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | aux().MU.MCR.write(0); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> src/uart.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | aux().MU.baud_rate.write(BAUD_RATE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> src/uart.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | aux().MU.control.write(0b11); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> src/uart.rs:41:25 [INFO] [stdout] | [INFO] [stdout] 41 | if unsafe { aux().MU.status.get(1) } { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> src/uart.rs:45:18 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe { aux().MU.IO.write(c as u32) }; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> src/uart.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 48 | if unsafe { aux().MU.status.get(0) } { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> src/uart.rs:49:27 [INFO] [stdout] | [INFO] [stdout] 49 | Some(unsafe { aux().MU.IO.read() & 0xFF } as u8) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `END_REQUEST` [INFO] [stdout] --> src/mailbox.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | const END_REQUEST: u32 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/mailbox.rs:339:13 [INFO] [stdout] | [INFO] [stdout] 339 | for i in 0..Self::LEN { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buffer` [INFO] [stdout] --> src/mailbox.rs:338:24 [INFO] [stdout] | [INFO] [stdout] 338 | fn serialize(self, buffer: &mut [u32]) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> src/gpio.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | / if v { [INFO] [stdout] 90 | | &mut gpio().GPSET [INFO] [stdout] 91 | | } else { [INFO] [stdout] 92 | | &mut gpio().GPCLR [INFO] [stdout] 93 | | } [INFO] [stdout] 94 | | .value [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unaligned_references)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> src/gpio.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | / gpio() [INFO] [stdout] 101 | | .GPLEV [INFO] [stdout] 102 | | .value [INFO] [stdout] | |__________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> src/gpio.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | / gpio() [INFO] [stdout] 108 | | .GPFSEL [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> src/gpio.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | / gpio() [INFO] [stdout] 115 | | .GPPUD [INFO] [stdout] 116 | | .CNTRL_OFF [INFO] [stdout] 117 | | .GPIO_PUP_PDN_CNTRL [INFO] [stdout] | |_______________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> src/gpio.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | / gpio() [INFO] [stdout] 142 | | .GPREN [INFO] [stdout] 143 | | .value [INFO] [stdout] | |__________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> src/gpio.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | / gpio() [INFO] [stdout] 150 | | .GPFEN [INFO] [stdout] 151 | | .value [INFO] [stdout] | |__________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> src/gpio.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | / gpio() [INFO] [stdout] 158 | | .GPHEN [INFO] [stdout] 159 | | .value [INFO] [stdout] | |__________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> src/gpio.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | / gpio() [INFO] [stdout] 166 | | .GPLEN [INFO] [stdout] 167 | | .value [INFO] [stdout] | |__________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> src/mailbox.rs:58:24 [INFO] [stdout] | [INFO] [stdout] 58 | while unsafe { mailbox().write.param.status.get(31) } {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> src/mailbox.rs:60:18 [INFO] [stdout] | [INFO] [stdout] 60 | unsafe { mailbox().write.write.write(message) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> src/mailbox.rs:66:28 [INFO] [stdout] | [INFO] [stdout] 66 | while unsafe { mailbox().read.param.status.get(30) } {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> src/mailbox.rs:68:36 [INFO] [stdout] | [INFO] [stdout] 68 | let message = unsafe { mailbox().read.read.read() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> src/uart.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | aux().ENABLES.write(1); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> src/uart.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | aux().MU.control.write(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> src/uart.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | aux().MU.IER.write(0); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> src/uart.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | aux().MU.IIR.write(0b1100_0110); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> src/uart.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | aux().MU.LCR.write(0b11); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> src/uart.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | aux().MU.MCR.write(0); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> src/uart.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | aux().MU.baud_rate.write(BAUD_RATE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> src/uart.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | aux().MU.control.write(0b11); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> src/uart.rs:41:25 [INFO] [stdout] | [INFO] [stdout] 41 | if unsafe { aux().MU.status.get(1) } { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> src/uart.rs:45:18 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe { aux().MU.IO.write(c as u32) }; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> src/uart.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 48 | if unsafe { aux().MU.status.get(0) } { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> src/uart.rs:49:27 [INFO] [stdout] | [INFO] [stdout] 49 | Some(unsafe { aux().MU.IO.read() & 0xFF } as u8) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `END_REQUEST` [INFO] [stdout] --> src/mailbox.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | const END_REQUEST: u32 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.31s [INFO] running `Command { std: "docker" "inspect" "07d58f7b8c12a94050d23f27dce72a672c68733ca50f2e9d001aa4e8f4b74ba5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07d58f7b8c12a94050d23f27dce72a672c68733ca50f2e9d001aa4e8f4b74ba5", kill_on_drop: false }` [INFO] [stdout] 07d58f7b8c12a94050d23f27dce72a672c68733ca50f2e9d001aa4e8f4b74ba5