[INFO] cloning repository https://github.com/Windfisch/rs-stm32f4-usbhost [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Windfisch/rs-stm32f4-usbhost" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWindfisch%2Frs-stm32f4-usbhost", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWindfisch%2Frs-stm32f4-usbhost'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c7110158ed76cf1a23f2aa955eec9a8aa585aa1f [INFO] checking Windfisch/rs-stm32f4-usbhost/c7110158ed76cf1a23f2aa955eec9a8aa585aa1f against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWindfisch%2Frs-stm32f4-usbhost" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Windfisch/rs-stm32f4-usbhost on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5-tc1/source/.cargo/config [INFO] started tweaking git repo https://github.com/Windfisch/rs-stm32f4-usbhost [INFO] finished tweaking git repo https://github.com/Windfisch/rs-stm32f4-usbhost [INFO] tweaked toml for git repo https://github.com/Windfisch/rs-stm32f4-usbhost written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Windfisch/rs-stm32f4-usbhost 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: unstable [INFO] [stderr] Updating git repository `https://github.com/Windfisch/sharing-coroutines-nostd` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded embedded-dma v0.1.2 [INFO] [stderr] Downloaded cortex-m-rt v0.6.14 [INFO] [stderr] Downloaded rtcc v0.2.1 [INFO] [stderr] Downloaded critical-section v0.2.5 [INFO] [stderr] Downloaded stm32f4xx-hal v0.10.1 [INFO] [stderr] Downloaded atomic-polyfill v0.1.5 [INFO] [stderr] Downloaded embedded-hal v0.2.6 [INFO] [stderr] Downloaded heapless v0.7.8 [INFO] [stderr] Downloaded cortex-m-rt v0.7.1 [INFO] [stderr] Downloaded cortex-m v0.7.2 [INFO] [stderr] Downloaded riscv v0.7.0 [INFO] [stderr] Downloaded stm32f4 v0.13.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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 98adf80c24fff5b92d6a467d569dffcc16c8443adbfd47882e699cfafb88b44e [INFO] running `Command { std: "docker" "start" "-a" "98adf80c24fff5b92d6a467d569dffcc16c8443adbfd47882e699cfafb88b44e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "98adf80c24fff5b92d6a467d569dffcc16c8443adbfd47882e699cfafb88b44e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98adf80c24fff5b92d6a467d569dffcc16c8443adbfd47882e699cfafb88b44e", kill_on_drop: false }` [INFO] [stdout] 98adf80c24fff5b92d6a467d569dffcc16c8443adbfd47882e699cfafb88b44e [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b6f2d3abe0bfacf9a44f8124e43b831c85b059a854ed8183f119935e6a2345bb [INFO] running `Command { std: "docker" "start" "-a" "b6f2d3abe0bfacf9a44f8124e43b831c85b059a854ed8183f119935e6a2345bb", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: unstable [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking nb v1.0.0 [INFO] [stderr] Compiling cortex-m v0.7.2 [INFO] [stderr] Compiling cortex-m-rt v0.6.14 [INFO] [stderr] Checking vcell v0.1.3 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling cortex-m-rt v0.7.1 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking r0 v0.2.2 [INFO] [stderr] Compiling stm32f4 v0.13.0 [INFO] [stderr] Checking volatile-register v0.2.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling heapless v0.7.8 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking embedded-dma v0.1.2 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking embedded-hal v0.2.6 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking bare-metal v1.0.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking sharing-coroutines-nostd v0.1.0 (https://github.com/Windfisch/sharing-coroutines-nostd?rev=e559d9a719f77f36e17d987946d4d00015586e93#e559d9a7) [INFO] [stderr] Checking hash32 v0.2.1 [INFO] [stderr] Checking spin v0.9.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking rtcc v0.2.1 [INFO] [stderr] Compiling cortex-m-rt-macros v0.1.8 [INFO] [stderr] Compiling cortex-m-rt-macros v0.7.0 [INFO] [stderr] Checking stm32f4xx-hal v0.10.1 [INFO] [stderr] Checking blinky v0.1.0 (/opt/rustwide/workdir) [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] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> src/main.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | / fn panic(info: &core::panic::PanicInfo) -> ! { [INFO] [stdout] 27 | | use core::mem::MaybeUninit; [INFO] [stdout] 28 | | cortex_m::interrupt::disable(); [INFO] [stdout] ... | [INFO] [stdout] 34 | | loop {} [INFO] [stdout] 35 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std` (which `test` depends on) [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/f609b7e0586f81fefb3523e3e17adf779ac416be/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-e0ee872a6f64065a.rlib [INFO] [stdout] = note: second definition in the local crate (`blinky`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: could not compile `blinky` (bin "blinky" test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/usb_host.rs:208:7 [INFO] [stdout] | [INFO] [stdout] 208 | let result = fnord.await; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: item does not constrain `UsbHostCoroutine::{opaque#0}`, but has it in its signature [INFO] [stdout] --> src/usb_host.rs:617:9 [INFO] [stdout] | [INFO] [stdout] 617 | pub fn poll(&self, host_coroutine: Pin<&mut UsbHostCoroutine>, drivers: &[Pin<&dyn driver::DriverInstance>]) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider moving the opaque type's declaration and defining uses into a separate module [INFO] [stdout] note: this opaque type is in the signature [INFO] [stdout] --> src/usb_host.rs:289:33 [INFO] [stdout] | [INFO] [stdout] 289 | pub type UsbHostCoroutine<'a> = impl Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sofcount` is assigned to, but never used [INFO] [stdout] --> src/usb_host.rs:467:14 [INFO] [stdout] | [INFO] [stdout] 467 | let mut sofcount: u32 = 0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_sofcount` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hfnum` [INFO] [stdout] --> src/usb_host.rs:480:12 [INFO] [stdout] | [INFO] [stdout] 480 | ... let hfnum = host.globals().usb_host.hfnum.read().bits(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_hfnum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gnptxsts` [INFO] [stdout] --> src/usb_host.rs:481:12 [INFO] [stdout] | [INFO] [stdout] 481 | ... let gnptxsts = host.globals().usb_global.gnptxsts.read().bits(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gnptxsts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: item does not constrain `MidiDriverFuture::{opaque#0}`, but has it in its signature [INFO] [stdout] --> src/driver.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn create_midi_instance<'a>(host: &'a UsbHost) -> sharing_coroutines_nostd::FutureContainer, MidiDriverFuture<'... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider moving the opaque type's declaration and defining uses into a separate module [INFO] [stdout] note: this opaque type is in the signature [INFO] [stdout] --> src/driver.rs:60:33 [INFO] [stdout] | [INFO] [stdout] 60 | pub type MidiDriverFuture<'a> = impl Future + 'a; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0792]: non-defining opaque type use in defining scope [INFO] [stdout] --> src/driver.rs:132:55 [INFO] [stdout] | [INFO] [stdout] 132 | ...atic UsbHost) -> sharing_coroutines_nostd::FutureContainer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ argument `'static` is not a generic parameter [INFO] [stdout] | [INFO] [stdout] note: for this opaque type [INFO] [stdout] --> src/driver.rs:60:33 [INFO] [stdout] | [INFO] [stdout] 60 | pub type MidiDriverFuture<'a> = impl Future + 'a; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: item does not constrain `MidiDriverFuture::{opaque#0}`, but has it in its signature [INFO] [stdout] --> src/driver.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 132 | fn create_instance(&self, host: &'static UsbHost) -> sharing_coroutines_nostd::FutureContainer src/driver.rs:60:33 [INFO] [stdout] | [INFO] [stdout] 60 | pub type MidiDriverFuture<'a> = impl Future + 'a; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/usb_host.rs:473:25 [INFO] [stdout] | [INFO] [stdout] 413 | unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 473 | coroutine::poll( unsafe { Pin::new_unchecked(future) } ); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device_id` [INFO] [stdout] --> src/driver.rs:37:30 [INFO] [stdout] | [INFO] [stdout] 37 | fn attach(self: Pin<&Self>, device_id: u8) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_device_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device_descriptor` [INFO] [stdout] --> src/driver.rs:63:22 [INFO] [stdout] | [INFO] [stdout] 63 | fn midi_wants_device(device_descriptor: &[u8], config_descriptor: &[u8]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_device_descriptor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0792`. [INFO] [stdout] [INFO] [stderr] error: could not compile `blinky` (bin "blinky") due to 6 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b6f2d3abe0bfacf9a44f8124e43b831c85b059a854ed8183f119935e6a2345bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6f2d3abe0bfacf9a44f8124e43b831c85b059a854ed8183f119935e6a2345bb", kill_on_drop: false }` [INFO] [stdout] b6f2d3abe0bfacf9a44f8124e43b831c85b059a854ed8183f119935e6a2345bb