[INFO] fetching crate jrk-g2-rs 1.0.1... [INFO] checking jrk-g2-rs-1.0.1 against master#dfd7b8d03fb93d0e03147d28b3be6d93260fa94d for pr-87050 [INFO] extracting crate jrk-g2-rs 1.0.1 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate jrk-g2-rs 1.0.1 on toolchain dfd7b8d03fb93d0e03147d28b3be6d93260fa94d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate jrk-g2-rs 1.0.1 [INFO] finished tweaking crates.io crate jrk-g2-rs 1.0.1 [INFO] tweaked toml for crates.io crate jrk-g2-rs 1.0.1 written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate crates.io crate jrk-g2-rs 1.0.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aa2060a420b57938d46c6a4e442240a0b80cb11c3c2e55eaf97a45731a129e76 [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" "aa2060a420b57938d46c6a4e442240a0b80cb11c3c2e55eaf97a45731a129e76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aa2060a420b57938d46c6a4e442240a0b80cb11c3c2e55eaf97a45731a129e76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa2060a420b57938d46c6a4e442240a0b80cb11c3c2e55eaf97a45731a129e76", kill_on_drop: false }` [INFO] [stdout] aa2060a420b57938d46c6a4e442240a0b80cb11c3c2e55eaf97a45731a129e76 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "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] 6c3ee095197f82794b67890aeba9dcf3e4c4d7eae28e6bf01cc822833f1bffe5 [INFO] running `Command { std: "docker" "start" "-a" "6c3ee095197f82794b67890aeba9dcf3e4c4d7eae28e6bf01cc822833f1bffe5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.56 [INFO] [stderr] Checking nb v1.0.0 [INFO] [stderr] Checking ufmt-write v0.1.0 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking embedded-hal v0.2.4 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling ufmt-macros v0.1.1 [INFO] [stderr] Checking ufmt v0.1.0 [INFO] [stderr] Checking jrk-g2-rs v1.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `stm32f1xx_hal` [INFO] [stdout] --> examples/stm32-i2c.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use stm32f1xx_hal::{i2c, pac, prelude::*, serial, timer::Timer}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `stm32f1xx_hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cortex_m_rt` [INFO] [stdout] --> examples/stm32-i2c.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use cortex_m_rt::entry; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `cortex_m_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `panic_halt` [INFO] [stdout] --> examples/stm32-i2c.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use panic_halt as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no external crate `panic_halt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `stm32f1xx_hal`, `stm32f1xx_hal::timer::Timer` [INFO] [stdout] --> examples/stm32-i2c.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use stm32f1xx_hal::{i2c, pac, prelude::*, serial, timer::Timer}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared crate or module `stm32f1xx_hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `entry` [INFO] [stdout] --> examples/stm32-i2c.rs:20:3 [INFO] [stdout] | [INFO] [stdout] 20 | #[entry] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cortex_m` [INFO] [stdout] --> examples/stm32-i2c.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | let cp = cortex_m::Peripherals::take().unwrap(); [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `cortex_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Timer` [INFO] [stdout] --> examples/stm32-i2c.rs:30:21 [INFO] [stdout] | [INFO] [stdout] 30 | let mut timer = Timer::syst(cp.SYST, &clocks).start_count_down(1.hz()); [INFO] [stdout] | ^^^^^ use of undeclared type `Timer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: language item required, but not found: `eh_personality` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `#[panic_handler]` function required, but not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `linux_embedded_hal` [INFO] [stdout] --> examples/rpi-serial.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use linux_embedded_hal::Serial; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `linux_embedded_hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `hz` found for type `{integer}` in the current scope [INFO] [stdout] --> examples/stm32-i2c.rs:30:70 [INFO] [stdout] | [INFO] [stdout] 30 | let mut timer = Timer::syst(cp.SYST, &clocks).start_count_down(1.hz()); [INFO] [stdout] | ^^ method not found in `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bps` found for type `{integer}` in the current scope [INFO] [stdout] --> examples/stm32-i2c.rs:43:52 [INFO] [stdout] | [INFO] [stdout] 43 | serial::Config::default().baudrate(115_200.bps()), [INFO] [stdout] | ^^^ method not found in `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `hz` found for type `{integer}` in the current scope [INFO] [stdout] --> examples/stm32-i2c.rs:61:32 [INFO] [stdout] | [INFO] [stdout] 61 | frequency: 400_000.hz(), [INFO] [stdout] | ^^ method not found in `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bps` found for type `{integer}` in the current scope [INFO] [stdout] --> examples/stm32-i2c.rs:76:50 [INFO] [stdout] | [INFO] [stdout] 76 | serial::Config::default().baudrate(9_600.bps()), [INFO] [stdout] | ^^^ method not found in `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::fmt::Write` [INFO] [stdout] --> examples/stm32-i2c.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use core::fmt::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `jrk-g2-rs` [INFO] [stdout] error[E0432]: unresolved import `linux_embedded_hal` [INFO] [stdout] --> examples/rpi-i2c.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use linux_embedded_hal::I2cdev; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `linux_embedded_hal` [INFO] [stdout] [INFO] [stdout] [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] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `stm32f1xx_hal` [INFO] [stdout] --> examples/stm32-serial.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use stm32f1xx_hal::{i2c, pac, prelude::*, serial, timer::Timer}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `stm32f1xx_hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cortex_m_rt` [INFO] [stdout] --> examples/stm32-serial.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use cortex_m_rt::entry; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `cortex_m_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `panic_halt` [INFO] [stdout] --> examples/stm32-serial.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use panic_halt as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no external crate `panic_halt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `stm32f1xx_hal`, `stm32f1xx_hal::timer::Timer` [INFO] [stdout] --> examples/stm32-serial.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use stm32f1xx_hal::{i2c, pac, prelude::*, serial, timer::Timer}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared crate or module `stm32f1xx_hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `entry` [INFO] [stdout] --> examples/stm32-serial.rs:20:3 [INFO] [stdout] | [INFO] [stdout] 20 | #[entry] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cortex_m` [INFO] [stdout] --> examples/stm32-serial.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | let cp = cortex_m::Peripherals::take().unwrap(); [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `cortex_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Timer` [INFO] [stdout] --> examples/stm32-serial.rs:30:21 [INFO] [stdout] | [INFO] [stdout] 30 | let mut timer = Timer::syst(cp.SYST, &clocks).start_count_down(1.hz()); [INFO] [stdout] | ^^^^^ use of undeclared type `Timer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: language item required, but not found: `eh_personality` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `#[panic_handler]` function required, but not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `hz` found for type `{integer}` in the current scope [INFO] [stdout] --> examples/stm32-serial.rs:30:70 [INFO] [stdout] | [INFO] [stdout] 30 | let mut timer = Timer::syst(cp.SYST, &clocks).start_count_down(1.hz()); [INFO] [stdout] | ^^ method not found in `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bps` found for type `{integer}` in the current scope [INFO] [stdout] --> examples/stm32-serial.rs:43:52 [INFO] [stdout] | [INFO] [stdout] 43 | serial::Config::default().baudrate(115_200.bps()), [INFO] [stdout] | ^^^ method not found in `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `hz` found for type `{integer}` in the current scope [INFO] [stdout] --> examples/stm32-serial.rs:61:32 [INFO] [stdout] | [INFO] [stdout] 61 | frequency: 400_000.hz(), [INFO] [stdout] | ^^ method not found in `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bps` found for type `{integer}` in the current scope [INFO] [stdout] --> examples/stm32-serial.rs:76:50 [INFO] [stdout] | [INFO] [stdout] 76 | serial::Config::default().baudrate(9_600.bps()), [INFO] [stdout] | ^^^ method not found in `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::fmt::Write` [INFO] [stdout] --> examples/stm32-serial.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use core::fmt::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "6c3ee095197f82794b67890aeba9dcf3e4c4d7eae28e6bf01cc822833f1bffe5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c3ee095197f82794b67890aeba9dcf3e4c4d7eae28e6bf01cc822833f1bffe5", kill_on_drop: false }` [INFO] [stdout] 6c3ee095197f82794b67890aeba9dcf3e4c4d7eae28e6bf01cc822833f1bffe5