[INFO] fetching crate st7565 0.6.0... [INFO] testing st7565-0.6.0 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate st7565 0.6.0 into /workspace/builds/worker-0-tc2/source [INFO] removed /workspace/builds/worker-0-tc2/source/.cargo/config.toml [INFO] started tweaking crates.io crate st7565 0.6.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate st7565 0.6.0 [INFO] tweaked toml for crates.io crate st7565 0.6.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate st7565 0.6.0 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate st7565 0.6.0 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0699d5939b8b3b7465f1a5ddee302adfcf2d88474cb871cb991e624f078657db [INFO] running `Command { std: "docker" "start" "-a" "0699d5939b8b3b7465f1a5ddee302adfcf2d88474cb871cb991e624f078657db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0699d5939b8b3b7465f1a5ddee302adfcf2d88474cb871cb991e624f078657db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0699d5939b8b3b7465f1a5ddee302adfcf2d88474cb871cb991e624f078657db", kill_on_drop: false }` [INFO] [stdout] 0699d5939b8b3b7465f1a5ddee302adfcf2d88474cb871cb991e624f078657db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8e2dff4a694106961909eaa097cb081a93940cd69057228bd45784af9be84bf8 [INFO] running `Command { std: "docker" "start" "-a" "8e2dff4a694106961909eaa097cb081a93940cd69057228bd45784af9be84bf8", kill_on_drop: false }` [INFO] [stderr] Compiling az v1.2.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling embedded-hal v1.0.0 [INFO] [stderr] Compiling display-interface v0.5.0 [INFO] [stderr] Compiling embedded-graphics-core v0.4.0 [INFO] [stderr] Compiling st7565 v0.6.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [optimized + debuginfo] target(s) in 4.16s [INFO] running `Command { std: "docker" "inspect" "8e2dff4a694106961909eaa097cb081a93940cd69057228bd45784af9be84bf8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e2dff4a694106961909eaa097cb081a93940cd69057228bd45784af9be84bf8", kill_on_drop: false }` [INFO] [stdout] 8e2dff4a694106961909eaa097cb081a93940cd69057228bd45784af9be84bf8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ed7e5bff8c1642e98472dd2e73f96d30e71eb01487269ba960cd804fc718e971 [INFO] running `Command { std: "docker" "start" "-a" "ed7e5bff8c1642e98472dd2e73f96d30e71eb01487269ba960cd804fc718e971", kill_on_drop: false }` [INFO] [stderr] Compiling micromath v2.1.0 [INFO] [stderr] Compiling noop-attr v0.1.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling float-cmp v0.9.0 [INFO] [stderr] Compiling embedded-graphics v0.8.1 [INFO] [stderr] Compiling st7565 v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `GraphicsPageBuffer`, `ST7565`, and `displays::DOGM132W5` [INFO] [stdout] --> src/tests/mod.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::{displays::DOGM132W5, GraphicsPageBuffer, ST7565}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/tests/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | mod unit_tests { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DisplayMock` and `ExpectedAction::*` [INFO] [stdout] --> src/tests/mod.rs:11:31 [INFO] [stdout] | [INFO] [stdout] 11 | use super::display_mock::{DisplayMock, ExpectedAction::*}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/tests/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | mod unit_tests { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `st7565` [INFO] [stdout] --> src/lib.rs:30:2 [INFO] [stdout] | [INFO] [stdout] 30 | } [INFO] [stdout] | ^ consider adding a `main` function to `src/lib.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `defmt_rtt` [INFO] [stdout] --> examples/nrf52840_dogm132w5_graphics.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use defmt_rtt as _; // global logger [INFO] [stdout] | ^^^^^^^^^^^^^^ no external crate `defmt_rtt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `nrf52840_hal` [INFO] [stdout] --> examples/nrf52840_dogm132w5_graphics.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use nrf52840_hal as hal; // memory layout [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no external crate `nrf52840_hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `panic_probe` [INFO] [stdout] --> examples/nrf52840_dogm132w5_graphics.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use panic_probe as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no external crate `panic_probe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `embedded_hal_bus` [INFO] [stdout] --> examples/nrf52840_dogm132w5_graphics.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use embedded_hal_bus::spi::ExclusiveDevice; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `embedded_hal_bus` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 17 - use embedded_hal_bus::spi::ExclusiveDevice; [INFO] [stdout] 17 + use embedded_hal::spi::ExclusiveDevice; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `display_interface_spi` [INFO] [stdout] --> examples/nrf52840_dogm132w5_graphics.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use display_interface_spi::SPIInterface; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `display_interface_spi` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 8 - use display_interface_spi::SPIInterface; [INFO] [stdout] 8 + use display_interface::SPIInterface; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cortex_m_rt` [INFO] [stdout] --> examples/nrf52840_dogm132w5_graphics.rs:35:3 [INFO] [stdout] | [INFO] [stdout] 35 | #[cortex_m_rt::entry] [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `cortex_m_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `defmt` [INFO] [stdout] --> examples/nrf52840_dogm132w5_graphics.rs:23:3 [INFO] [stdout] | [INFO] [stdout] 23 | #[defmt::panic_handler] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `defmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cortex_m` [INFO] [stdout] --> examples/nrf52840_dogm132w5_graphics.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | cortex_m::asm::udf() [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/nrf52840_dogm132w5_graphics.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | cortex_m::asm::bkpt(); [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/nrf52840_dogm132w5_graphics.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | cortex_m::asm::wfi(); [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[E0432]: unresolved import `defmt_rtt` [INFO] [stdout] --> examples/nrf52840_dogm132w5_raw.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use defmt_rtt as _; // global logger [INFO] [stdout] | ^^^^^^^^^^^^^^ no external crate `defmt_rtt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `nrf52840_hal` [INFO] [stdout] --> examples/nrf52840_dogm132w5_raw.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use nrf52840_hal as hal; // memory layout [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no external crate `nrf52840_hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `panic_probe` [INFO] [stdout] --> examples/nrf52840_dogm132w5_raw.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use panic_probe as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no external crate `panic_probe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `embedded_hal_bus` [INFO] [stdout] --> examples/nrf52840_dogm132w5_raw.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use embedded_hal_bus::spi::ExclusiveDevice; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `embedded_hal_bus` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 10 - use embedded_hal_bus::spi::ExclusiveDevice; [INFO] [stdout] 10 + use embedded_hal::spi::ExclusiveDevice; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `display_interface_spi` [INFO] [stdout] --> examples/nrf52840_dogm132w5_raw.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use display_interface_spi::SPIInterface; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `display_interface_spi` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 8 - use display_interface_spi::SPIInterface; [INFO] [stdout] 8 + use display_interface::SPIInterface; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cortex_m_rt` [INFO] [stdout] --> examples/nrf52840_dogm132w5_raw.rs:28:3 [INFO] [stdout] | [INFO] [stdout] 28 | #[cortex_m_rt::entry] [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `cortex_m_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `defmt` [INFO] [stdout] --> examples/nrf52840_dogm132w5_raw.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 16 | #[defmt::panic_handler] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `defmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cortex_m` [INFO] [stdout] --> examples/nrf52840_dogm132w5_raw.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | cortex_m::asm::udf() [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/nrf52840_dogm132w5_raw.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | cortex_m::asm::bkpt(); [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] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `st7565` (example "nrf52840_dogm132w5_raw") due to 11 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `st7565` (example "nrf52840_dogm132w5_graphics") due to 12 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stderr] error: could not compile `st7565` (lib test) due to 1 previous error; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ed7e5bff8c1642e98472dd2e73f96d30e71eb01487269ba960cd804fc718e971", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed7e5bff8c1642e98472dd2e73f96d30e71eb01487269ba960cd804fc718e971", kill_on_drop: false }` [INFO] [stdout] ed7e5bff8c1642e98472dd2e73f96d30e71eb01487269ba960cd804fc718e971