[INFO] cloning repository https://github.com/Strange21/rustBoot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Strange21/rustBoot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStrange21%2FrustBoot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStrange21%2FrustBoot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 20221b9ac14991063eb8454b622c15722030bbff [INFO] checking Strange21/rustBoot/20221b9ac14991063eb8454b622c15722030bbff against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStrange21%2FrustBoot" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 63% (601/953) Updating files: 64% (610/953) Updating files: 65% (620/953) Updating files: 66% (629/953) Updating files: 67% (639/953) Updating files: 68% (649/953) Updating files: 69% (658/953) Updating files: 70% (668/953) Updating files: 71% (677/953) Updating files: 72% (687/953) Updating files: 73% (696/953) Updating files: 74% (706/953) Updating files: 75% (715/953) Updating files: 76% (725/953) Updating files: 77% (734/953) Updating files: 78% (744/953) Updating files: 79% (753/953) Updating files: 80% (763/953) Updating files: 81% (772/953) Updating files: 82% (782/953) Updating files: 83% (791/953) Updating files: 84% (801/953) Updating files: 85% (811/953) Updating files: 86% (820/953) Updating files: 87% (830/953) Updating files: 88% (839/953) Updating files: 89% (849/953) Updating files: 90% (858/953) Updating files: 91% (868/953) Updating files: 92% (877/953) Updating files: 93% (887/953) Updating files: 94% (896/953) Updating files: 95% (906/953) Updating files: 96% (915/953) Updating files: 97% (925/953) Updating files: 98% (934/953) Updating files: 99% (944/953) Updating files: 100% (953/953) Updating files: 100% (953/953), done. [INFO] validating manifest of git repo https://github.com/Strange21/rustBoot 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-2-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/Strange21/rustBoot [INFO] finished tweaking git repo https://github.com/Strange21/rustBoot [INFO] tweaked toml for git repo https://github.com/Strange21/rustBoot written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Strange21/rustBoot 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 defmt-parser v0.3.1 [INFO] [stderr] Downloaded defmt v0.3.1 [INFO] [stderr] Downloaded xshell-macros v0.1.17 [INFO] [stderr] Downloaded ff v0.11.0 [INFO] [stderr] Downloaded defmt-macros v0.3.2 [INFO] [stderr] Downloaded libc-print v0.1.19 [INFO] [stderr] Downloaded xshell v0.1.17 [INFO] [stderr] Downloaded p256 v0.10.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 5de9e9d6db603c874089a8ba0a6f4ae4de5c860d39b2b2114f2d50484e97b1df [INFO] running `Command { std: "docker" "start" "-a" "5de9e9d6db603c874089a8ba0a6f4ae4de5c860d39b2b2114f2d50484e97b1df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5de9e9d6db603c874089a8ba0a6f4ae4de5c860d39b2b2114f2d50484e97b1df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5de9e9d6db603c874089a8ba0a6f4ae4de5c860d39b2b2114f2d50484e97b1df", kill_on_drop: false }` [INFO] [stdout] 5de9e9d6db603c874089a8ba0a6f4ae4de5c860d39b2b2114f2d50484e97b1df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 22c315a136488e49abbaf7ccaca031b9ed8d876d51aefb50d1546897a5fc57fd [INFO] running `Command { std: "docker" "start" "-a" "22c315a136488e49abbaf7ccaca031b9ed8d876d51aefb50d1546897a5fc57fd", kill_on_drop: false }` [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking const-oid v0.7.1 [INFO] [stderr] Checking zeroize v1.4.3 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling defmt-macros v0.3.2 [INFO] [stderr] Checking der v0.5.1 [INFO] [stderr] Checking base16ct v0.1.1 [INFO] [stderr] Checking ff v0.11.0 [INFO] [stderr] Checking group v0.11.0 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling defmt v0.3.1 [INFO] [stderr] Compiling defmt-parser v0.3.1 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking as-slice v0.2.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling libc v0.2.124 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking crypto-bigint v0.3.2 [INFO] [stderr] Checking crypto-mac v0.11.1 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking signature v1.3.2 [INFO] [stderr] Checking hmac v0.11.0 [INFO] [stderr] Checking nom v7.1.1 [INFO] [stderr] Compiling anyhow v1.0.57 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking spki v0.5.4 [INFO] [stderr] Checking pkcs8 v0.8.0 [INFO] [stderr] Compiling xshell-macros v0.1.17 [INFO] [stderr] Checking sec1 v0.2.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking rfc6979 v0.1.0 [INFO] [stderr] Checking elliptic-curve v0.11.12 [INFO] [stderr] Checking xshell v0.1.17 [INFO] [stderr] Checking libc-print v0.1.19 [INFO] [stderr] Checking ecdsa v0.13.4 [INFO] [stderr] Checking p256 v0.10.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking rustBoot v0.1.0 (/opt/rustwide/workdir/rustBoot) [INFO] [stdout] error[E0432]: unresolved import `core::lazy` [INFO] [stdout] --> rustBoot/src/image/image.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | use core::lazy::OnceCell; [INFO] [stdout] | ^^^^ could not find `lazy` in `core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `core::lazy` [INFO] [stdout] --> rustBoot/src/image/image.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | use core::lazy::OnceCell; [INFO] [stdout] | ^^^^ could not find `lazy` in `core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Format` in this scope [INFO] [stdout] --> rustBoot/src/image/image.rs:33:38 [INFO] [stdout] | [INFO] [stdout] 33 | #[cfg_attr(feature = "defmt", derive(Format))] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 1 + use defmt::Format; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Format` in this scope [INFO] [stdout] --> rustBoot/src/image/image.rs:65:38 [INFO] [stdout] | [INFO] [stdout] 65 | #[cfg_attr(feature = "defmt", derive(Format))] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 1 + use defmt::Format; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Format` in this scope [INFO] [stdout] --> rustBoot/src/image/image.rs:76:38 [INFO] [stdout] | [INFO] [stdout] 76 | #[cfg_attr(feature = "defmt", derive(Format))] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 1 + use defmt::Format; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Format` in this scope [INFO] [stdout] --> rustBoot/src/image/image.rs:89:38 [INFO] [stdout] | [INFO] [stdout] 89 | #[cfg_attr(feature = "defmt", derive(Format))] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 1 + use defmt::Format; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Format` in this scope [INFO] [stdout] --> rustBoot/src/image/image.rs:101:38 [INFO] [stdout] | [INFO] [stdout] 101 | #[cfg_attr(feature = "defmt", derive(Format))] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 1 + use defmt::Format; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Format` in this scope [INFO] [stdout] --> rustBoot/src/image/image.rs:114:38 [INFO] [stdout] | [INFO] [stdout] 114 | #[cfg_attr(feature = "defmt", derive(Format))] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 1 + use defmt::Format; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Format` in this scope [INFO] [stdout] --> rustBoot/src/image/image.rs:413:38 [INFO] [stdout] | [INFO] [stdout] 413 | #[cfg_attr(feature = "defmt", derive(Format))] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 1 + use defmt::Format; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Format` in this scope [INFO] [stdout] --> rustBoot/src/image/image.rs:33:38 [INFO] [stdout] | [INFO] [stdout] 33 | #[cfg_attr(feature = "defmt", derive(Format))] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 1 + use defmt::Format; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Format` in this scope [INFO] [stdout] --> rustBoot/src/image/image.rs:65:38 [INFO] [stdout] | [INFO] [stdout] 65 | #[cfg_attr(feature = "defmt", derive(Format))] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 1 + use defmt::Format; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Format` in this scope [INFO] [stdout] --> rustBoot/src/image/image.rs:76:38 [INFO] [stdout] | [INFO] [stdout] 76 | #[cfg_attr(feature = "defmt", derive(Format))] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 1 + use defmt::Format; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Format` in this scope [INFO] [stdout] --> rustBoot/src/image/image.rs:89:38 [INFO] [stdout] | [INFO] [stdout] 89 | #[cfg_attr(feature = "defmt", derive(Format))] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 1 + use defmt::Format; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Format` in this scope [INFO] [stdout] --> rustBoot/src/image/image.rs:101:38 [INFO] [stdout] | [INFO] [stdout] 101 | #[cfg_attr(feature = "defmt", derive(Format))] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 1 + use defmt::Format; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Format` in this scope [INFO] [stdout] --> rustBoot/src/image/image.rs:114:38 [INFO] [stdout] | [INFO] [stdout] 114 | #[cfg_attr(feature = "defmt", derive(Format))] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 1 + use defmt::Format; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Format` in this scope [INFO] [stdout] --> rustBoot/src/image/image.rs:413:38 [INFO] [stdout] | [INFO] [stdout] 413 | #[cfg_attr(feature = "defmt", derive(Format))] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 1 + use defmt::Format; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BOOT_PARTITION_ADDRESS` in this scope [INFO] [stdout] --> rustBoot/src/constants.rs:62:41 [INFO] [stdout] | [INFO] [stdout] 62 | pub const BOOT_TRAILER_ADDRESS: usize = BOOT_PARTITION_ADDRESS + PARTITION_SIZE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PARTITION_SIZE` in this scope [INFO] [stdout] --> rustBoot/src/constants.rs:62:66 [INFO] [stdout] | [INFO] [stdout] 62 | pub const BOOT_TRAILER_ADDRESS: usize = BOOT_PARTITION_ADDRESS + PARTITION_SIZE; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BOOT_PARTITION_ADDRESS` in this scope [INFO] [stdout] --> rustBoot/src/constants.rs:63:32 [INFO] [stdout] | [INFO] [stdout] 62 | pub const BOOT_TRAILER_ADDRESS: usize = BOOT_PARTITION_ADDRESS + PARTITION_SIZE; [INFO] [stdout] | -------------------------------------------------------------------------------- similarly named constant `BOOT_TRAILER_ADDRESS` defined here [INFO] [stdout] 63 | pub const BOOT_FWBASE: usize = BOOT_PARTITION_ADDRESS + IMAGE_HEADER_SIZE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `BOOT_TRAILER_ADDRESS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `UPDATE_PARTITION_ADDRESS` in this scope [INFO] [stdout] --> rustBoot/src/constants.rs:65:43 [INFO] [stdout] | [INFO] [stdout] 65 | pub const UPDATE_TRAILER_ADDRESS: usize = UPDATE_PARTITION_ADDRESS + PARTITION_SIZE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PARTITION_SIZE` in this scope [INFO] [stdout] --> rustBoot/src/constants.rs:65:70 [INFO] [stdout] | [INFO] [stdout] 65 | pub const UPDATE_TRAILER_ADDRESS: usize = UPDATE_PARTITION_ADDRESS + PARTITION_SIZE; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `UPDATE_PARTITION_ADDRESS` in this scope [INFO] [stdout] --> rustBoot/src/constants.rs:66:34 [INFO] [stdout] | [INFO] [stdout] 65 | pub const UPDATE_TRAILER_ADDRESS: usize = UPDATE_PARTITION_ADDRESS + PARTITION_SIZE; [INFO] [stdout] | ------------------------------------------------------------------------------------ similarly named constant `UPDATE_TRAILER_ADDRESS` defined here [INFO] [stdout] 66 | pub const UPDATE_FWBASE: usize = UPDATE_PARTITION_ADDRESS + IMAGE_HEADER_SIZE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `UPDATE_TRAILER_ADDRESS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SWAP_PARTITION_ADDRESS` in this scope [INFO] [stdout] --> rustBoot/src/constants.rs:68:30 [INFO] [stdout] | [INFO] [stdout] 68 | pub const SWAP_BASE: usize = SWAP_PARTITION_ADDRESS; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BOOT_PARTITION_ADDRESS` in this scope [INFO] [stdout] --> rustBoot/src/image/image.rs:185:35 [INFO] [stdout] | [INFO] [stdout] 185 | let magic = *(BOOT_PARTITION_ADDRESS as *const usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `BOOT_TRAILER_ADDRESS` [INFO] [stdout] | [INFO] [stdout] ::: rustBoot/src/constants.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub const BOOT_TRAILER_ADDRESS: usize = BOOT_PARTITION_ADDRESS + PARTITION_SIZE; [INFO] [stdout] | -------------------------------------------------------------------------------- similarly named constant `BOOT_TRAILER_ADDRESS` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BOOT_PARTITION_ADDRESS` in this scope [INFO] [stdout] --> rustBoot/src/image/image.rs:186:31 [INFO] [stdout] | [INFO] [stdout] 186 | size = *((BOOT_PARTITION_ADDRESS + 4) as *const usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `BOOT_TRAILER_ADDRESS` [INFO] [stdout] | [INFO] [stdout] ::: rustBoot/src/constants.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub const BOOT_TRAILER_ADDRESS: usize = BOOT_PARTITION_ADDRESS + PARTITION_SIZE; [INFO] [stdout] | -------------------------------------------------------------------------------- similarly named constant `BOOT_TRAILER_ADDRESS` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PARTITION_SIZE` in this scope [INFO] [stdout] --> rustBoot/src/image/image.rs:187:61 [INFO] [stdout] | [INFO] [stdout] 187 | if (magic != RUSTBOOT_MAGIC) || (size > PARTITION_SIZE - IMAGE_HEADER_SIZE) { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BOOT_PARTITION_ADDRESS` in this scope [INFO] [stdout] --> rustBoot/src/image/image.rs:192:31 [INFO] [stdout] | [INFO] [stdout] 192 | hdr: Some(BOOT_PARTITION_ADDRESS as *const u8), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `BOOT_TRAILER_ADDRESS` [INFO] [stdout] | [INFO] [stdout] ::: rustBoot/src/constants.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub const BOOT_TRAILER_ADDRESS: usize = BOOT_PARTITION_ADDRESS + PARTITION_SIZE; [INFO] [stdout] | -------------------------------------------------------------------------------- similarly named constant `BOOT_TRAILER_ADDRESS` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `UPDATE_PARTITION_ADDRESS` in this scope [INFO] [stdout] --> rustBoot/src/image/image.rs:230:35 [INFO] [stdout] | [INFO] [stdout] 230 | let magic = *(UPDATE_PARTITION_ADDRESS as *const usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `UPDATE_TRAILER_ADDRESS` [INFO] [stdout] | [INFO] [stdout] ::: rustBoot/src/constants.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | pub const UPDATE_TRAILER_ADDRESS: usize = UPDATE_PARTITION_ADDRESS + PARTITION_SIZE; [INFO] [stdout] | ------------------------------------------------------------------------------------ similarly named constant `UPDATE_TRAILER_ADDRESS` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `UPDATE_PARTITION_ADDRESS` in this scope [INFO] [stdout] --> rustBoot/src/image/image.rs:231:31 [INFO] [stdout] | [INFO] [stdout] 231 | size = *((UPDATE_PARTITION_ADDRESS + 4) as *const usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `UPDATE_TRAILER_ADDRESS` [INFO] [stdout] | [INFO] [stdout] ::: rustBoot/src/constants.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | pub const UPDATE_TRAILER_ADDRESS: usize = UPDATE_PARTITION_ADDRESS + PARTITION_SIZE; [INFO] [stdout] | ------------------------------------------------------------------------------------ similarly named constant `UPDATE_TRAILER_ADDRESS` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PARTITION_SIZE` in this scope [INFO] [stdout] --> rustBoot/src/image/image.rs:232:61 [INFO] [stdout] | [INFO] [stdout] 232 | if (magic != RUSTBOOT_MAGIC) || (size > PARTITION_SIZE - IMAGE_HEADER_SIZE) { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `UPDATE_PARTITION_ADDRESS` in this scope [INFO] [stdout] --> rustBoot/src/image/image.rs:237:31 [INFO] [stdout] | [INFO] [stdout] 237 | hdr: Some(UPDATE_PARTITION_ADDRESS as *const u8), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `UPDATE_TRAILER_ADDRESS` [INFO] [stdout] | [INFO] [stdout] ::: rustBoot/src/constants.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | pub const UPDATE_TRAILER_ADDRESS: usize = UPDATE_PARTITION_ADDRESS + PARTITION_SIZE; [INFO] [stdout] | ------------------------------------------------------------------------------------ similarly named constant `UPDATE_TRAILER_ADDRESS` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SWAP_PARTITION_ADDRESS` in this scope [INFO] [stdout] --> rustBoot/src/image/image.rs:271:31 [INFO] [stdout] | [INFO] [stdout] 271 | hdr: Some(SWAP_PARTITION_ADDRESS as *const u8), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SECTOR_SIZE` in this scope [INFO] [stdout] --> rustBoot/src/image/image.rs:275:30 [INFO] [stdout] | [INFO] [stdout] 275 | fw_size: SECTOR_SIZE, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PARTITION_SIZE` in this scope [INFO] [stdout] --> rustBoot/src/image/image.rs:677:50 [INFO] [stdout] | [INFO] [stdout] 677 | let part = (unsafe { (val as *const [u8; PARTITION_SIZE]).as_ref() }) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BOOT_PARTITION_ADDRESS` in this scope [INFO] [stdout] --> rustBoot/src/constants.rs:62:41 [INFO] [stdout] | [INFO] [stdout] 62 | pub const BOOT_TRAILER_ADDRESS: usize = BOOT_PARTITION_ADDRESS + PARTITION_SIZE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PARTITION_SIZE` in this scope [INFO] [stdout] --> rustBoot/src/constants.rs:62:66 [INFO] [stdout] | [INFO] [stdout] 62 | pub const BOOT_TRAILER_ADDRESS: usize = BOOT_PARTITION_ADDRESS + PARTITION_SIZE; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BOOT_PARTITION_ADDRESS` in this scope [INFO] [stdout] --> rustBoot/src/constants.rs:63:32 [INFO] [stdout] | [INFO] [stdout] 62 | pub const BOOT_TRAILER_ADDRESS: usize = BOOT_PARTITION_ADDRESS + PARTITION_SIZE; [INFO] [stdout] | -------------------------------------------------------------------------------- similarly named constant `BOOT_TRAILER_ADDRESS` defined here [INFO] [stdout] 63 | pub const BOOT_FWBASE: usize = BOOT_PARTITION_ADDRESS + IMAGE_HEADER_SIZE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `BOOT_TRAILER_ADDRESS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `UPDATE_PARTITION_ADDRESS` in this scope [INFO] [stdout] --> rustBoot/src/constants.rs:65:43 [INFO] [stdout] | [INFO] [stdout] 65 | pub const UPDATE_TRAILER_ADDRESS: usize = UPDATE_PARTITION_ADDRESS + PARTITION_SIZE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PARTITION_SIZE` in this scope [INFO] [stdout] --> rustBoot/src/constants.rs:65:70 [INFO] [stdout] | [INFO] [stdout] 65 | pub const UPDATE_TRAILER_ADDRESS: usize = UPDATE_PARTITION_ADDRESS + PARTITION_SIZE; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `UPDATE_PARTITION_ADDRESS` in this scope [INFO] [stdout] --> rustBoot/src/constants.rs:66:34 [INFO] [stdout] | [INFO] [stdout] 65 | pub const UPDATE_TRAILER_ADDRESS: usize = UPDATE_PARTITION_ADDRESS + PARTITION_SIZE; [INFO] [stdout] | ------------------------------------------------------------------------------------ similarly named constant `UPDATE_TRAILER_ADDRESS` defined here [INFO] [stdout] 66 | pub const UPDATE_FWBASE: usize = UPDATE_PARTITION_ADDRESS + IMAGE_HEADER_SIZE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `UPDATE_TRAILER_ADDRESS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SWAP_PARTITION_ADDRESS` in this scope [INFO] [stdout] --> rustBoot/src/constants.rs:68:30 [INFO] [stdout] | [INFO] [stdout] 68 | pub const SWAP_BASE: usize = SWAP_PARTITION_ADDRESS; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BOOT_PARTITION_ADDRESS` in this scope [INFO] [stdout] --> rustBoot/src/image/image.rs:185:35 [INFO] [stdout] | [INFO] [stdout] 185 | let magic = *(BOOT_PARTITION_ADDRESS as *const usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `BOOT_TRAILER_ADDRESS` [INFO] [stdout] | [INFO] [stdout] ::: rustBoot/src/constants.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub const BOOT_TRAILER_ADDRESS: usize = BOOT_PARTITION_ADDRESS + PARTITION_SIZE; [INFO] [stdout] | -------------------------------------------------------------------------------- similarly named constant `BOOT_TRAILER_ADDRESS` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BOOT_PARTITION_ADDRESS` in this scope [INFO] [stdout] --> rustBoot/src/image/image.rs:186:31 [INFO] [stdout] | [INFO] [stdout] 186 | size = *((BOOT_PARTITION_ADDRESS + 4) as *const usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `BOOT_TRAILER_ADDRESS` [INFO] [stdout] | [INFO] [stdout] ::: rustBoot/src/constants.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub const BOOT_TRAILER_ADDRESS: usize = BOOT_PARTITION_ADDRESS + PARTITION_SIZE; [INFO] [stdout] | -------------------------------------------------------------------------------- similarly named constant `BOOT_TRAILER_ADDRESS` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PARTITION_SIZE` in this scope [INFO] [stdout] --> rustBoot/src/image/image.rs:187:61 [INFO] [stdout] | [INFO] [stdout] 187 | if (magic != RUSTBOOT_MAGIC) || (size > PARTITION_SIZE - IMAGE_HEADER_SIZE) { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BOOT_PARTITION_ADDRESS` in this scope [INFO] [stdout] --> rustBoot/src/image/image.rs:192:31 [INFO] [stdout] | [INFO] [stdout] 192 | hdr: Some(BOOT_PARTITION_ADDRESS as *const u8), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `BOOT_TRAILER_ADDRESS` [INFO] [stdout] | [INFO] [stdout] ::: rustBoot/src/constants.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub const BOOT_TRAILER_ADDRESS: usize = BOOT_PARTITION_ADDRESS + PARTITION_SIZE; [INFO] [stdout] | -------------------------------------------------------------------------------- similarly named constant `BOOT_TRAILER_ADDRESS` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `UPDATE_PARTITION_ADDRESS` in this scope [INFO] [stdout] --> rustBoot/src/image/image.rs:230:35 [INFO] [stdout] | [INFO] [stdout] 230 | let magic = *(UPDATE_PARTITION_ADDRESS as *const usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `UPDATE_TRAILER_ADDRESS` [INFO] [stdout] | [INFO] [stdout] ::: rustBoot/src/constants.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | pub const UPDATE_TRAILER_ADDRESS: usize = UPDATE_PARTITION_ADDRESS + PARTITION_SIZE; [INFO] [stdout] | ------------------------------------------------------------------------------------ similarly named constant `UPDATE_TRAILER_ADDRESS` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `UPDATE_PARTITION_ADDRESS` in this scope [INFO] [stdout] --> rustBoot/src/image/image.rs:231:31 [INFO] [stdout] | [INFO] [stdout] 231 | size = *((UPDATE_PARTITION_ADDRESS + 4) as *const usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `UPDATE_TRAILER_ADDRESS` [INFO] [stdout] | [INFO] [stdout] ::: rustBoot/src/constants.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | pub const UPDATE_TRAILER_ADDRESS: usize = UPDATE_PARTITION_ADDRESS + PARTITION_SIZE; [INFO] [stdout] | ------------------------------------------------------------------------------------ similarly named constant `UPDATE_TRAILER_ADDRESS` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PARTITION_SIZE` in this scope [INFO] [stdout] --> rustBoot/src/image/image.rs:232:61 [INFO] [stdout] | [INFO] [stdout] 232 | if (magic != RUSTBOOT_MAGIC) || (size > PARTITION_SIZE - IMAGE_HEADER_SIZE) { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `UPDATE_PARTITION_ADDRESS` in this scope [INFO] [stdout] --> rustBoot/src/image/image.rs:237:31 [INFO] [stdout] | [INFO] [stdout] 237 | hdr: Some(UPDATE_PARTITION_ADDRESS as *const u8), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `UPDATE_TRAILER_ADDRESS` [INFO] [stdout] | [INFO] [stdout] ::: rustBoot/src/constants.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | pub const UPDATE_TRAILER_ADDRESS: usize = UPDATE_PARTITION_ADDRESS + PARTITION_SIZE; [INFO] [stdout] | ------------------------------------------------------------------------------------ similarly named constant `UPDATE_TRAILER_ADDRESS` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SWAP_PARTITION_ADDRESS` in this scope [INFO] [stdout] --> rustBoot/src/image/image.rs:271:31 [INFO] [stdout] | [INFO] [stdout] 271 | hdr: Some(SWAP_PARTITION_ADDRESS as *const u8), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SECTOR_SIZE` in this scope [INFO] [stdout] --> rustBoot/src/image/image.rs:275:30 [INFO] [stdout] | [INFO] [stdout] 275 | fw_size: SECTOR_SIZE, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PARTITION_SIZE` in this scope [INFO] [stdout] --> rustBoot/src/image/image.rs:677:50 [INFO] [stdout] | [INFO] [stdout] 677 | let part = (unsafe { (val as *const [u8; PARTITION_SIZE]).as_ref() }) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `is_sorted` has been stable since 1.82.0 and no longer requires an attribute to enable [INFO] [stdout] --> rustBoot/src/lib.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(once_cell, is_sorted, slice_as_chunks)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `once_cell` has been stable since 1.70.0 and no longer requires an attribute to enable [INFO] [stdout] --> rustBoot/src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(once_cell, is_sorted, slice_as_chunks)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `once_cell` has been stable since 1.70.0 and no longer requires an attribute to enable [INFO] [stdout] --> rustBoot/src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(once_cell, is_sorted, slice_as_chunks)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `is_sorted` has been stable since 1.82.0 and no longer requires an attribute to enable [INFO] [stdout] --> rustBoot/src/lib.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(once_cell, is_sorted, slice_as_chunks)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> rustBoot/src/image/image.rs:206:29 [INFO] [stdout] | [INFO] [stdout] 206 | ... &mut BOOT [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 206 | addr_of_mut!(BOOT) [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> rustBoot/src/image/image.rs:213:29 [INFO] [stdout] | [INFO] [stdout] 213 | ... &mut BOOT [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 213 | addr_of_mut!(BOOT) [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> rustBoot/src/image/image.rs:220:29 [INFO] [stdout] | [INFO] [stdout] 220 | ... &mut BOOT [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 220 | addr_of_mut!(BOOT) [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> rustBoot/src/image/image.rs:251:29 [INFO] [stdout] | [INFO] [stdout] 251 | ... &mut UPDT [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 251 | addr_of_mut!(UPDT) [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> rustBoot/src/image/image.rs:259:33 [INFO] [stdout] | [INFO] [stdout] 259 | ... &mut UPDT [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 259 | addr_of_mut!(UPDT) [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> rustBoot/src/image/image.rs:284:25 [INFO] [stdout] | [INFO] [stdout] 284 | &mut SWAP [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 284 | addr_of_mut!(SWAP) [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> rustBoot/src/image/image.rs:532:19 [INFO] [stdout] | [INFO] [stdout] 532 | let val = parse_tlv(self, Tags::Version)?; [INFO] [stdout] | ^^^^^^^^^ ---- type must be known at this point [INFO] [stdout] | | [INFO] [stdout] | cannot infer type of the type parameter `Part` declared on the function `parse_tlv` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: image::image::Swappable` [INFO] [stdout] = help: the following types implement trait `image::image::Swappable`: [INFO] [stdout] image::image::Boot [INFO] [stdout] image::image::Update [INFO] [stdout] note: required by a bound in `parser::parse_tlv` [INFO] [stdout] --> rustBoot/src/parser.rs:11:47 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) fn parse_tlv<'a, Part: ValidPart + Swappable, State: TypeState>( [INFO] [stdout] | ^^^^^^^^^ required by this bound in `parse_tlv` [INFO] [stdout] help: consider specifying the generic arguments [INFO] [stdout] | [INFO] [stdout] 532 | let val = parse_tlv::(self, Tags::Version)?; [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> rustBoot/src/image/image.rs:545:19 [INFO] [stdout] | [INFO] [stdout] 545 | let val = parse_tlv(self, Tags::ImgType)?; [INFO] [stdout] | ^^^^^^^^^ ---- type must be known at this point [INFO] [stdout] | | [INFO] [stdout] | cannot infer type of the type parameter `Part` declared on the function `parse_tlv` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: image::image::Swappable` [INFO] [stdout] = help: the following types implement trait `image::image::Swappable`: [INFO] [stdout] image::image::Boot [INFO] [stdout] image::image::Update [INFO] [stdout] note: required by a bound in `parser::parse_tlv` [INFO] [stdout] --> rustBoot/src/parser.rs:11:47 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) fn parse_tlv<'a, Part: ValidPart + Swappable, State: TypeState>( [INFO] [stdout] | ^^^^^^^^^ required by this bound in `parse_tlv` [INFO] [stdout] help: consider specifying the generic arguments [INFO] [stdout] | [INFO] [stdout] 545 | let val = parse_tlv::(self, Tags::ImgType)?; [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: borrow of moved value: `config` [INFO] [stdout] --> rustBoot/src/dt/fit.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 212 | let config = Config { [INFO] [stdout] | ------ move occurs because `config` has type `Config<'_, S>`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 220 | configuration = config; [INFO] [stdout] | ------ value moved here [INFO] [stdout] 221 | #[cfg(feature = "defmt")] [INFO] [stdout] 222 | defmt::info!("Config: {:?}\n", config); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ value borrowed here after move [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `defmt::info` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> rustBoot/src/image/image.rs:206:29 [INFO] [stdout] | [INFO] [stdout] 206 | ... &mut BOOT [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 206 | addr_of_mut!(BOOT) [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> rustBoot/src/image/image.rs:213:29 [INFO] [stdout] | [INFO] [stdout] 213 | ... &mut BOOT [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 213 | addr_of_mut!(BOOT) [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> rustBoot/src/image/image.rs:220:29 [INFO] [stdout] | [INFO] [stdout] 220 | ... &mut BOOT [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 220 | addr_of_mut!(BOOT) [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> rustBoot/src/image/image.rs:251:29 [INFO] [stdout] | [INFO] [stdout] 251 | ... &mut UPDT [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 251 | addr_of_mut!(UPDT) [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> rustBoot/src/image/image.rs:259:33 [INFO] [stdout] | [INFO] [stdout] 259 | ... &mut UPDT [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 259 | addr_of_mut!(UPDT) [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> rustBoot/src/image/image.rs:284:25 [INFO] [stdout] | [INFO] [stdout] 284 | &mut SWAP [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 284 | addr_of_mut!(SWAP) [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> rustBoot/src/image/image.rs:532:19 [INFO] [stdout] | [INFO] [stdout] 532 | let val = parse_tlv(self, Tags::Version)?; [INFO] [stdout] | ^^^^^^^^^ ---- type must be known at this point [INFO] [stdout] | | [INFO] [stdout] | cannot infer type of the type parameter `Part` declared on the function `parse_tlv` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: image::image::Swappable` [INFO] [stdout] = help: the following types implement trait `image::image::Swappable`: [INFO] [stdout] image::image::Boot [INFO] [stdout] image::image::Update [INFO] [stdout] note: required by a bound in `parser::parse_tlv` [INFO] [stdout] --> rustBoot/src/parser.rs:11:47 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) fn parse_tlv<'a, Part: ValidPart + Swappable, State: TypeState>( [INFO] [stdout] | ^^^^^^^^^ required by this bound in `parse_tlv` [INFO] [stdout] help: consider specifying the generic arguments [INFO] [stdout] | [INFO] [stdout] 532 | let val = parse_tlv::(self, Tags::Version)?; [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> rustBoot/src/image/image.rs:545:19 [INFO] [stdout] | [INFO] [stdout] 545 | let val = parse_tlv(self, Tags::ImgType)?; [INFO] [stdout] | ^^^^^^^^^ ---- type must be known at this point [INFO] [stdout] | | [INFO] [stdout] | cannot infer type of the type parameter `Part` declared on the function `parse_tlv` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: image::image::Swappable` [INFO] [stdout] = help: the following types implement trait `image::image::Swappable`: [INFO] [stdout] image::image::Boot [INFO] [stdout] image::image::Update [INFO] [stdout] note: required by a bound in `parser::parse_tlv` [INFO] [stdout] --> rustBoot/src/parser.rs:11:47 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) fn parse_tlv<'a, Part: ValidPart + Swappable, State: TypeState>( [INFO] [stdout] | ^^^^^^^^^ required by this bound in `parse_tlv` [INFO] [stdout] help: consider specifying the generic arguments [INFO] [stdout] | [INFO] [stdout] 545 | let val = parse_tlv::(self, Tags::ImgType)?; [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: borrow of moved value: `config` [INFO] [stdout] --> rustBoot/src/dt/fit.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 212 | let config = Config { [INFO] [stdout] | ------ move occurs because `config` has type `Config<'_, S>`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 220 | configuration = config; [INFO] [stdout] | ------ value moved here [INFO] [stdout] 221 | #[cfg(feature = "defmt")] [INFO] [stdout] 222 | defmt::info!("Config: {:?}\n", config); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ value borrowed here after move [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `defmt::info` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 29 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0283, E0382, E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustBoot` (lib) due to 30 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 29 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0283, E0382, E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustBoot` (lib test) due to 30 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "22c315a136488e49abbaf7ccaca031b9ed8d876d51aefb50d1546897a5fc57fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22c315a136488e49abbaf7ccaca031b9ed8d876d51aefb50d1546897a5fc57fd", kill_on_drop: false }` [INFO] [stdout] 22c315a136488e49abbaf7ccaca031b9ed8d876d51aefb50d1546897a5fc57fd