[INFO] crate stm32-usbd 0.2.2 is already in cache [INFO] extracting crate stm32-usbd 0.2.2 into work/ex/beta-1.38-1/sources/1.37.0/reg/stm32-usbd/0.2.2 [INFO] extracting crate stm32-usbd 0.2.2 into work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/stm32-usbd/0.2.2 [INFO] validating manifest of stm32-usbd-0.2.2 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 stm32-usbd-0.2.2 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 stm32-usbd-0.2.2 [INFO] finished frobbing stm32-usbd-0.2.2 [INFO] frobbed toml for stm32-usbd-0.2.2 written to work/ex/beta-1.38-1/sources/1.37.0/reg/stm32-usbd/0.2.2/Cargo.toml [INFO] started frobbing stm32-usbd-0.2.2 [INFO] finished frobbing stm32-usbd-0.2.2 [INFO] frobbed toml for stm32-usbd-0.2.2 written to work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/stm32-usbd/0.2.2/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 stm32-usbd-0.2.2 against 1.37.0 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-1/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/reg/stm32-usbd/0.2.2:/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" "+1.37.0" "build" "--frozen"` [INFO] [stdout] ecfa00beccceaa9f15a25620bb9a9fea6ee643dd3d1a411e0229949d2cf91a99 [INFO] running `"docker" "start" "-a" "ecfa00beccceaa9f15a25620bb9a9fea6ee643dd3d1a411e0229949d2cf91a99"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling usb-device v0.2.2 [INFO] [stderr] Compiling stm32-usbd v0.2.2 (/opt/crater/workdir) [INFO] [stderr] error[E0432]: unresolved import `crate::target::UsbAccessType` [INFO] [stderr] --> src/endpoint.rs:5:40 [INFO] [stderr] | [INFO] [stderr] 5 | use crate::target::{UsbRegisters, usb, UsbAccessType}; [INFO] [stderr] | ^^^^^^^^^^^^^ no `UsbAccessType` in `target` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `crate::target::UsbAccessType`, `crate::target::EP_MEM_SIZE` [INFO] [stderr] --> src/endpoint_memory.rs:3:21 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::target::{UsbAccessType, EP_MEM_ADDR, EP_MEM_SIZE, NUM_ENDPOINTS}; [INFO] [stderr] | ^^^^^^^^^^^^^ ^^^^^^^^^^^ no `EP_MEM_SIZE` in `target` [INFO] [stderr] | | [INFO] [stderr] | no `UsbAccessType` in `target` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::target::USB` [INFO] [stderr] --> src/bus.rs:8:21 [INFO] [stderr] | [INFO] [stderr] 8 | use crate::target::{USB, apb_usb_enable, delay, NUM_ENDPOINTS, UsbRegisters, UsbPins}; [INFO] [stderr] | ^^^ no `USB` in `target` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::target::usb_pins` [INFO] [stderr] --> src/lib.rs:17:24 [INFO] [stderr] | [INFO] [stderr] 17 | pub use crate::target::usb_pins::UsbPinsType; [INFO] [stderr] | ^^^^^^^^ could not find `usb_pins` in `target` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `hal` [INFO] [stderr] --> src/target.rs:54:31 [INFO] [stderr] | [INFO] [stderr] 54 | let rcc = unsafe { (&*hal::stm32::RCC::ptr()) }; [INFO] [stderr] | ^^^ use of undeclared type or module `hal` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `USB` [INFO] [stderr] --> src/target.rs:90:19 [INFO] [stderr] | [INFO] [stderr] 90 | let ptr = USB::ptr() as *const Self::Target; [INFO] [stderr] | ^^^ use of undeclared type or module `USB` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `USB` [INFO] [stderr] --> src/target.rs:101:23 [INFO] [stderr] | [INFO] [stderr] 101 | let usb_ptr = USB::ptr() as *const usb::RegisterBlock; [INFO] [stderr] | ^^^ use of undeclared type or module `USB` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `USB` in this scope [INFO] [stderr] --> src/target.rs:84:25 [INFO] [stderr] | [INFO] [stderr] 84 | pub struct UsbRegisters(USB); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `USB` in this scope [INFO] [stderr] --> src/target.rs:96:21 [INFO] [stderr] | [INFO] [stderr] 96 | pub fn new(usb: USB) -> Self { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error: aborting due to 9 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: Could not compile `stm32-usbd`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "ecfa00beccceaa9f15a25620bb9a9fea6ee643dd3d1a411e0229949d2cf91a99"` [INFO] running `"docker" "rm" "-f" "ecfa00beccceaa9f15a25620bb9a9fea6ee643dd3d1a411e0229949d2cf91a99"` [INFO] [stdout] ecfa00beccceaa9f15a25620bb9a9fea6ee643dd3d1a411e0229949d2cf91a99