[INFO] fetching crate ahtx0 0.1.4... [INFO] testing ahtx0-0.1.4 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate ahtx0 0.1.4 into /workspace/builds/worker-7-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-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ahtx0 0.1.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] 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4099c64dda10f2a7f767215d0d94522a678905f234736d90322f88f6d4944891 [INFO] running `Command { std: "docker" "start" "-a" "4099c64dda10f2a7f767215d0d94522a678905f234736d90322f88f6d4944891", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4099c64dda10f2a7f767215d0d94522a678905f234736d90322f88f6d4944891", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4099c64dda10f2a7f767215d0d94522a678905f234736d90322f88f6d4944891", kill_on_drop: false }` [INFO] [stdout] 4099c64dda10f2a7f767215d0d94522a678905f234736d90322f88f6d4944891 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9e55de4d07e3f01a2e82a0bc585949adac679149c351b03c8ade0d8642ff859d [INFO] running `Command { std: "docker" "start" "-a" "9e55de4d07e3f01a2e82a0bc585949adac679149c351b03c8ade0d8642ff859d", 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 1.01s [INFO] running `Command { std: "docker" "inspect" "9e55de4d07e3f01a2e82a0bc585949adac679149c351b03c8ade0d8642ff859d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e55de4d07e3f01a2e82a0bc585949adac679149c351b03c8ade0d8642ff859d", kill_on_drop: false }` [INFO] [stdout] 9e55de4d07e3f01a2e82a0bc585949adac679149c351b03c8ade0d8642ff859d [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ef24638844b0b769f77bc5719a878fdb44086b91a9ee81aa0bd965352bcffb2 [INFO] running `Command { std: "docker" "start" "-a" "8ef24638844b0b769f77bc5719a878fdb44086b91a9ee81aa0bd965352bcffb2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling nb v1.1.0 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling numtoa v0.2.4 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling embedded-hal-nb v1.0.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling embedded-hal-mock v0.11.1 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling nix v0.27.1 [INFO] [stderr] Compiling nix v0.23.2 [INFO] [stderr] Compiling termion v4.0.3 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [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 tokio v1.43.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling unescaper v0.1.5 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling sysfs_gpio v0.6.2 [INFO] [stderr] Compiling i2cdev v0.6.1 [INFO] [stderr] Compiling spidev v0.6.0 [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 23.22s [INFO] running `Command { std: "docker" "inspect" "8ef24638844b0b769f77bc5719a878fdb44086b91a9ee81aa0bd965352bcffb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ef24638844b0b769f77bc5719a878fdb44086b91a9ee81aa0bd965352bcffb2", kill_on_drop: false }` [INFO] [stdout] 8ef24638844b0b769f77bc5719a878fdb44086b91a9ee81aa0bd965352bcffb2 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bbbd74bf5366fa50f8487e97da68159101ccd37f2086ca21d5195a16a5d46d3d [INFO] running `Command { std: "docker" "start" "-a" "bbbd74bf5366fa50f8487e97da68159101ccd37f2086ca21d5195a16a5d46d3d", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ahtx0-74905697492bce35) [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test tests::core::validate_crc ... ok [INFO] [stdout] test tests::measurements::measure_write_error ... ok [INFO] [stdout] test tests::measurements::soft_reset ... ok [INFO] [stdout] test types::tests::humidity ... ok [INFO] [stdout] test tests::measurements::measure ... ok [INFO] [stdout] test types::tests::test_convert_humidity ... ok [INFO] [stdout] test types::tests::test_convert_temperature ... ok [INFO] [stdout] test types::tests::temperature ... ok [INFO] [stdout] test types::tests::measurement_conversion ... ok [INFO] [stdout] test crc::tests::crc8_test_value ... ok [INFO] [stdout] test types::tests::measurement_from_into ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [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] 13 | 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] 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] 13 | 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] 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] 16 | 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] 19 | 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[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] 22 | 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 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, 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" "bbbd74bf5366fa50f8487e97da68159101ccd37f2086ca21d5195a16a5d46d3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbbd74bf5366fa50f8487e97da68159101ccd37f2086ca21d5195a16a5d46d3d", kill_on_drop: false }` [INFO] [stdout] bbbd74bf5366fa50f8487e97da68159101ccd37f2086ca21d5195a16a5d46d3d