[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] 3c2b2a03110db9e2844d12c425d7e568754e436c [INFO] testing nim65s/dmx-rs against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnim65s%2Fdmx-rs" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-0-tc1/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-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/nim65s/dmx-rs on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/nim65s/dmx-rs 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded vcell v0.1.3 [INFO] [stderr] Downloaded cortex-m-rt-macros v0.6.15 [INFO] [stderr] Downloaded r0 v0.2.2 [INFO] [stderr] Downloaded quote v1.0.23 [INFO] [stderr] Downloaded ufmt-write v0.1.0 [INFO] [stderr] Downloaded cortex-m-rt v0.6.15 [INFO] [stderr] Downloaded crc16 v0.4.0 [INFO] [stderr] Downloaded rtt-target v0.3.1 [INFO] [stderr] Downloaded critical-section v1.1.1 [INFO] [stderr] Downloaded libudev v0.3.0 [INFO] [stderr] Downloaded CoreFoundation-sys v0.1.4 [INFO] [stderr] Downloaded dummy-pin v0.1.1 [INFO] [stderr] Downloaded proc-macro2 v1.0.49 [INFO] [stderr] Downloaded semver v1.0.16 [INFO] [stderr] Downloaded embedded-hal v0.2.7 [INFO] [stderr] Downloaded cortex-m v0.6.7 [INFO] [stderr] Downloaded cortex-m v0.7.7 [INFO] [stderr] Downloaded embedded-dma v0.1.2 [INFO] [stderr] Downloaded aligned v0.3.5 [INFO] [stderr] Downloaded nix v0.24.3 [INFO] [stderr] Downloaded heapless v0.7.16 [INFO] [stderr] Downloaded nb v1.0.0 [INFO] [stderr] Downloaded stm32f1xx-hal v0.7.0 [INFO] [stderr] Downloaded syn v1.0.107 [INFO] [stderr] Downloaded cast v0.2.7 [INFO] [stderr] Downloaded generic-array v0.13.3 [INFO] [stderr] Downloaded IOKit-sys v0.1.5 [INFO] [stderr] Downloaded bare-metal v0.2.5 [INFO] [stderr] Downloaded nb v0.1.3 [INFO] [stderr] Downloaded volatile-register v0.2.1 [INFO] [stderr] Downloaded atomic-polyfill v0.1.11 [INFO] [stderr] Downloaded hash32 v0.2.1 [INFO] [stderr] Downloaded spin v0.9.4 [INFO] [stderr] Downloaded panic-rtt-target v0.1.2 [INFO] [stderr] Downloaded libc v0.2.139 [INFO] [stderr] Downloaded pkg-config v0.3.26 [INFO] [stderr] Downloaded serialport v4.2.0 [INFO] [stderr] Downloaded mach v0.1.2 [INFO] [stderr] Downloaded as-slice v0.1.5 [INFO] [stderr] Downloaded unicode-ident v1.0.6 [INFO] [stderr] Downloaded stm32f1 v0.11.0 [INFO] [stderr] Downloaded bitfield v0.13.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 51727ac2207e69f1abffaa7e0f311f3c07985b61bc6b34f7b73b28d95e6c35c9 [INFO] running `Command { std: "docker" "start" "-a" "51727ac2207e69f1abffaa7e0f311f3c07985b61bc6b34f7b73b28d95e6c35c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "51727ac2207e69f1abffaa7e0f311f3c07985b61bc6b34f7b73b28d95e6c35c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51727ac2207e69f1abffaa7e0f311f3c07985b61bc6b34f7b73b28d95e6c35c9", kill_on_drop: false }` [INFO] [stdout] 51727ac2207e69f1abffaa7e0f311f3c07985b61bc6b34f7b73b28d95e6c35c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b47d0bdc0f4ac13fe9c216e3449f2cf19f52b9c3b1a959c6668f3d7ecdc7b8f1 [INFO] running `Command { std: "docker" "start" "-a" "b47d0bdc0f4ac13fe9c216e3449f2cf19f52b9c3b1a959c6668f3d7ecdc7b8f1", kill_on_drop: false }` [INFO] [stderr] Compiling semver v1.0.16 [INFO] [stderr] Compiling nb v1.0.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling crc16 v0.4.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling embedded-hal v0.2.7 [INFO] [stderr] Compiling hash32 v0.2.1 [INFO] [stderr] Compiling dummy-pin v0.1.1 [INFO] [stderr] Compiling spin v0.9.4 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling heapless v0.7.16 [INFO] [stderr] Compiling dmx v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 42.29s [INFO] running `Command { std: "docker" "inspect" "b47d0bdc0f4ac13fe9c216e3449f2cf19f52b9c3b1a959c6668f3d7ecdc7b8f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b47d0bdc0f4ac13fe9c216e3449f2cf19f52b9c3b1a959c6668f3d7ecdc7b8f1", kill_on_drop: false }` [INFO] [stdout] b47d0bdc0f4ac13fe9c216e3449f2cf19f52b9c3b1a959c6668f3d7ecdc7b8f1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 67c6c4c55931e10b095ef54d8b50d9b53b91fdb184dec9b7294e05e8eaecb009 [INFO] running `Command { std: "docker" "start" "-a" "67c6c4c55931e10b095ef54d8b50d9b53b91fdb184dec9b7294e05e8eaecb009", kill_on_drop: false }` [INFO] [stderr] Compiling dmx v0.2.0 (/opt/rustwide/workdir) [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] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "std")] [INFO] [stdout] | --------------- the item is gated behind the `std` feature [INFO] [stdout] 10 | pub mod serialport_embedded_hal; [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-xl320.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use stm32f1xx_hal::{ [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 `stm32f1xx_hal` [INFO] [stdout] --> examples/stm32-mx1062.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use stm32f1xx_hal::{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 `stm32f1xx_hal` [INFO] [stdout] --> examples/stm32-ax12a.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use stm32f1xx_hal::{ [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 `serialport` [INFO] [stdout] --> examples/linux-xl320.rs:28:16 [INFO] [stdout] | [INFO] [stdout] 28 | let port = serialport::new("/dev/ttyACM0", baudrate).timeout(time::Duration::from_millis(100)); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serialport` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serialport`, use `cargo add serialport` to add it to your `Cargo.toml` [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 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_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 unresolved module or unlinked crate `rtt_target` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rtt_target`, use `cargo add rtt_target` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `stm32f1xx_hal` [INFO] [stdout] --> examples/stm32-xl320.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use stm32f1xx_hal::{ [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-xl320.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 42 | 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[E0432]: unresolved import `cortex_m_rt` [INFO] [stdout] --> examples/stm32-mx1062.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | 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_rtt_target` [INFO] [stdout] --> examples/stm32-mx1062.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | 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-mx1062.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use rtt_target::{rprintln, rtt_init_print}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `rtt_target` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rtt_target`, use `cargo add rtt_target` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `stm32f1xx_hal` [INFO] [stdout] --> examples/stm32-mx1062.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use stm32f1xx_hal::{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-mx1062.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | 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] 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)]` (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] [stdout] warning: unused import: `Protocol` [INFO] [stdout] --> examples/stm32-mx1062.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | protocol::{Controller, Protocol}, [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] error[E0432]: unresolved import `dmx::serialport_embedded_hal` [INFO] [stdout] --> examples/linux-ax12a.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | serialport_embedded_hal::Serial, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ could not find `serialport_embedded_hal` in `dmx` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "std")] [INFO] [stdout] | --------------- the item is gated behind the `std` feature [INFO] [stdout] 10 | pub mod serialport_embedded_hal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cortex_m_rt` [INFO] [stdout] --> examples/stm32-ax12a.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_rtt_target` [INFO] [stdout] --> examples/stm32-ax12a.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-ax12a.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use rtt_target::{rprintln, rtt_init_print}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `rtt_target` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rtt_target`, use `cargo add rtt_target` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `stm32f1xx_hal` [INFO] [stdout] --> examples/stm32-ax12a.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use stm32f1xx_hal::{ [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-ax12a.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 42 | 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[E0599]: no method named `khz` found for type `{integer}` in the current scope [INFO] [stdout] --> examples/stm32-mx1062.rs:28:70 [INFO] [stdout] | [INFO] [stdout] 28 | 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 `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] warning: unused import: `ax12a::AX12A` [INFO] [stdout] --> examples/stm32-ax12a.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | use dmx::{ax12a::AX12A, protocol::Controller}; [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] error[E0599]: no method named `bps` found for type `{integer}` in the current scope [INFO] [stdout] --> examples/stm32-mx1062.rs:46:53 [INFO] [stdout] | [INFO] [stdout] 46 | serial::Config::default().baudrate(baudrate.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-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] 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 `dmx` (example "linux-xl320") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `dmx` (example "stm32-xl320") due to 10 previous errors; 1 warning emitted [INFO] [stdout] error[E0599]: no method named `khz` found for type `{integer}` in the current scope [INFO] [stdout] --> examples/stm32-ax12a.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] [stderr] error: could not compile `dmx` (example "stm32-mx1062") due to 10 previous errors; 1 warning emitted [INFO] [stdout] error[E0599]: no method named `bps` found for type `{integer}` in the current scope [INFO] [stdout] --> examples/stm32-ax12a.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] 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] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serialport` [INFO] [stdout] --> examples/linux-ax12a.rs:28:16 [INFO] [stdout] | [INFO] [stdout] 28 | let port = serialport::new("/dev/ttyACM0", baudrate).timeout(time::Duration::from_millis(100)); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serialport` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serialport`, use `cargo add serialport` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dmx` (example "stm32-ax12a") due to 10 previous errors; 1 warning emitted [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 `dmx` (example "linux-ax12a") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "67c6c4c55931e10b095ef54d8b50d9b53b91fdb184dec9b7294e05e8eaecb009", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67c6c4c55931e10b095ef54d8b50d9b53b91fdb184dec9b7294e05e8eaecb009", kill_on_drop: false }` [INFO] [stdout] 67c6c4c55931e10b095ef54d8b50d9b53b91fdb184dec9b7294e05e8eaecb009