[INFO] fetching crate rp2040-bootsel-via-double-reset 0.0.1... [INFO] testing rp2040-bootsel-via-double-reset-0.0.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate rp2040-bootsel-via-double-reset 0.0.1 into /workspace/builds/worker-5-tc1/source [INFO] removed /workspace/builds/worker-5-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rp2040-bootsel-via-double-reset 0.0.1 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded frunk_derives v0.4.4 [INFO] [stderr] Downloaded frunk_proc_macro_helpers v0.1.4 [INFO] [stderr] Downloaded frunk_core v0.4.4 [INFO] [stderr] Downloaded usb-device v0.2.9 [INFO] [stderr] Downloaded frunk v0.4.4 [INFO] [stderr] Downloaded rp2040-hal v0.9.2 [INFO] [stderr] Downloaded rp2040-pac v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cad8a27b58060ef1d302beea43e1b4eca0b4094d849a745b94067ac3643cc7fe [INFO] running `Command { std: "docker" "start" "-a" "cad8a27b58060ef1d302beea43e1b4eca0b4094d849a745b94067ac3643cc7fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cad8a27b58060ef1d302beea43e1b4eca0b4094d849a745b94067ac3643cc7fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cad8a27b58060ef1d302beea43e1b4eca0b4094d849a745b94067ac3643cc7fe", kill_on_drop: false }` [INFO] [stdout] cad8a27b58060ef1d302beea43e1b4eca0b4094d849a745b94067ac3643cc7fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 1d934c5457dd52440284bd50e0890403afe375b469657cbb1bf487bd7b2216f7 [INFO] running `Command { std: "docker" "start" "-a" "1d934c5457dd52440284bd50e0890403afe375b469657cbb1bf487bd7b2216f7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [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] Compiling cortex-m v0.7.7 [INFO] [stderr] Compiling nb v1.1.0 [INFO] [stderr] Compiling cortex-m-rt v0.7.5 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling frunk_core v0.4.4 [INFO] [stderr] Compiling vcell v0.1.3 [INFO] [stderr] Compiling rp2040-pac v0.5.0 [INFO] [stderr] Compiling bitfield v0.13.2 [INFO] [stderr] Compiling critical-section v1.2.0 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling gcd v2.3.0 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling volatile-register v0.2.2 [INFO] [stderr] Compiling embedded-hal v0.2.7 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling usb-device v0.2.9 [INFO] [stderr] Compiling fugit v0.3.7 [INFO] [stderr] Compiling embedded-dma v0.2.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [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] Compiling num_enum v0.5.11 [INFO] [stderr] Compiling pio v0.2.1 [INFO] [stderr] Compiling frunk v0.4.4 [INFO] [stderr] Compiling rp2040-hal-macros v0.1.0 [INFO] [stderr] Compiling rp2040-hal v0.9.2 [INFO] [stderr] Compiling 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] error: invalid instruction mnemonic 'ldr' [INFO] [stdout] --> src/lib.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | "ldr {flag}, [{addr}]", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: instantiated into assembly here [INFO] [stdout] --> :2:2 [INFO] [stdout] | [INFO] [stdout] 2 | ldr rax, [rcx] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid operand for instruction [INFO] [stdout] --> src/lib.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 33 | "str {value}, [{addr}]", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: instantiated into assembly here [INFO] [stdout] --> :2:2 [INFO] [stdout] | [INFO] [stdout] 2 | str rcx, [rax] [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid operand for instruction [INFO] [stdout] --> src/lib.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 43 | "str {value}, [{addr}]", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: instantiated into assembly here [INFO] [stdout] --> :2:2 [INFO] [stdout] | [INFO] [stdout] 2 | str rcx, [rax] [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rp2040-bootsel-via-double-reset` (lib) due to 3 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "1d934c5457dd52440284bd50e0890403afe375b469657cbb1bf487bd7b2216f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d934c5457dd52440284bd50e0890403afe375b469657cbb1bf487bd7b2216f7", kill_on_drop: false }` [INFO] [stdout] 1d934c5457dd52440284bd50e0890403afe375b469657cbb1bf487bd7b2216f7