[INFO] fetching crate stm32-usbd 0.5.1... [INFO] checking stm32-usbd-0.5.1 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate stm32-usbd 0.5.1 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate stm32-usbd 0.5.1 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-0/source/Cargo.toml [INFO] crate crates.io crate stm32-usbd 0.5.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fc29162ac435df803f69313d71fdfdc141e2cddb41228dbaf25b65c490a9a8bb [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" "fc29162ac435df803f69313d71fdfdc141e2cddb41228dbaf25b65c490a9a8bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fc29162ac435df803f69313d71fdfdc141e2cddb41228dbaf25b65c490a9a8bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc29162ac435df803f69313d71fdfdc141e2cddb41228dbaf25b65c490a9a8bb", kill_on_drop: false }` [INFO] [stdout] fc29162ac435df803f69313d71fdfdc141e2cddb41228dbaf25b65c490a9a8bb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a2d5d96a80207f21566d454cd4f1ca09eabf3d45cba37e10acdbc4b775900564 [INFO] running `Command { std: "docker" "start" "-a" "a2d5d96a80207f21566d454cd4f1ca09eabf3d45cba37e10acdbc4b775900564", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Compiling stm32f1 v0.8.0 [INFO] [stderr] Compiling stm32-usbd v0.5.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking usb-device v0.2.4 [INFO] [stderr] Checking cortex-m v0.6.2 [INFO] [stdout] error: This crate requires one of the ram_access features enabled [INFO] [stdout] --> src/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | compile_error!("This crate requires one of the ram_access features enabled"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::endpoint_memory::UsbAccessType` [INFO] [stdout] --> src/endpoint.rs:1:89 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::endpoint_memory::{BufferDescriptor, EndpointBuffer, EndpointMemoryAllocator, UsbAccessType}; [INFO] [stdout] | ^^^^^^^^^^^^^ no `UsbAccessType` in `endpoint_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UsbAccessType` in this scope [INFO] [stdout] --> src/endpoint_memory.rs:13:54 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct EndpointBuffer(&'static mut [VolatileCell]); [INFO] [stdout] | - ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UsbAccessType` in this scope [INFO] [stdout] --> src/endpoint_memory.rs:17:62 [INFO] [stdout] | [INFO] [stdout] 15 | impl EndpointBuffer { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 16 | pub fn new(offset_bytes: usize, size_bytes: usize) -> Self { [INFO] [stdout] 17 | let ep_mem_ptr = USB::EP_MEMORY as *mut VolatileCell; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UsbAccessType` in this scope [INFO] [stdout] --> src/endpoint_memory.rs:31:36 [INFO] [stdout] | [INFO] [stdout] 31 | self.0[index].set(value as UsbAccessType); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UsbAccessType` in this scope [INFO] [stdout] --> src/endpoint_memory.rs:71:81 [INFO] [stdout] | [INFO] [stdout] 15 | impl EndpointBuffer { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 71 | let index = (buffer_address - USB::EP_MEMORY as usize) / mem::size_of::(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UsbAccessType` in this scope [INFO] [stdout] --> src/endpoint_memory.rs:82:31 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct BufferDescriptor { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 82 | pub addr_tx: VolatileCell, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UsbAccessType` in this scope [INFO] [stdout] --> src/endpoint_memory.rs:83:32 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct BufferDescriptor { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 82 | pub addr_tx: VolatileCell, [INFO] [stdout] 83 | pub count_tx: VolatileCell, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UsbAccessType` in this scope [INFO] [stdout] --> src/endpoint_memory.rs:84:31 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct BufferDescriptor { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 84 | pub addr_rx: VolatileCell, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UsbAccessType` in this scope [INFO] [stdout] --> src/endpoint_memory.rs:85:32 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct BufferDescriptor { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 85 | pub count_rx: VolatileCell, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [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 `Command { std: "docker" "inspect" "a2d5d96a80207f21566d454cd4f1ca09eabf3d45cba37e10acdbc4b775900564", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2d5d96a80207f21566d454cd4f1ca09eabf3d45cba37e10acdbc4b775900564", kill_on_drop: false }` [INFO] [stdout] a2d5d96a80207f21566d454cd4f1ca09eabf3d45cba37e10acdbc4b775900564