[INFO] fetching crate sensor_lib_as5600 0.1.1...
[INFO] testing sensor_lib_as5600-0.1.1 against 1.95.0 for beta-1.96-2
[INFO] extracting crate sensor_lib_as5600 0.1.1 into /workspace/builds/worker-5-tc1/source
[INFO] started tweaking crates.io crate sensor_lib_as5600 0.1.1
[INFO] finished tweaking crates.io crate sensor_lib_as5600 0.1.1
[INFO] tweaked toml for crates.io crate sensor_lib_as5600 0.1.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate sensor_lib_as5600 0.1.1 on toolchain 1.95.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "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" "+1.95.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 15 packages to latest compatible versions
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded embedded-time v0.12.1
[INFO] [stderr]   Downloaded embedded-hal-mock v0.11.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3ec51527c3f3b65470da3eccf8f2b10ceabf62f96f8e3d7fa2cbc109693990a9
[INFO] running `Command { std: "docker" "start" "-a" "3ec51527c3f3b65470da3eccf8f2b10ceabf62f96f8e3d7fa2cbc109693990a9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3ec51527c3f3b65470da3eccf8f2b10ceabf62f96f8e3d7fa2cbc109693990a9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3ec51527c3f3b65470da3eccf8f2b10ceabf62f96f8e3d7fa2cbc109693990a9", kill_on_drop: false }`
[INFO] [stdout] 3ec51527c3f3b65470da3eccf8f2b10ceabf62f96f8e3d7fa2cbc109693990a9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9cea589f5c432719e07f86f11cc724af12a5e2b794341a0e7c6af093d8768e96
[INFO] running `Command { std: "docker" "start" "-a" "9cea589f5c432719e07f86f11cc724af12a5e2b794341a0e7c6af093d8768e96", kill_on_drop: false }`
[INFO] [stderr]    Compiling embedded-hal v1.0.0
[INFO] [stderr]    Compiling sensor_lib_as5600 v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `ErrorKind`
[INFO] [stdout]   --> src/lib.rs:63:30
[INFO] [stdout]    |
[INFO] [stdout] 63 | use embedded_hal::i2c::{I2c, ErrorKind};
[INFO] [stdout]    |                              ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.39s
[INFO] running `Command { std: "docker" "inspect" "9cea589f5c432719e07f86f11cc724af12a5e2b794341a0e7c6af093d8768e96", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9cea589f5c432719e07f86f11cc724af12a5e2b794341a0e7c6af093d8768e96", kill_on_drop: false }`
[INFO] [stdout] 9cea589f5c432719e07f86f11cc724af12a5e2b794341a0e7c6af093d8768e96
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 825d2a16e634b4c4e255ab07ac4ccb954c70f2b5d99e28b738d95dca9979730d
[INFO] running `Command { std: "docker" "start" "-a" "825d2a16e634b4c4e255ab07ac4ccb954c70f2b5d99e28b738d95dca9979730d", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling num-rational v0.3.2
[INFO] [stderr]    Compiling nb v1.1.0
[INFO] [stdout] warning: unused import: `ErrorKind`
[INFO] [stdout]   --> src/lib.rs:63:30
[INFO] [stdout]    |
[INFO] [stdout] 63 | use embedded_hal::i2c::{I2c, ErrorKind};
[INFO] [stdout]    |                              ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling nb v0.1.3
[INFO] [stderr]    Compiling embedded-hal-nb v1.0.0
[INFO] [stderr]    Compiling embedded-hal v0.2.7
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling num-complex v0.3.1
[INFO] [stderr]    Compiling num-iter v0.1.45
[INFO] [stderr]    Compiling num v0.3.1
[INFO] [stderr]    Compiling embedded-time v0.12.1
[INFO] [stderr]    Compiling embedded-hal-mock v0.11.1
[INFO] [stderr]    Compiling sensor_lib_as5600 v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `ErrorKind`
[INFO] [stdout]   --> src/lib.rs:63:30
[INFO] [stdout]    |
[INFO] [stdout] 63 | use embedded_hal::i2c::{I2c, ErrorKind};
[INFO] [stdout]    |                              ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 5.29s
[INFO] running `Command { std: "docker" "inspect" "825d2a16e634b4c4e255ab07ac4ccb954c70f2b5d99e28b738d95dca9979730d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "825d2a16e634b4c4e255ab07ac4ccb954c70f2b5d99e28b738d95dca9979730d", kill_on_drop: false }`
[INFO] [stdout] 825d2a16e634b4c4e255ab07ac4ccb954c70f2b5d99e28b738d95dca9979730d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 3ba1ab0b3d8b38dd2b8e895927ca0663ec5e7a6dc4bd0a90a0914732a8e169c8
[INFO] running `Command { std: "docker" "start" "-a" "3ba1ab0b3d8b38dd2b8e895927ca0663ec5e7a6dc4bd0a90a0914732a8e169c8", kill_on_drop: false }`
[INFO] [stdout] 
[INFO] [stdout] running 21 tests
[INFO] [stdout] test sensor_status::test_status::magnet_detected_status ... ok
[INFO] [stdout] test sensor_status::test_status::magnet_low_status ... ok
[INFO] [stdout] test sensor_test::get_status ... ok
[INFO] [stdout] test sensor_test::i2c_read_12bits ... ok
[INFO] [stdout] test sensor_test::i2c_writes_u16 ... ok
[INFO] [stdout] test sensor_test::mocking_i2c ... ok
[INFO] [stdout] test sensor_test::read_status_bus_error ... ok
[INFO] [stdout] test sensor_test::self_test ... ok
[INFO] [stdout] test sensor_test::test_burn_setting_cmd ... ok
[INFO] [stdout] test sensor_test::test_config_angular_range ... ok
[INFO] [stdout] test sensor_test::test_config_stop_position ... ok
[INFO] [stdout] test sensor_test::test_configure_start_max_value ... ok
[INFO] [stdout] test sensor_test::test_configure_start_position ... ok
[INFO] [stdout] test sensor_test::test_reading_agc ... ok
[INFO] [stdout] test sensor_test::test_reading_angle ... ok
[INFO] [stdout] test sensor_test::test_reading_magnitude ... ok
[INFO] [stdout] test sensor_test::test_reading_raw_angle ... ok
[INFO] [stdout] test sensor_test::test_tempoary_address_change ... ok
[INFO] [stdout] test sensor_status::test_status::new_status ... ok
[INFO] [stderr] warning: unused import: `ErrorKind`
[INFO] [stderr]   --> src/lib.rs:63:30
[INFO] [stderr]    |
[INFO] [stderr] 63 | use embedded_hal::i2c::{I2c, ErrorKind};
[INFO] [stderr]    |                              ^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `sensor_lib_as5600` (lib) generated 1 warning (run `cargo fix --lib -p sensor_lib_as5600` to apply 1 suggestion)
[INFO] [stderr] warning: `sensor_lib_as5600` (lib test) generated 1 warning (1 duplicate)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/sensor_lib_as5600-96826102b579deca)
[INFO] [stdout] test sensor_status::test_status::magnet_high_status ... ok
[INFO] [stdout] test sensor_status::test_status::self_test ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 21 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests sensor_lib_as5600
[INFO] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stdout] test src/lib.rs - (line 16) ... ignored
[INFO] [stdout] test src/lib.rs - AS5600<I2C>::read_12bits (line 207) ... FAILED
[INFO] [stdout] test src/lib.rs - AS5600<I2C>::write_12bits (line 229) ... FAILED
[INFO] [stdout] test src/lib.rs - AS5600<I2C>::read_angle (line 160) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - AS5600<I2C>::read_12bits (line 207) stdout ----
[INFO] [stdout] error[E0424]: expected value, found module `self`
[INFO] [stdout]    --> src/lib.rs:209:13
[INFO] [stdout]     |
[INFO] [stdout] 207 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_207_0() {
[INFO] [stdout]     |                                         ------------------------------ this function can't have a `self` parameter
[INFO] [stdout] 208 | //Reads the Hi+Lo angle registers into a 16bit u16 return value.
[INFO] [stdout] 209 | let angle = self.read_12bits(OutputRegisters::AngleHi as u8)?;
[INFO] [stdout]     |             ^^^^ `self` value is a keyword only available in methods with a `self` parameter
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `OutputRegisters` in this scope
[INFO] [stdout]    --> src/lib.rs:209:30
[INFO] [stdout]     |
[INFO] [stdout] 209 | let angle = self.read_12bits(OutputRegisters::AngleHi as u8)?;
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^ use of undeclared type `OutputRegisters`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0424, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0424`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - AS5600<I2C>::write_12bits (line 229) stdout ----
[INFO] [stdout] error[E0424]: expected value, found module `self`
[INFO] [stdout]    --> src/lib.rs:232:1
[INFO] [stdout]     |
[INFO] [stdout] 229 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_229_0() {
[INFO] [stdout]     |                                         ------------------------------ this function can't have a `self` parameter
[INFO] [stdout] ...
[INFO] [stdout] 232 | self.write_12bits(ConfigRegisters::ZPosHi as u8, start)?;
[INFO] [stdout]     | ^^^^ `self` value is a keyword only available in methods with a `self` parameter
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `start` in this scope
[INFO] [stdout]    --> src/lib.rs:232:50
[INFO] [stdout]     |
[INFO] [stdout] 232 | self.write_12bits(ConfigRegisters::ZPosHi as u8, start)?;
[INFO] [stdout]     |                                                  ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ConfigRegisters` in this scope
[INFO] [stdout]    --> src/lib.rs:232:19
[INFO] [stdout]     |
[INFO] [stdout] 232 | self.write_12bits(ConfigRegisters::ZPosHi as u8, start)?;
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^ use of undeclared type `ConfigRegisters`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0424, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0424`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - AS5600<I2C>::read_angle (line 160) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `i2c` in this scope
[INFO] [stdout]    --> src/lib.rs:161:30
[INFO] [stdout]     |
[INFO] [stdout] 161 | let mut as5600 = AS5600::new(i2c, addr);
[INFO] [stdout]     |                              ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `addr` in this scope
[INFO] [stdout]    --> src/lib.rs:161:35
[INFO] [stdout]     |
[INFO] [stdout] 161 | let mut as5600 = AS5600::new(i2c, addr);
[INFO] [stdout]     |                                   ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `AS5600` in this scope
[INFO] [stdout]    --> src/lib.rs:161:18
[INFO] [stdout]     |
[INFO] [stdout] 161 | let mut as5600 = AS5600::new(i2c, addr);
[INFO] [stdout]     |                  ^^^^^^ use of undeclared type `AS5600`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 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 - AS5600<I2C>::read_12bits (line 207)
[INFO] [stdout]     src/lib.rs - AS5600<I2C>::read_angle (line 160)
[INFO] [stdout]     src/lib.rs - AS5600<I2C>::write_12bits (line 229)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.24s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "3ba1ab0b3d8b38dd2b8e895927ca0663ec5e7a6dc4bd0a90a0914732a8e169c8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3ba1ab0b3d8b38dd2b8e895927ca0663ec5e7a6dc4bd0a90a0914732a8e169c8", kill_on_drop: false }`
[INFO] [stdout] 3ba1ab0b3d8b38dd2b8e895927ca0663ec5e7a6dc4bd0a90a0914732a8e169c8
