[INFO] fetching crate ms4525do 0.1.0... [INFO] testing ms4525do-0.1.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate ms4525do 0.1.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate ms4525do 0.1.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate ms4525do 0.1.0 [INFO] tweaked toml for crates.io crate ms4525do 0.1.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ms4525do 0.1.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ms4525do 0.1.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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d6c8434476bebeef77aca8ae7e7e227d74b9e8e2daa5aeba69d2abf99cb9b173 [INFO] running `Command { std: "docker" "start" "-a" "d6c8434476bebeef77aca8ae7e7e227d74b9e8e2daa5aeba69d2abf99cb9b173", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d6c8434476bebeef77aca8ae7e7e227d74b9e8e2daa5aeba69d2abf99cb9b173", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6c8434476bebeef77aca8ae7e7e227d74b9e8e2daa5aeba69d2abf99cb9b173", kill_on_drop: false }` [INFO] [stdout] d6c8434476bebeef77aca8ae7e7e227d74b9e8e2daa5aeba69d2abf99cb9b173 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d6b4aa57d538d96aa836de661f15cbce3561563854d125ea3d92f847ca4f0d6a [INFO] running `Command { std: "docker" "start" "-a" "d6b4aa57d538d96aa836de661f15cbce3561563854d125ea3d92f847ca4f0d6a", kill_on_drop: false }` [INFO] [stderr] Compiling nb v1.1.0 [INFO] [stderr] Compiling embedded-hal-async v1.0.0 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Compiling embassy-time-driver v0.2.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling embedded-hal v1.0.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling critical-section v1.2.0 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling embedded-hal v0.2.7 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Compiling embassy-time v0.4.0 [INFO] [stderr] Compiling ms4525do v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [optimized + debuginfo] target(s) in 4.07s [INFO] running `Command { std: "docker" "inspect" "d6b4aa57d538d96aa836de661f15cbce3561563854d125ea3d92f847ca4f0d6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6b4aa57d538d96aa836de661f15cbce3561563854d125ea3d92f847ca4f0d6a", kill_on_drop: false }` [INFO] [stdout] d6b4aa57d538d96aa836de661f15cbce3561563854d125ea3d92f847ca4f0d6a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] df5ee26295d0092db2576bd107d17ad4c6a8888fff59c07236ba6267d8e5923d [INFO] running `Command { std: "docker" "start" "-a" "df5ee26295d0092db2576bd107d17ad4c6a8888fff59c07236ba6267d8e5923d", kill_on_drop: false }` [INFO] [stderr] Compiling ms4525do v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `ms4525do::blocking` [INFO] [stdout] --> examples/std_mock_example.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | use ms4525do::blocking::Ms4525do; [INFO] [stdout] | ^^^^^^^^ could not find `blocking` in `ms4525do` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 80 | #[cfg(feature = "blocking")] [INFO] [stdout] | -------------------- the item is gated behind the `blocking` feature [INFO] [stdout] 81 | pub mod blocking; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `embedded_hal` [INFO] [stdout] --> examples/std_mock_example.rs:56:6 [INFO] [stdout] | [INFO] [stdout] 56 | impl embedded_hal::delay::DelayNs for MockDelay { [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `embedded_hal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `embedded_hal`, use `cargo add embedded_hal` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 8 + use embedded_hal_async::delay; [INFO] [stdout] | [INFO] [stdout] help: if you import `delay`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 56 - impl embedded_hal::delay::DelayNs for MockDelay { [INFO] [stdout] 56 + impl delay::DelayNs for MockDelay { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `embedded_hal` [INFO] [stdout] --> examples/std_mock_example.rs:63:6 [INFO] [stdout] | [INFO] [stdout] 63 | impl embedded_hal::i2c::ErrorType for MockI2c { [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `embedded_hal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `embedded_hal`, use `cargo add embedded_hal` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 8 + use embedded_hal_async::i2c; [INFO] [stdout] | [INFO] [stdout] help: if you import `i2c`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 63 - impl embedded_hal::i2c::ErrorType for MockI2c { [INFO] [stdout] 63 + impl i2c::ErrorType for MockI2c { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `embedded_hal` [INFO] [stdout] --> examples/std_mock_example.rs:70:6 [INFO] [stdout] | [INFO] [stdout] 70 | impl embedded_hal::i2c::Error for MockI2cError { [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `embedded_hal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `embedded_hal`, use `cargo add embedded_hal` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 8 + use embedded_hal_async::i2c; [INFO] [stdout] | [INFO] [stdout] help: if you import `i2c`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 70 - impl embedded_hal::i2c::Error for MockI2cError { [INFO] [stdout] 70 + impl i2c::Error for MockI2cError { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `embedded_hal` [INFO] [stdout] --> examples/std_mock_example.rs:71:23 [INFO] [stdout] | [INFO] [stdout] 71 | fn kind(&self) -> embedded_hal::i2c::ErrorKind { [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `embedded_hal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `embedded_hal`, use `cargo add embedded_hal` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 8 + use embedded_hal_async::i2c; [INFO] [stdout] | [INFO] [stdout] help: if you import `i2c`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 71 - fn kind(&self) -> embedded_hal::i2c::ErrorKind { [INFO] [stdout] 71 + fn kind(&self) -> i2c::ErrorKind { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `embedded_hal` [INFO] [stdout] --> examples/std_mock_example.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | embedded_hal::i2c::ErrorKind::Other [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `embedded_hal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `embedded_hal`, use `cargo add embedded_hal` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 8 + use std::io::ErrorKind; [INFO] [stdout] | [INFO] [stdout] 8 + use embedded_hal_async::i2c::ErrorKind; [INFO] [stdout] | [INFO] [stdout] 8 + use embedded_hal_async::spi::ErrorKind; [INFO] [stdout] | [INFO] [stdout] help: if you import `ErrorKind`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 72 - embedded_hal::i2c::ErrorKind::Other [INFO] [stdout] 72 + ErrorKind::Other [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `embedded_hal` [INFO] [stdout] --> examples/std_mock_example.rs:76:6 [INFO] [stdout] | [INFO] [stdout] 76 | impl embedded_hal::i2c::I2c for MockI2c { [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `embedded_hal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `embedded_hal`, use `cargo add embedded_hal` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 8 + use embedded_hal_async::i2c; [INFO] [stdout] | [INFO] [stdout] help: if you import `i2c`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 76 - impl embedded_hal::i2c::I2c for MockI2c { [INFO] [stdout] 76 + impl i2c::I2c for MockI2c { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `embedded_hal` [INFO] [stdout] --> examples/std_mock_example.rs:80:27 [INFO] [stdout] | [INFO] [stdout] 80 | operations: &mut [embedded_hal::i2c::Operation<'_>], [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `embedded_hal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `embedded_hal`, use `cargo add embedded_hal` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 8 + use embedded_hal_async::i2c; [INFO] [stdout] | [INFO] [stdout] help: if you import `i2c`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 80 - operations: &mut [embedded_hal::i2c::Operation<'_>], [INFO] [stdout] 80 + operations: &mut [i2c::Operation<'_>], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `embedded_hal` [INFO] [stdout] --> examples/std_mock_example.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | embedded_hal::i2c::Operation::Write(_data) => { [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `embedded_hal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `embedded_hal`, use `cargo add embedded_hal` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 8 + use embedded_hal_async::i2c::Operation; [INFO] [stdout] | [INFO] [stdout] 8 + use embedded_hal_async::spi::Operation; [INFO] [stdout] | [INFO] [stdout] help: if you import `Operation`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 84 - embedded_hal::i2c::Operation::Write(_data) => { [INFO] [stdout] 84 + Operation::Write(_data) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `embedded_hal` [INFO] [stdout] --> examples/std_mock_example.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 89 | embedded_hal::i2c::Operation::Read(buffer) => { [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `embedded_hal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `embedded_hal`, use `cargo add embedded_hal` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 8 + use embedded_hal_async::i2c::Operation; [INFO] [stdout] | [INFO] [stdout] 8 + use embedded_hal_async::spi::Operation; [INFO] [stdout] | [INFO] [stdout] help: if you import `Operation`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 89 - embedded_hal::i2c::Operation::Read(buffer) => { [INFO] [stdout] 89 + Operation::Read(buffer) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ms4525do` (example "std_mock_example") due to 10 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "df5ee26295d0092db2576bd107d17ad4c6a8888fff59c07236ba6267d8e5923d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df5ee26295d0092db2576bd107d17ad4c6a8888fff59c07236ba6267d8e5923d", kill_on_drop: false }` [INFO] [stdout] df5ee26295d0092db2576bd107d17ad4c6a8888fff59c07236ba6267d8e5923d