[INFO] fetching crate stm32-eth 0.2.0... [INFO] testing stm32-eth-0.2.0 against master#432e145bd5a974c5b6f4dd9b352891bd7502b69d for pr-87041 [INFO] extracting crate stm32-eth 0.2.0 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate stm32-eth 0.2.0 on toolchain 432e145bd5a974c5b6f4dd9b352891bd7502b69d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-1/source/.cargo/config [INFO] started tweaking crates.io crate stm32-eth 0.2.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate stm32-eth 0.2.0 [INFO] tweaked toml for crates.io crate stm32-eth 0.2.0 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate crates.io crate stm32-eth 0.2.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--no-deps" "--format-version=1", 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] 4f638f289b09adea609cc18c276d7a03f6c07905e1d88184996bd3c7a923fd3f [INFO] running `Command { std: "docker" "start" "-a" "4f638f289b09adea609cc18c276d7a03f6c07905e1d88184996bd3c7a923fd3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4f638f289b09adea609cc18c276d7a03f6c07905e1d88184996bd3c7a923fd3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f638f289b09adea609cc18c276d7a03f6c07905e1d88184996bd3c7a923fd3f", kill_on_drop: false }` [INFO] [stdout] 4f638f289b09adea609cc18c276d7a03f6c07905e1d88184996bd3c7a923fd3f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3b8cc7e8af3d3010f24139fed724428318a4b07e471aba72e967cb3f2e081c55 [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" "3b8cc7e8af3d3010f24139fed724428318a4b07e471aba72e967cb3f2e081c55", kill_on_drop: false }` [INFO] [stderr] Compiling cortex-m v0.7.2 [INFO] [stderr] Compiling embedded-hal v0.2.4 [INFO] [stderr] Compiling cortex-m v0.6.7 [INFO] [stderr] Compiling stm32-eth v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hal` [INFO] [stdout] --> src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use hal::rcc::Clocks; [INFO] [stdout] | ^^^ use of undeclared crate or module `hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `stm32` [INFO] [stdout] --> src/phy.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use stm32::ethernet_mac::{MACMIIAR, MACMIIDR}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `stm32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `stm32` [INFO] [stdout] --> src/smi.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use stm32::ethernet_mac::{MACMIIAR, MACMIIDR}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `stm32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `stm32` [INFO] [stdout] --> src/lib.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use stm32::{Interrupt, ETHERNET_DMA, ETHERNET_MAC, NVIC}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `stm32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `stm32` [INFO] [stdout] --> src/rx.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use stm32::ETHERNET_DMA; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `stm32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `stm32` [INFO] [stdout] --> src/tx.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use stm32::ETHERNET_DMA; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `stm32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MACMIIAR` in this scope [INFO] [stdout] --> src/phy.rs:61:30 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn new(macmiiar: &'a MACMIIAR, macmiidr: &'a MACMIIDR, phy: u8) -> Self { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MACMIIDR` in this scope [INFO] [stdout] --> src/phy.rs:61:54 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn new(macmiiar: &'a MACMIIAR, macmiidr: &'a MACMIIDR, phy: u8) -> Self { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MACMIIAR` in this scope [INFO] [stdout] --> src/smi.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | macmiiar: &'a MACMIIAR, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MACMIIDR` in this scope [INFO] [stdout] --> src/smi.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | macmiidr: &'a MACMIIDR, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MACMIIAR` in this scope [INFO] [stdout] --> src/smi.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new(macmiiar: &'a MACMIIAR, macmiidr: &'a MACMIIDR) -> Self { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MACMIIDR` in this scope [INFO] [stdout] --> src/smi.rs:16:54 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new(macmiiar: &'a MACMIIAR, macmiidr: &'a MACMIIDR) -> Self { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Clocks` in this scope [INFO] [stdout] --> src/lib.rs:103:17 [INFO] [stdout] | [INFO] [stdout] 103 | clocks: Clocks, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Clocks` in this scope [INFO] [stdout] --> src/lib.rs:132:32 [INFO] [stdout] | [INFO] [stdout] 132 | fn init(&mut self, clocks: Clocks) -> Result<(), WrongClock> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/setup.rs:177:1 [INFO] [stdout] | [INFO] [stdout] 177 | / macro_rules! impl_pins { [INFO] [stdout] 178 | | ( $($traity:ident: [$($pin:ty,)+],)+ ) => { [INFO] [stdout] 179 | | $( [INFO] [stdout] 180 | | $( [INFO] [stdout] ... | [INFO] [stdout] 190 | | }; [INFO] [stdout] 191 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `stm32-eth` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "3b8cc7e8af3d3010f24139fed724428318a4b07e471aba72e967cb3f2e081c55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b8cc7e8af3d3010f24139fed724428318a4b07e471aba72e967cb3f2e081c55", kill_on_drop: false }` [INFO] [stdout] 3b8cc7e8af3d3010f24139fed724428318a4b07e471aba72e967cb3f2e081c55