[INFO] crate metro_m0 0.3.0 is already in cache [INFO] extracting crate metro_m0 0.3.0 into work/ex/beta-1.38-1/sources/1.37.0/reg/metro_m0/0.3.0 [INFO] extracting crate metro_m0 0.3.0 into work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/metro_m0/0.3.0 [INFO] validating manifest of metro_m0-0.3.0 on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of metro_m0-0.3.0 on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing metro_m0-0.3.0 [INFO] finished frobbing metro_m0-0.3.0 [INFO] frobbed toml for metro_m0-0.3.0 written to work/ex/beta-1.38-1/sources/1.37.0/reg/metro_m0/0.3.0/Cargo.toml [INFO] started frobbing metro_m0-0.3.0 [INFO] finished frobbing metro_m0-0.3.0 [INFO] frobbed toml for metro_m0-0.3.0 written to work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/metro_m0/0.3.0/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing metro_m0-0.3.0 against beta-2019-08-13 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-1/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/metro_m0/0.3.0:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+beta-2019-08-13" "build" "--frozen"` [INFO] [stdout] 3e440e81f33b90d31db76472fcc97396001f4a91f127673a41b85a1befce2ca9 [INFO] running `"docker" "start" "-a" "3e440e81f33b90d31db76472fcc97396001f4a91f127673a41b85a1befce2ca9"` [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling proc-macro2 v1.0.1 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling syn v1.0.3 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling cortex-m v0.6.1 [INFO] [stderr] Compiling vcell v0.1.0 [INFO] [stderr] Compiling cortex-m-rt v0.6.10 [INFO] [stderr] Compiling cortex-m v0.5.10 [INFO] [stderr] Compiling r0 v0.2.2 [INFO] [stderr] Compiling aligned v0.2.0 [INFO] [stderr] Compiling atsamd21g18a v0.4.0 [INFO] [stderr] Compiling nb v0.1.2 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling metro_m0 v0.3.0 (/opt/crater/workdir) [INFO] [stderr] Compiling bitfield v0.13.2 [INFO] [stderr] Compiling jlink_rtt v0.1.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling volatile-register v0.2.0 [INFO] [stderr] Compiling embedded-hal v0.2.3 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling bare-metal v0.2.4 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling as-slice v0.1.0 [INFO] [stderr] Compiling aligned v0.3.1 [INFO] [stderr] Compiling panic_rtt v0.2.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.9 [INFO] [stderr] Compiling paste-impl v0.1.6 [INFO] [stderr] Compiling paste v0.1.6 [INFO] [stderr] Compiling cortex-m-rt-macros v0.1.5 [INFO] [stderr] Compiling atsamd-hal v0.5.0 [INFO] [stderr] warning: use of deprecated item 'hal::prelude::_embedded_hal_digital_OutputPin::set_high': Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stderr] --> src/lib.rs:170:8 [INFO] [stderr] | [INFO] [stderr] 170 | cs.set_high(); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 18s [INFO] running `"docker" "inspect" "3e440e81f33b90d31db76472fcc97396001f4a91f127673a41b85a1befce2ca9"` [INFO] running `"docker" "rm" "-f" "3e440e81f33b90d31db76472fcc97396001f4a91f127673a41b85a1befce2ca9"` [INFO] [stdout] 3e440e81f33b90d31db76472fcc97396001f4a91f127673a41b85a1befce2ca9 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-1/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/metro_m0/0.3.0:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+beta-2019-08-13" "test" "--frozen" "--no-run"` [INFO] [stdout] c5d0d87ba56d6b628f74ff09437174ace0d01f9b77c8112aa4f3621067b24e9d [INFO] running `"docker" "start" "-a" "c5d0d87ba56d6b628f74ff09437174ace0d01f9b77c8112aa4f3621067b24e9d"` [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling heapless v0.4.4 [INFO] [stderr] Compiling cortex-m-semihosting v0.3.4 [INFO] [stderr] Compiling cortex-m-rtfm v0.4.3 [INFO] [stderr] Compiling panic-halt v0.2.0 [INFO] [stderr] Compiling sx1509 v0.2.0 [INFO] [stderr] Compiling generic-array v0.11.1 [INFO] [stderr] Compiling owned-singleton-macros v0.1.0 [INFO] [stderr] Compiling cortex-m-rtfm-macros v0.4.3 [INFO] [stderr] Compiling panic-semihosting v0.5.2 [INFO] [stderr] Compiling hash32 v0.1.0 [INFO] [stderr] Compiling owned-singleton v0.1.0 [INFO] [stderr] Compiling metro_m0 v0.3.0 (/opt/crater/workdir) [INFO] [stderr] error: language item required, but not found: `eh_personality` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'hal::prelude::_embedded_hal_digital_OutputPin::set_high': Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stderr] --> examples/blinky_basic.rs:32:17 [INFO] [stderr] | [INFO] [stderr] 32 | red_led.set_high(); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'hal::prelude::_embedded_hal_digital_OutputPin::set_low': Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stderr] --> examples/blinky_basic.rs:34:17 [INFO] [stderr] | [INFO] [stderr] 34 | red_led.set_low(); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] error: Could not compile `metro_m0`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: language item required, but not found: `eh_personality` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `usb` in `hal` [INFO] [stderr] --> examples/usb_serial.rs:9:15 [INFO] [stderr] | [INFO] [stderr] 9 | use hal::hal::usb::usb_device::bus::UsbBusWrapper; [INFO] [stderr] | ^^^ could not find `usb` in `hal` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `usb` in `hal` [INFO] [stderr] --> examples/usb_serial.rs:10:15 [INFO] [stderr] | [INFO] [stderr] 10 | use hal::hal::usb::usb_device::prelude::*; [INFO] [stderr] | ^^^ could not find `usb` in `hal` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `usb` in `hal` [INFO] [stderr] --> examples/usb_serial.rs:22:19 [INFO] [stderr] | [INFO] [stderr] 22 | use hal::hal::usb::usb_device::class_prelude::*; [INFO] [stderr] | ^^^ could not find `usb` in `hal` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `usb` in `hal` [INFO] [stderr] --> examples/usb_serial.rs:23:19 [INFO] [stderr] | [INFO] [stderr] 23 | use hal::hal::usb::usb_device::utils::AtomicMutex; [INFO] [stderr] | ^^^ could not find `usb` in `hal` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `usb` in `hal` [INFO] [stderr] --> examples/usb_serial.rs:24:19 [INFO] [stderr] | [INFO] [stderr] 24 | use hal::hal::usb::usb_device::Result; [INFO] [stderr] | ^^^ could not find `usb` in `hal` [INFO] [stderr] [INFO] [stderr] error: language item required, but not found: `eh_personality` [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] error: Could not compile `metro_m0`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: use of deprecated item 'hal::prelude::_embedded_hal_digital_OutputPin::set_low': Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stderr] --> examples/rando.rs:92:18 [INFO] [stderr] | [INFO] [stderr] 92 | flash_cs.set_low(); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'hal::prelude::_embedded_hal_digital_OutputPin::set_high': Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stderr] --> examples/rando.rs:98:18 [INFO] [stderr] | [INFO] [stderr] 98 | flash_cs.set_high(); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'hal::prelude::_embedded_hal_digital_OutputPin::set_high': Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stderr] --> src/lib.rs:170:8 [INFO] [stderr] | [INFO] [stderr] 170 | cs.set_high(); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] error: Could not compile `metro_m0`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `AtomicMutex` [INFO] [stderr] --> examples/usb_serial.rs:65:27 [INFO] [stderr] | [INFO] [stderr] 65 | read_buf: AtomicMutex::new(Buf { [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `AtomicMutex` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `UsbError` [INFO] [stderr] --> examples/usb_serial.rs:75:21 [INFO] [stderr] | [INFO] [stderr] 75 | Err(UsbError::Busy) => Ok(0), [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `UsbError` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `UsbError` [INFO] [stderr] --> examples/usb_serial.rs:93:25 [INFO] [stderr] | [INFO] [stderr] 93 | Err(UsbError::NoData) => return Ok(0), [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `UsbError` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `control` [INFO] [stderr] --> examples/usb_serial.rs:149:37 [INFO] [stderr] | [INFO] [stderr] 149 | fn control_out(&self, req: &control::Request, buf: &[u8]) -> ControlOutResult { [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `control` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `control` [INFO] [stderr] --> examples/usb_serial.rs:152:36 [INFO] [stderr] | [INFO] [stderr] 152 | if req.request_type == control::RequestType::Class [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `control` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `control` [INFO] [stderr] --> examples/usb_serial.rs:153:37 [INFO] [stderr] | [INFO] [stderr] 153 | && req.recipient == control::Recipient::Interface [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `control` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ControlOutResult` [INFO] [stderr] --> examples/usb_serial.rs:156:44 [INFO] [stderr] | [INFO] [stderr] 156 | REQ_SET_LINE_CODING => ControlOutResult::Ok, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ use of undeclared type or module `ControlOutResult` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ControlOutResult` [INFO] [stderr] --> examples/usb_serial.rs:157:51 [INFO] [stderr] | [INFO] [stderr] 157 | REQ_SET_CONTROL_LINE_STATE => ControlOutResult::Ok, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ use of undeclared type or module `ControlOutResult` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ControlOutResult` [INFO] [stderr] --> examples/usb_serial.rs:158:26 [INFO] [stderr] | [INFO] [stderr] 158 | _ => ControlOutResult::Ignore, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ use of undeclared type or module `ControlOutResult` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ControlOutResult` [INFO] [stderr] --> examples/usb_serial.rs:162:13 [INFO] [stderr] | [INFO] [stderr] 162 | ControlOutResult::Ignore [INFO] [stderr] | ^^^^^^^^^^^^^^^^ use of undeclared type or module `ControlOutResult` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `UsbDevice` [INFO] [stderr] --> examples/usb_serial.rs:207:13 [INFO] [stderr] | [INFO] [stderr] 207 | UsbDevice::new(bus, UsbVidPid(0x5824, 0x27dd)) [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `UsbDevice` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `UsbDeviceState` [INFO] [stderr] --> examples/usb_serial.rs:229:27 [INFO] [stderr] | [INFO] [stderr] 229 | if dev.state() == UsbDeviceState::Configured { [INFO] [stderr] | ^^^^^^^^^^^^^^ use of undeclared type or module `UsbDeviceState` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UsbBusWrapper` in this scope [INFO] [stderr] --> examples/usb_serial.rs:15:28 [INFO] [stderr] | [INFO] [stderr] 15 | static mut USB_BUS: Option> = None; [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UsbBus` in crate `hal` [INFO] [stderr] --> examples/usb_serial.rs:15:47 [INFO] [stderr] | [INFO] [stderr] 15 | static mut USB_BUS: Option> = None; [INFO] [stderr] | ^^^^^^ not found in `hal` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UsbDevice` in this scope [INFO] [stderr] --> examples/usb_serial.rs:16:28 [INFO] [stderr] | [INFO] [stderr] 16 | static mut USB_DEV: Option> = None; [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UsbBus` in crate `hal` [INFO] [stderr] --> examples/usb_serial.rs:16:43 [INFO] [stderr] | [INFO] [stderr] 16 | static mut USB_DEV: Option> = None; [INFO] [stderr] | ^^^^^^ not found in `hal` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UsbBus` in crate `hal` [INFO] [stderr] --> examples/usb_serial.rs:17:56 [INFO] [stderr] | [INFO] [stderr] 17 | static mut USB_SERIAL: Option> = None; [INFO] [stderr] | ^^^^^^ not found in `hal` [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `UsbBus` in this scope [INFO] [stderr] --> examples/usb_serial.rs:47:39 [INFO] [stderr] | [INFO] [stderr] 47 | pub struct SerialPort<'a, B: 'a + UsbBus + Sync> { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `InterfaceNumber` in this scope [INFO] [stderr] --> examples/usb_serial.rs:48:18 [INFO] [stderr] | [INFO] [stderr] 48 | comm_if: InterfaceNumber, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `EndpointIn` in this scope [INFO] [stderr] --> examples/usb_serial.rs:49:18 [INFO] [stderr] | [INFO] [stderr] 49 | comm_ep: EndpointIn<'a, B>, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `InterfaceNumber` in this scope [INFO] [stderr] --> examples/usb_serial.rs:50:18 [INFO] [stderr] | [INFO] [stderr] 50 | data_if: InterfaceNumber, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `EndpointOut` in this scope [INFO] [stderr] --> examples/usb_serial.rs:51:18 [INFO] [stderr] | [INFO] [stderr] 51 | read_ep: EndpointOut<'a, B>, [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `EndpointIn` in this scope [INFO] [stderr] --> examples/usb_serial.rs:52:19 [INFO] [stderr] | [INFO] [stderr] 52 | write_ep: EndpointIn<'a, B>, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `AtomicMutex` in this scope [INFO] [stderr] --> examples/usb_serial.rs:54:19 [INFO] [stderr] | [INFO] [stderr] 54 | read_buf: AtomicMutex, [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `UsbBus` in this scope [INFO] [stderr] --> examples/usb_serial.rs:57:17 [INFO] [stderr] | [INFO] [stderr] 57 | impl<'a, B: UsbBus + Sync> SerialPort<'a, B> { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UsbBusWrapper` in this scope [INFO] [stderr] --> examples/usb_serial.rs:58:29 [INFO] [stderr] | [INFO] [stderr] 58 | pub fn new(bus: &'a UsbBusWrapper) -> SerialPort<'a, B> { [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `UsbClass` in this scope [INFO] [stderr] --> examples/usb_serial.rs:113:32 [INFO] [stderr] | [INFO] [stderr] 113 | impl<'a, B: UsbBus + Sync> UsbClass for SerialPort<'a, B> { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `UsbBus` in this scope [INFO] [stderr] --> examples/usb_serial.rs:113:17 [INFO] [stderr] | [INFO] [stderr] 113 | impl<'a, B: UsbBus + Sync> UsbClass for SerialPort<'a, B> { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DescriptorWriter` in this scope [INFO] [stderr] --> examples/usb_serial.rs:114:62 [INFO] [stderr] | [INFO] [stderr] 114 | fn get_configuration_descriptors(&self, writer: &mut DescriptorWriter) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ControlOutResult` in this scope [INFO] [stderr] --> examples/usb_serial.rs:149:70 [INFO] [stderr] | [INFO] [stderr] 149 | fn control_out(&self, req: &control::Request, buf: &[u8]) -> ControlOutResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `usb_bus` in crate `hal` [INFO] [stderr] --> examples/usb_serial.rs:187:29 [INFO] [stderr] | [INFO] [stderr] 187 | USB_BUS = Some(hal::usb_bus( [INFO] [stderr] | ^^^^^^^ not found in `hal` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `UsbVidPid` in this scope [INFO] [stderr] --> examples/usb_serial.rs:207:33 [INFO] [stderr] | [INFO] [stderr] 207 | UsbDevice::new(bus, UsbVidPid(0x5824, 0x27dd)) [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused import: `hal::hal::usb::usb_device::bus::UsbBusWrapper` [INFO] [stderr] --> examples/usb_serial.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use hal::hal::usb::usb_device::bus::UsbBusWrapper; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `hal::hal::usb::usb_device::prelude::*` [INFO] [stderr] --> examples/usb_serial.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use hal::hal::usb::usb_device::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `hal::hal::usb::usb_device::class_prelude::*` [INFO] [stderr] --> examples/usb_serial.rs:22:9 [INFO] [stderr] | [INFO] [stderr] 22 | use hal::hal::usb::usb_device::class_prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `hal::hal::usb::usb_device::utils::AtomicMutex` [INFO] [stderr] --> examples/usb_serial.rs:23:9 [INFO] [stderr] | [INFO] [stderr] 23 | use hal::hal::usb::usb_device::utils::AtomicMutex; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `hal::hal::usb::usb_device::Result` [INFO] [stderr] --> examples/usb_serial.rs:24:9 [INFO] [stderr] | [INFO] [stderr] 24 | use hal::hal::usb::usb_device::Result; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: duplicate lang item in crate `panic_semihosting`: `panic_impl`. [INFO] [stderr] | [INFO] [stderr] = note: first defined in crate `panic_rtt`. [INFO] [stderr] [INFO] [stderr] error: duplicate lang item in crate `panic_halt`: `panic_impl`. [INFO] [stderr] | [INFO] [stderr] = note: first defined in crate `panic_semihosting`. [INFO] [stderr] [INFO] [stderr] error: language item required, but not found: `eh_personality` [INFO] [stderr] [INFO] [stderr] error: aborting due to 40 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0405, E0412, E0425, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0405`. [INFO] [stderr] error: Could not compile `metro_m0`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "c5d0d87ba56d6b628f74ff09437174ace0d01f9b77c8112aa4f3621067b24e9d"` [INFO] running `"docker" "rm" "-f" "c5d0d87ba56d6b628f74ff09437174ace0d01f9b77c8112aa4f3621067b24e9d"` [INFO] [stdout] c5d0d87ba56d6b628f74ff09437174ace0d01f9b77c8112aa4f3621067b24e9d