[INFO] fetching crate metro_m0 0.7.0... [INFO] checking metro_m0-0.7.0 against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] extracting crate metro_m0 0.7.0 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate metro_m0 0.7.0 on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-1/source/.cargo/config [INFO] started tweaking crates.io crate metro_m0 0.7.0 [INFO] finished tweaking crates.io crate metro_m0 0.7.0 [INFO] tweaked toml for crates.io crate metro_m0 0.7.0 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate crates.io crate metro_m0 0.7.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded as-slice v0.1.3 [INFO] [stderr] Downloaded atsamd21g18a v0.7.0 [INFO] [stderr] Downloaded sx1509 v0.2.0 [INFO] [stderr] Downloaded heapless v0.5.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4f00036d8fc4ac939b90d785dd13d686cb212416c253de6b7aab820848b1f222 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "4f00036d8fc4ac939b90d785dd13d686cb212416c253de6b7aab820848b1f222", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4f00036d8fc4ac939b90d785dd13d686cb212416c253de6b7aab820848b1f222", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f00036d8fc4ac939b90d785dd13d686cb212416c253de6b7aab820848b1f222", kill_on_drop: false }` [INFO] [stdout] 4f00036d8fc4ac939b90d785dd13d686cb212416c253de6b7aab820848b1f222 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e91b6e4ce80c65ec01fd8f5affd7dfeed64f872e9c78a733676a98d402c954e7 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e91b6e4ce80c65ec01fd8f5affd7dfeed64f872e9c78a733676a98d402c954e7", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling cortex-m v0.6.2 [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Checking vcell v0.1.2 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling cortex-m-rt v0.6.12 [INFO] [stderr] Checking r0 v0.2.2 [INFO] [stderr] Compiling atsamd21g18a v0.7.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking nb v0.1.2 [INFO] [stderr] Compiling cortex-m-semihosting v0.3.5 [INFO] [stderr] Compiling heapless v0.5.3 [INFO] [stderr] Compiling cortex-m v0.5.10 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling metro_m0 v0.7.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Checking aligned v0.2.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rtic-core v0.3.0 [INFO] [stderr] Checking jlink_rtt v0.1.0 [INFO] [stderr] Checking panic-halt v0.2.0 [INFO] [stderr] Checking volatile-register v0.2.0 [INFO] [stderr] Checking embedded-hal v0.2.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking byteorder v1.3.4 [INFO] [stderr] Checking sx1509 v0.2.0 [INFO] [stderr] Compiling cortex-m-rtic v0.5.3 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Checking hash32 v0.1.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking generic-array v0.13.2 [INFO] [stderr] Checking as-slice v0.1.3 [INFO] [stderr] Checking aligned v0.3.2 [INFO] [stderr] Checking panic-semihosting v0.5.3 [INFO] [stderr] Checking panic_rtt v0.2.0 [INFO] [stderr] Compiling rtic-syntax v0.4.0 [INFO] [stderr] Compiling cortex-m-rt-macros v0.1.8 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling paste-impl v0.1.6 [INFO] [stderr] Compiling cortex-m-rtic-macros v0.5.0 [INFO] [stderr] Checking paste v0.1.6 [INFO] [stderr] Checking atsamd-hal v0.9.0 [INFO] [stdout] error[E0463]: can't find crate for `rtfm` [INFO] [stdout] --> examples/rando.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | extern crate rtfm; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `metro_m0` [INFO] [stdout] error: language item required, but not found: `eh_personality` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: language item required, but not found: `eh_personality` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `usb` in `hal` [INFO] [stdout] --> examples/usb_serial.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | use hal::hal::usb::usb_device::bus::UsbBusWrapper; [INFO] [stdout] | ^^^ could not find `usb` in `hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `usb` in `hal` [INFO] [stdout] --> examples/usb_serial.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | use hal::hal::usb::usb_device::prelude::*; [INFO] [stdout] | ^^^ could not find `usb` in `hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `usb` in `hal` [INFO] [stdout] --> examples/usb_serial.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | use hal::hal::usb::usb_device::class_prelude::*; [INFO] [stdout] | ^^^ could not find `usb` in `hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `usb` in `hal` [INFO] [stdout] --> examples/usb_serial.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | use hal::hal::usb::usb_device::utils::AtomicMutex; [INFO] [stdout] | ^^^ could not find `usb` in `hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `usb` in `hal` [INFO] [stdout] --> examples/usb_serial.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | use hal::hal::usb::usb_device::Result; [INFO] [stdout] | ^^^ could not find `usb` in `hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `hal::interrupt`, `hal::CorePeripherals`, `hal::Peripherals` [INFO] [stdout] --> examples/usb_serial.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | use hal::{interrupt, CorePeripherals, Peripherals}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^ no `Peripherals` in the root [INFO] [stdout] | | | [INFO] [stdout] | | no `CorePeripherals` in the root [INFO] [stdout] | no `interrupt` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AtomicMutex` [INFO] [stdout] --> examples/usb_serial.rs:65:27 [INFO] [stdout] | [INFO] [stdout] 65 | read_buf: AtomicMutex::new(Buf { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `AtomicMutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UsbError` [INFO] [stdout] --> examples/usb_serial.rs:75:21 [INFO] [stdout] | [INFO] [stdout] 75 | Err(UsbError::Busy) => Ok(0), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `UsbError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UsbError` [INFO] [stdout] --> examples/usb_serial.rs:93:25 [INFO] [stdout] | [INFO] [stdout] 93 | Err(UsbError::NoData) => return Ok(0), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `UsbError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `control` [INFO] [stdout] --> examples/usb_serial.rs:149:37 [INFO] [stdout] | [INFO] [stdout] 149 | fn control_out(&self, req: &control::Request, buf: &[u8]) -> ControlOutResult { [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `control` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `control` [INFO] [stdout] --> examples/usb_serial.rs:152:36 [INFO] [stdout] | [INFO] [stdout] 152 | if req.request_type == control::RequestType::Class [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `control` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `control` [INFO] [stdout] --> examples/usb_serial.rs:153:37 [INFO] [stdout] | [INFO] [stdout] 153 | && req.recipient == control::Recipient::Interface [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `control` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ControlOutResult` [INFO] [stdout] --> examples/usb_serial.rs:156:44 [INFO] [stdout] | [INFO] [stdout] 156 | REQ_SET_LINE_CODING => ControlOutResult::Ok, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `ControlOutResult` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ControlOutResult` [INFO] [stdout] --> examples/usb_serial.rs:157:51 [INFO] [stdout] | [INFO] [stdout] 157 | REQ_SET_CONTROL_LINE_STATE => ControlOutResult::Ok, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `ControlOutResult` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ControlOutResult` [INFO] [stdout] --> examples/usb_serial.rs:158:26 [INFO] [stdout] | [INFO] [stdout] 158 | _ => ControlOutResult::Ignore, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `ControlOutResult` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ControlOutResult` [INFO] [stdout] --> examples/usb_serial.rs:162:13 [INFO] [stdout] | [INFO] [stdout] 162 | ControlOutResult::Ignore [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `ControlOutResult` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UsbDevice` [INFO] [stdout] --> examples/usb_serial.rs:207:13 [INFO] [stdout] | [INFO] [stdout] 207 | UsbDevice::new(bus, UsbVidPid(0x5824, 0x27dd)) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `UsbDevice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Interrupt` in `hal` [INFO] [stdout] --> examples/usb_serial.rs:217:37 [INFO] [stdout] | [INFO] [stdout] 217 | core.NVIC.set_priority(hal::Interrupt::USB, 0); [INFO] [stdout] | ^^^^^^^^^ could not find `Interrupt` in `hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Interrupt` in `hal` [INFO] [stdout] --> examples/usb_serial.rs:219:27 [INFO] [stdout] | [INFO] [stdout] 219 | core.NVIC.enable(hal::Interrupt::USB); [INFO] [stdout] | ^^^^^^^^^ could not find `Interrupt` in `hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UsbDeviceState` [INFO] [stdout] --> examples/usb_serial.rs:229:27 [INFO] [stdout] | [INFO] [stdout] 229 | if dev.state() == UsbDeviceState::Configured { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `UsbDeviceState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UsbBusWrapper` in this scope [INFO] [stdout] --> examples/usb_serial.rs:15:28 [INFO] [stdout] | [INFO] [stdout] 15 | static mut USB_BUS: Option> = None; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UsbBus` in crate `hal` [INFO] [stdout] --> examples/usb_serial.rs:15:47 [INFO] [stdout] | [INFO] [stdout] 15 | static mut USB_BUS: Option> = None; [INFO] [stdout] | ^^^^^^ not found in `hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UsbDevice` in this scope [INFO] [stdout] --> examples/usb_serial.rs:16:28 [INFO] [stdout] | [INFO] [stdout] 16 | static mut USB_DEV: Option> = None; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UsbBus` in crate `hal` [INFO] [stdout] --> examples/usb_serial.rs:16:43 [INFO] [stdout] | [INFO] [stdout] 16 | static mut USB_DEV: Option> = None; [INFO] [stdout] | ^^^^^^ not found in `hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UsbBus` in crate `hal` [INFO] [stdout] --> examples/usb_serial.rs:17:56 [INFO] [stdout] | [INFO] [stdout] 17 | static mut USB_SERIAL: Option> = None; [INFO] [stdout] | ^^^^^^ not found in `hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `UsbBus` in this scope [INFO] [stdout] --> examples/usb_serial.rs:47:39 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct SerialPort<'a, B: 'a + UsbBus + Sync> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `InterfaceNumber` in this scope [INFO] [stdout] --> examples/usb_serial.rs:48:18 [INFO] [stdout] | [INFO] [stdout] 48 | comm_if: InterfaceNumber, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EndpointIn` in this scope [INFO] [stdout] --> examples/usb_serial.rs:49:18 [INFO] [stdout] | [INFO] [stdout] 49 | comm_ep: EndpointIn<'a, B>, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `InterfaceNumber` in this scope [INFO] [stdout] --> examples/usb_serial.rs:50:18 [INFO] [stdout] | [INFO] [stdout] 50 | data_if: InterfaceNumber, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EndpointOut` in this scope [INFO] [stdout] --> examples/usb_serial.rs:51:18 [INFO] [stdout] | [INFO] [stdout] 51 | read_ep: EndpointOut<'a, B>, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EndpointIn` in this scope [INFO] [stdout] --> examples/usb_serial.rs:52:19 [INFO] [stdout] | [INFO] [stdout] 52 | write_ep: EndpointIn<'a, B>, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AtomicMutex` in this scope [INFO] [stdout] --> examples/usb_serial.rs:54:19 [INFO] [stdout] | [INFO] [stdout] 54 | read_buf: AtomicMutex, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `UsbBus` in this scope [INFO] [stdout] --> examples/usb_serial.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 57 | impl<'a, B: UsbBus + Sync> SerialPort<'a, B> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UsbBusWrapper` in this scope [INFO] [stdout] --> examples/usb_serial.rs:58:29 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn new(bus: &'a UsbBusWrapper) -> SerialPort<'a, B> { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `UsbClass` in this scope [INFO] [stdout] --> examples/usb_serial.rs:113:32 [INFO] [stdout] | [INFO] [stdout] 113 | impl<'a, B: UsbBus + Sync> UsbClass for SerialPort<'a, B> { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `UsbBus` in this scope [INFO] [stdout] --> examples/usb_serial.rs:113:17 [INFO] [stdout] | [INFO] [stdout] 113 | impl<'a, B: UsbBus + Sync> UsbClass for SerialPort<'a, B> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DescriptorWriter` in this scope [INFO] [stdout] --> examples/usb_serial.rs:114:62 [INFO] [stdout] | [INFO] [stdout] 114 | fn get_configuration_descriptors(&self, writer: &mut DescriptorWriter) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ControlOutResult` in this scope [INFO] [stdout] --> examples/usb_serial.rs:149:70 [INFO] [stdout] | [INFO] [stdout] 149 | fn control_out(&self, req: &control::Request, buf: &[u8]) -> ControlOutResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `usb_bus` in crate `hal` [INFO] [stdout] --> examples/usb_serial.rs:187:29 [INFO] [stdout] | [INFO] [stdout] 187 | USB_BUS = Some(hal::usb_bus( [INFO] [stdout] | ^^^^^^^ not found in `hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UsbVidPid` in this scope [INFO] [stdout] --> examples/usb_serial.rs:207:33 [INFO] [stdout] | [INFO] [stdout] 207 | UsbDevice::new(bus, UsbVidPid(0x5824, 0x27dd)) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: macro `dbgprint` is private [INFO] [stdout] --> examples/usb_serial.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | use hal::{dbgprint, entry}; [INFO] [stdout] | ^^^^^^^^ private macro [INFO] [stdout] | [INFO] [stdout] note: the macro `dbgprint` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use hal::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: duplicate lang item in crate `panic_halt`: `panic_impl`. [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `panic_rtt` (which `usb_serial` depends on) [INFO] [stdout] = note: first definition in `panic_rtt` loaded from /opt/rustwide/target/debug/deps/libpanic_rtt-f502c54c93594eb1.rmeta [INFO] [stdout] = note: second definition in `panic_halt` loaded from /opt/rustwide/target/debug/deps/libpanic_halt-432436be05e5fb36.rmeta [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: duplicate lang item in crate `panic_semihosting`: `panic_impl`. [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `panic_halt`. [INFO] [stdout] = note: first definition in `panic_halt` loaded from /opt/rustwide/target/debug/deps/libpanic_halt-432436be05e5fb36.rmeta [INFO] [stdout] = note: second definition in `panic_semihosting` loaded from /opt/rustwide/target/debug/deps/libpanic_semihosting-e6fac134f87e69ac.rmeta [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: language item required, but not found: `eh_personality` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 44 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0432, E0433, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "e91b6e4ce80c65ec01fd8f5affd7dfeed64f872e9c78a733676a98d402c954e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e91b6e4ce80c65ec01fd8f5affd7dfeed64f872e9c78a733676a98d402c954e7", kill_on_drop: false }` [INFO] [stdout] e91b6e4ce80c65ec01fd8f5affd7dfeed64f872e9c78a733676a98d402c954e7