[INFO] fetching crate jrk-g2-rs 1.0.1... [INFO] testing jrk-g2-rs-1.0.1 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate jrk-g2-rs 1.0.1 into /workspace/builds/worker-3-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate jrk-g2-rs 1.0.1 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4e5aa227cbf8b68a527aaa605f47b811542cb440467841243d99ce10f3db9982 [INFO] running `Command { std: "docker" "start" "-a" "4e5aa227cbf8b68a527aaa605f47b811542cb440467841243d99ce10f3db9982", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4e5aa227cbf8b68a527aaa605f47b811542cb440467841243d99ce10f3db9982", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e5aa227cbf8b68a527aaa605f47b811542cb440467841243d99ce10f3db9982", kill_on_drop: false }` [INFO] [stdout] 4e5aa227cbf8b68a527aaa605f47b811542cb440467841243d99ce10f3db9982 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9622d57586b6af70e2552a2a02b35e5128ac4708a5c3c72c5603ca2b4d8e5acc [INFO] running `Command { std: "docker" "start" "-a" "9622d57586b6af70e2552a2a02b35e5128ac4708a5c3c72c5603ca2b4d8e5acc", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling syn v1.0.56 [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 6.18s [INFO] running `Command { std: "docker" "inspect" "9622d57586b6af70e2552a2a02b35e5128ac4708a5c3c72c5603ca2b4d8e5acc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9622d57586b6af70e2552a2a02b35e5128ac4708a5c3c72c5603ca2b4d8e5acc", kill_on_drop: false }` [INFO] [stdout] 9622d57586b6af70e2552a2a02b35e5128ac4708a5c3c72c5603ca2b4d8e5acc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 585c4452070a493d9bc2a171a5a2a4c3e0bdeebe8fb2e76bfec8619425d516a4 [INFO] running `Command { std: "docker" "start" "-a" "585c4452070a493d9bc2a171a5a2a4c3e0bdeebe8fb2e76bfec8619425d516a4", 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[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] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [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 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[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] 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[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] [stderr] error: could not compile `jrk-g2-rs` (example "rpi-serial") due to 1 previous error [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] warning: build failed, waiting for other jobs to finish... [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-i2c") due to 1 previous error [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-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 `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-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 `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 `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] 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] [stderr] error: could not compile `jrk-g2-rs` (example "stm32-i2c") due to 11 previous errors [INFO] running `Command { std: "docker" "inspect" "585c4452070a493d9bc2a171a5a2a4c3e0bdeebe8fb2e76bfec8619425d516a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "585c4452070a493d9bc2a171a5a2a4c3e0bdeebe8fb2e76bfec8619425d516a4", kill_on_drop: false }` [INFO] [stdout] 585c4452070a493d9bc2a171a5a2a4c3e0bdeebe8fb2e76bfec8619425d516a4