[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#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStrange21%2FrustBoot" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 85% (815/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 ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-6-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-6-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" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded xshell-macros v0.1.17 [INFO] [stderr] Downloaded p256 v0.10.1 [INFO] [stderr] Downloaded defmt v0.3.1 [INFO] [stderr] Downloaded libc-print v0.1.19 [INFO] [stderr] Downloaded xshell v0.1.17 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 495a0c1f6c1bb40322265e5bcf72a347c17d589ed8b7a41cb69214eb707086de [INFO] running `Command { std: "docker" "start" "-a" "495a0c1f6c1bb40322265e5bcf72a347c17d589ed8b7a41cb69214eb707086de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "495a0c1f6c1bb40322265e5bcf72a347c17d589ed8b7a41cb69214eb707086de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "495a0c1f6c1bb40322265e5bcf72a347c17d589ed8b7a41cb69214eb707086de", kill_on_drop: false }` [INFO] [stdout] 495a0c1f6c1bb40322265e5bcf72a347c17d589ed8b7a41cb69214eb707086de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c69d2f59a1c97aadc42fbc59ee09fbbc5823582a28e126b13022b694b9e88631 [INFO] running `Command { std: "docker" "start" "-a" "c69d2f59a1c97aadc42fbc59ee09fbbc5823582a28e126b13022b694b9e88631", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.15.0 [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] Compiling unicode-xid v0.2.2 [INFO] [stderr] Checking zeroize v1.4.3 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Checking base16ct v0.1.1 [INFO] [stderr] Checking der v0.5.1 [INFO] [stderr] Checking ff v0.11.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling defmt-macros v0.3.2 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking group v0.11.0 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling defmt v0.3.1 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking cpufeatures v0.2.2 [INFO] [stderr] Compiling defmt-parser v0.3.1 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking bitflags v1.3.2 [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] Compiling anyhow v1.0.57 [INFO] [stderr] Compiling xshell-macros v0.1.17 [INFO] [stderr] Checking spki v0.5.4 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking nom v7.1.1 [INFO] [stderr] Checking pkcs8 v0.8.0 [INFO] [stderr] Checking xshell v0.1.17 [INFO] [stderr] Checking libc-print v0.1.19 [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 sec1 v0.2.1 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking hmac v0.11.0 [INFO] [stderr] Checking signature v1.3.2 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking elliptic-curve v0.11.12 [INFO] [stderr] Checking rfc6979 v0.1.0 [INFO] [stderr] Checking ecdsa v0.13.4 [INFO] [stderr] Checking p256 v0.10.1 [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: 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[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: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[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: 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[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: 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[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: 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[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[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] 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 29 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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 29 previous errors [INFO] running `Command { std: "docker" "inspect" "c69d2f59a1c97aadc42fbc59ee09fbbc5823582a28e126b13022b694b9e88631", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c69d2f59a1c97aadc42fbc59ee09fbbc5823582a28e126b13022b694b9e88631", kill_on_drop: false }` [INFO] [stdout] c69d2f59a1c97aadc42fbc59ee09fbbc5823582a28e126b13022b694b9e88631