[INFO] cloning repository https://github.com/necocen/rustkbd [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/necocen/rustkbd" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnecocen%2Frustkbd", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnecocen%2Frustkbd'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6cfb2e9d9abb2b88dc1ead0802176e2809acffcf [INFO] checking necocen/rustkbd against try#987a165cfab916796a8315782b83ac460a651ce2 for pr-145262 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnecocen%2Frustkbd" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-7-tc2/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-7-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/necocen/rustkbd [INFO] finished tweaking git repo https://github.com/necocen/rustkbd [INFO] tweaked toml for git repo https://github.com/necocen/rustkbd written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/necocen/rustkbd on toolchain 987a165cfab916796a8315782b83ac460a651ce2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+987a165cfab916796a8315782b83ac460a651ce2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/necocen/rustkbd 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" "+987a165cfab916796a8315782b83ac460a651ce2" "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/rp-rs/rp-hal-boards` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking necocen/rustkbd against try#987a165cfab916796a8315782b83ac460a651ce2 for pr-145262 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnecocen%2Frustkbd" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-7-tc2/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-7-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/necocen/rustkbd [INFO] finished tweaking git repo https://github.com/necocen/rustkbd [INFO] tweaked toml for git repo https://github.com/necocen/rustkbd written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/necocen/rustkbd on toolchain 987a165cfab916796a8315782b83ac460a651ce2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+987a165cfab916796a8315782b83ac460a651ce2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/necocen/rustkbd 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" "+987a165cfab916796a8315782b83ac460a651ce2" "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 display-interface v0.4.1 [INFO] [stderr] Downloaded embedded-graphics-core v0.4.0 [INFO] [stderr] Downloaded usbd-hid-descriptors v0.1.2 [INFO] [stderr] Downloaded display-interface-i2c v0.4.0 [INFO] [stderr] Downloaded usbd-hid-macros v0.6.0 [INFO] [stderr] Downloaded ssd1306 v0.8.4 [INFO] [stderr] Downloaded panic-probe v0.3.1 [INFO] [stderr] Downloaded defmt-parser v0.3.1 [INFO] [stderr] Downloaded defmt-rtt v0.4.0 [INFO] [stderr] Downloaded rp2040-hal-macros v0.1.0 [INFO] [stderr] Downloaded defmt v0.3.6 [INFO] [stderr] Downloaded gcd v2.1.0 [INFO] [stderr] Downloaded pio v0.2.0 [INFO] [stderr] Downloaded display-interface v0.5.0 [INFO] [stderr] Downloaded usbd-hid v0.7.0 [INFO] [stderr] Downloaded critical-section v1.1.0 [INFO] [stderr] Downloaded crc-any v2.4.3 [INFO] [stderr] Downloaded defmt-macros v0.3.2 [INFO] [stderr] Downloaded display-interface-spi v0.4.1 [INFO] [stderr] Downloaded rp2040-pac v0.6.0 [INFO] [stderr] Downloaded rp2040-hal v0.10.0 [INFO] [stderr] Downloaded embedded-graphics v0.8.1 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+987a165cfab916796a8315782b83ac460a651ce2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 14b1b5e225c2c92e728754d2f43c5266b092cf42faf45fdf955b69d8f72905be [INFO] running `Command { std: "docker" "start" "-a" "14b1b5e225c2c92e728754d2f43c5266b092cf42faf45fdf955b69d8f72905be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "14b1b5e225c2c92e728754d2f43c5266b092cf42faf45fdf955b69d8f72905be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14b1b5e225c2c92e728754d2f43c5266b092cf42faf45fdf955b69d8f72905be", kill_on_drop: false }` [INFO] [stdout] 14b1b5e225c2c92e728754d2f43c5266b092cf42faf45fdf955b69d8f72905be [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=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" "+987a165cfab916796a8315782b83ac460a651ce2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c39ab8b5a2d184f762331da1d3de5c37ca1e013fc41d47beceb0fdb5d42f17b3 [INFO] running `Command { std: "docker" "start" "-a" "c39ab8b5a2d184f762331da1d3de5c37ca1e013fc41d47beceb0fdb5d42f17b3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling cortex-m v0.7.7 [INFO] [stderr] Compiling defmt v0.3.6 [INFO] [stderr] Compiling cortex-m-rt v0.7.3 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Compiling heapless v0.8.0 [INFO] [stderr] Compiling serde v1.0.143 [INFO] [stderr] Compiling defmt-macros v0.3.2 [INFO] [stderr] Compiling defmt-parser v0.3.1 [INFO] [stderr] Compiling paste v1.0.8 [INFO] [stderr] Checking nb v1.1.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling az v1.2.1 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling frunk_core v0.4.2 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Checking embedded-hal v0.2.7 [INFO] [stderr] Compiling debug-helper v0.3.13 [INFO] [stderr] Compiling embedded-hal-async v1.0.0 [INFO] [stderr] Compiling rp2040-pac v0.6.0 [INFO] [stderr] Compiling bitfield v0.13.2 [INFO] [stderr] Compiling crc-any v2.4.3 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking hash32 v0.3.1 [INFO] [stderr] Checking vcell v0.1.3 [INFO] [stderr] Compiling panic-probe v0.3.1 [INFO] [stderr] Compiling defmt-rtt v0.4.0 [INFO] [stderr] Checking embedded-hal v1.0.0 [INFO] [stderr] Checking volatile-register v0.2.1 [INFO] [stderr] Compiling usbd-hid-descriptors v0.1.2 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling rp2040-boot2 v0.3.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking encode_unicode v0.3.6 [INFO] [stderr] Checking critical-section v1.1.0 [INFO] [stderr] Compiling rp-pico v0.8.0 (https://github.com/rp-rs/rp-hal-boards?rev=3fdd6135d319c5a9fe37014d3623980335526c71#3fdd6135) [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking gcd v2.1.0 [INFO] [stderr] Checking arrayvec v0.7.2 [INFO] [stderr] Checking display-interface v0.4.1 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Checking usb-device v0.3.2 [INFO] [stderr] Checking either v1.7.0 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Checking fugit v0.3.7 [INFO] [stderr] Checking embedded-hal-nb v1.0.0 [INFO] [stderr] Checking embedded-dma v0.2.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking byte-slice-cast v0.3.5 [INFO] [stderr] Checking embedded-graphics-core v0.4.0 [INFO] [stderr] Checking embedded-io v0.6.1 [INFO] [stderr] Checking bitfield v0.14.0 [INFO] [stderr] Checking display-interface-spi v0.4.1 [INFO] [stderr] Checking display-interface-i2c v0.4.0 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking micromath v2.1.0 [INFO] [stderr] Compiling necoboard-petit v0.0.0 (/opt/rustwide/workdir/necoboard-petit) [INFO] [stderr] Compiling necoboard-v1 v0.0.0 (/opt/rustwide/workdir/necoboard-v1) [INFO] [stderr] Compiling necoboard-petit-ec v0.0.0 (/opt/rustwide/workdir/necoboard-petit-ec) [INFO] [stderr] Checking display-interface v0.5.0 [INFO] [stderr] Checking embedded-graphics v0.8.1 [INFO] [stderr] Checking ssd1306 v0.8.4 [INFO] [stderr] Checking ssmarshal v1.0.0 [INFO] [stderr] Compiling frunk_proc_macro_helpers v0.1.2 [INFO] [stderr] Compiling frunk_derives v0.4.2 [INFO] [stderr] Compiling rustkbd-macros v0.0.0 (/opt/rustwide/workdir/rustkbd-macros) [INFO] [stderr] Checking frunk v0.4.2 [INFO] [stderr] Compiling cortex-m-rt-macros v0.7.0 [INFO] [stderr] Compiling num_enum_derive v0.5.7 [INFO] [stderr] Compiling usbd-hid-macros v0.6.0 [INFO] [stderr] Checking num_enum v0.5.7 [INFO] [stderr] Compiling rp2040-hal-macros v0.1.0 [INFO] [stderr] Checking pio v0.2.0 [INFO] [stderr] Checking usbd-hid v0.7.0 [INFO] [stderr] Checking rustkbd v0.0.0 (/opt/rustwide/workdir/rustkbd) [INFO] [stderr] Checking rp2040-hal v0.10.0 [INFO] [stdout] error: `#[panic_handler]` function required, but not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> necoboard-v1/src/main.rs:69:16 [INFO] [stdout] | [INFO] [stdout] 69 | static mut USB_BUS: Option> = None; [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] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> necoboard-v1/src/main.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | ALARM.borrow(cs).replace(Some(alarm)); [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] --> necoboard-v1/src/main.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | KEYBOARD.borrow(cs).replace(Some(keyboard)); [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 mutable reference to mutable static [INFO] [stdout] --> necoboard-v1/src/main.rs:184:25 [INFO] [stdout] | [INFO] [stdout] 184 | .spawn(unsafe { &mut CORE1_STACK.mem }, move || loop { [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] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 184 | .spawn(unsafe { &raw mut CORE1_STACK.mem }, move || loop { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> necoboard-v1/src/main.rs:187:17 [INFO] [stdout] | [INFO] [stdout] 187 | KEYBOARD.borrow(cs).borrow().as_ref().unwrap().get_state() [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] --> necoboard-v1/src/main.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 200 | / KEYBOARD [INFO] [stdout] 201 | | .borrow(cs) [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] --> necoboard-v1/src/main.rs:215:9 [INFO] [stdout] | [INFO] [stdout] 215 | / KEYBOARD [INFO] [stdout] 216 | | .borrow(cs) [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] --> necoboard-v1/src/main.rs:228:25 [INFO] [stdout] | [INFO] [stdout] 228 | let mut alarm = ALARM.borrow(cs).borrow_mut(); [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] --> necoboard-v1/src/main.rs:233:31 [INFO] [stdout] | [INFO] [stdout] 233 | if let Some(Err(e)) = KEYBOARD [INFO] [stdout] | _______________________________^ [INFO] [stdout] 234 | | .borrow(cs) [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: `#[panic_handler]` function required, but not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `#[panic_handler]` function required, but not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UartConnection` is never constructed [INFO] [stdout] --> necoboard-petit-ec/src/uart_connection.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct UartConnection>(pub UartPeripheral); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ReadError` is never constructed [INFO] [stdout] --> necoboard-petit-ec/src/uart_connection.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct ReadError(pub ReadErrorType); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> necoboard-petit-ec/src/main.rs:68:16 [INFO] [stdout] | [INFO] [stdout] 68 | static mut USB_BUS: Option> = None; [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] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> necoboard-petit-ec/src/main.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | KEYBOARD.borrow(cs).replace(Some(keyboard)); [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] --> necoboard-petit-ec/src/main.rs:182:32 [INFO] [stdout] | [INFO] [stdout] 182 | let mut keyboard = KEYBOARD.borrow(cs).borrow_mut(); [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] --> necoboard-petit-ec/src/main.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | / KEYBOARD [INFO] [stdout] 199 | | .borrow(cs) [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] error: could not compile `necoboard-v1` (bin "necoboard-v1") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> necoboard-petit/src/main.rs:98:16 [INFO] [stdout] | [INFO] [stdout] 98 | static mut TIMER: Option = None; [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] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> necoboard-petit/src/main.rs:99:16 [INFO] [stdout] | [INFO] [stdout] 99 | static mut USB_BUS: Option> = None; [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] --> necoboard-petit/src/main.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | ALARM0.borrow(cs).replace(Some(alarm0)); [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] --> necoboard-petit/src/main.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | ALARM1.borrow(cs).replace(Some(alarm1)); [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] --> necoboard-petit/src/main.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | KEYBOARD.borrow(cs).replace(Some(keyboard)); [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 mutable reference to mutable static [INFO] [stdout] --> necoboard-petit/src/main.rs:234:25 [INFO] [stdout] | [INFO] [stdout] 234 | .spawn(unsafe { &mut CORE1_STACK.mem }, move || loop { [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] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 234 | .spawn(unsafe { &raw mut CORE1_STACK.mem }, move || loop { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> necoboard-petit/src/main.rs:238:36 [INFO] [stdout] | [INFO] [stdout] 238 | let keyboard = KEYBOARD.borrow(cs).borrow(); [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] --> necoboard-petit/src/main.rs:301:9 [INFO] [stdout] | [INFO] [stdout] 301 | / KEYBOARD [INFO] [stdout] 302 | | .borrow(cs) [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] --> necoboard-petit/src/main.rs:314:9 [INFO] [stdout] | [INFO] [stdout] 314 | / KEYBOARD [INFO] [stdout] 315 | | .borrow(cs) [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] --> necoboard-petit/src/main.rs:328:25 [INFO] [stdout] | [INFO] [stdout] 328 | let mut alarm = ALARM0.borrow(cs).borrow_mut(); [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] --> necoboard-petit/src/main.rs:333:31 [INFO] [stdout] | [INFO] [stdout] 333 | if let Some(Err(e)) = KEYBOARD [INFO] [stdout] | _______________________________^ [INFO] [stdout] 334 | | .borrow(cs) [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] --> necoboard-petit/src/main.rs:349:25 [INFO] [stdout] | [INFO] [stdout] 349 | let mut alarm = ALARM1.borrow(cs).borrow_mut(); [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] --> necoboard-petit/src/main.rs:354:9 [INFO] [stdout] | [INFO] [stdout] 354 | / KEYBOARD [INFO] [stdout] 355 | | .borrow(cs) [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] error: could not compile `necoboard-petit-ec` (bin "necoboard-petit-ec") due to 1 previous error [INFO] [stderr] error: could not compile `necoboard-petit` (bin "necoboard-petit") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "c39ab8b5a2d184f762331da1d3de5c37ca1e013fc41d47beceb0fdb5d42f17b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c39ab8b5a2d184f762331da1d3de5c37ca1e013fc41d47beceb0fdb5d42f17b3", kill_on_drop: false }` [INFO] [stdout] c39ab8b5a2d184f762331da1d3de5c37ca1e013fc41d47beceb0fdb5d42f17b3