[INFO] fetching crate stm32f1-hal 0.2.1... [INFO] testing stm32f1-hal-0.2.1 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate stm32f1-hal 0.2.1 into /workspace/builds/worker-7-tc2/source [INFO] removed /workspace/builds/worker-7-tc2/source/.cargo/config.toml [INFO] started tweaking crates.io crate stm32f1-hal 0.2.1 [INFO] finished tweaking crates.io crate stm32f1-hal 0.2.1 [INFO] tweaked toml for crates.io crate stm32f1-hal 0.2.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate stm32f1-hal 0.2.1 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate stm32f1-hal 0.2.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7b1d895197f7e06fe8f7379dee245dad00e682fc693bf22591f629e9db0e5170 [INFO] running `Command { std: "docker" "start" "-a" "7b1d895197f7e06fe8f7379dee245dad00e682fc693bf22591f629e9db0e5170", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7b1d895197f7e06fe8f7379dee245dad00e682fc693bf22591f629e9db0e5170", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b1d895197f7e06fe8f7379dee245dad00e682fc693bf22591f629e9db0e5170", kill_on_drop: false }` [INFO] [stdout] 7b1d895197f7e06fe8f7379dee245dad00e682fc693bf22591f629e9db0e5170 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 258833a824f5139c44f9ee4668efb243cf08dfa9c541c69b0eb7435c503c24d7 [INFO] running `Command { std: "docker" "start" "-a" "258833a824f5139c44f9ee4668efb243cf08dfa9c541c69b0eb7435c503c24d7", kill_on_drop: false }` [INFO] [stderr] Compiling gcd v2.3.0 [INFO] [stderr] Compiling waiter-trait v0.5.2 [INFO] [stderr] Compiling embedded-dma v0.2.0 [INFO] [stderr] Compiling critical-section v1.2.0 [INFO] [stderr] Compiling rtrb v0.3.2 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling embedded-io v0.6.1 [INFO] [stderr] Compiling fugit v0.3.7 [INFO] [stderr] Compiling fugit-timer v0.1.3 [INFO] [stderr] Compiling stm32f1-hal v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `alloc` [INFO] [stdout] --> src/common/os.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | pub use alloc::vec::Vec; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `alloc` [INFO] [stdout] | [INFO] [stdout] = help: add `extern crate alloc` to use the `alloc` crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `alloc` [INFO] [stdout] --> src/common/os.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | pub use alloc::boxed::Box; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `alloc` [INFO] [stdout] | [INFO] [stdout] = help: add `extern crate alloc` to use the `alloc` crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `alloc` [INFO] [stdout] --> src/common/os.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | pub use alloc::sync::Arc; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `alloc` [INFO] [stdout] | [INFO] [stdout] = help: add `extern crate alloc` to use the `alloc` crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/common/dma/circular_buffer_rx.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | ch.set_memory_buf_for_peripheral(buf.as_slice()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -------------- type must be known at this point [INFO] [stdout] | | [INFO] [stdout] | cannot infer type of the type parameter `T` declared on the method `set_memory_buf_for_peripheral` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: core::marker::Copy` [INFO] [stdout] note: required by a bound in `dma::DmaChannel::set_memory_buf_for_peripheral` [INFO] [stdout] --> src/common/dma/mod.rs:19:49 [INFO] [stdout] | [INFO] [stdout] 19 | fn set_memory_buf_for_peripheral(&mut self, buf: &[T]) { [INFO] [stdout] | ^^^^ required by this bound in `DmaChannel::set_memory_buf_for_peripheral` [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 18 | ch.set_memory_buf_for_peripheral::(buf.as_slice()); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(ringbuf_tx::DmaRingbufTxWriter, ringbuf_tx::DmaRingbufTxLoader<_, CH>)` [INFO] [stdout] --> src/common/uart/uart_dma.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | let (w, l) = DmaRingbufTx::new(dma_ch, uart.get_tx_data_reg_addr(), buf_size); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the type for type parameter `T` is specified [INFO] [stdout] | [INFO] [stdout] 28 | let (w, l): (_, ringbuf_tx::DmaRingbufTxLoader) = DmaRingbufTx::new(dma_ch, uart.get_tx_data_reg_addr(), buf_size); [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/common/uart/uart_dma.rs:76:24 [INFO] [stdout] | [INFO] [stdout] 76 | if !self.w.in_progress() { [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type for type parameter `CH` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: dma::DmaChannel` [INFO] [stdout] note: required by a bound in `ringbuf_tx::DmaRingbufTxWriter::::in_progress` [INFO] [stdout] --> src/common/dma/ringbuf_tx.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | CH: DmaChannel, [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `DmaRingbufTxWriter::::in_progress` [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn in_progress(&self) -> bool { [INFO] [stdout] | ----------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0283, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `stm32f1-hal` (lib) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "258833a824f5139c44f9ee4668efb243cf08dfa9c541c69b0eb7435c503c24d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "258833a824f5139c44f9ee4668efb243cf08dfa9c541c69b0eb7435c503c24d7", kill_on_drop: false }` [INFO] [stdout] 258833a824f5139c44f9ee4668efb243cf08dfa9c541c69b0eb7435c503c24d7