[INFO] fetching crate pcf857x-simple 2.0.0... [INFO] testing pcf857x-simple-2.0.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate pcf857x-simple 2.0.0 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate pcf857x-simple 2.0.0 [INFO] finished tweaking crates.io crate pcf857x-simple 2.0.0 [INFO] tweaked toml for crates.io crate pcf857x-simple 2.0.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate pcf857x-simple 2.0.0 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 1 package to latest compatible version [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dee1a9757c3f3af0b4d59d9abcdc3280f2bfe49b4125e4299088986211191456 [INFO] running `Command { std: "docker" "start" "-a" "dee1a9757c3f3af0b4d59d9abcdc3280f2bfe49b4125e4299088986211191456", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dee1a9757c3f3af0b4d59d9abcdc3280f2bfe49b4125e4299088986211191456", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dee1a9757c3f3af0b4d59d9abcdc3280f2bfe49b4125e4299088986211191456", kill_on_drop: false }` [INFO] [stdout] dee1a9757c3f3af0b4d59d9abcdc3280f2bfe49b4125e4299088986211191456 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 09c355cf3f53380a6bd139e7b2116c92273279d82efab728c57ec9abf9b2a5d5 [INFO] running `Command { std: "docker" "start" "-a" "09c355cf3f53380a6bd139e7b2116c92273279d82efab728c57ec9abf9b2a5d5", kill_on_drop: false }` [INFO] [stderr] Compiling embedded-hal v1.0.0 [INFO] [stderr] Compiling pcf857x-simple v2.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.38s [INFO] running `Command { std: "docker" "inspect" "09c355cf3f53380a6bd139e7b2116c92273279d82efab728c57ec9abf9b2a5d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09c355cf3f53380a6bd139e7b2116c92273279d82efab728c57ec9abf9b2a5d5", kill_on_drop: false }` [INFO] [stdout] 09c355cf3f53380a6bd139e7b2116c92273279d82efab728c57ec9abf9b2a5d5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b69c2ba91ac519d8dc3302e163595f6f5f23b92b60569524631228479e59540c [INFO] running `Command { std: "docker" "start" "-a" "b69c2ba91ac519d8dc3302e163595f6f5f23b92b60569524631228479e59540c", kill_on_drop: false }` [INFO] [stderr] Compiling pcf857x-simple v2.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.66s [INFO] running `Command { std: "docker" "inspect" "b69c2ba91ac519d8dc3302e163595f6f5f23b92b60569524631228479e59540c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b69c2ba91ac519d8dc3302e163595f6f5f23b92b60569524631228479e59540c", kill_on_drop: false }` [INFO] [stdout] b69c2ba91ac519d8dc3302e163595f6f5f23b92b60569524631228479e59540c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6ab7b14189561b72ff0bf6c34e7b67d6f6ed34ed2d0f7b3c689c6032b507c70d [INFO] running `Command { std: "docker" "start" "-a" "6ab7b14189561b72ff0bf6c34e7b67d6f6ed34ed2d0f7b3c689c6032b507c70d", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/pcf857x_simple-3652f49db7215f59) [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] [stderr] Doc-tests pcf857x_simple [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test src/lib.rs - (line 114) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 105) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 124) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 24) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 51) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 78) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 114) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/lib.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 6 | ... [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 6 - ... [INFO] [stdout] 6 + .. [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 6 - ... [INFO] [stdout] 6 + ..= [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: expected expression, found `let` statement [INFO] [stdout] --> src/lib.rs:118:1 [INFO] [stdout] | [INFO] [stdout] 7 | let _ = expander.clear(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: only supported directly in conditions of `if` and `while` expressions [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `expander` in this scope [INFO] [stdout] --> src/lib.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 7 | let _ = expander.clear(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `expander` in this scope [INFO] [stdout] --> src/lib.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 8 | let _ = expander.read_pin(Pin::P0); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `expander` in this scope [INFO] [stdout] --> src/lib.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 9 | let _ = expander.read_pin(Pin::P7); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [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 105) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 6 | ... [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 6 - ... [INFO] [stdout] 6 + .. [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 6 - ... [INFO] [stdout] 6 + ..= [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: expected expression, found `let` statement [INFO] [stdout] --> src/lib.rs:109:1 [INFO] [stdout] | [INFO] [stdout] 7 | let _ = expander.clear(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: only supported directly in conditions of `if` and `while` expressions [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `expander` in this scope [INFO] [stdout] --> src/lib.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 7 | let _ = expander.clear(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `expander` in this scope [INFO] [stdout] --> src/lib.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 8 | let _ = expander.up_pins(&[Pin::P0, Pin::P7]); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [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 124) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/lib.rs:127:1 [INFO] [stdout] | [INFO] [stdout] 6 | ... [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 6 - ... [INFO] [stdout] 6 + .. [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 6 - ... [INFO] [stdout] 6 + ..= [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: expected expression, found `let` statement [INFO] [stdout] --> src/lib.rs:128:1 [INFO] [stdout] | [INFO] [stdout] 7 | let _ = expander.clear(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: only supported directly in conditions of `if` and `while` expressions [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `expander` in this scope [INFO] [stdout] --> src/lib.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 7 | let _ = expander.clear(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `expander` in this scope [INFO] [stdout] --> src/lib.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 8 | let _ = expander.get_pin_from_cache(Pin::P0); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `expander` in this scope [INFO] [stdout] --> src/lib.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 9 | let _ = expander.get_pin_from_cache(Pin::P7); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [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 24) stdout ---- [INFO] [stdout] error: expected `;`, found keyword `use` [INFO] [stdout] --> src/lib.rs:28:37 [INFO] [stdout] | [INFO] [stdout] 7 | use esp_idf_hal::i2c::config::Config [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 8 | use pcf857x_simple::pcf8574::Pcf8574; [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `esp_idf_hal` [INFO] [stdout] --> src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 5 | use esp_idf_hal::peripherals::Peripherals; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `esp_idf_hal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `esp_idf_hal`, use `cargo add esp_idf_hal` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `esp_idf_hal` [INFO] [stdout] --> src/lib.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 6 | use esp_idf_hal::i2c::I2cDriver; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `esp_idf_hal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `esp_idf_hal`, use `cargo add esp_idf_hal` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `esp_idf_hal` [INFO] [stdout] --> src/lib.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 7 | use esp_idf_hal::i2c::config::Config [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `esp_idf_hal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `esp_idf_hal`, use `cargo add esp_idf_hal` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `esp_idf_svc` [INFO] [stdout] --> src/lib.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 12 | esp_idf_svc::log::EspLogger::initialize_default(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `esp_idf_svc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `esp_idf_svc`, use `cargo add esp_idf_svc` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `esp_idf_sys` [INFO] [stdout] --> src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 11 | esp_idf_sys::link_patches(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `esp_idf_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `esp_idf_sys`, use `cargo add esp_idf_sys` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `KiloHertz` in this scope [INFO] [stdout] --> src/lib.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 20 | .baudrate(KiloHertz(100).into()) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 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 51) stdout ---- [INFO] [stdout] error: expected `;`, found keyword `use` [INFO] [stdout] --> src/lib.rs:55:37 [INFO] [stdout] | [INFO] [stdout] 7 | use esp_idf_hal::i2c::config::Config [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 8 | use pcf857x_simple::pcf8574::Pcf8574; [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `esp_idf_hal` [INFO] [stdout] --> src/lib.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 5 | use esp_idf_hal::peripherals::Peripherals; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `esp_idf_hal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `esp_idf_hal`, use `cargo add esp_idf_hal` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `esp_idf_hal` [INFO] [stdout] --> src/lib.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 6 | use esp_idf_hal::i2c::I2cDriver; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `esp_idf_hal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `esp_idf_hal`, use `cargo add esp_idf_hal` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `esp_idf_hal` [INFO] [stdout] --> src/lib.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 7 | use esp_idf_hal::i2c::config::Config [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `esp_idf_hal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `esp_idf_hal`, use `cargo add esp_idf_hal` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `esp_idf_svc` [INFO] [stdout] --> src/lib.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 12 | esp_idf_svc::log::EspLogger::initialize_default(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `esp_idf_svc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `esp_idf_svc`, use `cargo add esp_idf_svc` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `esp_idf_sys` [INFO] [stdout] --> src/lib.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 11 | esp_idf_sys::link_patches(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `esp_idf_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `esp_idf_sys`, use `cargo add esp_idf_sys` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `KiloHertz` in this scope [INFO] [stdout] --> src/lib.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 20 | .baudrate(KiloHertz(100).into()) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 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 78) stdout ---- [INFO] [stdout] error: expected `;`, found keyword `use` [INFO] [stdout] --> src/lib.rs:82:37 [INFO] [stdout] | [INFO] [stdout] 7 | use esp_idf_hal::i2c::config::Config [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 8 | use pcf857x_simple::pcf8574::Pcf8574; [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `esp_idf_hal` [INFO] [stdout] --> src/lib.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 5 | use esp_idf_hal::peripherals::Peripherals; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `esp_idf_hal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `esp_idf_hal`, use `cargo add esp_idf_hal` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `esp_idf_hal` [INFO] [stdout] --> src/lib.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 6 | use esp_idf_hal::i2c::I2cDriver; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `esp_idf_hal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `esp_idf_hal`, use `cargo add esp_idf_hal` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `esp_idf_hal` [INFO] [stdout] --> src/lib.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 7 | use esp_idf_hal::i2c::config::Config [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `esp_idf_hal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `esp_idf_hal`, use `cargo add esp_idf_hal` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `esp_idf_svc` [INFO] [stdout] --> src/lib.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 12 | esp_idf_svc::log::EspLogger::initialize_default(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `esp_idf_svc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `esp_idf_svc`, use `cargo add esp_idf_svc` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `esp_idf_sys` [INFO] [stdout] --> src/lib.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 11 | esp_idf_sys::link_patches(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `esp_idf_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `esp_idf_sys`, use `cargo add esp_idf_sys` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `KiloHertz` in this scope [INFO] [stdout] --> src/lib.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 20 | .baudrate(KiloHertz(100).into()) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 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/lib.rs - (line 105) [INFO] [stdout] src/lib.rs - (line 114) [INFO] [stdout] src/lib.rs - (line 124) [INFO] [stdout] src/lib.rs - (line 24) [INFO] [stdout] src/lib.rs - (line 51) [INFO] [stdout] src/lib.rs - (line 78) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 6 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.28s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "6ab7b14189561b72ff0bf6c34e7b67d6f6ed34ed2d0f7b3c689c6032b507c70d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ab7b14189561b72ff0bf6c34e7b67d6f6ed34ed2d0f7b3c689c6032b507c70d", kill_on_drop: false }` [INFO] [stdout] 6ab7b14189561b72ff0bf6c34e7b67d6f6ed34ed2d0f7b3c689c6032b507c70d