[INFO] fetching crate jrk-g2-rs 1.0.1... [INFO] testing jrk-g2-rs-1.0.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate jrk-g2-rs 1.0.1 into /workspace/builds/worker-3-tc1/source [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-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate jrk-g2-rs 1.0.1 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate jrk-g2-rs 1.0.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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded i2cdev v0.4.4 [INFO] [stderr] Downloaded linux-embedded-hal v0.3.0 [INFO] [stderr] Downloaded spidev v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b7ec4c8330d2dacd07da00442203e0cd3f80610ca2596d0df5a0ed75d418ee8e [INFO] running `Command { std: "docker" "start" "-a" "b7ec4c8330d2dacd07da00442203e0cd3f80610ca2596d0df5a0ed75d418ee8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b7ec4c8330d2dacd07da00442203e0cd3f80610ca2596d0df5a0ed75d418ee8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7ec4c8330d2dacd07da00442203e0cd3f80610ca2596d0df5a0ed75d418ee8e", kill_on_drop: false }` [INFO] [stdout] b7ec4c8330d2dacd07da00442203e0cd3f80610ca2596d0df5a0ed75d418ee8e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6424af64a4dfd4982c9e324534d65c26541ae7aba7d01558786369ace1c7327b [INFO] running `Command { std: "docker" "start" "-a" "6424af64a4dfd4982c9e324534d65c26541ae7aba7d01558786369ace1c7327b", 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] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling nb v1.0.0 [INFO] [stderr] Compiling ufmt-write v0.1.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling embedded-hal v0.2.4 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling ufmt-macros v0.1.1 [INFO] [stderr] Compiling ufmt v0.1.0 [INFO] [stderr] Compiling jrk-g2-rs v1.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.25s [INFO] running `Command { std: "docker" "inspect" "6424af64a4dfd4982c9e324534d65c26541ae7aba7d01558786369ace1c7327b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6424af64a4dfd4982c9e324534d65c26541ae7aba7d01558786369ace1c7327b", kill_on_drop: false }` [INFO] [stdout] 6424af64a4dfd4982c9e324534d65c26541ae7aba7d01558786369ace1c7327b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 05f862137facac3fc5c0058cad422510edc01b97fcbdf90495bd8dabbddd3d4a [INFO] running `Command { std: "docker" "start" "-a" "05f862137facac3fc5c0058cad422510edc01b97fcbdf90495bd8dabbddd3d4a", kill_on_drop: false }` [INFO] [stderr] Compiling jrk-g2-rs v1.0.1 (/opt/rustwide/workdir) [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 unresolved module or unlinked crate `linux_embedded_hal` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 1 - use linux_embedded_hal::Serial; [INFO] [stdout] 1 + use embedded_hal::Serial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `stm32f1xx_hal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `stm32f1xx_hal`, use `cargo add stm32f1xx_hal` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `linux_embedded_hal` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 1 - use linux_embedded_hal::I2cdev; [INFO] [stdout] 1 + use embedded_hal::I2cdev; [INFO] [stdout] | [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 unresolved module or unlinked crate `cortex_m_rt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cortex_m_rt`, use `cargo add cortex_m_rt` to add it to your `Cargo.toml` [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 import `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 unresolved module or unlinked crate `stm32f1xx_hal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `stm32f1xx_hal`, use `cargo add stm32f1xx_hal` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `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 unresolved module or unlinked crate `cortex_m` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cortex_m`, use `cargo add cortex_m` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `#[panic_handler]` function required, but not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unwinding panics are not supported without std [INFO] [stdout] | [INFO] [stdout] = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding [INFO] [stdout] = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `jrk-g2-rs` (example "rpi-serial") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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[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] 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] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `stm32f1xx_hal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `stm32f1xx_hal`, use `cargo add stm32f1xx_hal` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `jrk-g2-rs` (example "rpi-i2c") due to 1 previous error [INFO] [stderr] error: could not compile `jrk-g2-rs` (example "stm32-i2c") due to 11 previous errors [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 unresolved module or unlinked crate `cortex_m_rt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cortex_m_rt`, use `cargo add cortex_m_rt` to add it to your `Cargo.toml` [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 import `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 unresolved module or unlinked crate `stm32f1xx_hal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `stm32f1xx_hal`, use `cargo add stm32f1xx_hal` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `cortex_m` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cortex_m`, use `cargo add cortex_m` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `#[panic_handler]` function required, but not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unwinding panics are not supported without std [INFO] [stdout] | [INFO] [stdout] = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding [INFO] [stdout] = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem [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: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] 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` (example "stm32-serial") due to 11 previous errors [INFO] running `Command { std: "docker" "inspect" "05f862137facac3fc5c0058cad422510edc01b97fcbdf90495bd8dabbddd3d4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05f862137facac3fc5c0058cad422510edc01b97fcbdf90495bd8dabbddd3d4a", kill_on_drop: false }` [INFO] [stdout] 05f862137facac3fc5c0058cad422510edc01b97fcbdf90495bd8dabbddd3d4a