[INFO] fetching crate afe4404 0.2.4... [INFO] testing afe4404-0.2.4 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate afe4404 0.2.4 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate afe4404 0.2.4 [INFO] finished tweaking crates.io crate afe4404 0.2.4 [INFO] tweaked toml for crates.io crate afe4404 0.2.4 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate afe4404 0.2.4 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 20 packages to latest compatible versions [INFO] [stderr] Adding modular-bitfield v0.11.2 (available: v0.12.0) [INFO] [stderr] Adding spin v0.9.8 (available: v0.10.0) [INFO] [stderr] Adding uom v0.33.0 (available: v0.37.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e0519d73ecde85997382a27d2798a8d0da437beeda7fb8f0e294a00543634e52 [INFO] running `Command { std: "docker" "start" "-a" "e0519d73ecde85997382a27d2798a8d0da437beeda7fb8f0e294a00543634e52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e0519d73ecde85997382a27d2798a8d0da437beeda7fb8f0e294a00543634e52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0519d73ecde85997382a27d2798a8d0da437beeda7fb8f0e294a00543634e52", kill_on_drop: false }` [INFO] [stdout] e0519d73ecde85997382a27d2798a8d0da437beeda7fb8f0e294a00543634e52 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a1b92936d1faa6d98be96975abd852042e8192fdb26d0473917e44461a706f7b [INFO] running `Command { std: "docker" "start" "-a" "a1b92936d1faa6d98be96975abd852042e8192fdb26d0473917e44461a706f7b", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling embedded-hal v1.0.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling codegen v0.2.0 [INFO] [stderr] Compiling uom v0.33.0 [INFO] [stderr] Compiling afe4404 v0.2.4 (/opt/rustwide/workdir) [INFO] [stderr] Compiling thiserror-impl-no-std v2.0.2 [INFO] [stderr] Compiling modular-bitfield-impl v0.11.2 [INFO] [stderr] Compiling thiserror-no-std v2.0.2 [INFO] [stderr] Compiling modular-bitfield v0.11.2 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.09s [INFO] running `Command { std: "docker" "inspect" "a1b92936d1faa6d98be96975abd852042e8192fdb26d0473917e44461a706f7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1b92936d1faa6d98be96975abd852042e8192fdb26d0473917e44461a706f7b", kill_on_drop: false }` [INFO] [stdout] a1b92936d1faa6d98be96975abd852042e8192fdb26d0473917e44461a706f7b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d2747cfaaa148376664abd8f51214190c347cec59f0e3338072159ab3635b85f [INFO] running `Command { std: "docker" "start" "-a" "d2747cfaaa148376664abd8f51214190c347cec59f0e3338072159ab3635b85f", kill_on_drop: false }` [INFO] [stderr] Compiling afe4404 v0.2.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.05s [INFO] running `Command { std: "docker" "inspect" "d2747cfaaa148376664abd8f51214190c347cec59f0e3338072159ab3635b85f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2747cfaaa148376664abd8f51214190c347cec59f0e3338072159ab3635b85f", kill_on_drop: false }` [INFO] [stdout] d2747cfaaa148376664abd8f51214190c347cec59f0e3338072159ab3635b85f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 863d6288f8ff3b3e5c2adfdfdfb22ea49142c78132fd23e16792df026acb10b7 [INFO] running `Command { std: "docker" "start" "-a" "863d6288f8ff3b3e5c2adfdfdfb22ea49142c78132fd23e16792df026acb10b7", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/afe4404-8030015c949ddeab) [INFO] [stderr] Doc-tests afe4404 [INFO] [stdout] [INFO] [stdout] running 0 tests [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 5 tests [INFO] [stdout] test src/lib.rs - (line 57) ... FAILED [INFO] [stdout] test src/lib.rs - (line 34) ... FAILED [INFO] [stdout] test src/lib.rs - (line 65) ... FAILED [INFO] [stdout] test src/lib.rs - (line 28) ... FAILED [INFO] [stdout] test src/lib.rs - (line 46) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 57) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `frontend` in this scope [INFO] [stdout] --> src/lib.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 3 | frontend [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ClockConfiguration` [INFO] [stdout] --> src/lib.rs:59:23 [INFO] [stdout] | [INFO] [stdout] 4 | .set_clock_source(ClockConfiguration::Internal) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `ClockConfiguration` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use afe4404::clock::ClockConfiguration; [INFO] [stdout] | [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/lib.rs - (line 34) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `frontend` in this scope [INFO] [stdout] --> src/lib.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 3 | frontend [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LedCurrentConfiguration` [INFO] [stdout] --> src/lib.rs:36:24 [INFO] [stdout] | [INFO] [stdout] 4 | .set_leds_current(&LedCurrentConfiguration::::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `LedCurrentConfiguration` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use afe4404::led_current::LedCurrentConfiguration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ThreeLedsMode` in this scope [INFO] [stdout] --> src/lib.rs:36:50 [INFO] [stdout] | [INFO] [stdout] 4 | .set_leds_current(&LedCurrentConfiguration::::new( [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use afe4404::modes::ThreeLedsMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ElectricCurrent` [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 5 | ElectricCurrent::new::(60.0), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `ElectricCurrent` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these type aliases [INFO] [stdout] | [INFO] [stdout] 2 + use uom::si::electric_current::ElectricCurrent; [INFO] [stdout] | [INFO] [stdout] 2 + use uom::si::f32::ElectricCurrent; [INFO] [stdout] | [INFO] [stdout] 2 + use uom::si::f64::ElectricCurrent; [INFO] [stdout] | [INFO] [stdout] 2 + use uom::si::quantities::ElectricCurrent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `milliampere` in this scope [INFO] [stdout] --> src/lib.rs:37:32 [INFO] [stdout] | [INFO] [stdout] 5 | ElectricCurrent::new::(60.0), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use uom::si::electric_current::milliampere; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ElectricCurrent` [INFO] [stdout] --> src/lib.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 6 | ElectricCurrent::new::(10.0), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `ElectricCurrent` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these type aliases [INFO] [stdout] | [INFO] [stdout] 2 + use uom::si::electric_current::ElectricCurrent; [INFO] [stdout] | [INFO] [stdout] 2 + use uom::si::f32::ElectricCurrent; [INFO] [stdout] | [INFO] [stdout] 2 + use uom::si::f64::ElectricCurrent; [INFO] [stdout] | [INFO] [stdout] 2 + use uom::si::quantities::ElectricCurrent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `milliampere` in this scope [INFO] [stdout] --> src/lib.rs:38:32 [INFO] [stdout] | [INFO] [stdout] 6 | ElectricCurrent::new::(10.0), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use uom::si::electric_current::milliampere; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ElectricCurrent` [INFO] [stdout] --> src/lib.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 7 | ElectricCurrent::new::(10.0), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `ElectricCurrent` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these type aliases [INFO] [stdout] | [INFO] [stdout] 2 + use uom::si::electric_current::ElectricCurrent; [INFO] [stdout] | [INFO] [stdout] 2 + use uom::si::f32::ElectricCurrent; [INFO] [stdout] | [INFO] [stdout] 2 + use uom::si::f64::ElectricCurrent; [INFO] [stdout] | [INFO] [stdout] 2 + use uom::si::quantities::ElectricCurrent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `milliampere` in this scope [INFO] [stdout] --> src/lib.rs:39:32 [INFO] [stdout] | [INFO] [stdout] 7 | ElectricCurrent::new::(10.0), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use uom::si::electric_current::milliampere; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 65) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `frontend` in this scope [INFO] [stdout] --> src/lib.rs:66:14 [INFO] [stdout] | [INFO] [stdout] 3 | let sample = frontend.read(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 28) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AFE4404` [INFO] [stdout] --> src/lib.rs:29:20 [INFO] [stdout] | [INFO] [stdout] 3 | let mut frontend = AFE4404::with_three_leds(i2c, 0x58u8, Frequency::new::(4.0)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `AFE4404` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use afe4404::device::AFE4404; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `i2c` in this scope [INFO] [stdout] --> src/lib.rs:29:45 [INFO] [stdout] | [INFO] [stdout] 3 | let mut frontend = AFE4404::with_three_leds(i2c, 0x58u8, Frequency::new::(4.0)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Frequency` [INFO] [stdout] --> src/lib.rs:29:58 [INFO] [stdout] | [INFO] [stdout] 3 | let mut frontend = AFE4404::with_three_leds(i2c, 0x58u8, Frequency::new::(4.0)); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Frequency` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these type aliases [INFO] [stdout] | [INFO] [stdout] 2 + use uom::si::f32::Frequency; [INFO] [stdout] | [INFO] [stdout] 2 + use uom::si::f64::Frequency; [INFO] [stdout] | [INFO] [stdout] 2 + use uom::si::frequency::Frequency; [INFO] [stdout] | [INFO] [stdout] 2 + use uom::si::quantities::Frequency; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `megahertz` in this scope [INFO] [stdout] --> src/lib.rs:29:75 [INFO] [stdout] | [INFO] [stdout] 3 | let mut frontend = AFE4404::with_three_leds(i2c, 0x58u8, Frequency::new::(4.0)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use uom::si::frequency::megahertz; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 46) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `frontend` in this scope [INFO] [stdout] --> src/lib.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 3 | frontend [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ResistorConfiguration` [INFO] [stdout] --> src/lib.rs:48:25 [INFO] [stdout] | [INFO] [stdout] 4 | .set_tia_resistors(&ResistorConfiguration::::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `ResistorConfiguration` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use afe4404::tia::ResistorConfiguration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ThreeLedsMode` in this scope [INFO] [stdout] --> src/lib.rs:48:49 [INFO] [stdout] | [INFO] [stdout] 4 | .set_tia_resistors(&ResistorConfiguration::::new( [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use afe4404::modes::ThreeLedsMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ElectricalResistance` [INFO] [stdout] --> src/lib.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 5 | ElectricalResistance::new::(250.0), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `ElectricalResistance` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these type aliases [INFO] [stdout] | [INFO] [stdout] 2 + use uom::si::electrical_resistance::ElectricalResistance; [INFO] [stdout] | [INFO] [stdout] 2 + use uom::si::f32::ElectricalResistance; [INFO] [stdout] | [INFO] [stdout] 2 + use uom::si::f64::ElectricalResistance; [INFO] [stdout] | [INFO] [stdout] 2 + use uom::si::quantities::ElectricalResistance; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `kiloohm` in this scope [INFO] [stdout] --> src/lib.rs:49:37 [INFO] [stdout] | [INFO] [stdout] 5 | ElectricalResistance::new::(250.0), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use uom::si::electrical_resistance::kiloohm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ElectricalResistance` [INFO] [stdout] --> src/lib.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 6 | ElectricalResistance::new::(100.0), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `ElectricalResistance` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these type aliases [INFO] [stdout] | [INFO] [stdout] 2 + use uom::si::electrical_resistance::ElectricalResistance; [INFO] [stdout] | [INFO] [stdout] 2 + use uom::si::f32::ElectricalResistance; [INFO] [stdout] | [INFO] [stdout] 2 + use uom::si::f64::ElectricalResistance; [INFO] [stdout] | [INFO] [stdout] 2 + use uom::si::quantities::ElectricalResistance; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `kiloohm` in this scope [INFO] [stdout] --> src/lib.rs:50:37 [INFO] [stdout] | [INFO] [stdout] 6 | ElectricalResistance::new::(100.0), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use uom::si::electrical_resistance::kiloohm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 28) [INFO] [stdout] src/lib.rs - (line 34) [INFO] [stdout] src/lib.rs - (line 46) [INFO] [stdout] src/lib.rs - (line 57) [INFO] [stdout] src/lib.rs - (line 65) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.27s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "863d6288f8ff3b3e5c2adfdfdfb22ea49142c78132fd23e16792df026acb10b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "863d6288f8ff3b3e5c2adfdfdfb22ea49142c78132fd23e16792df026acb10b7", kill_on_drop: false }` [INFO] [stdout] 863d6288f8ff3b3e5c2adfdfdfb22ea49142c78132fd23e16792df026acb10b7