[INFO] cloning repository https://github.com/saibatizoku/ezo-ph-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/saibatizoku/ezo-ph-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsaibatizoku%2Fezo-ph-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsaibatizoku%2Fezo-ph-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ad8cb55566006e1f02c8d6e7f1facf20a1f7fd04 [INFO] testing saibatizoku/ezo-ph-rs against beta-2021-09-08 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsaibatizoku%2Fezo-ph-rs" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/saibatizoku/ezo-ph-rs on toolchain beta-2021-09-08 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/saibatizoku/ezo-ph-rs [INFO] finished tweaking git repo https://github.com/saibatizoku/ezo-ph-rs [INFO] tweaked toml for git repo https://github.com/saibatizoku/ezo-ph-rs written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/saibatizoku/ezo-ph-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] de51c7bd48751f0ed6e8b0ab5bbe018ddb69b1e6c0606f0cb7a4b75205672a1c [INFO] running `Command { std: "docker" "start" "-a" "de51c7bd48751f0ed6e8b0ab5bbe018ddb69b1e6c0606f0cb7a4b75205672a1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "de51c7bd48751f0ed6e8b0ab5bbe018ddb69b1e6c0606f0cb7a4b75205672a1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de51c7bd48751f0ed6e8b0ab5bbe018ddb69b1e6c0606f0cb7a4b75205672a1c", kill_on_drop: false }` [INFO] [stdout] de51c7bd48751f0ed6e8b0ab5bbe018ddb69b1e6c0606f0cb7a4b75205672a1c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7823f1d01bb9f06bd765b14f5237bf36b915655a46669c466b78097c3806683e [INFO] running `Command { std: "docker" "start" "-a" "7823f1d01bb9f06bd765b14f5237bf36b915655a46669c466b78097c3806683e", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.71 [INFO] [stderr] Compiling pulldown-cmark v0.1.2 [INFO] [stderr] Compiling same-file v1.0.2 [INFO] [stderr] Compiling bytecount v0.3.2 [INFO] [stderr] Compiling byteorder v1.2.4 [INFO] [stderr] Compiling failure_derive v0.1.2 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling quote v0.6.5 [INFO] [stderr] Compiling backtrace-sys v0.1.23 [INFO] [stderr] Compiling chrono v0.4.5 [INFO] [stderr] Compiling backtrace v0.3.9 [INFO] [stderr] Compiling walkdir v2.2.0 [INFO] [stderr] Compiling syn v0.14.7 [INFO] [stderr] Compiling bytes v0.4.9 [INFO] [stderr] Compiling error-chain v0.11.0 [INFO] [stderr] Compiling nix v0.10.0 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling synstructure v0.9.0 [INFO] [stderr] Compiling serde_derive v1.0.71 [INFO] [stderr] Compiling failure v0.1.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling serde_json v1.0.24 [INFO] [stderr] Compiling cargo_metadata v0.5.8 [INFO] [stderr] Compiling skeptic v0.13.3 [INFO] [stderr] Compiling i2cdev v0.4.0 [INFO] [stderr] Compiling ezo_common v0.1.4 (https://github.com/saibatizoku/ezo-common-rs.git?branch=master#50744402) [INFO] [stderr] Compiling ezo_ph v0.1.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 23.44s [INFO] running `Command { std: "docker" "inspect" "7823f1d01bb9f06bd765b14f5237bf36b915655a46669c466b78097c3806683e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7823f1d01bb9f06bd765b14f5237bf36b915655a46669c466b78097c3806683e", kill_on_drop: false }` [INFO] [stdout] 7823f1d01bb9f06bd765b14f5237bf36b915655a46669c466b78097c3806683e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] edcca6b0dcb5ac3f9b80ef4d6dc71749b19a020a8c693c14c88e56684b0553ab [INFO] running `Command { std: "docker" "start" "-a" "edcca6b0dcb5ac3f9b80ef4d6dc71749b19a020a8c693c14c88e56684b0553ab", kill_on_drop: false }` [INFO] [stderr] Compiling ezo_ph v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `ezo_ph::command::Command::run`: please use `Command::write` instead [INFO] [stdout] --> examples/read-loop.rs:29:32 [INFO] [stdout] | [INFO] [stdout] 29 | let ph_value = Reading.run(&mut dev)?; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `ezo_ph::command::Command::run`: please use `Command::write` instead [INFO] [stdout] --> examples/state-of-sensor.rs:24:46 [INFO] [stdout] | [INFO] [stdout] 24 | let info: DeviceInfo = DeviceInformation.run(&mut dev)?; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `ezo_ph::command::Command::run`: please use `Command::write` instead [INFO] [stdout] --> examples/state-of-sensor.rs:27:39 [INFO] [stdout] | [INFO] [stdout] 27 | let status: DeviceStatus = Status.run(&mut dev)?; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `ezo_ph::command::Command::run`: please use `Command::write` instead [INFO] [stdout] --> examples/state-of-sensor.rs:30:59 [INFO] [stdout] | [INFO] [stdout] 30 | let calibration: CalibrationStatus = CalibrationState.run(&mut dev)?; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `ezo_ph::command::Command::run`: please use `Command::write` instead [INFO] [stdout] --> examples/state-of-sensor.rs:33:42 [INFO] [stdout] | [INFO] [stdout] 33 | let led_status: LedStatus = LedState.run(&mut dev)?; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `ezo_ph::command::Command::run`: please use `Command::write` instead [INFO] [stdout] --> examples/state-of-sensor.rs:36:43 [INFO] [stdout] | [INFO] [stdout] 36 | let ph_value: SensorReading = Reading.run(&mut dev)?; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `ezo_ph::command::Command::run`: please use `Command::write` instead [INFO] [stdout] --> examples/state-of-sensor.rs:39:41 [INFO] [stdout] | [INFO] [stdout] 39 | let probe_slope: ProbeSlope = Slope.run(&mut dev)?; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `ezo_ph::command::Command::run`: please use `Command::write` instead [INFO] [stdout] --> examples/state-of-sensor.rs:42:24 [INFO] [stdout] | [INFO] [stdout] 42 | let _sleep = Sleep.run(&mut dev)?; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `ezo_ph::command::Command::run`: please use `Command::write` instead [INFO] [stdout] --> examples/read-loop.rs:33:28 [INFO] [stdout] | [INFO] [stdout] 33 | let _sleep = Sleep.run(&mut dev)?; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.36s [INFO] running `Command { std: "docker" "inspect" "edcca6b0dcb5ac3f9b80ef4d6dc71749b19a020a8c693c14c88e56684b0553ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edcca6b0dcb5ac3f9b80ef4d6dc71749b19a020a8c693c14c88e56684b0553ab", kill_on_drop: false }` [INFO] [stdout] edcca6b0dcb5ac3f9b80ef4d6dc71749b19a020a8c693c14c88e56684b0553ab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 10559768b2cab956d3293ea0a1ec62c5b5878964e30ccd984e4d879df7964161 [INFO] running `Command { std: "docker" "start" "-a" "10559768b2cab956d3293ea0a1ec62c5b5878964e30ccd984e4d879df7964161", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated associated function `ezo_ph::command::Command::run`: please use `Command::write` instead [INFO] [stderr] --> examples/read-loop.rs:29:32 [INFO] [stderr] | [INFO] [stderr] 29 | let ph_value = Reading.run(&mut dev)?; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `ezo_ph::command::Command::run`: please use `Command::write` instead [INFO] [stderr] --> examples/read-loop.rs:33:28 [INFO] [stderr] | [INFO] [stderr] 33 | let _sleep = Sleep.run(&mut dev)?; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `ezo_ph::command::Command::run`: please use `Command::write` instead [INFO] [stderr] --> examples/state-of-sensor.rs:24:46 [INFO] [stderr] | [INFO] [stderr] 24 | let info: DeviceInfo = DeviceInformation.run(&mut dev)?; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `ezo_ph::command::Command::run`: please use `Command::write` instead [INFO] [stderr] --> examples/state-of-sensor.rs:27:39 [INFO] [stderr] | [INFO] [stderr] 27 | let status: DeviceStatus = Status.run(&mut dev)?; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `ezo_ph::command::Command::run`: please use `Command::write` instead [INFO] [stderr] --> examples/state-of-sensor.rs:30:59 [INFO] [stderr] | [INFO] [stderr] 30 | let calibration: CalibrationStatus = CalibrationState.run(&mut dev)?; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `ezo_ph::command::Command::run`: please use `Command::write` instead [INFO] [stderr] --> examples/state-of-sensor.rs:33:42 [INFO] [stderr] | [INFO] [stderr] 33 | let led_status: LedStatus = LedState.run(&mut dev)?; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `ezo_ph::command::Command::run`: please use `Command::write` instead [INFO] [stderr] --> examples/state-of-sensor.rs:36:43 [INFO] [stderr] | [INFO] [stderr] 36 | let ph_value: SensorReading = Reading.run(&mut dev)?; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `ezo_ph::command::Command::run`: please use `Command::write` instead [INFO] [stderr] --> examples/state-of-sensor.rs:39:41 [INFO] [stderr] | [INFO] [stderr] 39 | let probe_slope: ProbeSlope = Slope.run(&mut dev)?; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `ezo_ph::command::Command::run`: please use `Command::write` instead [INFO] [stderr] --> examples/state-of-sensor.rs:42:24 [INFO] [stderr] | [INFO] [stderr] 42 | let _sleep = Sleep.run(&mut dev)?; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: `ezo_ph` (example "read-loop") generated 2 warnings [INFO] [stderr] warning: `ezo_ph` (example "state-of-sensor") generated 7 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/ezo_ph-c3d14c15ac954924) [INFO] [stdout] [INFO] [stdout] running 27 tests [INFO] [stdout] test command::tests::build_command_calibration_low ... ok [INFO] [stdout] test command::tests::build_command_calibration_mid ... ok [INFO] [stdout] test command::tests::build_command_calibration_high ... ok [INFO] [stdout] test command::tests::build_command_calibration_state ... ok [INFO] [stdout] test command::tests::build_command_reading ... ok [INFO] [stdout] test command::tests::build_command_slope ... ok [INFO] [stdout] test command::tests::build_command_temperature_compensation_value ... ok [INFO] [stdout] test command::tests::parse_case_insensitive_command_calibration_high ... ok [INFO] [stdout] test command::tests::parse_case_insensitive_command_calibration_mid ... ok [INFO] [stdout] test command::tests::parse_case_insensitive_command_calibration_low ... ok [INFO] [stdout] test command::tests::parse_case_insensitive_command_calibration_state ... ok [INFO] [stdout] test command::tests::parse_case_insensitive_command_reading ... ok [INFO] [stdout] test command::tests::parse_case_insensitive_command_slope ... ok [INFO] [stdout] test command::tests::parse_case_insensitive_command_temperature_compensation ... ok [INFO] [stdout] test command::tests::parse_case_insensitive_command_temperature_compensation_value ... ok [INFO] [stdout] test response::tests::parses_calibration_status ... ok [INFO] [stdout] test response::tests::parses_probe_slope ... ok [INFO] [stdout] test response::tests::parses_sensor_reading ... ok [INFO] [stdout] test response::tests::parses_temperature_compensation_value ... ok [INFO] [stdout] test command::tests::parse_invalid_command_calibration_mid_yields_err ... ok [INFO] [stdout] test command::tests::parse_invalid_command_calibration_high_yields_err ... ok [INFO] [stdout] test command::tests::parse_invalid_command_temperature_compensation_yields_err ... ok [INFO] [stdout] test command::tests::parse_invalid_command_calibration_low_yields_err ... ok [INFO] [stdout] test response::tests::parsing_invalid_sensor_reading_yields_error ... ok [INFO] [stdout] test response::tests::parsing_invalid_probe_slope_yields_error ... ok [INFO] [stdout] test response::tests::parsing_invalid_calibration_status_yields_error ... ok [INFO] [stdout] test response::tests::parsing_invalid_temperature_compensation_value_yields_error ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 27 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests ezo_ph [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "10559768b2cab956d3293ea0a1ec62c5b5878964e30ccd984e4d879df7964161", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10559768b2cab956d3293ea0a1ec62c5b5878964e30ccd984e4d879df7964161", kill_on_drop: false }` [INFO] [stdout] 10559768b2cab956d3293ea0a1ec62c5b5878964e30ccd984e4d879df7964161