[INFO] fetching crate rp2040-bootsel-via-double-reset 0.0.1... [INFO] checking rp2040-bootsel-via-double-reset-0.0.1 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate rp2040-bootsel-via-double-reset 0.0.1 into /workspace/builds/worker-5-tc2/source [INFO] removed /workspace/builds/worker-5-tc2/source/.cargo/config.toml [INFO] started tweaking crates.io crate rp2040-bootsel-via-double-reset 0.0.1 [INFO] finished tweaking crates.io crate rp2040-bootsel-via-double-reset 0.0.1 [INFO] tweaked toml for crates.io crate rp2040-bootsel-via-double-reset 0.0.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rp2040-bootsel-via-double-reset 0.0.1 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 40 packages to latest compatible versions [INFO] [stderr] Adding embedded-hal v0.2.7 (available: v1.0.0) [INFO] [stderr] Adding rp2040-hal v0.9.2 (available: v0.11.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c66bebf73d46192ff6263d96fc4056aa89cae2261e503df36045543359cf8a0a [INFO] running `Command { std: "docker" "start" "-a" "c66bebf73d46192ff6263d96fc4056aa89cae2261e503df36045543359cf8a0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c66bebf73d46192ff6263d96fc4056aa89cae2261e503df36045543359cf8a0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c66bebf73d46192ff6263d96fc4056aa89cae2261e503df36045543359cf8a0a", kill_on_drop: false }` [INFO] [stdout] c66bebf73d46192ff6263d96fc4056aa89cae2261e503df36045543359cf8a0a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7cea189fbe1049c496578d01b1dc1153fcdb8ae4c55b65551b482106ac252f32 [INFO] running `Command { std: "docker" "start" "-a" "7cea189fbe1049c496578d01b1dc1153fcdb8ae4c55b65551b482106ac252f32", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking nb v1.1.0 [INFO] [stderr] Compiling cortex-m v0.7.7 [INFO] [stderr] Compiling frunk_core v0.4.4 [INFO] [stderr] Compiling cortex-m-rt v0.7.5 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking vcell v0.1.3 [INFO] [stderr] Compiling rp2040-pac v0.5.0 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Checking gcd v2.3.0 [INFO] [stderr] Checking critical-section v1.2.0 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking volatile-register v0.2.2 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking embedded-hal v0.2.7 [INFO] [stderr] Checking fugit v0.3.7 [INFO] [stderr] Checking embedded-dma v0.2.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking usb-device v0.2.9 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling frunk_proc_macro_helpers v0.1.4 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Compiling cortex-m-rt-macros v0.7.5 [INFO] [stderr] Compiling frunk_derives v0.4.4 [INFO] [stderr] Checking frunk v0.4.4 [INFO] [stderr] Compiling rp2040-hal-macros v0.1.0 [INFO] [stderr] Checking num_enum v0.5.11 [INFO] [stderr] Checking pio v0.2.1 [INFO] [stderr] Checking rp2040-hal v0.9.2 [INFO] [stderr] Checking rp2040-bootsel-via-double-reset v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: formatting may not be suitable for sub-register argument [INFO] [stdout] --> src/lib.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | "ldr {flag}, [{addr}]", [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 17 | addr = in(reg) FLAG.as_ptr(), [INFO] [stdout] 18 | flag = out(reg) flag, [INFO] [stdout] | ---- for this argument [INFO] [stdout] | [INFO] [stdout] = help: use `{1:e}` to have the register formatted as `eax` (for 32-bit values) [INFO] [stdout] = help: or use `{1:r}` to keep the default formatting of `rax` (for 64-bit values) [INFO] [stdout] = note: `#[warn(asm_sub_register)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: formatting may not be suitable for sub-register argument [INFO] [stdout] --> src/lib.rs:33:22 [INFO] [stdout] | [INFO] [stdout] 33 | "str {value}, [{addr}]", [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 34 | addr = in(reg) FLAG.as_ptr(), [INFO] [stdout] 35 | value = in(reg) value, [INFO] [stdout] | ----- for this argument [INFO] [stdout] | [INFO] [stdout] = help: use `{1:e}` to have the register formatted as `eax` (for 32-bit values) [INFO] [stdout] = help: or use `{1:r}` to keep the default formatting of `rax` (for 64-bit values) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: formatting may not be suitable for sub-register argument [INFO] [stdout] --> src/lib.rs:43:22 [INFO] [stdout] | [INFO] [stdout] 43 | "str {value}, [{addr}]", [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 44 | addr = in(reg) FLAG.as_ptr(), [INFO] [stdout] 45 | value = in(reg) value, [INFO] [stdout] | ----- for this argument [INFO] [stdout] | [INFO] [stdout] = help: use `{1:e}` to have the register formatted as `eax` (for 32-bit values) [INFO] [stdout] = help: or use `{1:r}` to keep the default formatting of `rax` (for 64-bit values) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:17:29 [INFO] [stdout] | [INFO] [stdout] 17 | addr = in(reg) FLAG.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | unsafe { FLAG.write(0) }; [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:34:32 [INFO] [stdout] | [INFO] [stdout] 34 | addr = in(reg) FLAG.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | addr = in(reg) FLAG.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: formatting may not be suitable for sub-register argument [INFO] [stdout] --> src/lib.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | "ldr {flag}, [{addr}]", [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 17 | addr = in(reg) FLAG.as_ptr(), [INFO] [stdout] 18 | flag = out(reg) flag, [INFO] [stdout] | ---- for this argument [INFO] [stdout] | [INFO] [stdout] = help: use `{1:e}` to have the register formatted as `eax` (for 32-bit values) [INFO] [stdout] = help: or use `{1:r}` to keep the default formatting of `rax` (for 64-bit values) [INFO] [stdout] = note: `#[warn(asm_sub_register)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: formatting may not be suitable for sub-register argument [INFO] [stdout] --> src/lib.rs:33:22 [INFO] [stdout] | [INFO] [stdout] 33 | "str {value}, [{addr}]", [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 34 | addr = in(reg) FLAG.as_ptr(), [INFO] [stdout] 35 | value = in(reg) value, [INFO] [stdout] | ----- for this argument [INFO] [stdout] | [INFO] [stdout] = help: use `{1:e}` to have the register formatted as `eax` (for 32-bit values) [INFO] [stdout] = help: or use `{1:r}` to keep the default formatting of `rax` (for 64-bit values) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: formatting may not be suitable for sub-register argument [INFO] [stdout] --> src/lib.rs:43:22 [INFO] [stdout] | [INFO] [stdout] 43 | "str {value}, [{addr}]", [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 44 | addr = in(reg) FLAG.as_ptr(), [INFO] [stdout] 45 | value = in(reg) value, [INFO] [stdout] | ----- for this argument [INFO] [stdout] | [INFO] [stdout] = help: use `{1:e}` to have the register formatted as `eax` (for 32-bit values) [INFO] [stdout] = help: or use `{1:r}` to keep the default formatting of `rax` (for 64-bit values) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:17:29 [INFO] [stdout] | [INFO] [stdout] 17 | addr = in(reg) FLAG.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | unsafe { FLAG.write(0) }; [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:34:32 [INFO] [stdout] | [INFO] [stdout] 34 | addr = in(reg) FLAG.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | addr = in(reg) FLAG.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.11s [INFO] running `Command { std: "docker" "inspect" "7cea189fbe1049c496578d01b1dc1153fcdb8ae4c55b65551b482106ac252f32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cea189fbe1049c496578d01b1dc1153fcdb8ae4c55b65551b482106ac252f32", kill_on_drop: false }` [INFO] [stdout] 7cea189fbe1049c496578d01b1dc1153fcdb8ae4c55b65551b482106ac252f32