[INFO] crate stm32-usbd 0.5.1 is already in cache [INFO] checking stm32-usbd-0.5.1 against master#45d050cde277b22a755847338f2acc2c7b834141 for pr-71393 [INFO] extracting crate stm32-usbd 0.5.1 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate stm32-usbd 0.5.1 on toolchain 45d050cde277b22a755847338f2acc2c7b834141 [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate stm32-usbd 0.5.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate stm32-usbd 0.5.1 [INFO] tweaked toml for crates.io crate stm32-usbd 0.5.1 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate crates.io crate stm32-usbd 0.5.1 already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "MAP_USER_ID=0" "-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" "+45d050cde277b22a755847338f2acc2c7b834141" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 20a24d0af946ad82b4b5237ecd13fb8fac4c9274606be99a78fef2b863b8c59d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "20a24d0af946ad82b4b5237ecd13fb8fac4c9274606be99a78fef2b863b8c59d"` [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling cortex-m v0.6.2 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Compiling cortex-m-rt v0.6.12 [INFO] [stderr] Compiling stm32f1 v0.8.0 [INFO] [stderr] Checking nb v0.1.2 [INFO] [stderr] Checking r0 v0.2.2 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling stm32-usbd v0.5.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking usb-device v0.2.4 [INFO] [stderr] Checking generic-array v0.13.2 [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Checking embedded-hal v0.2.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking as-slice v0.1.2 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking aligned v0.3.2 [INFO] [stderr] error: This crate requires one of the ram_access features enabled [INFO] [stderr] --> src/lib.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | compile_error!("This crate requires one of the ram_access features enabled"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::endpoint_memory::UsbAccessType` [INFO] [stderr] --> src/endpoint.rs:1:89 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::endpoint_memory::{BufferDescriptor, EndpointBuffer, EndpointMemoryAllocator, UsbAccessType}; [INFO] [stderr] | ^^^^^^^^^^^^^ no `UsbAccessType` in `endpoint_memory` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UsbAccessType` in this scope [INFO] [stderr] --> src/endpoint_memory.rs:13:54 [INFO] [stderr] | [INFO] [stderr] 13 | pub struct EndpointBuffer(&'static mut [VolatileCell]); [INFO] [stderr] | - ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | | [INFO] [stderr] | help: you might be missing a type parameter: `` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UsbAccessType` in this scope [INFO] [stderr] --> src/endpoint_memory.rs:17:62 [INFO] [stderr] | [INFO] [stderr] 15 | impl EndpointBuffer { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] 16 | pub fn new(offset_bytes: usize, size_bytes: usize) -> Self { [INFO] [stderr] 17 | let ep_mem_ptr = USB::EP_MEMORY as *mut VolatileCell; [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UsbAccessType` in this scope [INFO] [stderr] --> src/endpoint_memory.rs:31:36 [INFO] [stderr] | [INFO] [stderr] 31 | self.0[index].set(value as UsbAccessType); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UsbAccessType` in this scope [INFO] [stderr] --> src/endpoint_memory.rs:71:81 [INFO] [stderr] | [INFO] [stderr] 15 | impl EndpointBuffer { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 71 | let index = (buffer_address - USB::EP_MEMORY as usize) / mem::size_of::(); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UsbAccessType` in this scope [INFO] [stderr] --> src/endpoint_memory.rs:82:31 [INFO] [stderr] | [INFO] [stderr] 81 | pub struct BufferDescriptor { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] 82 | pub addr_tx: VolatileCell, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UsbAccessType` in this scope [INFO] [stderr] --> src/endpoint_memory.rs:83:32 [INFO] [stderr] | [INFO] [stderr] 81 | pub struct BufferDescriptor { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] 82 | pub addr_tx: VolatileCell, [INFO] [stderr] 83 | pub count_tx: VolatileCell, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UsbAccessType` in this scope [INFO] [stderr] --> src/endpoint_memory.rs:84:31 [INFO] [stderr] | [INFO] [stderr] 81 | pub struct BufferDescriptor { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 84 | pub addr_rx: VolatileCell, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UsbAccessType` in this scope [INFO] [stderr] --> src/endpoint_memory.rs:85:32 [INFO] [stderr] | [INFO] [stderr] 81 | pub struct BufferDescriptor { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 85 | pub count_rx: VolatileCell, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error: aborting due to 10 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0432. [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "20a24d0af946ad82b4b5237ecd13fb8fac4c9274606be99a78fef2b863b8c59d"` [INFO] running `"docker" "rm" "-f" "20a24d0af946ad82b4b5237ecd13fb8fac4c9274606be99a78fef2b863b8c59d"` [INFO] [stdout] 20a24d0af946ad82b4b5237ecd13fb8fac4c9274606be99a78fef2b863b8c59d