[INFO] crate metro_m0 0.5.0 is already in cache [INFO] checking metro_m0-0.5.0 against master#c9edc02e8320a9e5799d185910ece7d491f524e6 for pr-64398 [INFO] extracting crate metro_m0 0.5.0 into work/builds/worker-6/source [INFO] validating manifest of crates.io crate metro_m0 0.5.0 on toolchain c9edc02e8320a9e5799d185910ece7d491f524e6-alt [INFO] running `"/mnt/big/crater/work/cargo-home/bin/cargo" "+c9edc02e8320a9e5799d185910ece7d491f524e6-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate metro_m0 0.5.0 [INFO] finished tweaking crates.io crate metro_m0 0.5.0 [INFO] tweaked toml for crates.io crate metro_m0 0.5.0 written to work/builds/worker-6/source/Cargo.toml [INFO] crate crates.io crate metro_m0 0.5.0 already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/cargo-home/bin/cargo" "+c9edc02e8320a9e5799d185910ece7d491f524e6-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/mnt/big/crater/work/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/mnt/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+c9edc02e8320a9e5799d185910ece7d491f524e6-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 45e668c3c68c3e0c2d1cc297ad050d0de215a0fbd5e2d1c73d30493cf1387378 [INFO] running `"docker" "start" "-a" "45e668c3c68c3e0c2d1cc297ad050d0de215a0fbd5e2d1c73d30493cf1387378"` [INFO] [stderr] Compiling atsamd21g18a v0.6.0 [INFO] [stderr] Compiling metro_m0 v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking sx1509 v0.2.0 [INFO] [stderr] Checking atsamd-hal v0.7.0 [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] 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[E0432]: unresolved imports `hal::interrupt`, `hal::CorePeripherals`, `hal::Peripherals` [INFO] [stderr] --> examples/usb_serial.rs:13:11 [INFO] [stderr] | [INFO] [stderr] 13 | use hal::{interrupt, CorePeripherals, Peripherals}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^ no `Peripherals` in the root [INFO] [stderr] | | | [INFO] [stderr] | | no `CorePeripherals` in the root [INFO] [stderr] | no `interrupt` in the root [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[E0433]: failed to resolve: could not find `Peripherals` in `hal` [INFO] [stderr] --> examples/rando.rs:48:1 [INFO] [stderr] | [INFO] [stderr] 48 | #[app(device=hal)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ could not find `Peripherals` in `hal` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Interrupt` in `hal` [INFO] [stderr] --> examples/rando.rs:48:1 [INFO] [stderr] | [INFO] [stderr] 48 | #[app(device=hal)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ could not find `Interrupt` in `hal` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Peripherals` in crate `hal` [INFO] [stderr] --> examples/rando.rs:48:1 [INFO] [stderr] | [INFO] [stderr] 48 | #[app(device=hal)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in `hal` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `NVIC_PRIO_BITS` in crate `hal` [INFO] [stderr] --> examples/rando.rs:48:1 [INFO] [stderr] | [INFO] [stderr] 48 | #[app(device=hal)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in `hal` [INFO] [stderr] [INFO] [stderr] error: duplicate lang item in crate `panic_semihosting`: `panic_impl`. [INFO] [stderr] | [INFO] [stderr] = note: first defined in crate `panic_halt`. [INFO] [stderr] [INFO] [stderr] error: duplicate lang item in crate `panic_rtt`: `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[E0107]: wrong number of type arguments: expected 3, found 0 [INFO] [stderr] --> examples/rando.rs:52:23 [INFO] [stderr] | [INFO] [stderr] 52 | static mut FLASH: SPIMaster5 = (); [INFO] [stderr] | ^^^^^^^^^^ expected 3 type arguments [INFO] [stderr] [INFO] [stderr] error[E0107]: wrong number of type arguments: expected 2, found 0 [INFO] [stderr] --> examples/rando.rs:51:21 [INFO] [stderr] | [INFO] [stderr] 51 | static mut I2C: I2CMaster3 = (); [INFO] [stderr] | ^^^^^^^^^^ expected 2 type arguments [INFO] [stderr] [INFO] [stderr] error[E0107]: wrong number of type arguments: expected 2, found 0 [INFO] [stderr] --> examples/rando.rs:53:39 [INFO] [stderr] | [INFO] [stderr] 53 | static mut SX1509: sx1509::Sx1509 = (); [INFO] [stderr] | ^^^^^^^^^^ expected 2 type arguments [INFO] [stderr] [INFO] [stderr] error: aborting due to 10 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0107, E0412, E0425, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0107`. [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: could not find `Interrupt` in `hal` [INFO] [stderr] --> examples/usb_serial.rs:217:37 [INFO] [stderr] | [INFO] [stderr] 217 | core.NVIC.set_priority(hal::Interrupt::USB, 0); [INFO] [stderr] | ^^^^^^^^^ could not find `Interrupt` in `hal` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Interrupt` in `hal` [INFO] [stderr] --> examples/usb_serial.rs:219:27 [INFO] [stderr] | [INFO] [stderr] 219 | core.NVIC.enable(hal::Interrupt::USB); [INFO] [stderr] | ^^^^^^^^^ could not find `Interrupt` in `hal` [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] error[E0603]: macro `dbgprint` is private [INFO] [stderr] --> examples/usb_serial.rs:12:11 [INFO] [stderr] | [INFO] [stderr] 12 | use hal::{dbgprint, entry}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: duplicate lang item in crate `panic_halt`: `panic_impl`. [INFO] [stderr] | [INFO] [stderr] = note: first defined in crate `panic_rtt`. [INFO] [stderr] [INFO] [stderr] error: duplicate lang item in crate `panic_semihosting`: `panic_impl`. [INFO] [stderr] | [INFO] [stderr] = note: first defined in crate `panic_halt`. [INFO] [stderr] [INFO] [stderr] error: language item required, but not found: `eh_personality` [INFO] [stderr] [INFO] [stderr] error: aborting due to 44 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0405, E0412, E0425, E0432, E0433, E0603. [INFO] [stderr] For more information about an error, try `rustc --explain E0405`. [INFO] [stderr] error: Could not compile `metro_m0`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "45e668c3c68c3e0c2d1cc297ad050d0de215a0fbd5e2d1c73d30493cf1387378"` [INFO] running `"docker" "rm" "-f" "45e668c3c68c3e0c2d1cc297ad050d0de215a0fbd5e2d1c73d30493cf1387378"` [INFO] [stdout] 45e668c3c68c3e0c2d1cc297ad050d0de215a0fbd5e2d1c73d30493cf1387378