[INFO] fetching crate embedded-c-sdk-bind-hal 0.10.0... [INFO] testing embedded-c-sdk-bind-hal-0.10.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate embedded-c-sdk-bind-hal 0.10.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate embedded-c-sdk-bind-hal 0.10.0 [INFO] finished tweaking crates.io crate embedded-c-sdk-bind-hal 0.10.0 [INFO] tweaked toml for crates.io crate embedded-c-sdk-bind-hal 0.10.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate embedded-c-sdk-bind-hal 0.10.0 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] crate crates.io crate embedded-c-sdk-bind-hal 0.10.0 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" "+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] 2d4597ec23842af0ec255d13f3825d3ecc7313c5d3bc95a3c247e67ec7ee6314 [INFO] running `Command { std: "docker" "start" "-a" "2d4597ec23842af0ec255d13f3825d3ecc7313c5d3bc95a3c247e67ec7ee6314", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2d4597ec23842af0ec255d13f3825d3ecc7313c5d3bc95a3c247e67ec7ee6314", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d4597ec23842af0ec255d13f3825d3ecc7313c5d3bc95a3c247e67ec7ee6314", kill_on_drop: false }` [INFO] [stdout] 2d4597ec23842af0ec255d13f3825d3ecc7313c5d3bc95a3c247e67ec7ee6314 [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] 9bcc24cf0534ec4702724c09c4357d4d4be7c821ee150577f6aef7b8ad4547de [INFO] running `Command { std: "docker" "start" "-a" "9bcc24cf0534ec4702724c09c4357d4d4be7c821ee150577f6aef7b8ad4547de", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Compiling critical-section v1.2.0 [INFO] [stderr] Compiling embassy-executor v0.8.0 [INFO] [stderr] Compiling embedded-io-async v0.6.1 [INFO] [stderr] Compiling embassy-time-driver v0.2.0 [INFO] [stderr] Compiling gcd v2.3.0 [INFO] [stderr] Compiling embassy-hal-internal v0.3.0 [INFO] [stderr] Compiling embassy-time-queue-utils v0.2.0 [INFO] [stderr] Compiling embassy-sync v0.7.1 [INFO] [stderr] Compiling embedded-hal-async v1.0.0 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling embedded-io v0.6.1 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling embedded-hal-nb v1.0.0 [INFO] [stderr] Compiling fugit v0.3.7 [INFO] [stderr] Compiling document-features v0.2.10 [INFO] [stderr] Compiling fugit-timer v0.1.3 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.76 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling embedded-c-sdk-bind-print-macros v0.1.2 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling embassy-executor-macros v0.7.0 [INFO] [stderr] Compiling embedded-c-sdk-bind-hal v0.10.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `#[inline]` is ignored on externally exported functions [INFO] [stdout] --> src/gpio/exti.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: externally exported functions are functions with `#[no_mangle]`, `#[export_name]`, or `#[linkage]` [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on externally exported functions [INFO] [stdout] --> src/tick.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: externally exported functions are functions with `#[no_mangle]`, `#[export_name]`, or `#[linkage]` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.68s [INFO] running `Command { std: "docker" "inspect" "9bcc24cf0534ec4702724c09c4357d4d4be7c821ee150577f6aef7b8ad4547de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9bcc24cf0534ec4702724c09c4357d4d4be7c821ee150577f6aef7b8ad4547de", kill_on_drop: false }` [INFO] [stdout] 9bcc24cf0534ec4702724c09c4357d4d4be7c821ee150577f6aef7b8ad4547de [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] 72ee7a5a49c8faad8f1660b3424561109329ed145c359cebe40a2a75bf739a89 [INFO] running `Command { std: "docker" "start" "-a" "72ee7a5a49c8faad8f1660b3424561109329ed145c359cebe40a2a75bf739a89", kill_on_drop: false }` [INFO] [stdout] warning: `#[inline]` is ignored on externally exported functions [INFO] [stdout] --> src/gpio/exti.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: externally exported functions are functions with `#[no_mangle]`, `#[export_name]`, or `#[linkage]` [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on externally exported functions [INFO] [stdout] --> src/tick.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: externally exported functions are functions with `#[no_mangle]`, `#[export_name]`, or `#[linkage]` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling embedded-c-sdk-bind-hal v0.10.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `#[inline]` is ignored on externally exported functions [INFO] [stdout] --> src/gpio/exti.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: externally exported functions are functions with `#[no_mangle]`, `#[export_name]`, or `#[linkage]` [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on externally exported functions [INFO] [stdout] --> src/tick.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: externally exported functions are functions with `#[no_mangle]`, `#[export_name]`, or `#[linkage]` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.35s [INFO] running `Command { std: "docker" "inspect" "72ee7a5a49c8faad8f1660b3424561109329ed145c359cebe40a2a75bf739a89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72ee7a5a49c8faad8f1660b3424561109329ed145c359cebe40a2a75bf739a89", kill_on_drop: false }` [INFO] [stdout] 72ee7a5a49c8faad8f1660b3424561109329ed145c359cebe40a2a75bf739a89 [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] 801940c470a9669dfdc24bbdbf409777d1364d3e84f6e315eed680a57022a2cc [INFO] running `Command { std: "docker" "start" "-a" "801940c470a9669dfdc24bbdbf409777d1364d3e84f6e315eed680a57022a2cc", kill_on_drop: false }` [INFO] [stderr] warning: `#[inline]` is ignored on externally exported functions [INFO] [stderr] --> src/gpio/exti.rs:55:1 [INFO] [stderr] | [INFO] [stderr] 55 | #[inline] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: externally exported functions are functions with `#[no_mangle]`, `#[export_name]`, or `#[linkage]` [INFO] [stderr] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `#[inline]` is ignored on externally exported functions [INFO] [stderr] --> src/tick.rs:52:1 [INFO] [stderr] | [INFO] [stderr] 52 | #[inline] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: externally exported functions are functions with `#[no_mangle]`, `#[export_name]`, or `#[linkage]` [INFO] [stderr] [INFO] [stderr] warning: `embedded-c-sdk-bind-hal` (lib) generated 2 warnings [INFO] [stderr] warning: `embedded-c-sdk-bind-hal` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/embedded_c_sdk_bind_hal-4e52680e95869eb6) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test common::atomic_ring_buffer::tests::push_pop ... ok [INFO] [stdout] test common::atomic_ring_buffer::tests::push_slices ... ok [INFO] [stderr] Doc-tests embedded_c_sdk_bind_hal [INFO] [stdout] test common::atomic_ring_buffer::tests::zero_len ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test src/i2c.rs - i2c::I2C::blocking_write (line 82) ... FAILED [INFO] [stdout] test src/tick.rs - tick::Delay::delay_ms (line 196) ... FAILED [INFO] [stdout] test src/lib.rs - setInterval (line 49) ... FAILED [INFO] [stdout] test src/tick.rs - tick::Delay::new (line 171) ... FAILED [INFO] [stdout] test src/i2c.rs - i2c::I2C::blocking_write_read (line 42) ... FAILED [INFO] [stdout] test src/tick.rs - tick::Delay (line 160) ... FAILED [INFO] [stdout] test src/tick.rs - tick::Tick::elapsed (line 90) ... FAILED [INFO] [stdout] test src/i2c.rs - i2c::I2C::blocking_read (line 112) ... FAILED [INFO] [stdout] test src/lib.rs - setInterval (line 43) ... FAILED [INFO] [stdout] test src/tick.rs - tick::Tick::now (line 68) ... FAILED [INFO] [stdout] test src/tick.rs - tick::Delay::delay_ns (line 184) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/i2c.rs - i2c::I2C::blocking_write (line 82) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `i2c` in this scope [INFO] [stdout] --> src/i2c.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 3 | i2c.blocking_write(I2CAddr::SevenBitAddress(0x48), &[0x00, 0x01])?; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `I2CAddr` [INFO] [stdout] --> src/i2c.rs:83:20 [INFO] [stdout] | [INFO] [stdout] 3 | i2c.blocking_write(I2CAddr::SevenBitAddress(0x48), &[0x00, 0x01])?; [INFO] [stdout] | ^^^^^^^ use of undeclared type `I2CAddr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use embedded_c_sdk_bind_hal::i2c::I2CAddr; [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/tick.rs - tick::Delay::delay_ms (line 196) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Delay` [INFO] [stdout] --> src/tick.rs:197:17 [INFO] [stdout] | [INFO] [stdout] 3 | let mut delay = Delay::new(); [INFO] [stdout] | ^^^^^ use of undeclared type `Delay` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use embedded_c_sdk_bind_hal::tick::Delay; [INFO] [stdout] | [INFO] [stdout] 2 + use fugit_timer::Delay; [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/lib.rs - setInterval (line 49) stdout ---- [INFO] [stdout] error: cannot find macro `setInterval` in this scope [INFO] [stdout] --> src/lib.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 4 | setInterval!(my_function_with_params, 1000, arg1, arg2); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use embedded_c_sdk_bind_hal::setInterval; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `setInterval` in this scope [INFO] [stdout] --> src/lib.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 3 | setInterval!(my_function, 1000); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use embedded_c_sdk_bind_hal::setInterval; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/tick.rs - tick::Delay::new (line 171) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Delay` [INFO] [stdout] --> src/tick.rs:172:17 [INFO] [stdout] | [INFO] [stdout] 3 | let mut delay = Delay::new(); [INFO] [stdout] | ^^^^^ use of undeclared type `Delay` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use embedded_c_sdk_bind_hal::tick::Delay; [INFO] [stdout] | [INFO] [stdout] 2 + use fugit_timer::Delay; [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/i2c.rs - i2c::I2C::blocking_write_read (line 42) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `i2c` in this scope [INFO] [stdout] --> src/i2c.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 4 | i2c.blocking_write_read(I2CAddr::SevenBitAddress(0x48), &[0x00, 0x01], &mut buffer)?; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `I2CAddr` [INFO] [stdout] --> src/i2c.rs:44:25 [INFO] [stdout] | [INFO] [stdout] 4 | i2c.blocking_write_read(I2CAddr::SevenBitAddress(0x48), &[0x00, 0x01], &mut buffer)?; [INFO] [stdout] | ^^^^^^^ use of undeclared type `I2CAddr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use embedded_c_sdk_bind_hal::i2c::I2CAddr; [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/tick.rs - tick::Delay (line 160) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Delay` [INFO] [stdout] --> src/tick.rs:161:17 [INFO] [stdout] | [INFO] [stdout] 3 | let mut delay = Delay::new(); // Create a delay object for a 1000 Hz tick frequency. [INFO] [stdout] | ^^^^^ use of undeclared type `Delay` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use embedded_c_sdk_bind_hal::tick::Delay; [INFO] [stdout] | [INFO] [stdout] 2 + use fugit_timer::Delay; [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/tick.rs - tick::Tick::elapsed (line 90) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tick` [INFO] [stdout] --> src/tick.rs:91:18 [INFO] [stdout] | [INFO] [stdout] 3 | let start_tick = Tick::now(); [INFO] [stdout] | ^^^^ use of undeclared type `Tick` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use embedded_c_sdk_bind_hal::tick::Tick; [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/i2c.rs - i2c::I2C::blocking_read (line 112) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `i2c` in this scope [INFO] [stdout] --> src/i2c.rs:114:1 [INFO] [stdout] | [INFO] [stdout] 4 | i2c.blocking_read(I2CAddr::SevenBitAddress(0x48), &mut buffer)?; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `I2CAddr` [INFO] [stdout] --> src/i2c.rs:114:19 [INFO] [stdout] | [INFO] [stdout] 4 | i2c.blocking_read(I2CAddr::SevenBitAddress(0x48), &mut buffer)?; [INFO] [stdout] | ^^^^^^^ use of undeclared type `I2CAddr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use embedded_c_sdk_bind_hal::i2c::I2CAddr; [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 - setInterval (line 43) stdout ---- [INFO] [stdout] error: cannot find macro `setInterval` in this scope [INFO] [stdout] --> src/lib.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 4 | setInterval!(function, period_ms, param1, param2, ...); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use embedded_c_sdk_bind_hal::setInterval; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `setInterval` in this scope [INFO] [stdout] --> src/lib.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 3 | setInterval!(function, period_ms); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use embedded_c_sdk_bind_hal::setInterval; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/tick.rs - tick::Tick::now (line 68) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tick` [INFO] [stdout] --> src/tick.rs:69:20 [INFO] [stdout] | [INFO] [stdout] 3 | let current_tick = Tick::now(); [INFO] [stdout] | ^^^^ use of undeclared type `Tick` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use embedded_c_sdk_bind_hal::tick::Tick; [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/tick.rs - tick::Delay::delay_ns (line 184) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Delay` [INFO] [stdout] --> src/tick.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 3 | let mut delay = Delay::new(); [INFO] [stdout] | ^^^^^ use of undeclared type `Delay` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use embedded_c_sdk_bind_hal::tick::Delay; [INFO] [stdout] | [INFO] [stdout] 2 + use fugit_timer::Delay; [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] [INFO] [stdout] failures: [INFO] [stdout] src/i2c.rs - i2c::I2C::blocking_read (line 112) [INFO] [stdout] src/i2c.rs - i2c::I2C::blocking_write (line 82) [INFO] [stdout] src/i2c.rs - i2c::I2C::blocking_write_read (line 42) [INFO] [stdout] src/lib.rs - setInterval (line 43) [INFO] [stdout] src/lib.rs - setInterval (line 49) [INFO] [stdout] src/tick.rs - tick::Delay (line 160) [INFO] [stdout] src/tick.rs - tick::Delay::delay_ms (line 196) [INFO] [stdout] src/tick.rs - tick::Delay::delay_ns (line 184) [INFO] [stdout] src/tick.rs - tick::Delay::new (line 171) [INFO] [stdout] src/tick.rs - tick::Tick::elapsed (line 90) [INFO] [stdout] src/tick.rs - tick::Tick::now (line 68) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 11 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.49s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "801940c470a9669dfdc24bbdbf409777d1364d3e84f6e315eed680a57022a2cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "801940c470a9669dfdc24bbdbf409777d1364d3e84f6e315eed680a57022a2cc", kill_on_drop: false }` [INFO] [stdout] 801940c470a9669dfdc24bbdbf409777d1364d3e84f6e315eed680a57022a2cc