[INFO] cloning repository https://github.com/andreytkachenko/opencm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/andreytkachenko/opencm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandreytkachenko%2Fopencm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandreytkachenko%2Fopencm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fc4b1990be41317cde9c9e55b61df8d94fc873d2 [INFO] checking andreytkachenko/opencm/fc4b1990be41317cde9c9e55b61df8d94fc873d2 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandreytkachenko%2Fopencm" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/andreytkachenko/opencm 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] started tweaking git repo https://github.com/andreytkachenko/opencm [INFO] finished tweaking git repo https://github.com/andreytkachenko/opencm [INFO] tweaked toml for git repo https://github.com/andreytkachenko/opencm written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/andreytkachenko/opencm 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] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b0996dae311fe76e526275ad4ac40fb09de5f3a677ed9331a65809f8e838e024 [INFO] running `Command { std: "docker" "start" "-a" "b0996dae311fe76e526275ad4ac40fb09de5f3a677ed9331a65809f8e838e024", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b0996dae311fe76e526275ad4ac40fb09de5f3a677ed9331a65809f8e838e024", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0996dae311fe76e526275ad4ac40fb09de5f3a677ed9331a65809f8e838e024", kill_on_drop: false }` [INFO] [stdout] b0996dae311fe76e526275ad4ac40fb09de5f3a677ed9331a65809f8e838e024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0f91bb9503ead5c174e22166ddbf036d0b6fc1c808d1d20b13179bb886a6e7af [INFO] running `Command { std: "docker" "start" "-a" "0f91bb9503ead5c174e22166ddbf036d0b6fc1c808d1d20b13179bb886a6e7af", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking opencm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(const_fn, asm)] [INFO] [stdout] | ^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: split into finer-grained feature gates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(const_fn, asm)] [INFO] [stdout] | ^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: split into finer-grained feature gates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> src/common/asm.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | unsafe {asm!("nop")} [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> src/common/asm.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | unsafe {asm!("nop")} [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/hal/flash.rs:17:33 [INFO] [stdout] | [INFO] [stdout] 17 | pub const DCRST: u32 = (1 << 12); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 17 - pub const DCRST: u32 = (1 << 12); [INFO] [stdout] 17 + pub const DCRST: u32 = 1 << 12; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/hal/flash.rs:18:33 [INFO] [stdout] | [INFO] [stdout] 18 | pub const ICRST: u32 = (1 << 11); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 18 - pub const ICRST: u32 = (1 << 11); [INFO] [stdout] 18 + pub const ICRST: u32 = 1 << 11; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/hal/flash.rs:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | pub const DCEN: u32 = (1 << 10); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 19 - pub const DCEN: u32 = (1 << 10); [INFO] [stdout] 19 + pub const DCEN: u32 = 1 << 10; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/hal/flash.rs:20:33 [INFO] [stdout] | [INFO] [stdout] 20 | pub const ICEN: u32 = (1 << 9); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 20 - pub const ICEN: u32 = (1 << 9); [INFO] [stdout] 20 + pub const ICEN: u32 = 1 << 9; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/hal/flash.rs:21:33 [INFO] [stdout] | [INFO] [stdout] 21 | pub const PRFTEN: u32 = (1 << 8); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 21 - pub const PRFTEN: u32 = (1 << 8); [INFO] [stdout] 21 + pub const PRFTEN: u32 = 1 << 8; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/hal/flash.rs:34:31 [INFO] [stdout] | [INFO] [stdout] 34 | pub const LOCK: u32 = (1 << 31); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 34 - pub const LOCK: u32 = (1 << 31); [INFO] [stdout] 34 + pub const LOCK: u32 = 1 << 31; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/hal/flash.rs:35:32 [INFO] [stdout] | [INFO] [stdout] 35 | pub const ERRIE: u32 = (1 << 25); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 35 - pub const ERRIE: u32 = (1 << 25); [INFO] [stdout] 35 + pub const ERRIE: u32 = 1 << 25; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/hal/flash.rs:17:33 [INFO] [stdout] | [INFO] [stdout] 17 | pub const DCRST: u32 = (1 << 12); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 17 - pub const DCRST: u32 = (1 << 12); [INFO] [stdout] 17 + pub const DCRST: u32 = 1 << 12; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/hal/flash.rs:36:32 [INFO] [stdout] | [INFO] [stdout] 36 | pub const EOPIE: u32 = (1 << 24); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 36 - pub const EOPIE: u32 = (1 << 24); [INFO] [stdout] 36 + pub const EOPIE: u32 = 1 << 24; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/hal/flash.rs:18:33 [INFO] [stdout] | [INFO] [stdout] 18 | pub const ICRST: u32 = (1 << 11); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 18 - pub const ICRST: u32 = (1 << 11); [INFO] [stdout] 18 + pub const ICRST: u32 = 1 << 11; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/hal/flash.rs:37:31 [INFO] [stdout] | [INFO] [stdout] 37 | pub const STRT: u32 = (1 << 16); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 37 - pub const STRT: u32 = (1 << 16); [INFO] [stdout] 37 + pub const STRT: u32 = 1 << 16; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/hal/flash.rs:38:30 [INFO] [stdout] | [INFO] [stdout] 38 | pub const MER: u32 = (1 << 2); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 38 - pub const MER: u32 = (1 << 2); [INFO] [stdout] 38 + pub const MER: u32 = 1 << 2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/hal/flash.rs:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | pub const DCEN: u32 = (1 << 10); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 19 - pub const DCEN: u32 = (1 << 10); [INFO] [stdout] 19 + pub const DCEN: u32 = 1 << 10; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/hal/flash.rs:39:30 [INFO] [stdout] | [INFO] [stdout] 39 | pub const SER: u32 = (1 << 1); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 39 - pub const SER: u32 = (1 << 1); [INFO] [stdout] 39 + pub const SER: u32 = 1 << 1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/hal/flash.rs:20:33 [INFO] [stdout] | [INFO] [stdout] 20 | pub const ICEN: u32 = (1 << 9); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 20 - pub const ICEN: u32 = (1 << 9); [INFO] [stdout] 20 + pub const ICEN: u32 = 1 << 9; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/hal/flash.rs:40:29 [INFO] [stdout] | [INFO] [stdout] 40 | pub const PG: u32 = (1 << 0); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 40 - pub const PG: u32 = (1 << 0); [INFO] [stdout] 40 + pub const PG: u32 = 1 << 0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/hal/flash.rs:21:33 [INFO] [stdout] | [INFO] [stdout] 21 | pub const PRFTEN: u32 = (1 << 8); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 21 - pub const PRFTEN: u32 = (1 << 8); [INFO] [stdout] 21 + pub const PRFTEN: u32 = 1 << 8; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/hal/flash.rs:55:30 [INFO] [stdout] | [INFO] [stdout] 55 | pub const BSY: u32 = (1 << 16); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 55 - pub const BSY: u32 = (1 << 16); [INFO] [stdout] 55 + pub const BSY: u32 = 1 << 16; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/hal/flash.rs:34:31 [INFO] [stdout] | [INFO] [stdout] 34 | pub const LOCK: u32 = (1 << 31); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 34 - pub const LOCK: u32 = (1 << 31); [INFO] [stdout] 34 + pub const LOCK: u32 = 1 << 31; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/hal/flash.rs:56:33 [INFO] [stdout] | [INFO] [stdout] 56 | pub const PGSERR: u32 = (1 << 7); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 56 - pub const PGSERR: u32 = (1 << 7); [INFO] [stdout] 56 + pub const PGSERR: u32 = 1 << 7; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/hal/flash.rs:35:32 [INFO] [stdout] | [INFO] [stdout] 35 | pub const ERRIE: u32 = (1 << 25); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 35 - pub const ERRIE: u32 = (1 << 25); [INFO] [stdout] 35 + pub const ERRIE: u32 = 1 << 25; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/hal/flash.rs:57:33 [INFO] [stdout] | [INFO] [stdout] 57 | pub const PGPERR: u32 = (1 << 6); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 57 - pub const PGPERR: u32 = (1 << 6); [INFO] [stdout] 57 + pub const PGPERR: u32 = 1 << 6; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/hal/flash.rs:36:32 [INFO] [stdout] | [INFO] [stdout] 36 | pub const EOPIE: u32 = (1 << 24); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 36 - pub const EOPIE: u32 = (1 << 24); [INFO] [stdout] 36 + pub const EOPIE: u32 = 1 << 24; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/hal/flash.rs:58:33 [INFO] [stdout] | [INFO] [stdout] 58 | pub const PGAERR: u32 = (1 << 5); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 58 - pub const PGAERR: u32 = (1 << 5); [INFO] [stdout] 58 + pub const PGAERR: u32 = 1 << 5; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/hal/flash.rs:59:33 [INFO] [stdout] | [INFO] [stdout] 59 | pub const WRPERR: u32 = (1 << 4); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 59 - pub const WRPERR: u32 = (1 << 4); [INFO] [stdout] 59 + pub const WRPERR: u32 = 1 << 4; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/hal/flash.rs:37:31 [INFO] [stdout] | [INFO] [stdout] 37 | pub const STRT: u32 = (1 << 16); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 37 - pub const STRT: u32 = (1 << 16); [INFO] [stdout] 37 + pub const STRT: u32 = 1 << 16; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/hal/flash.rs:60:32 [INFO] [stdout] | [INFO] [stdout] 60 | pub const OPERR: u32 = (1 << 1); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 60 - pub const OPERR: u32 = (1 << 1); [INFO] [stdout] 60 + pub const OPERR: u32 = 1 << 1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/hal/flash.rs:61:30 [INFO] [stdout] | [INFO] [stdout] 61 | pub const EOP: u32 = (1 << 0); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 61 - pub const EOP: u32 = (1 << 0); [INFO] [stdout] 61 + pub const EOP: u32 = 1 << 0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/hal/flash.rs:38:30 [INFO] [stdout] | [INFO] [stdout] 38 | pub const MER: u32 = (1 << 2); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 38 - pub const MER: u32 = (1 << 2); [INFO] [stdout] 38 + pub const MER: u32 = 1 << 2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/hal/flash.rs:39:30 [INFO] [stdout] | [INFO] [stdout] 39 | pub const SER: u32 = (1 << 1); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 39 - pub const SER: u32 = (1 << 1); [INFO] [stdout] 39 + pub const SER: u32 = 1 << 1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/hal/flash.rs:40:29 [INFO] [stdout] | [INFO] [stdout] 40 | pub const PG: u32 = (1 << 0); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 40 - pub const PG: u32 = (1 << 0); [INFO] [stdout] 40 + pub const PG: u32 = 1 << 0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/hal/flash.rs:55:30 [INFO] [stdout] | [INFO] [stdout] 55 | pub const BSY: u32 = (1 << 16); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 55 - pub const BSY: u32 = (1 << 16); [INFO] [stdout] 55 + pub const BSY: u32 = 1 << 16; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/hal/flash.rs:56:33 [INFO] [stdout] | [INFO] [stdout] 56 | pub const PGSERR: u32 = (1 << 7); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 56 - pub const PGSERR: u32 = (1 << 7); [INFO] [stdout] 56 + pub const PGSERR: u32 = 1 << 7; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/hal/flash.rs:57:33 [INFO] [stdout] | [INFO] [stdout] 57 | pub const PGPERR: u32 = (1 << 6); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 57 - pub const PGPERR: u32 = (1 << 6); [INFO] [stdout] 57 + pub const PGPERR: u32 = 1 << 6; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/hal/flash.rs:58:33 [INFO] [stdout] | [INFO] [stdout] 58 | pub const PGAERR: u32 = (1 << 5); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 58 - pub const PGAERR: u32 = (1 << 5); [INFO] [stdout] 58 + pub const PGAERR: u32 = 1 << 5; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/hal/flash.rs:59:33 [INFO] [stdout] | [INFO] [stdout] 59 | pub const WRPERR: u32 = (1 << 4); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 59 - pub const WRPERR: u32 = (1 << 4); [INFO] [stdout] 59 + pub const WRPERR: u32 = 1 << 4; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/hal/flash.rs:60:32 [INFO] [stdout] | [INFO] [stdout] 60 | pub const OPERR: u32 = (1 << 1); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 60 - pub const OPERR: u32 = (1 << 1); [INFO] [stdout] 60 + pub const OPERR: u32 = 1 << 1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/hal/flash.rs:61:30 [INFO] [stdout] | [INFO] [stdout] 61 | pub const EOP: u32 = (1 << 0); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 61 - pub const EOP: u32 = (1 << 0); [INFO] [stdout] 61 + pub const EOP: u32 = 1 << 0; [INFO] [stdout] | [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/lib.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(const_fn, asm)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [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/lib.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(const_fn, asm)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `reg32` is never read [INFO] [stdout] --> src/hal/gpio.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | reg32 = self.lckr.get(); /* Read LCKK. */ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `reg32` is never read [INFO] [stdout] --> src/hal/gpio.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | reg32 = reg32; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/hal/nvic.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | nvic.iser[interrupt / 32].set((1 << (interrupt & 0b11111)) as 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] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/hal/nvic.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/hal/nvic.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | nvic.icer[interrupt / 32].set((1 << (interrupt & 0b11111)) as 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] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/hal/nvic.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 132 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/hal/nvic.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | nvic.icpr[interrupt / 32].set((1 << (interrupt & 0b11111)) as 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] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/hal/nvic.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `reg32` is never read [INFO] [stdout] --> src/hal/gpio.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | reg32 = self.lckr.get(); /* Read LCKK. */ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `reg32` is never read [INFO] [stdout] --> src/hal/gpio.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | reg32 = reg32; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/hal/nvic.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | nvic.iser[interrupt / 32].set((1 << (interrupt & 0b11111)) as 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] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/hal/nvic.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/hal/nvic.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | nvic.icer[interrupt / 32].set((1 << (interrupt & 0b11111)) as 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] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/hal/nvic.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 132 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/hal/nvic.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | nvic.icpr[interrupt / 32].set((1 << (interrupt & 0b11111)) as 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] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/hal/nvic.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0557, E0793. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0557, E0793. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] [stderr] error: could not compile `opencm` (lib) due to 6 previous errors; 25 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `opencm` (lib test) due to 6 previous errors; 25 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0f91bb9503ead5c174e22166ddbf036d0b6fc1c808d1d20b13179bb886a6e7af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f91bb9503ead5c174e22166ddbf036d0b6fc1c808d1d20b13179bb886a6e7af", kill_on_drop: false }` [INFO] [stdout] 0f91bb9503ead5c174e22166ddbf036d0b6fc1c808d1d20b13179bb886a6e7af