[INFO] cloning repository https://github.com/AnyLeaf/ph-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AnyLeaf/ph-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnyLeaf%2Fph-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnyLeaf%2Fph-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a49f28ec5d23487f6452169c773d48909a5b18f6
[INFO] testing AnyLeaf/ph-rust against try#b8e88e5ddf5521a9f43ee3f62a702388c713e4bb for pr-155114
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnyLeaf%2Fph-rust" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/AnyLeaf/ph-rust
[INFO] finished tweaking git repo https://github.com/AnyLeaf/ph-rust
[INFO] tweaked toml for git repo https://github.com/AnyLeaf/ph-rust written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/AnyLeaf/ph-rust on toolchain b8e88e5ddf5521a9f43ee3f62a702388c713e4bb
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b8e88e5ddf5521a9f43ee3f62a702388c713e4bb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/AnyLeaf/ph-rust 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" "+b8e88e5ddf5521a9f43ee3f62a702388c713e4bb" "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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b8e88e5ddf5521a9f43ee3f62a702388c713e4bb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 53be8f52881c41bd0518a289f4ed5bae2de253e26d77902da0bda6a6b70cfedf
[INFO] running `Command { std: "docker" "start" "-a" "53be8f52881c41bd0518a289f4ed5bae2de253e26d77902da0bda6a6b70cfedf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "53be8f52881c41bd0518a289f4ed5bae2de253e26d77902da0bda6a6b70cfedf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "53be8f52881c41bd0518a289f4ed5bae2de253e26d77902da0bda6a6b70cfedf", kill_on_drop: false }`
[INFO] [stdout] 53be8f52881c41bd0518a289f4ed5bae2de253e26d77902da0bda6a6b70cfedf
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b8e88e5ddf5521a9f43ee3f62a702388c713e4bb" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3c804ee7b8a6a6324ff7f02d08539c1aecf2c6f1e6aecec7e54ff3a20f7c8652
[INFO] running `Command { std: "docker" "start" "-a" "3c804ee7b8a6a6324ff7f02d08539c1aecf2c6f1e6aecec7e54ff3a20f7c8652", kill_on_drop: false }`
[INFO] [stderr]    Compiling nb v0.1.2
[INFO] [stderr]    Compiling embedded-hal v0.2.4
[INFO] [stderr]    Compiling anyleaf v1.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: constant `DISCRETE_PH_JUMP_THRESH` is never used
[INFO] [stdout]   --> src/lib.rs:73:7
[INFO] [stdout]    |
[INFO] [stdout] 73 | const DISCRETE_PH_JUMP_THRESH: f32 = 0.2;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DISCRETE_ORP_JUMP_THRESH` is never used
[INFO] [stdout]   --> src/lib.rs:74:7
[INFO] [stdout]    |
[INFO] [stdout] 74 | const DISCRETE_ORP_JUMP_THRESH: f32 = 30.;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PH_STD` is never used
[INFO] [stdout]   --> src/lib.rs:75:7
[INFO] [stdout]    |
[INFO] [stdout] 75 | const PH_STD: f32 = 0.1;
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ORP_STD` is never used
[INFO] [stdout]   --> src/lib.rs:76:7
[INFO] [stdout]    |
[INFO] [stdout] 76 | const ORP_STD: f32 = 10.;
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.38s
[INFO] running `Command { std: "docker" "inspect" "3c804ee7b8a6a6324ff7f02d08539c1aecf2c6f1e6aecec7e54ff3a20f7c8652", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3c804ee7b8a6a6324ff7f02d08539c1aecf2c6f1e6aecec7e54ff3a20f7c8652", kill_on_drop: false }`
[INFO] [stdout] 3c804ee7b8a6a6324ff7f02d08539c1aecf2c6f1e6aecec7e54ff3a20f7c8652
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b8e88e5ddf5521a9f43ee3f62a702388c713e4bb" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 199c771b3da488f4547cb6a46e56cc89d8027a4dbd573edd66d93f9069681075
[INFO] running `Command { std: "docker" "start" "-a" "199c771b3da488f4547cb6a46e56cc89d8027a4dbd573edd66d93f9069681075", kill_on_drop: false }`
[INFO] [stdout] warning: constant `DISCRETE_PH_JUMP_THRESH` is never used
[INFO] [stdout]   --> src/lib.rs:73:7
[INFO] [stdout]    |
[INFO] [stdout] 73 | const DISCRETE_PH_JUMP_THRESH: f32 = 0.2;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DISCRETE_ORP_JUMP_THRESH` is never used
[INFO] [stdout]   --> src/lib.rs:74:7
[INFO] [stdout]    |
[INFO] [stdout] 74 | const DISCRETE_ORP_JUMP_THRESH: f32 = 30.;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PH_STD` is never used
[INFO] [stdout]   --> src/lib.rs:75:7
[INFO] [stdout]    |
[INFO] [stdout] 75 | const PH_STD: f32 = 0.1;
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ORP_STD` is never used
[INFO] [stdout]   --> src/lib.rs:76:7
[INFO] [stdout]    |
[INFO] [stdout] 76 | const ORP_STD: f32 = 10.;
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling anyleaf v1.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: constant `DISCRETE_PH_JUMP_THRESH` is never used
[INFO] [stdout]   --> src/lib.rs:73:7
[INFO] [stdout]    |
[INFO] [stdout] 73 | const DISCRETE_PH_JUMP_THRESH: f32 = 0.2;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DISCRETE_ORP_JUMP_THRESH` is never used
[INFO] [stdout]   --> src/lib.rs:74:7
[INFO] [stdout]    |
[INFO] [stdout] 74 | const DISCRETE_ORP_JUMP_THRESH: f32 = 30.;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PH_STD` is never used
[INFO] [stdout]   --> src/lib.rs:75:7
[INFO] [stdout]    |
[INFO] [stdout] 75 | const PH_STD: f32 = 0.1;
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ORP_STD` is never used
[INFO] [stdout]   --> src/lib.rs:76:7
[INFO] [stdout]    |
[INFO] [stdout] 76 | const ORP_STD: f32 = 10.;
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.47s
[INFO] running `Command { std: "docker" "inspect" "199c771b3da488f4547cb6a46e56cc89d8027a4dbd573edd66d93f9069681075", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "199c771b3da488f4547cb6a46e56cc89d8027a4dbd573edd66d93f9069681075", kill_on_drop: false }`
[INFO] [stdout] 199c771b3da488f4547cb6a46e56cc89d8027a4dbd573edd66d93f9069681075
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b8e88e5ddf5521a9f43ee3f62a702388c713e4bb" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 8e125ae172f1f54cce405c9b186b5964e368de0bbf103c3a36f8449f68ee5741
[INFO] running `Command { std: "docker" "start" "-a" "8e125ae172f1f54cce405c9b186b5964e368de0bbf103c3a36f8449f68ee5741", kill_on_drop: false }`
[INFO] [stderr] warning: constant `DISCRETE_PH_JUMP_THRESH` is never used
[INFO] [stdout] 
[INFO] [stderr]   --> src/lib.rs:73:7
[INFO] [stdout] running 0 tests
[INFO] [stderr]    |
[INFO] [stdout] 
[INFO] [stderr] 73 | const DISCRETE_PH_JUMP_THRESH: f32 = 0.2;
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stderr]    |       ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: constant `DISCRETE_ORP_JUMP_THRESH` is never used
[INFO] [stderr]   --> src/lib.rs:74:7
[INFO] [stderr]    |
[INFO] [stderr] 74 | const DISCRETE_ORP_JUMP_THRESH: f32 = 30.;
[INFO] [stderr]    |       ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `PH_STD` is never used
[INFO] [stderr]   --> src/lib.rs:75:7
[INFO] [stderr]    |
[INFO] [stderr] 75 | const PH_STD: f32 = 0.1;
[INFO] [stderr]    |       ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `ORP_STD` is never used
[INFO] [stderr]   --> src/lib.rs:76:7
[INFO] [stderr]    |
[INFO] [stderr] 76 | const ORP_STD: f32 = 10.;
[INFO] [stderr]    |       ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `anyleaf` (lib) generated 4 warnings
[INFO] [stderr] warning: `anyleaf` (lib test) generated 4 warnings (4 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/anyleaf-6112568662fbc913)
[INFO] [stderr]    Doc-tests anyleaf
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test src/lib.rs - (line 22) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 22) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `linux_embedded_hal`
[INFO] [stdout]   --> src/lib.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | use linux_embedded_hal::{Delay, I2cdev};
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_embedded_hal`
[INFO] [stdout]    |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 25 - use linux_embedded_hal::{Delay, I2cdev};
[INFO] [stdout] 25 + use embedded_hal::{Delay, I2cdev};
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied
[INFO] [stdout]    --> src/lib.rs:30:24
[INFO] [stdout]     |
[INFO] [stdout]  30 |    let mut ph_sensor = PhSensor::new(i2c);
[INFO] [stdout]     |                        ^^^^^^^^^^^^^ --- unexpected argument
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/lib.rs:167:12
[INFO] [stdout]     |
[INFO] [stdout] 167 |     pub fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]     |
[INFO] [stdout]  30 -    let mut ph_sensor = PhSensor::new(i2c);
[INFO] [stdout]  30 +    let mut ph_sensor = PhSensor::new();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 2 arguments but 1 argument was supplied
[INFO] [stdout]    --> src/lib.rs:54:27
[INFO] [stdout]     |
[INFO] [stdout]  54 |        let pH = ph_sensor.read(TempSource::OnBoard).unwrap();
[INFO] [stdout]     |                           ^^^^--------------------- argument #2 of type `&mut _` is missing
[INFO] [stdout]     |
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/lib.rs:206:12
[INFO] [stdout]     |
[INFO] [stdout] 206 |     pub fn read<I2C, E>(&mut self, t: TempSource, i2c: &mut I2C) -> f32
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]     |
[INFO] [stdout]  54 |        let pH = ph_sensor.read(TempSource::OnBoard, /* i2c */).unwrap();
[INFO] [stdout]     |                                                   +++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `unwrap` found for type `f32` in the current scope
[INFO] [stdout]   --> src/lib.rs:54:53
[INFO] [stdout]    |
[INFO] [stdout] 54 |        let pH = ph_sensor.read(TempSource::OnBoard).unwrap();
[INFO] [stdout]    |                                                     ^^^^^^ method not found in `f32`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0432, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 22)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.21s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "8e125ae172f1f54cce405c9b186b5964e368de0bbf103c3a36f8449f68ee5741", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8e125ae172f1f54cce405c9b186b5964e368de0bbf103c3a36f8449f68ee5741", kill_on_drop: false }`
[INFO] [stdout] 8e125ae172f1f54cce405c9b186b5964e368de0bbf103c3a36f8449f68ee5741
