[INFO] fetching crate stm32-usbd 0.5.1... [INFO] checking stm32-usbd-0.5.1 against try#3e22d1f9053c0fc87629b3c6d5d9567856368e5d for pr-78714 [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 3e22d1f9053c0fc87629b3c6d5d9567856368e5d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "read-manifest" "--manifest-path" "Cargo.toml", 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-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 `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded stm32f1xx-hal v0.4.0 [INFO] [stderr] Downloaded stm32f1 v0.8.0 [INFO] [stderr] Downloaded usb-device v0.2.4 [INFO] running `Command { std: "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" "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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e39e7722a1f7e442bfc0d687e4fcf6680cef549f3d3ebf7a40781f9792bae06a [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" "e39e7722a1f7e442bfc0d687e4fcf6680cef549f3d3ebf7a40781f9792bae06a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e39e7722a1f7e442bfc0d687e4fcf6680cef549f3d3ebf7a40781f9792bae06a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e39e7722a1f7e442bfc0d687e4fcf6680cef549f3d3ebf7a40781f9792bae06a", kill_on_drop: false }` [INFO] [stdout] e39e7722a1f7e442bfc0d687e4fcf6680cef549f3d3ebf7a40781f9792bae06a [INFO] running `Command { std: "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" "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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "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] a9fd8c12a90a6f6b4c6ff5a88f6e020d91470dc2dbebb53237cd86100910df98 [INFO] running `Command { std: "docker" "start" "-a" "a9fd8c12a90a6f6b4c6ff5a88f6e020d91470dc2dbebb53237cd86100910df98", kill_on_drop: false }` [INFO] [stderr] Compiling stm32f1 v0.8.0 [INFO] [stderr] Compiling cortex-m-rt v0.6.12 [INFO] [stderr] Compiling stm32-usbd v0.5.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking usb-device v0.2.4 [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" "a9fd8c12a90a6f6b4c6ff5a88f6e020d91470dc2dbebb53237cd86100910df98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9fd8c12a90a6f6b4c6ff5a88f6e020d91470dc2dbebb53237cd86100910df98", kill_on_drop: false }` [INFO] [stdout] a9fd8c12a90a6f6b4c6ff5a88f6e020d91470dc2dbebb53237cd86100910df98