[INFO] cloning repository https://github.com/nim65s/dmx-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nim65s/dmx-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnim65s%2Fdmx-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnim65s%2Fdmx-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d1be68bf3a20edc60483ec65fe9c8c38cdd930d8 [INFO] checking nim65s/dmx-rs against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnim65s%2Fdmx-rs" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nim65s/dmx-rs on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-8/source/.cargo/config [INFO] started tweaking git repo https://github.com/nim65s/dmx-rs [INFO] finished tweaking git repo https://github.com/nim65s/dmx-rs [INFO] tweaked toml for git repo https://github.com/nim65s/dmx-rs written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/nim65s/dmx-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded stm32f1xx-hal v0.7.0 [INFO] [stderr] Downloaded dummy-pin v0.1.1 [INFO] [stderr] Downloaded serialport v4.0.1 [INFO] [stderr] Downloaded rtt-target v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3ac3b12a0024f31be4fe93409f07a239e6617fc8bb0935cdfcdc52eb2fb5945a [INFO] running `Command { std: "docker" "start" "-a" "3ac3b12a0024f31be4fe93409f07a239e6617fc8bb0935cdfcdc52eb2fb5945a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3ac3b12a0024f31be4fe93409f07a239e6617fc8bb0935cdfcdc52eb2fb5945a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ac3b12a0024f31be4fe93409f07a239e6617fc8bb0935cdfcdc52eb2fb5945a", kill_on_drop: false }` [INFO] [stdout] 3ac3b12a0024f31be4fe93409f07a239e6617fc8bb0935cdfcdc52eb2fb5945a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cd487d8c3772f5fc758e6b98ddd872ab73a5cb48131dca14ae5292aaebf09a8d [INFO] running `Command { std: "docker" "start" "-a" "cd487d8c3772f5fc758e6b98ddd872ab73a5cb48131dca14ae5292aaebf09a8d", kill_on_drop: false }` [INFO] [stderr] Compiling crc16 v0.4.0 [INFO] [stderr] Checking dummy-pin v0.1.1 [INFO] [stderr] Checking dmx v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `stm32f1xx_hal` [INFO] [stdout] --> examples/stm32-xl320.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use stm32f1xx_hal::{ [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-xl320.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_rtt_target` [INFO] [stdout] --> examples/stm32-xl320.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use panic_rtt_target as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ no external crate `panic_rtt_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rtt_target` [INFO] [stdout] --> examples/stm32-xl320.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use rtt_target::{rprintln, rtt_init_print}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `rtt_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `stm32f1xx_hal`, `stm32f1xx_hal::timer::CountDownTimer`, `stm32f1xx_hal::timer::Timer` [INFO] [stdout] --> examples/stm32-xl320.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use stm32f1xx_hal::{ [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `stm32f1xx_hal` [INFO] [stdout] ... [INFO] [stdout] 23 | timer::{CountDownTimer, Timer}, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `entry` [INFO] [stdout] --> examples/stm32-xl320.rs:37:3 [INFO] [stdout] | [INFO] [stdout] 37 | #[entry] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `rtt_init_print` [INFO] [stdout] --> examples/stm32-xl320.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | rtt_init_print!(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `rprintln` [INFO] [stdout] --> examples/stm32-xl320.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | rprintln!("rprintln ok"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `rprintln` [INFO] [stdout] --> examples/stm32-xl320.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | rprintln!("Connecting to XL320 ID {} @ {}", id, baudrate); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `rprintln` [INFO] [stdout] --> examples/stm32-xl320.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | rprintln!( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `rprintln` [INFO] [stdout] --> examples/stm32-xl320.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | rprintln!( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `rprintln` [INFO] [stdout] --> examples/stm32-xl320.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | rprintln!("set led {}: {:?}", led, dmx.set_xl320_led(id, led)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `rprintln` [INFO] [stdout] --> examples/stm32-xl320.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | rprintln!( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `rprintln` [INFO] [stdout] --> examples/stm32-xl320.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 100 | rprintln!( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `stm32f1xx_hal` [INFO] [stdout] --> examples/stm32-ax12a.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use stm32f1xx_hal::{ [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-ax12a.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | 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_rtt_target` [INFO] [stdout] --> examples/stm32-ax12a.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use panic_rtt_target as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ no external crate `panic_rtt_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rtt_target` [INFO] [stdout] --> examples/stm32-ax12a.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use rtt_target::{rprintln, rtt_init_print}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `rtt_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `stm32f1xx_hal`, `stm32f1xx_hal::timer::CountDownTimer`, `stm32f1xx_hal::timer::Timer` [INFO] [stdout] --> examples/stm32-ax12a.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use stm32f1xx_hal::{ [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `stm32f1xx_hal` [INFO] [stdout] ... [INFO] [stdout] 24 | timer::{CountDownTimer, Timer}, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `entry` [INFO] [stdout] --> examples/stm32-ax12a.rs:38:3 [INFO] [stdout] | [INFO] [stdout] 38 | #[entry] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `rtt_init_print` [INFO] [stdout] --> examples/stm32-ax12a.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | rtt_init_print!(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `rprintln` [INFO] [stdout] --> examples/stm32-ax12a.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | rprintln!("rprintln ok"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `rprintln` [INFO] [stdout] --> examples/stm32-ax12a.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | rprintln!("Connecting to AX12A ID {} @ {}", id, baudrate); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `rprintln` [INFO] [stdout] --> examples/stm32-ax12a.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | rprintln!("set led {}: {:?}", led % 2, dmx.set_ax12a_led(id, led % 2)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `rprintln` [INFO] [stdout] --> examples/stm32-ax12a.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | rprintln!( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `rprintln` [INFO] [stdout] --> examples/stm32-ax12a.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | rprintln!( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `rprintln` [INFO] [stdout] --> examples/stm32-ax12a.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | rprintln!( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `rprintln` [INFO] [stdout] --> examples/stm32-ax12a.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | rprintln!( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `rprintln` [INFO] [stdout] --> examples/stm32-ax12a.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | rprintln!( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `rprintln` [INFO] [stdout] --> examples/stm32-ax12a.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | rprintln!("set led {}: {:?}", led % 2, dmx.set_ax12a_led(id, led % 2)); [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 `serialport` [INFO] [stdout] --> examples/linux-xl320.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use serialport; [INFO] [stdout] | ^^^^^^^^^^ no external crate `serialport` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `dmx::serialport_embedded_hal` [INFO] [stdout] --> examples/linux-xl320.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | serialport_embedded_hal::Serial, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ could not find `serialport_embedded_hal` in `dmx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cortex_m` [INFO] [stdout] --> examples/stm32-ax12a.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 43 | 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 crate or module `cortex_m` [INFO] [stdout] --> examples/stm32-xl320.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 42 | 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-xl320.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | let mut timer = Timer::syst(cp.SYST, &clocks).start_count_down(1.khz()); [INFO] [stdout] | ^^^^^ use of undeclared type `Timer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CountDownTimer` in this scope [INFO] [stdout] --> examples/stm32-xl320.rs:26:25 [INFO] [stdout] | [INFO] [stdout] 26 | fn sleep_ms(timer: &mut CountDownTimer, dur: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `xl320::XL320` [INFO] [stdout] --> examples/stm32-xl320.rs:14:33 [INFO] [stdout] | [INFO] [stdout] 14 | use dmx::{protocol::Controller, xl320::XL320}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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 `stm32f1xx_hal` [INFO] [stdout] --> examples/stm32-mx106.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use stm32f1xx_hal::{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-mx106.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | 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_rtt_target` [INFO] [stdout] --> examples/stm32-mx106.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use panic_rtt_target as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ no external crate `panic_rtt_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rtt_target` [INFO] [stdout] --> examples/stm32-mx106.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use rtt_target::{rprintln, rtt_init_print}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `rtt_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `stm32f1xx_hal`, `stm32f1xx_hal::timer::Timer` [INFO] [stdout] --> examples/stm32-mx106.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use stm32f1xx_hal::{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-mx106.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 16 | #[entry] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `rtt_init_print` [INFO] [stdout] --> examples/stm32-mx106.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | rtt_init_print!(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `rprintln` [INFO] [stdout] --> examples/stm32-mx106.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | rprintln!("rprintln ok"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `rprintln` [INFO] [stdout] --> examples/stm32-mx106.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | rprintln!("Connecting to MX106 ID {} @ {}", id, baudrate); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `rprintln` [INFO] [stdout] --> examples/stm32-mx106.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | rprintln!("ping {}", dmx.ping(1)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `rprintln` [INFO] [stdout] --> examples/stm32-mx106.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | rprintln!("get torque enable: {:?}", dmx.get_mx106_torque_enable(id)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `rprintln` [INFO] [stdout] --> examples/stm32-mx106.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | rprintln!( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `rprintln` [INFO] [stdout] --> examples/stm32-mx106.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | rprintln!("get goal position: {:?}", dmx.get_mx106_goal_position(id)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `rprintln` [INFO] [stdout] --> examples/stm32-mx106.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | rprintln!( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `rprintln` [INFO] [stdout] --> examples/stm32-mx106.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | rprintln!( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `rprintln` [INFO] [stdout] --> examples/stm32-mx106.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | rprintln!("set led {}: {:?}", 1, dmx.set_mx106_led(id, 1)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `rprintln` [INFO] [stdout] --> examples/stm32-mx106.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | rprintln!( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `rprintln` [INFO] [stdout] --> examples/stm32-mx106.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | rprintln!( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `rprintln` [INFO] [stdout] --> examples/stm32-mx106.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | rprintln!( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `rprintln` [INFO] [stdout] --> examples/stm32-mx106.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | rprintln!( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `rprintln` [INFO] [stdout] --> examples/stm32-mx106.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | rprintln!("get present_position : {:?}", pose); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `rprintln` [INFO] [stdout] --> examples/stm32-mx106.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | rprintln!( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `rprintln` [INFO] [stdout] --> examples/stm32-mx106.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | rprintln!("set led {}: {:?}", 0, dmx.set_mx106_led(id, 0)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `rprintln` [INFO] [stdout] --> examples/stm32-mx106.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | rprintln!("get torque enable {:?}", dmx.get_mx106_torque_enable(id)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `rprintln` [INFO] [stdout] --> examples/stm32-mx106.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | rprintln!( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `rprintln` [INFO] [stdout] --> examples/stm32-mx106.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | rprintln!("get goal position {:?}", dmx.get_mx106_goal_position(id)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Timer` [INFO] [stdout] --> examples/stm32-ax12a.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | let mut timer = Timer::syst(cp.SYST, &clocks).start_count_down(1.khz()); [INFO] [stdout] | ^^^^^ use of undeclared type `Timer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CountDownTimer` in this scope [INFO] [stdout] --> examples/stm32-ax12a.rs:27:25 [INFO] [stdout] | [INFO] [stdout] 27 | fn sleep_ms(timer: &mut CountDownTimer, dur: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ax12a::AX12A` [INFO] [stdout] --> examples/stm32-ax12a.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | use dmx::{ax12a::AX12A, protocol::Controller}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dmx` due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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[E0432]: unresolved import `serialport` [INFO] [stdout] --> examples/linux-ax12a.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use serialport; [INFO] [stdout] | ^^^^^^^^^^ no external crate `serialport` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `dmx::serialport_embedded_hal` [INFO] [stdout] --> examples/linux-ax12a.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | serialport_embedded_hal::Serial, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ could not find `serialport_embedded_hal` in `dmx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cortex_m` [INFO] [stdout] --> examples/stm32-mx106.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | 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-mx106.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | let mut timer = Timer::syst(cp.SYST, &clocks).start_count_down(1.khz()); [INFO] [stdout] | ^^^^^ use of undeclared type `Timer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Protocol` [INFO] [stdout] --> examples/stm32-mx106.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | protocol::{Controller, Protocol}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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[E0599]: no method named `khz` found for type `{integer}` in the current scope [INFO] [stdout] --> examples/stm32-xl320.rs:50:70 [INFO] [stdout] | [INFO] [stdout] 50 | let mut timer = Timer::syst(cp.SYST, &clocks).start_count_down(1.khz()); [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-xl320.rs:68:53 [INFO] [stdout] | [INFO] [stdout] 68 | serial::Config::default().baudrate(baudrate.bps()), [INFO] [stdout] | ^^^ method not found in `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 21 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `khz` found for type `{integer}` in the current scope [INFO] [stdout] --> examples/stm32-ax12a.rs:51:70 [INFO] [stdout] | [INFO] [stdout] 51 | let mut timer = Timer::syst(cp.SYST, &clocks).start_count_down(1.khz()); [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-ax12a.rs:69:53 [INFO] [stdout] | [INFO] [stdout] 69 | serial::Config::default().baudrate(baudrate.bps()), [INFO] [stdout] | ^^^ method not found in `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 23 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `khz` found for type `{integer}` in the current scope [INFO] [stdout] --> examples/stm32-mx106.rs:29:70 [INFO] [stdout] | [INFO] [stdout] 29 | let mut timer = Timer::syst(cp.SYST, &clocks).start_count_down(1.khz()); [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-mx106.rs:47:53 [INFO] [stdout] | [INFO] [stdout] 47 | serial::Config::default().baudrate(baudrate.bps()), [INFO] [stdout] | ^^^ method not found in `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 32 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" "cd487d8c3772f5fc758e6b98ddd872ab73a5cb48131dca14ae5292aaebf09a8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd487d8c3772f5fc758e6b98ddd872ab73a5cb48131dca14ae5292aaebf09a8d", kill_on_drop: false }` [INFO] [stdout] cd487d8c3772f5fc758e6b98ddd872ab73a5cb48131dca14ae5292aaebf09a8d