[INFO] cloning repository https://github.com/tommy-gilligan/usbh-pio [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tommy-gilligan/usbh-pio" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftommy-gilligan%2Fusbh-pio", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftommy-gilligan%2Fusbh-pio'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cdc92c471145b1546de63701f4bb61371f0bb618 [INFO] checking tommy-gilligan/usbh-pio against try#c86ec274072509d26d0ee52682a0c94ed012ed89 for pr-153027 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftommy-gilligan%2Fusbh-pio" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-3-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/tommy-gilligan/usbh-pio [INFO] finished tweaking git repo https://github.com/tommy-gilligan/usbh-pio [INFO] tweaked toml for git repo https://github.com/tommy-gilligan/usbh-pio written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tommy-gilligan/usbh-pio on toolchain c86ec274072509d26d0ee52682a0c94ed012ed89 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c86ec274072509d26d0ee52682a0c94ed012ed89" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tommy-gilligan/usbh-pio 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" "+c86ec274072509d26d0ee52682a0c94ed012ed89" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/tommy-gilligan/rp-hal` [INFO] [stderr] Updating git repository `https://github.com/nilclass/usbh` [INFO] [stderr] Updating git repository `https://github.com/tommy-gilligan/usbh-defmt` [INFO] [stderr] Updating git repository `https://github.com/rp-rs/rp2040-pac` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking tommy-gilligan/usbh-pio against try#c86ec274072509d26d0ee52682a0c94ed012ed89 for pr-153027 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftommy-gilligan%2Fusbh-pio" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-3-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/tommy-gilligan/usbh-pio [INFO] finished tweaking git repo https://github.com/tommy-gilligan/usbh-pio [INFO] tweaked toml for git repo https://github.com/tommy-gilligan/usbh-pio written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tommy-gilligan/usbh-pio on toolchain c86ec274072509d26d0ee52682a0c94ed012ed89 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c86ec274072509d26d0ee52682a0c94ed012ed89" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tommy-gilligan/usbh-pio 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" "+c86ec274072509d26d0ee52682a0c94ed012ed89" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded defmt-parser v0.3.3 [INFO] [stderr] Downloaded embed-doc-image v0.1.4 [INFO] [stderr] Downloaded defmt v0.3.5 [INFO] [stderr] Downloaded defmt-macros v0.3.6 [INFO] [stderr] Downloaded critical-section v0.2.8 [INFO] [stderr] Downloaded bare-metal v0.2.5 [INFO] [stderr] Downloaded rp2040-boot2 v0.2.1 [INFO] [stderr] Downloaded defmt-json-schema v0.1.0 [INFO] [stderr] Downloaded errno v0.3.7 [INFO] [stderr] Downloaded pio v0.2.1 [INFO] [stderr] Downloaded pio-parser v0.2.2 [INFO] [stderr] Downloaded pio-proc v0.2.2 [INFO] [stderr] Downloaded trace v0.1.7 [INFO] [stderr] Downloaded crc-any v2.4.3 [INFO] [stderr] Downloaded panic-probe v0.3.1 [INFO] [stderr] Downloaded defmt-rtt v0.3.2 [INFO] [stderr] Downloaded rtic-core v1.0.0 [INFO] [stderr] Downloaded frunk_core v0.4.2 [INFO] [stderr] Downloaded rtic-monotonics v1.3.0 [INFO] [stderr] Downloaded frunk v0.4.2 [INFO] [stderr] Downloaded cortex-m v0.7.7 [INFO] [stderr] Downloaded rtic-macros v2.0.1 [INFO] [stderr] Downloaded volatile-register v0.2.2 [INFO] [stderr] Downloaded rtic-common v1.0.0 [INFO] [stderr] Downloaded frunk_proc_macro_helpers v0.1.2 [INFO] [stderr] Downloaded cortex-m-rt v0.7.3 [INFO] [stderr] Downloaded rtic v2.0.1 [INFO] [stderr] Downloaded cortex-m-rt-macros v0.7.0 [INFO] [stderr] Downloaded bitfield v0.13.2 [INFO] [stderr] Downloaded rtic-time v1.0.0 [INFO] [stderr] Downloaded frunk_derives v0.4.2 [INFO] [stderr] Downloaded usb-device v0.2.9 [INFO] [stderr] Downloaded rustix v0.38.24 [INFO] [stderr] Downloaded rp2040-pac v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+c86ec274072509d26d0ee52682a0c94ed012ed89" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 98aece756cd92b05c82c5e348748458f8fcdeafc102f8241f2be2373dfd4d9f6 [INFO] running `Command { std: "docker" "start" "-a" "98aece756cd92b05c82c5e348748458f8fcdeafc102f8241f2be2373dfd4d9f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "98aece756cd92b05c82c5e348748458f8fcdeafc102f8241f2be2373dfd4d9f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98aece756cd92b05c82c5e348748458f8fcdeafc102f8241f2be2373dfd4d9f6", kill_on_drop: false }` [INFO] [stdout] 98aece756cd92b05c82c5e348748458f8fcdeafc102f8241f2be2373dfd4d9f6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+c86ec274072509d26d0ee52682a0c94ed012ed89" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 376a57698bc83ae8ed256389a83cb4fae294259800c72e8c6f4c6da3a7aa7bc1 [INFO] running `Command { std: "docker" "start" "-a" "376a57698bc83ae8ed256389a83cb4fae294259800c72e8c6f4c6da3a7aa7bc1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling cortex-m v0.7.7 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling defmt v0.3.5 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling hashbrown v0.14.2 [INFO] [stderr] Checking nb v1.1.0 [INFO] [stderr] Compiling defmt-macros v0.3.6 [INFO] [stderr] Checking critical-section v1.1.2 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Compiling smallvec v1.11.2 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Checking vcell v0.1.3 [INFO] [stderr] Compiling rustix v0.38.24 [INFO] [stderr] Checking volatile-register v0.2.2 [INFO] [stderr] Checking embedded-hal v0.2.7 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Compiling linux-raw-sys v0.4.11 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Compiling ena v0.14.2 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling cortex-m-rt v0.7.3 [INFO] [stderr] Compiling frunk_core v0.4.2 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling debug-helper v0.3.13 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling atomic-polyfill v1.0.3 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Checking gcd v2.3.0 [INFO] [stderr] Compiling rp2040-pac v0.5.0 (https://github.com/rp-rs/rp2040-pac#4071c29d) [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Checking fugit v0.3.7 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling crc-any v2.4.3 [INFO] [stderr] Compiling lalrpop-util v0.19.12 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling lalrpop v0.19.12 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling termcolor v1.4.0 [INFO] [stderr] Compiling frunk_proc_macro_helpers v0.1.2 [INFO] [stderr] Compiling rp2040-pac v0.5.0 [INFO] [stderr] Checking bare-metal v1.0.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling frunk_derives v0.4.2 [INFO] [stderr] Checking embedded-dma v0.2.0 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling defmt-parser v0.3.3 [INFO] [stderr] Compiling rp2040-hal-macros v0.1.0 (https://github.com/tommy-gilligan/rp-hal?branch=experiment-usb-host#9c4a3b22) [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Compiling cortex-m-rt-macros v0.7.0 [INFO] [stderr] Compiling embed-doc-image v0.1.4 [INFO] [stderr] Checking frunk v0.4.2 [INFO] [stderr] Compiling rp2040-boot2 v0.2.1 [INFO] [stderr] Checking rtic-common v1.0.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling rtic v2.0.1 [INFO] [stderr] Compiling panic-probe v0.3.1 [INFO] [stderr] Compiling usbh-pio v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling rtic-monotonics v1.3.0 [INFO] [stderr] Compiling defmt-rtt v0.3.2 [INFO] [stderr] Compiling num_enum v0.5.11 [INFO] [stderr] Compiling pio v0.2.1 [INFO] [stderr] Checking rtic-time v1.0.0 [INFO] [stderr] Compiling rtic-macros v2.0.1 [INFO] [stderr] Checking critical-section v0.2.8 [INFO] [stderr] Checking rtic-core v1.0.0 [INFO] [stderr] Checking usb_crc v0.1.0 (/opt/rustwide/workdir/usb_crc) [INFO] [stderr] Checking embedded-hal v1.0.0-rc.1 [INFO] [stderr] Compiling trace v0.1.7 [INFO] [stderr] Checking usb-device v0.2.9 [INFO] [stderr] Checking usbh v0.1.0 (https://github.com/nilclass/usbh#68792edb) [INFO] [stderr] Checking usbh-defmt v0.1.0 (https://github.com/tommy-gilligan/usbh-defmt#b1eb8a78) [INFO] [stderr] Checking rp2040-hal v0.9.1 (https://github.com/tommy-gilligan/rp-hal?branch=experiment-usb-host#9c4a3b22) [INFO] [stderr] Checking serde_json v1.0.108 [INFO] [stderr] Checking defmt-json-schema v0.1.0 [INFO] [stderr] Checking xtask v0.1.0 (/opt/rustwide/workdir/xtask) [INFO] [stdout] warning: unused import: `File` [INFO] [stdout] --> xtask/src/main.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | fs::{self, File}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `File` [INFO] [stdout] --> xtask/src/main.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | fs::{self, File}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `schema_version` [INFO] [stdout] --> xtask/src/main.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let schema_version: SchemaVersion = serde_json::from_str(lines[0]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_schema_version` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `schema_version` [INFO] [stdout] --> xtask/src/main.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let schema_version: SchemaVersion = serde_json::from_str(lines[0]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_schema_version` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> xtask/src/main.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | fn validate(output: &str) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> xtask/src/main.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | fn validate(output: &str) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate` is never used [INFO] [stdout] --> xtask/src/main.rs:46:4 [INFO] [stdout] | [INFO] [stdout] 46 | fn validate(output: &str) {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate` is never used [INFO] [stdout] --> xtask/src/main.rs:46:4 [INFO] [stdout] | [INFO] [stdout] 46 | fn validate(output: &str) {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling pio-parser v0.2.2 [INFO] [stderr] Compiling pio-proc v0.2.2 [INFO] [stdout] warning: unused import: `core::ffi::c_int` [INFO] [stdout] --> src/pio_usb.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::ffi::c_int; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::ffi::c_int` [INFO] [stdout] --> src/pio_usb.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::ffi::c_int; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/pio_usb.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | data: &[u8], [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/pio_usb.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | len: usize, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pp` [INFO] [stdout] --> src/pio_usb.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | pp: &PioPort, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/pio_usb.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | data: &[u8], [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/pio_usb.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | len: usize, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pp` [INFO] [stdout] --> src/pio_usb.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | pp: &PioPort, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ep_id` [INFO] [stdout] --> src/pio_usb.rs:316:7 [INFO] [stdout] | [INFO] [stdout] 316 | let ep_id: u8 = device.endpoint_id[idx]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_ep_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/pio_usb.rs:350:9 [INFO] [stdout] | [INFO] [stdout] 350 | let size = ep.size; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ep_id` [INFO] [stdout] --> src/pio_usb.rs:316:7 [INFO] [stdout] | [INFO] [stdout] 316 | let ep_id: u8 = device.endpoint_id[idx]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_ep_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/pio_usb.rs:350:9 [INFO] [stdout] | [INFO] [stdout] 350 | let size = ep.size; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `crc_prev2` is never read [INFO] [stdout] --> src/pio_usb.rs:547:28 [INFO] [stdout] | [INFO] [stdout] 547 | let mut crc_prev2: u16 = 0xffff; [INFO] [stdout] | ^^^^^^ this value is reassigned later and never used [INFO] [stdout] ... [INFO] [stdout] 571 | crc_prev2 = crc_prev; [INFO] [stdout] | -------------------- `crc_prev2` is overwritten here before the previous value is read [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `crc_receive_inverse` is never read [INFO] [stdout] --> src/pio_usb.rs:549:38 [INFO] [stdout] | [INFO] [stdout] 549 | let mut crc_receive_inverse: u16 = 0; [INFO] [stdout] | ^ this value is reassigned later and never used [INFO] [stdout] ... [INFO] [stdout] 577 | crc_receive_inverse = crc_receive ^ 0xffff; [INFO] [stdout] | ------------------------------------------ `crc_receive_inverse` is overwritten here before the previous value is read [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/pio_usb_host.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | let res: u32 = 0; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `crc_prev2` is never read [INFO] [stdout] --> src/pio_usb.rs:547:28 [INFO] [stdout] | [INFO] [stdout] 547 | let mut crc_prev2: u16 = 0xffff; [INFO] [stdout] | ^^^^^^ this value is reassigned later and never used [INFO] [stdout] ... [INFO] [stdout] 571 | crc_prev2 = crc_prev; [INFO] [stdout] | -------------------- `crc_prev2` is overwritten here before the previous value is read [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `crc_receive_inverse` is never read [INFO] [stdout] --> src/pio_usb.rs:549:38 [INFO] [stdout] | [INFO] [stdout] 549 | let mut crc_receive_inverse: u16 = 0; [INFO] [stdout] | ^ this value is reassigned later and never used [INFO] [stdout] ... [INFO] [stdout] 577 | crc_receive_inverse = crc_receive ^ 0xffff; [INFO] [stdout] | ------------------------------------------ `crc_receive_inverse` is overwritten here before the previous value is read [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/pio_usb_host.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | let res: u32 = 0; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/pio_usb.rs:313:13 [INFO] [stdout] | [INFO] [stdout] 313 | device: &crate::usb_definitions::UsbDevice, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 314 | idx: usize [INFO] [stdout] 315 | ) -> Option<&'static Endpoint> { [INFO] [stdout] | ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 315 | ) -> Option<&'static Endpoint<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/pio_usb_host.rs:110:10 [INFO] [stdout] | [INFO] [stdout] 110 | if receive_len >= 0 && receive_pid == expect_pid { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/pio_usb.rs:313:13 [INFO] [stdout] | [INFO] [stdout] 313 | device: &crate::usb_definitions::UsbDevice, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 314 | idx: usize [INFO] [stdout] 315 | ) -> Option<&'static Endpoint> { [INFO] [stdout] | ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 315 | ) -> Option<&'static Endpoint<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/pio_usb_host.rs:110:10 [INFO] [stdout] | [INFO] [stdout] 110 | if receive_len >= 0 && receive_pid == expect_pid { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `#[panic_handler]` function required, but not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unwinding panics are not supported without std [INFO] [stdout] | [INFO] [stdout] = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding [INFO] [stdout] = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/kbd.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | let (mut pio_tx, _, _, _, sm_tx) = pac.PIO0.split(&mut pac.RESETS); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/kbd.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | let (mut pio_rx, _, _, sm_rx, sm_eop) = pac.PIO1.split(&mut pac.RESETS); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `usb_host` [INFO] [stdout] --> examples/kbd.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | let usb_host = UsbHost::new(UsbhDefmt::new(UsbhPio)); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_usb_host` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `usbh-pio` (example "kbd") due to 2 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0425]: cannot find type `Peripherals` in module `rtic::export` [INFO] [stdout] --> examples/rtic.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / #[rtic::app( [INFO] [stdout] 6 | | device = rp2040_hal::pac, [INFO] [stdout] 7 | | dispatchers = [TIMER_IRQ_1] [INFO] [stdout] 8 | | )] [INFO] [stdout] | |__^ not found in `rtic::export` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rtic::app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 11 + use crate::app::you_must_enable_the_rt_feature_for_the_pac_in_your_cargo_toml::Peripherals; [INFO] [stdout] | [INFO] [stdout] 11 + use cortex_m::Peripherals; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `interrupt` in `export` [INFO] [stdout] --> examples/rtic.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / #[rtic::app( [INFO] [stdout] 6 | | device = rp2040_hal::pac, [INFO] [stdout] 7 | | dispatchers = [TIMER_IRQ_1] [INFO] [stdout] 8 | | )] [INFO] [stdout] | |__^ could not find `interrupt` in `export` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rtic::app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 11 + use crate::app::you_must_enable_the_rt_feature_for_the_pac_in_your_cargo_toml::interrupt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `Peripherals` in `export` [INFO] [stdout] --> examples/rtic.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / #[rtic::app( [INFO] [stdout] 6 | | device = rp2040_hal::pac, [INFO] [stdout] 7 | | dispatchers = [TIMER_IRQ_1] [INFO] [stdout] 8 | | )] [INFO] [stdout] | |__^ could not find `Peripherals` in `export` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rtic::app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 11 + use crate::app::you_must_enable_the_rt_feature_for_the_pac_in_your_cargo_toml::Peripherals; [INFO] [stdout] | [INFO] [stdout] 11 + use cortex_m::Peripherals; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `nop` in module `rtic::export` [INFO] [stdout] --> examples/rtic.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / #[rtic::app( [INFO] [stdout] 6 | | device = rp2040_hal::pac, [INFO] [stdout] 7 | | dispatchers = [TIMER_IRQ_1] [INFO] [stdout] 8 | | )] [INFO] [stdout] | |__^ not found in `rtic::export` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rtic::app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 11 + use cortex_m::asm::nop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PioPort`, `PioUsbConfiguration`, `self`, and `usb_definitions::RootPort` [INFO] [stdout] --> examples/rtic.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | pio_usb_ll::{self, PioPort}, [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] 15 | usb_definitions::RootPort, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | PioUsbConfiguration [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `#[panic_handler]` function required, but not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unwinding panics are not supported without std [INFO] [stdout] | [INFO] [stdout] = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding [INFO] [stdout] = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/rtic.rs:49:31 [INFO] [stdout] | [INFO] [stdout] 49 | fn init_rx

(pin_dp: u8, mut pio_tx: &mut PIO

, sm_tx: UninitStateMachine<(P, SM2)>) -> ( [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `clocks` [INFO] [stdout] --> examples/rtic.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | let clocks = rp2040_hal::clocks::init_clocks_and_plls( [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_clocks` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx_ch` [INFO] [stdout] --> examples/rtic.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | let tx_ch = pac.DMA.split(&mut pac.RESETS).ch9; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_tx_ch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `usbh-pio` (example "rtic") due to 6 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "376a57698bc83ae8ed256389a83cb4fae294259800c72e8c6f4c6da3a7aa7bc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "376a57698bc83ae8ed256389a83cb4fae294259800c72e8c6f4c6da3a7aa7bc1", kill_on_drop: false }` [INFO] [stdout] 376a57698bc83ae8ed256389a83cb4fae294259800c72e8c6f4c6da3a7aa7bc1