[INFO] fetching crate vexide-devices 0.1.0...
[INFO] testing vexide-devices-0.1.0 against master#1871252fc8bb672d40787e67404e6eaae7059369 for pr-125151
[INFO] extracting crate vexide-devices 0.1.0 into /workspace/builds/worker-1-tc1/source
[INFO] validating manifest of crates.io crate vexide-devices 0.1.0 on toolchain 1871252fc8bb672d40787e67404e6eaae7059369
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate vexide-devices 0.1.0
[INFO] finished tweaking crates.io crate vexide-devices 0.1.0
[INFO] tweaked toml for crates.io crate vexide-devices 0.1.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]      Locking 39 packages to latest compatible versions
[INFO] [stderr]       Adding vex-sdk v0.12.3 (latest: v0.14.0)
[INFO] [stderr]       Adding vexide-core v0.1.0 (latest: v0.2.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded dlmalloc v0.2.6
[INFO] [stderr]   Downloaded no_std_io v0.6.0
[INFO] [stderr]   Downloaded talc v4.4.1
[INFO] [stderr]   Downloaded vex-sdk v0.12.3
[INFO] [stderr]   Downloaded vexide-core v0.1.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7ae18e5896f7d5788bdfdb8d4f53b8a53feef66d74acc3dbccca323c2cd9b552
[INFO] running `Command { std: "docker" "start" "-a" "7ae18e5896f7d5788bdfdb8d4f53b8a53feef66d74acc3dbccca323c2cd9b552", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7ae18e5896f7d5788bdfdb8d4f53b8a53feef66d74acc3dbccca323c2cd9b552", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7ae18e5896f7d5788bdfdb8d4f53b8a53feef66d74acc3dbccca323c2cd9b552", kill_on_drop: false }`
[INFO] [stdout] 7ae18e5896f7d5788bdfdb8d4f53b8a53feef66d74acc3dbccca323c2cd9b552
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0e1e28d85c6b24d322a733ab86b9bef2fddce2de1b1470248065e57a1f95aae5
[INFO] running `Command { std: "docker" "start" "-a" "0e1e28d85c6b24d322a733ab86b9bef2fddce2de1b1470248065e57a1f95aae5", kill_on_drop: false }`
[INFO] [stderr]    Compiling heck v0.5.0
[INFO] [stderr]    Compiling replace_with v0.1.7
[INFO] [stderr]    Compiling vex-sdk v0.12.3
[INFO] [stderr]    Compiling no_std_io v0.6.0
[INFO] [stderr]    Compiling critical-section v1.1.2
[INFO] [stderr]    Compiling bitflags v2.5.0
[INFO] [stderr]    Compiling syn v2.0.66
[INFO] [stderr]    Compiling talc v4.4.1
[INFO] [stderr]    Compiling futures-core v0.3.30
[INFO] [stderr]    Compiling mint v0.5.9
[INFO] [stderr]    Compiling pin-project-internal v1.1.5
[INFO] [stderr]    Compiling snafu-derive v0.8.3
[INFO] [stderr]    Compiling pin-project v1.1.5
[INFO] [stderr]    Compiling snafu v0.8.3
[INFO] [stderr]    Compiling vexide-core v0.1.0
[INFO] [stderr]    Compiling vexide-devices v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unexpected `cfg` condition value: `smart-leds-trait`
[INFO] [stdout]   --> src/adi/addrled.rs:12:7
[INFO] [stdout]    |
[INFO] [stdout] 12 | #[cfg(feature = "smart-leds-trait")]
[INFO] [stdout]    |       ^^^^^^^^^^------------------
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: there is a expected value with a similar name: `"smart_leds_trait"`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `dangerous_motor_tuning`, `smart_leds_trait`
[INFO] [stdout]    = help: consider adding `smart-leds-trait` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `smart-leds-trait`
[INFO] [stdout]    --> src/adi/addrled.rs:110:7
[INFO] [stdout]     |
[INFO] [stdout] 110 | #[cfg(feature = "smart-leds-trait")]
[INFO] [stdout]     |       ^^^^^^^^^^------------------
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: there is a expected value with a similar name: `"smart_leds_trait"`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `dangerous_motor_tuning`, `smart_leds_trait`
[INFO] [stdout]     = help: consider adding `smart-leds-trait` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.57s
[INFO] running `Command { std: "docker" "inspect" "0e1e28d85c6b24d322a733ab86b9bef2fddce2de1b1470248065e57a1f95aae5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0e1e28d85c6b24d322a733ab86b9bef2fddce2de1b1470248065e57a1f95aae5", kill_on_drop: false }`
[INFO] [stdout] 0e1e28d85c6b24d322a733ab86b9bef2fddce2de1b1470248065e57a1f95aae5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fd4a6d97406bd9991d4494fcb1bf7a873d3c95f9cc3e9158e1b52c8d7a4efeac
[INFO] running `Command { std: "docker" "start" "-a" "fd4a6d97406bd9991d4494fcb1bf7a873d3c95f9cc3e9158e1b52c8d7a4efeac", kill_on_drop: false }`
[INFO] [stdout] warning: unexpected `cfg` condition value: `smart-leds-trait`
[INFO] [stdout]   --> src/adi/addrled.rs:12:7
[INFO] [stdout]    |
[INFO] [stdout] 12 | #[cfg(feature = "smart-leds-trait")]
[INFO] [stdout]    |       ^^^^^^^^^^------------------
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: there is a expected value with a similar name: `"smart_leds_trait"`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `dangerous_motor_tuning`, `smart_leds_trait`
[INFO] [stdout]    = help: consider adding `smart-leds-trait` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `smart-leds-trait`
[INFO] [stdout]    --> src/adi/addrled.rs:110:7
[INFO] [stdout]     |
[INFO] [stdout] 110 | #[cfg(feature = "smart-leds-trait")]
[INFO] [stdout]     |       ^^^^^^^^^^------------------
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: there is a expected value with a similar name: `"smart_leds_trait"`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `dangerous_motor_tuning`, `smart_leds_trait`
[INFO] [stdout]     = help: consider adding `smart-leds-trait` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling vexide-devices v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unexpected `cfg` condition value: `smart-leds-trait`
[INFO] [stdout]   --> src/adi/addrled.rs:12:7
[INFO] [stdout]    |
[INFO] [stdout] 12 | #[cfg(feature = "smart-leds-trait")]
[INFO] [stdout]    |       ^^^^^^^^^^------------------
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: there is a expected value with a similar name: `"smart_leds_trait"`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `dangerous_motor_tuning`, `smart_leds_trait`
[INFO] [stdout]    = help: consider adding `smart-leds-trait` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `smart-leds-trait`
[INFO] [stdout]    --> src/adi/addrled.rs:110:7
[INFO] [stdout]     |
[INFO] [stdout] 110 | #[cfg(feature = "smart-leds-trait")]
[INFO] [stdout]     |       ^^^^^^^^^^------------------
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: there is a expected value with a similar name: `"smart_leds_trait"`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `dangerous_motor_tuning`, `smart_leds_trait`
[INFO] [stdout]     = help: consider adding `smart-leds-trait` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.13s
[INFO] running `Command { std: "docker" "inspect" "fd4a6d97406bd9991d4494fcb1bf7a873d3c95f9cc3e9158e1b52c8d7a4efeac", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fd4a6d97406bd9991d4494fcb1bf7a873d3c95f9cc3e9158e1b52c8d7a4efeac", kill_on_drop: false }`
[INFO] [stdout] fd4a6d97406bd9991d4494fcb1bf7a873d3c95f9cc3e9158e1b52c8d7a4efeac
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 8d0a4b5d18d679903d11c73679d5b8c9df4c4d9a8b3f40b44ff8b03d144868c6
[INFO] running `Command { std: "docker" "start" "-a" "8d0a4b5d18d679903d11c73679d5b8c9df4c4d9a8b3f40b44ff8b03d144868c6", kill_on_drop: false }`
[INFO] [stderr] warning: unexpected `cfg` condition value: `smart-leds-trait`
[INFO] [stderr]   --> src/adi/addrled.rs:12:7
[INFO] [stderr]    |
[INFO] [stderr] 12 | #[cfg(feature = "smart-leds-trait")]
[INFO] [stderr]    |       ^^^^^^^^^^------------------
[INFO] [stderr]    |                 |
[INFO] [stderr]    |                 help: there is a expected value with a similar name: `"smart_leds_trait"`
[INFO] [stderr]    |
[INFO] [stderr]    = note: expected values for `feature` are: `dangerous_motor_tuning`, `smart_leds_trait`
[INFO] [stderr]    = help: consider adding `smart-leds-trait` as a feature in `Cargo.toml`
[INFO] [stderr]    = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stderr]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `smart-leds-trait`
[INFO] [stderr]    --> src/adi/addrled.rs:110:7
[INFO] [stderr]     |
[INFO] [stderr] 110 | #[cfg(feature = "smart-leds-trait")]
[INFO] [stderr]     |       ^^^^^^^^^^------------------
[INFO] [stderr]     |                 |
[INFO] [stderr]     |                 help: there is a expected value with a similar name: `"smart_leds_trait"`
[INFO] [stderr]     |
[INFO] [stderr]     = note: expected values for `feature` are: `dangerous_motor_tuning`, `smart_leds_trait`
[INFO] [stderr]     = help: consider adding `smart-leds-trait` as a feature in `Cargo.toml`
[INFO] [stderr]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: `vexide-devices` (lib) generated 2 warnings
[INFO] [stderr] warning: `vexide-devices` (lib test) generated 2 warnings (2 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/vexide_devices-144048d6d0e2480e)
[INFO] [stdout] running 0 tests
[INFO] [stderr]    Doc-tests vexide_devices
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 19 tests
[INFO] [stdout] test src/smart/mod.rs - smart::SmartPort::device_type (line 183) ... FAILED
[INFO] [stdout] test src/smart/mod.rs - smart::SmartDevice::port_index (line 53) ... FAILED
[INFO] [stdout] test src/smart/mod.rs - smart::SmartDevice::device_type (line 63) ... FAILED
[INFO] [stdout] test src/peripherals.rs - peripherals (line 11) ... FAILED
[INFO] [stdout] test src/smart/mod.rs - smart::SmartDevice::is_connected (line 74) ... FAILED
[INFO] [stdout] test src/peripherals.rs - peripherals (line 18) ... FAILED
[INFO] [stdout] test src/smart/mod.rs - smart::SmartPort::index (line 170) ... FAILED
[INFO] [stdout] test src/smart/link.rs - smart::link::RadioLink::open (line 40) ... FAILED
[INFO] [stdout] test src/smart/mod.rs - smart::SmartPort::new (line 154) ... FAILED
[INFO] [stdout] test src/smart/serial.rs - smart::serial::SerialPort::available_write_bytes (line 186) ... FAILED
[INFO] [stdout] test src/smart/serial.rs - smart::serial::SerialPort::read (line 211) ... FAILED
[INFO] [stdout] test src/smart/serial.rs - smart::serial::SerialPort::read_byte (line 97) ... FAILED
[INFO] [stdout] test src/smart/serial.rs - smart::serial::SerialPort::unread_bytes (line 164) ... FAILED
[INFO] [stdout] test src/smart/serial.rs - smart::serial::SerialPort::open (line 45) ... FAILED
[INFO] [stdout] test src/smart/serial.rs - smart::serial::SerialPort::peek_byte (line 123) ... FAILED
[INFO] [stdout] test src/smart/serial.rs - smart::serial::SerialPort::clear_buffers (line 76) ... FAILED
[INFO] [stdout] test src/smart/serial.rs - smart::serial::SerialPort::write_byte (line 145) ... FAILED
[INFO] [stdout] test src/smart/vision.rs - smart::vision::VisionSignature::from_utility (line 500) ... FAILED
[INFO] [stdout] test src/smart/vision.rs - smart::vision::VisionSensor::new (line 76) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/smart/mod.rs - smart::SmartPort::device_type (line 183) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SmartPort`
[INFO] [stdout]  --> src/smart/mod.rs:184:24
[INFO] [stdout]   |
[INFO] [stdout] 3 | let my_port = unsafe { SmartPort::new(1) };
[INFO] [stdout]   |                        ^^^^^^^^^ use of undeclared type `SmartPort`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use vexide_devices::smart::SmartPort;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/smart/mod.rs - smart::SmartDevice::port_index (line 53) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `InertialSensor`
[INFO] [stdout]  --> src/smart/mod.rs:54:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | let sensor = InertialSensor::new(peripherals.port_1)?;
[INFO] [stdout]   |              ^^^^^^^^^^^^^^ use of undeclared type `InertialSensor`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use vexide_devices::smart::InertialSensor;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `peripherals` in this scope
[INFO] [stdout]  --> src/smart/mod.rs:54:34
[INFO] [stdout]   |
[INFO] [stdout] 3 | let sensor = InertialSensor::new(peripherals.port_1)?;
[INFO] [stdout]   |                                  ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/smart/mod.rs - smart::SmartDevice::device_type (line 63) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `InertialSensor`
[INFO] [stdout]  --> src/smart/mod.rs:64:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | let sensor = InertialSensor::new(peripherals.port_1)?;
[INFO] [stdout]   |              ^^^^^^^^^^^^^^ use of undeclared type `InertialSensor`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use vexide_devices::smart::InertialSensor;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `peripherals` in this scope
[INFO] [stdout]  --> src/smart/mod.rs:64:34
[INFO] [stdout]   |
[INFO] [stdout] 3 | let sensor = InertialSensor::new(peripherals.port_1)?;
[INFO] [stdout]   |                                  ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SmartDeviceType`
[INFO] [stdout]  --> src/smart/mod.rs:65:34
[INFO] [stdout]   |
[INFO] [stdout] 4 | assert_eq!(sensor.device_type(), SmartDeviceType::Imu);
[INFO] [stdout]   |                                  ^^^^^^^^^^^^^^^ use of undeclared type `SmartDeviceType`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use vexide_devices::smart::SmartDeviceType;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/peripherals.rs - peripherals (line 11) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `vexide`
[INFO] [stdout]  --> src/peripherals.rs:12:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use vexide::prelude::*;
[INFO] [stdout]   |     ^^^^^^ use of undeclared crate or module `vexide`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Peripherals`
[INFO] [stdout]  --> src/peripherals.rs:13:23
[INFO] [stdout]   |
[INFO] [stdout] 4 | let mut peripherals = Peripherals::take().unwrap();
[INFO] [stdout]   |                       ^^^^^^^^^^^ use of undeclared type `Peripherals`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use vexide_devices::peripherals::Peripherals;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Motor`
[INFO] [stdout]  --> src/peripherals.rs:14:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | let motor = Motor::new(peripherals.port_1);
[INFO] [stdout]   |             ^^^^^ use of undeclared type `Motor`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use vexide_devices::smart::Motor;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AdiDigitalIn`
[INFO] [stdout]  --> src/peripherals.rs:15:22
[INFO] [stdout]   |
[INFO] [stdout] 6 | let adi_digital_in = AdiDigitalIn::new(peripherals.adi_d);
[INFO] [stdout]   |                      ^^^^^^^^^^^^ use of undeclared type `AdiDigitalIn`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use vexide_devices::adi::AdiDigitalIn;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/smart/mod.rs - smart::SmartDevice::is_connected (line 74) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `InertialSensor`
[INFO] [stdout]  --> src/smart/mod.rs:75:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | let sensor = InertialSensor::new(peripherals.port_1)?;
[INFO] [stdout]   |              ^^^^^^^^^^^^^^ use of undeclared type `InertialSensor`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use vexide_devices::smart::InertialSensor;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `peripherals` in this scope
[INFO] [stdout]  --> src/smart/mod.rs:75:34
[INFO] [stdout]   |
[INFO] [stdout] 3 | let sensor = InertialSensor::new(peripherals.port_1)?;
[INFO] [stdout]   |                                  ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/peripherals.rs - peripherals (line 18) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `vexide`
[INFO] [stdout]  --> src/peripherals.rs:19:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use vexide::prelude::*;
[INFO] [stdout]   |     ^^^^^^ use of undeclared crate or module `vexide`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DynamicPeripherals`
[INFO] [stdout]  --> src/peripherals.rs:20:23
[INFO] [stdout]   |
[INFO] [stdout] 4 | let mut peripherals = DynamicPeripherals::new(Peripherals::take().unwrap());
[INFO] [stdout]   |                       ^^^^^^^^^^^^^^^^^^ use of undeclared type `DynamicPeripherals`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use vexide_devices::peripherals::DynamicPeripherals;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Peripherals`
[INFO] [stdout]  --> src/peripherals.rs:20:47
[INFO] [stdout]   |
[INFO] [stdout] 4 | let mut peripherals = DynamicPeripherals::new(Peripherals::take().unwrap());
[INFO] [stdout]   |                                               ^^^^^^^^^^^ use of undeclared type `Peripherals`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use vexide_devices::peripherals::Peripherals;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/smart/mod.rs - smart::SmartPort::index (line 170) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SmartPort`
[INFO] [stdout]  --> src/smart/mod.rs:171:24
[INFO] [stdout]   |
[INFO] [stdout] 3 | let my_port = unsafe { SmartPort::new(1) };
[INFO] [stdout]   |                        ^^^^^^^^^ use of undeclared type `SmartPort`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use vexide_devices::smart::SmartPort;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/smart/link.rs - smart::link::RadioLink::open (line 40) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RadioLink`
[INFO] [stdout]  --> src/smart/link.rs:41:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | let link = RadioLink::open(port_1, "643A", LinkType::Manager)?;
[INFO] [stdout]   |            ^^^^^^^^^ use of undeclared type `RadioLink`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use vexide_devices::smart::RadioLink;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `port_1` in this scope
[INFO] [stdout]  --> src/smart/link.rs:41:28
[INFO] [stdout]   |
[INFO] [stdout] 3 | let link = RadioLink::open(port_1, "643A", LinkType::Manager)?;
[INFO] [stdout]   |                            ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LinkType`
[INFO] [stdout]  --> src/smart/link.rs:41:44
[INFO] [stdout]   |
[INFO] [stdout] 3 | let link = RadioLink::open(port_1, "643A", LinkType::Manager)?;
[INFO] [stdout]   |                                            ^^^^^^^^ use of undeclared type `LinkType`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use vexide_devices::smart::link::LinkType;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/smart/mod.rs - smart::SmartPort::new (line 154) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SmartPort`
[INFO] [stdout]  --> src/smart/mod.rs:158:24
[INFO] [stdout]   |
[INFO] [stdout] 6 | let my_port = unsafe { SmartPort::new(1) };
[INFO] [stdout]   |                        ^^^^^^^^^ use of undeclared type `SmartPort`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 5 + use vexide_devices::smart::SmartPort;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/smart/serial.rs - smart::serial::SerialPort::available_write_bytes (line 186) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SerialPort`
[INFO] [stdout]  --> src/smart/serial.rs:187:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | let serial = SerialPort::open(peripherals.port_1, 115200)?;
[INFO] [stdout]   |              ^^^^^^^^^^ use of undeclared type `SerialPort`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use vexide_devices::smart::SerialPort;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `peripherals` in this scope
[INFO] [stdout]  --> src/smart/serial.rs:187:31
[INFO] [stdout]   |
[INFO] [stdout] 3 | let serial = SerialPort::open(peripherals.port_1, 115200)?;
[INFO] [stdout]   |                               ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/smart/serial.rs - smart::serial::SerialPort::read (line 211) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SerialPort`
[INFO] [stdout]  --> src/smart/serial.rs:212:18
[INFO] [stdout]   |
[INFO] [stdout] 3 | let mut serial = SerialPort::open(peripherals.port_1, 115200)?;
[INFO] [stdout]   |                  ^^^^^^^^^^ use of undeclared type `SerialPort`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use vexide_devices::smart::SerialPort;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `peripherals` in this scope
[INFO] [stdout]  --> src/smart/serial.rs:212:35
[INFO] [stdout]   |
[INFO] [stdout] 3 | let mut serial = SerialPort::open(peripherals.port_1, 115200)?;
[INFO] [stdout]   |                                   ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sleep` in this scope
[INFO] [stdout]  --> src/smart/serial.rs:218:5
[INFO] [stdout]   |
[INFO] [stdout] 9 |     sleep(core::time::Duration::from_millis(10)).await;
[INFO] [stdout]   |     ^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::thread::sleep;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/smart/serial.rs:218:50
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_smart_serial_rs_211_0() {
[INFO] [stdout]   |                                      -------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 9 |     sleep(core::time::Duration::from_millis(10)).await;
[INFO] [stdout]   |                                                  ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/smart/serial.rs - smart::serial::SerialPort::read_byte (line 97) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SerialPort`
[INFO] [stdout]  --> src/smart/serial.rs:98:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | let serial = SerialPort::open(peripherals.port_1, 115200)?;
[INFO] [stdout]   |              ^^^^^^^^^^ use of undeclared type `SerialPort`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use vexide_devices::smart::SerialPort;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `peripherals` in this scope
[INFO] [stdout]  --> src/smart/serial.rs:98:31
[INFO] [stdout]   |
[INFO] [stdout] 3 | let serial = SerialPort::open(peripherals.port_1, 115200)?;
[INFO] [stdout]   |                               ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sleep` in this scope
[INFO] [stdout]  --> src/smart/serial.rs:104:5
[INFO] [stdout]   |
[INFO] [stdout] 9 |     sleep(core::time::Duration::from_millis(10)).await;
[INFO] [stdout]   |     ^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::thread::sleep;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/smart/serial.rs:104:50
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_smart_serial_rs_97_0() {
[INFO] [stdout]   |                                      ------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 9 |     sleep(core::time::Duration::from_millis(10)).await;
[INFO] [stdout]   |                                                  ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/smart/serial.rs - smart::serial::SerialPort::unread_bytes (line 164) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SerialPort`
[INFO] [stdout]  --> src/smart/serial.rs:165:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | let serial = SerialPort::open(peripherals.port_1, 115200)?;
[INFO] [stdout]   |              ^^^^^^^^^^ use of undeclared type `SerialPort`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use vexide_devices::smart::SerialPort;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `peripherals` in this scope
[INFO] [stdout]  --> src/smart/serial.rs:165:31
[INFO] [stdout]   |
[INFO] [stdout] 3 | let serial = SerialPort::open(peripherals.port_1, 115200)?;
[INFO] [stdout]   |                               ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/smart/serial.rs - smart::serial::SerialPort::open (line 45) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SerialPort`
[INFO] [stdout]  --> src/smart/serial.rs:46:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | let serial = SerialPort::open(peripherals.port_1, 115200)?;
[INFO] [stdout]   |              ^^^^^^^^^^ use of undeclared type `SerialPort`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use vexide_devices::smart::SerialPort;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `peripherals` in this scope
[INFO] [stdout]  --> src/smart/serial.rs:46:31
[INFO] [stdout]   |
[INFO] [stdout] 3 | let serial = SerialPort::open(peripherals.port_1, 115200)?;
[INFO] [stdout]   |                               ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/smart/serial.rs - smart::serial::SerialPort::peek_byte (line 123) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SerialPort`
[INFO] [stdout]  --> src/smart/serial.rs:124:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | let serial = SerialPort::open(peripherals.port_1, 115200)?;
[INFO] [stdout]   |              ^^^^^^^^^^ use of undeclared type `SerialPort`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use vexide_devices::smart::SerialPort;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `peripherals` in this scope
[INFO] [stdout]  --> src/smart/serial.rs:124:31
[INFO] [stdout]   |
[INFO] [stdout] 3 | let serial = SerialPort::open(peripherals.port_1, 115200)?;
[INFO] [stdout]   |                               ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/smart/serial.rs - smart::serial::SerialPort::clear_buffers (line 76) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SerialPort`
[INFO] [stdout]  --> src/smart/serial.rs:77:18
[INFO] [stdout]   |
[INFO] [stdout] 3 | let mut serial = SerialPort::open(peripherals.port_1, 115200)?;
[INFO] [stdout]   |                  ^^^^^^^^^^ use of undeclared type `SerialPort`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use vexide_devices::smart::SerialPort;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `peripherals` in this scope
[INFO] [stdout]  --> src/smart/serial.rs:77:35
[INFO] [stdout]   |
[INFO] [stdout] 3 | let mut serial = SerialPort::open(peripherals.port_1, 115200)?;
[INFO] [stdout]   |                                   ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `buffer` in this scope
[INFO] [stdout]  --> src/smart/serial.rs:79:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | buffer.write(b"some bytes")?;
[INFO] [stdout]   | ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `buffer` in this scope
[INFO] [stdout]  --> src/smart/serial.rs:80:1
[INFO] [stdout]   |
[INFO] [stdout] 6 | buffer.flush()?;
[INFO] [stdout]   | ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/smart/serial.rs - smart::serial::SerialPort::write_byte (line 145) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SerialPort`
[INFO] [stdout]  --> src/smart/serial.rs:146:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | let serial = SerialPort::open(peripherals.port_1, 115200)?;
[INFO] [stdout]   |              ^^^^^^^^^^ use of undeclared type `SerialPort`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use vexide_devices::smart::SerialPort;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `peripherals` in this scope
[INFO] [stdout]  --> src/smart/serial.rs:146:31
[INFO] [stdout]   |
[INFO] [stdout] 3 | let serial = SerialPort::open(peripherals.port_1, 115200)?;
[INFO] [stdout]   |                               ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/smart/vision.rs - smart::vision::VisionSignature::from_utility (line 500) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VisionSignature`
[INFO] [stdout]  --> src/smart/vision.rs:504:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     VisionSignature::from_utility(1, 10049, 11513, 10781, -425, 1, -212, 4.1, 0);
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^ use of undeclared type `VisionSignature`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 4 + use vexide_devices::smart::vision::VisionSignature;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/smart/vision.rs - smart::vision::VisionSensor::new (line 76) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VisionSensor`
[INFO] [stdout]  --> src/smart/vision.rs:78:18
[INFO] [stdout]   |
[INFO] [stdout] 4 | let mut sensor = VisionSensor::new(peripherals.port_1);
[INFO] [stdout]   |                  ^^^^^^^^^^^^ use of undeclared type `VisionSensor`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use vexide_devices::smart::VisionSensor;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `peripherals` in this scope
[INFO] [stdout]  --> src/smart/vision.rs:78:36
[INFO] [stdout]   |
[INFO] [stdout] 4 | let mut sensor = VisionSensor::new(peripherals.port_1);
[INFO] [stdout]   |                                    ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/peripherals.rs - peripherals (line 11)
[INFO] [stdout]     src/peripherals.rs - peripherals (line 18)
[INFO] [stdout]     src/smart/link.rs - smart::link::RadioLink::open (line 40)
[INFO] [stdout]     src/smart/mod.rs - smart::SmartDevice::device_type (line 63)
[INFO] [stdout]     src/smart/mod.rs - smart::SmartDevice::is_connected (line 74)
[INFO] [stdout]     src/smart/mod.rs - smart::SmartDevice::port_index (line 53)
[INFO] [stdout]     src/smart/mod.rs - smart::SmartPort::device_type (line 183)
[INFO] [stdout]     src/smart/mod.rs - smart::SmartPort::index (line 170)
[INFO] [stdout]     src/smart/mod.rs - smart::SmartPort::new (line 154)
[INFO] [stdout]     src/smart/serial.rs - smart::serial::SerialPort::available_write_bytes (line 186)
[INFO] [stdout]     src/smart/serial.rs - smart::serial::SerialPort::clear_buffers (line 76)
[INFO] [stdout]     src/smart/serial.rs - smart::serial::SerialPort::open (line 45)
[INFO] [stdout]     src/smart/serial.rs - smart::serial::SerialPort::peek_byte (line 123)
[INFO] [stdout]     src/smart/serial.rs - smart::serial::SerialPort::read (line 211)
[INFO] [stdout]     src/smart/serial.rs - smart::serial::SerialPort::read_byte (line 97)
[INFO] [stdout]     src/smart/serial.rs - smart::serial::SerialPort::unread_bytes (line 164)
[INFO] [stdout]     src/smart/serial.rs - smart::serial::SerialPort::write_byte (line 145)
[INFO] [stdout]     src/smart/vision.rs - smart::vision::VisionSensor::new (line 76)
[INFO] [stdout]     src/smart/vision.rs - smart::vision::VisionSignature::from_utility (line 500)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 19 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.82s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "8d0a4b5d18d679903d11c73679d5b8c9df4c4d9a8b3f40b44ff8b03d144868c6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8d0a4b5d18d679903d11c73679d5b8c9df4c4d9a8b3f40b44ff8b03d144868c6", kill_on_drop: false }`
[INFO] [stdout] 8d0a4b5d18d679903d11c73679d5b8c9df4c4d9a8b3f40b44ff8b03d144868c6
