[INFO] fetching crate jrk-g2-rs 1.0.1... [INFO] checking jrk-g2-rs-1.0.1 against master#90442458ac46b1d5eed752c316da25450f67285b for pr-81477 [INFO] extracting crate jrk-g2-rs 1.0.1 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate jrk-g2-rs 1.0.1 on toolchain 90442458ac46b1d5eed752c316da25450f67285b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "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-13/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" "+90442458ac46b1d5eed752c316da25450f67285b" "fetch" "--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-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:ea7d7bff36b2ba8ce4de8bba1d2dea90376bc481f1a945a913994a8c492e40c1" "/opt/rustwide/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 310b571c6d8547a3b386a0909e645c24c23032c988faa3c7c205e172f4a944c9 [INFO] running `Command { std: "docker" "start" "-a" "310b571c6d8547a3b386a0909e645c24c23032c988faa3c7c205e172f4a944c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "310b571c6d8547a3b386a0909e645c24c23032c988faa3c7c205e172f4a944c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "310b571c6d8547a3b386a0909e645c24c23032c988faa3c7c205e172f4a944c9", kill_on_drop: false }` [INFO] [stdout] 310b571c6d8547a3b386a0909e645c24c23032c988faa3c7c205e172f4a944c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:ea7d7bff36b2ba8ce4de8bba1d2dea90376bc481f1a945a913994a8c492e40c1" "/opt/rustwide/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fd24d4545f8d13858f584a8b25ae20b3b54ae465f5d4c5a82cef2423ea0e7251 [INFO] running `Command { std: "docker" "start" "-a" "fd24d4545f8d13858f584a8b25ae20b3b54ae465f5d4c5a82cef2423ea0e7251", kill_on_drop: false }` [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 void v1.0.2 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking embedded-hal v0.2.4 [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-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[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[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[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] [stdout] error: aborting due to previous error [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] For more information about this error, try `rustc --explain E0432`. [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[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] [stderr] error: could not compile `jrk-g2-rs` [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: 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 `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-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 `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-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] 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[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-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] [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: build failed [INFO] running `Command { std: "docker" "inspect" "fd24d4545f8d13858f584a8b25ae20b3b54ae465f5d4c5a82cef2423ea0e7251", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd24d4545f8d13858f584a8b25ae20b3b54ae465f5d4c5a82cef2423ea0e7251", kill_on_drop: false }` [INFO] [stdout] fd24d4545f8d13858f584a8b25ae20b3b54ae465f5d4c5a82cef2423ea0e7251