[INFO] fetching crate ahtx0 0.1.4... [INFO] testing ahtx0-0.1.4 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate ahtx0 0.1.4 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate ahtx0 0.1.4 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate ahtx0 0.1.4 [INFO] tweaked toml for crates.io crate ahtx0 0.1.4 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ahtx0 0.1.4 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 ahtx0 0.1.4 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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 1c7ee5153b546d67cb4bea1e2f2f0369dbcc4417c4cd086677995248ea95be6e [INFO] running `Command { std: "docker" "start" "-a" "1c7ee5153b546d67cb4bea1e2f2f0369dbcc4417c4cd086677995248ea95be6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1c7ee5153b546d67cb4bea1e2f2f0369dbcc4417c4cd086677995248ea95be6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c7ee5153b546d67cb4bea1e2f2f0369dbcc4417c4cd086677995248ea95be6e", kill_on_drop: false }` [INFO] [stdout] 1c7ee5153b546d67cb4bea1e2f2f0369dbcc4417c4cd086677995248ea95be6e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] c37d3ba5e74686a6f245f3fffd8a055c8f5e06fd3aac6bbe5dd8110ea67a6fde [INFO] running `Command { std: "docker" "start" "-a" "c37d3ba5e74686a6f245f3fffd8a055c8f5e06fd3aac6bbe5dd8110ea67a6fde", kill_on_drop: false }` [INFO] [stderr] Compiling embedded-hal-async v1.0.0 [INFO] [stderr] Compiling embedded-hal v1.0.0 [INFO] [stderr] Compiling ahtx0 v0.1.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.84s [INFO] running `Command { std: "docker" "inspect" "c37d3ba5e74686a6f245f3fffd8a055c8f5e06fd3aac6bbe5dd8110ea67a6fde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c37d3ba5e74686a6f245f3fffd8a055c8f5e06fd3aac6bbe5dd8110ea67a6fde", kill_on_drop: false }` [INFO] [stdout] c37d3ba5e74686a6f245f3fffd8a055c8f5e06fd3aac6bbe5dd8110ea67a6fde [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] fe3fcd3d01b20d5cb90655c2b8755c1d4364380ab6e89c674ba94d53cbf7b88d [INFO] running `Command { std: "docker" "start" "-a" "fe3fcd3d01b20d5cb90655c2b8755c1d4364380ab6e89c674ba94d53cbf7b88d", kill_on_drop: false }` [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling nb v1.1.0 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling numtoa v0.2.4 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling embedded-hal-nb v1.0.0 [INFO] [stderr] Compiling termion v4.0.3 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling nix v0.23.2 [INFO] [stderr] Compiling nix v0.27.1 [INFO] [stderr] Compiling embedded-hal-mock v0.11.1 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling crossterm v0.25.0 [INFO] [stderr] Compiling tui v0.19.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling sysfs_gpio v0.6.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling spidev v0.6.0 [INFO] [stderr] Compiling i2cdev v0.6.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling unescaper v0.1.5 [INFO] [stderr] Compiling serialport v4.7.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling gpio-cdev v0.6.0 [INFO] [stderr] Compiling linux-embedded-hal v0.4.0 [INFO] [stderr] Compiling ahtx0 v0.1.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 21.38s [INFO] running `Command { std: "docker" "inspect" "fe3fcd3d01b20d5cb90655c2b8755c1d4364380ab6e89c674ba94d53cbf7b88d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe3fcd3d01b20d5cb90655c2b8755c1d4364380ab6e89c674ba94d53cbf7b88d", kill_on_drop: false }` [INFO] [stdout] fe3fcd3d01b20d5cb90655c2b8755c1d4364380ab6e89c674ba94d53cbf7b88d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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", kill_on_drop: false }` [INFO] [stdout] d7ad4a007a4d3bf62a0a2c181b5bd7066fc7be64ceb78a476ca988d6c3a11811 [INFO] running `Command { std: "docker" "start" "-a" "d7ad4a007a4d3bf62a0a2c181b5bd7066fc7be64ceb78a476ca988d6c3a11811", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ahtx0-74905697492bce35) [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test crc::tests::crc8_test_value ... ok [INFO] [stdout] test tests::measurements::measure ... ok [INFO] [stdout] test tests::measurements::measure_write_error ... ok [INFO] [stdout] test tests::core::validate_crc ... ok [INFO] [stdout] test types::tests::humidity ... ok [INFO] [stdout] test tests::measurements::soft_reset ... ok [INFO] [stdout] test types::tests::measurement_from_into ... ok [INFO] [stdout] test types::tests::measurement_conversion ... ok [INFO] [stdout] test types::tests::temperature ... ok [INFO] [stdout] test types::tests::test_convert_humidity ... ok [INFO] [stdout] test types::tests::test_convert_temperature ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests ahtx0 [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 27) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 27) stdout ---- [INFO] [stdout] error[E0277]: the trait bound `I2cdev: embedded_hal_async::i2c::I2c` is not satisfied [INFO] [stdout] --> src/lib.rs:38:25 [INFO] [stdout] | [INFO] [stdout] 38 | let mut aht = ahtx0(i2c0); [INFO] [stdout] | ----- ^^^^ the trait `embedded_hal_async::i2c::I2c` is not implemented for `I2cdev` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `embedded_hal_async::i2c::I2c` is implemented for `&mut T` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/embedded-hal-async-1.0.0/src/i2c.rs:128:1 [INFO] [stdout] | [INFO] [stdout] 128 | impl + ?Sized> I2c for &mut T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `ahtx0::ahtx0` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:104:10 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn ahtx0(i2c: I2C) -> AHTx0 [INFO] [stdout] | ----- required by a bound in this function [INFO] [stdout] 103 | where [INFO] [stdout] 104 | I2C: I2c, [INFO] [stdout] | ^^^ required by this bound in `ahtx0` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `I2cdev: embedded_hal_async::i2c::I2c` is not satisfied [INFO] [stdout] --> src/lib.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | let mut aht = ahtx0(i2c0); [INFO] [stdout] | ^^^^^^^^^^^ the trait `embedded_hal_async::i2c::I2c` is not implemented for `I2cdev` [INFO] [stdout] | [INFO] [stdout] help: the trait `embedded_hal_async::i2c::I2c` is implemented for `&mut T` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/embedded-hal-async-1.0.0/src/i2c.rs:128:1 [INFO] [stdout] | [INFO] [stdout] 128 | impl + ?Sized> I2c for &mut T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `ahtx0::AHTx0` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:97:10 [INFO] [stdout] | [INFO] [stdout] 95 | pub struct AHTx0 [INFO] [stdout] | ----- required by a bound in this struct [INFO] [stdout] 96 | where [INFO] [stdout] 97 | I2C: I2c, [INFO] [stdout] | ^^^ required by this bound in `AHTx0` [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `calibrate` exists for struct `ahtx0::AHTx0`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | let _ = aht.calibrate(&mut delay).await; [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `ahtx0::AHTx0` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/linux-embedded-hal-0.4.0/src/i2c.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct I2cdev { [INFO] [stdout] | ----------------- doesn't satisfy `I2cdev: embedded_hal_async::i2c::I2c` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `I2cdev: embedded_hal_async::i2c::I2c` [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `state` exists for struct `ahtx0::AHTx0`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:44:25 [INFO] [stdout] | [INFO] [stdout] 44 | let device_id = aht.state().await.unwrap(); [INFO] [stdout] | ^^^^^ method cannot be called on `ahtx0::AHTx0` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/linux-embedded-hal-0.4.0/src/i2c.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct I2cdev { [INFO] [stdout] | ----------------- doesn't satisfy `I2cdev: embedded_hal_async::i2c::I2c` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `I2cdev: embedded_hal_async::i2c::I2c` [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | let device_id = aht.state().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `measure` exists for struct `ahtx0::AHTx0`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:47:27 [INFO] [stdout] | [INFO] [stdout] 47 | let measurement = aht.measure(&mut delay).await; [INFO] [stdout] | ^^^^^^^ method cannot be called on `ahtx0::AHTx0` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/linux-embedded-hal-0.4.0/src/i2c.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct I2cdev { [INFO] [stdout] | ----------------- doesn't satisfy `I2cdev: embedded_hal_async::i2c::I2c` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `I2cdev: embedded_hal_async::i2c::I2c` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0282, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 27) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.17s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "d7ad4a007a4d3bf62a0a2c181b5bd7066fc7be64ceb78a476ca988d6c3a11811", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7ad4a007a4d3bf62a0a2c181b5bd7066fc7be64ceb78a476ca988d6c3a11811", kill_on_drop: false }` [INFO] [stdout] d7ad4a007a4d3bf62a0a2c181b5bd7066fc7be64ceb78a476ca988d6c3a11811