[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 against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStrange21%2FrustBoot" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 38% (364/953) Updating files: 39% (372/953) Updating files: 40% (382/953) Updating files: 41% (391/953) Updating files: 42% (401/953) Updating files: 43% (410/953) Updating files: 44% (420/953) Updating files: 45% (429/953) Updating files: 46% (439/953) Updating files: 47% (448/953) Updating files: 48% (458/953) Updating files: 49% (467/953) Updating files: 50% (477/953) Updating files: 51% (487/953) Updating files: 52% (496/953) Updating files: 53% (506/953) Updating files: 54% (515/953) Updating files: 55% (525/953) Updating files: 56% (534/953) Updating files: 57% (544/953) Updating files: 58% (553/953) Updating files: 59% (563/953) Updating files: 60% (572/953) Updating files: 61% (582/953) Updating files: 62% (591/953) 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 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-7-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-7-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" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded xshell v0.1.17 [INFO] [stderr] Downloaded libc-print v0.1.19 [INFO] [stderr] Downloaded xshell-macros v0.1.17 [INFO] [stderr] Downloaded defmt-macros v0.3.2 [INFO] [stderr] Downloaded defmt v0.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 128dbbe8bcc542d8d17216fde970fa007f436907ac60fbf6ae2aaec0b3d898ad [INFO] running `Command { std: "docker" "start" "-a" "128dbbe8bcc542d8d17216fde970fa007f436907ac60fbf6ae2aaec0b3d898ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "128dbbe8bcc542d8d17216fde970fa007f436907ac60fbf6ae2aaec0b3d898ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "128dbbe8bcc542d8d17216fde970fa007f436907ac60fbf6ae2aaec0b3d898ad", kill_on_drop: false }` [INFO] [stdout] 128dbbe8bcc542d8d17216fde970fa007f436907ac60fbf6ae2aaec0b3d898ad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b788095620478cc047c8458d624ee5c68a4de187751fc0ed815044795b42fdf8 [INFO] running `Command { std: "docker" "start" "-a" "b788095620478cc047c8458d624ee5c68a4de187751fc0ed815044795b42fdf8", 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] Checking zeroize v1.4.3 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Checking base16ct v0.1.1 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking ff v0.11.0 [INFO] [stderr] Checking der v0.5.1 [INFO] [stderr] Compiling defmt-macros v0.3.2 [INFO] [stderr] Checking group v0.11.0 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Checking cpufeatures v0.2.2 [INFO] [stderr] Compiling defmt-parser v0.3.1 [INFO] [stderr] Checking opaque-debug v0.3.0 [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 stable_deref_trait v1.2.0 [INFO] [stderr] Checking minimal-lexical v0.2.1 [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 quote v1.0.18 [INFO] [stderr] Checking spki v0.5.4 [INFO] [stderr] Compiling xshell-macros v0.1.17 [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-mac v0.11.1 [INFO] [stderr] Checking crypto-bigint v0.3.2 [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[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: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: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: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: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: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] error[E0392]: lifetime parameter `'a` is never used [INFO] [stdout] --> rustBoot/src/image/image.rs:479:20 [INFO] [stdout] | [INFO] [stdout] 479 | pub enum ImageType<'a> { [INFO] [stdout] | ^^ unused lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: consider removing `'a`, referring to it in a field, or using a marker such as `PhantomData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0392]: lifetime parameter `'a` is never used [INFO] [stdout] --> rustBoot/src/image/image.rs:479:20 [INFO] [stdout] | [INFO] [stdout] 479 | pub enum ImageType<'a> { [INFO] [stdout] | ^^ unused lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: consider removing `'a`, referring to it in a field, or using a marker such as `PhantomData` [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] error: aborting due to 30 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0283, E0382, E0392, 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 31 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 30 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0283, E0382, E0392, 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 31 previous errors [INFO] running `Command { std: "docker" "inspect" "b788095620478cc047c8458d624ee5c68a4de187751fc0ed815044795b42fdf8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b788095620478cc047c8458d624ee5c68a4de187751fc0ed815044795b42fdf8", kill_on_drop: false }` [INFO] [stdout] b788095620478cc047c8458d624ee5c68a4de187751fc0ed815044795b42fdf8 [INFO] checking Strange21/rustBoot against try#dae34b759e282c069aa28752564694effd121a63 for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStrange21%2FrustBoot" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 38% (364/953) Updating files: 39% (372/953) Updating files: 40% (382/953) Updating files: 41% (391/953) Updating files: 42% (401/953) Updating files: 43% (410/953) Updating files: 44% (420/953) Updating files: 45% (429/953) Updating files: 46% (439/953) Updating files: 47% (448/953) Updating files: 48% (458/953) Updating files: 49% (467/953) Updating files: 50% (477/953) Updating files: 51% (487/953) Updating files: 52% (496/953) Updating files: 53% (506/953) Updating files: 54% (515/953) Updating files: 55% (525/953) Updating files: 56% (534/953) Updating files: 57% (544/953) Updating files: 58% (553/953) Updating files: 59% (563/953) Updating files: 60% (572/953) Updating files: 61% (582/953) Updating files: 62% (591/953) 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 dae34b759e282c069aa28752564694effd121a63 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-7-tc2/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-7-tc2/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" "+dae34b759e282c069aa28752564694effd121a63" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a9ec268e336d4530794df5a85d194637901ca2449013da3c3f8594f7488e1dfe [INFO] running `Command { std: "docker" "start" "-a" "a9ec268e336d4530794df5a85d194637901ca2449013da3c3f8594f7488e1dfe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a9ec268e336d4530794df5a85d194637901ca2449013da3c3f8594f7488e1dfe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9ec268e336d4530794df5a85d194637901ca2449013da3c3f8594f7488e1dfe", kill_on_drop: false }` [INFO] [stdout] a9ec268e336d4530794df5a85d194637901ca2449013da3c3f8594f7488e1dfe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f33d329758beab2fbdc905c1b979e5bb4c882d630af90881877cbd1184d88f6b [INFO] running `Command { std: "docker" "start" "-a" "f33d329758beab2fbdc905c1b979e5bb4c882d630af90881877cbd1184d88f6b", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] no edition found in manifest, probably 2015, skipping [INFO] running `Command { std: "docker" "inspect" "f33d329758beab2fbdc905c1b979e5bb4c882d630af90881877cbd1184d88f6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f33d329758beab2fbdc905c1b979e5bb4c882d630af90881877cbd1184d88f6b", kill_on_drop: false }` [INFO] [stdout] f33d329758beab2fbdc905c1b979e5bb4c882d630af90881877cbd1184d88f6b