[INFO] cloning repository https://github.com/kKdH/rust-embassy-playground [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kKdH/rust-embassy-playground" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FkKdH%2Frust-embassy-playground", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FkKdH%2Frust-embassy-playground'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b7e1486b9a8fe54533e40c8576d6536b98da8a42 [INFO] testing kKdH/rust-embassy-playground against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FkKdH%2Frust-embassy-playground" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-3-tc2/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-3-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/kKdH/rust-embassy-playground [INFO] finished tweaking git repo https://github.com/kKdH/rust-embassy-playground [INFO] tweaked toml for git repo https://github.com/kKdH/rust-embassy-playground written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kKdH/rust-embassy-playground 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 git repo https://github.com/kKdH/rust-embassy-playground 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] [stderr] Blocking waiting for file lock on package cache [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ea6ba7a93c7047855fa79c0f7c5ea48415372e438096961841118f487cbf57bb [INFO] running `Command { std: "docker" "start" "-a" "ea6ba7a93c7047855fa79c0f7c5ea48415372e438096961841118f487cbf57bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ea6ba7a93c7047855fa79c0f7c5ea48415372e438096961841118f487cbf57bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea6ba7a93c7047855fa79c0f7c5ea48415372e438096961841118f487cbf57bb", kill_on_drop: false }` [INFO] [stdout] ea6ba7a93c7047855fa79c0f7c5ea48415372e438096961841118f487cbf57bb [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 65799d07811bd7283ce00aeba183983b047ea6e4f9eedd45200e62dfe897bac2 [INFO] running `Command { std: "docker" "start" "-a" "65799d07811bd7283ce00aeba183983b047ea6e4f9eedd45200e62dfe897bac2", kill_on_drop: false }` [INFO] [stderr] Compiling rust-embassy-playground v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `defmt` [INFO] [stdout] --> src/cancom.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use defmt::info; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `defmt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `defmt`, use `cargo add defmt` 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 `embassy_stm32` [INFO] [stdout] --> src/cancom.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use embassy_stm32::can::bxcan::Fifo; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `embassy_stm32` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `embassy_stm32`, use `cargo add embassy_stm32` 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 `embassy_stm32` [INFO] [stdout] --> src/cancom.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use embassy_stm32::can::bxcan::filter::Mask32; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `embassy_stm32` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `embassy_stm32`, use `cargo add embassy_stm32` 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 `embassy_stm32` [INFO] [stdout] --> src/cancom.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use embassy_stm32::can::{Can, Rx0InterruptHandler, Rx1InterruptHandler, SceInterruptHandler, TxInterruptHandler}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `embassy_stm32` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `embassy_stm32`, use `cargo add embassy_stm32` 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 `embassy_stm32` [INFO] [stdout] --> src/cancom.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use embassy_stm32::peripherals::{CAN1, PA11, PA12}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `embassy_stm32` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `embassy_stm32`, use `cargo add embassy_stm32` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `embassy_stm32` [INFO] [stdout] --> src/cancom.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use embassy_stm32::bind_interrupts; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `embassy_stm32` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `embassy_stm32`, use `cargo add embassy_stm32` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `static_cell` [INFO] [stdout] --> src/cancom.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use static_cell::StaticCell; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `static_cell` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `static_cell`, use `cargo add static_cell` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `defmt` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use defmt::*; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `defmt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `defmt`, use `cargo add defmt` 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 `embassy_stm32` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use embassy_stm32::adc::{Adc, Resolution, SampleTime, VrefInt}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `embassy_stm32` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `embassy_stm32`, use `cargo add embassy_stm32` 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 `embassy_stm32` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use embassy_stm32::can::{Can, Envelope}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `embassy_stm32` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `embassy_stm32`, use `cargo add embassy_stm32` 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 `embassy_stm32` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use embassy_stm32::can::bxcan::Id; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `embassy_stm32` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `embassy_stm32`, use `cargo add embassy_stm32` 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 `embassy_stm32` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use embassy_stm32::gpio::{AnyPin, Level, Output, Pin, Speed}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `embassy_stm32` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `embassy_stm32`, use `cargo add embassy_stm32` 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 `embassy_stm32` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use embassy_stm32::peripherals::{ADC1, CAN1, PA1}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `embassy_stm32` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `embassy_stm32`, use `cargo add embassy_stm32` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `embassy_executor` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use embassy_executor::Spawner; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `embassy_executor` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `embassy_executor`, use `cargo add embassy_executor` 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 `embedded_hal` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use embedded_hal::prelude::_embedded_hal_blocking_delay_DelayUs; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `embedded_hal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `embedded_hal`, use `cargo add embedded_hal` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `embassy_time` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use embassy_time::{Delay, Timer}; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `embassy_time` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `embassy_time`, use `cargo add embassy_time` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `static_cell` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use static_cell::StaticCell; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `static_cell` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `static_cell`, use `cargo add static_cell` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `defmt_rtt`, `panic_probe` [INFO] [stdout] --> src/main.rs:21:6 [INFO] [stdout] | [INFO] [stdout] 21 | use {defmt_rtt as _, panic_probe as _}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ no external crate `panic_probe` [INFO] [stdout] | | [INFO] [stdout] | no external crate `defmt_rtt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `embassy_executor` [INFO] [stdout] --> src/main.rs:71:3 [INFO] [stdout] | [INFO] [stdout] 71 | #[embassy_executor::main] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `embassy_executor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `embassy_executor` [INFO] [stdout] --> src/main.rs:48:3 [INFO] [stdout] | [INFO] [stdout] 48 | #[embassy_executor::task] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `embassy_executor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `embassy_executor` [INFO] [stdout] --> src/main.rs:23:3 [INFO] [stdout] | [INFO] [stdout] 23 | #[embassy_executor::task] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `embassy_executor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> src/main.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | info!("Measure task started"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> src/main.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | info!("VCCA: {} mV", convert_to_millivolts(vref, MAX_ADC_SAMPLE)); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> src/main.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | info!("Measuring"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> src/main.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | info!("PA1: {} ({} mV)", value, convert_to_millivolts(vref, value)); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | info!("LED Control task started"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> src/main.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | info!("Received frame @ {:?}: {:?}", ts, frame); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MAX_ADC_SAMPLE` and `convert_to_millivolts` [INFO] [stdout] --> src/main.rs:19:22 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::measure::{convert_to_millivolts, MAX_ADC_SAMPLE}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [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 `rust-embassy-playground` (bin "rust-embassy-playground") due to 29 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "65799d07811bd7283ce00aeba183983b047ea6e4f9eedd45200e62dfe897bac2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65799d07811bd7283ce00aeba183983b047ea6e4f9eedd45200e62dfe897bac2", kill_on_drop: false }` [INFO] [stdout] 65799d07811bd7283ce00aeba183983b047ea6e4f9eedd45200e62dfe897bac2