[INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ad8cb55566006e1f02c8d6e7f1facf20a1f7fd04 [INFO] testing saibatizoku/ezo-ph-rs against beta-2020-07-24 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsaibatizoku%2Fezo-ph-rs" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/saibatizoku/ezo-ph-rs on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "read-manifest" "--manifest-path" "Cargo.toml", 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-3/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-2020-07-24" "fetch" "--locked" "--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-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a160084bef9e60f85f033991f71b507fbc942e505a93b77b1a81db44142d58a0 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a160084bef9e60f85f033991f71b507fbc942e505a93b77b1a81db44142d58a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a160084bef9e60f85f033991f71b507fbc942e505a93b77b1a81db44142d58a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a160084bef9e60f85f033991f71b507fbc942e505a93b77b1a81db44142d58a0", kill_on_drop: false }` [INFO] [stdout] a160084bef9e60f85f033991f71b507fbc942e505a93b77b1a81db44142d58a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 1fdf9e379cbe8de41fe0af8cc6357a64c0d3bbe63232309d5adf0f9f40a331b8 [INFO] running `Command { std: "docker" "start" "-a" "1fdf9e379cbe8de41fe0af8cc6357a64c0d3bbe63232309d5adf0f9f40a331b8", kill_on_drop: false }` [INFO] [stderr] Compiling same-file v1.0.2 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Compiling backtrace-sys v0.1.23 [INFO] [stderr] Compiling bytes v0.4.9 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling serde_json v1.0.24 [INFO] [stderr] Compiling syn v0.14.7 [INFO] [stderr] Compiling walkdir v2.2.0 [INFO] [stderr] Compiling nix v0.10.0 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling backtrace v0.3.9 [INFO] [stderr] Compiling error-chain v0.11.0 [INFO] [stderr] Compiling synstructure v0.9.0 [INFO] [stderr] Compiling serde_derive v1.0.71 [INFO] [stderr] Compiling failure_derive v0.1.2 [INFO] [stderr] Compiling failure v0.1.2 [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#50744402) [INFO] [stderr] Compiling ezo_ph v0.1.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 32.05s [INFO] running `Command { std: "docker" "inspect" "1fdf9e379cbe8de41fe0af8cc6357a64c0d3bbe63232309d5adf0f9f40a331b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1fdf9e379cbe8de41fe0af8cc6357a64c0d3bbe63232309d5adf0f9f40a331b8", kill_on_drop: false }` [INFO] [stdout] 1fdf9e379cbe8de41fe0af8cc6357a64c0d3bbe63232309d5adf0f9f40a331b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 49f26af18a0bb06a9c7964e0b9e169d25f99aa9c273258be5dbb4e5f0ec2dabc [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "49f26af18a0bb06a9c7964e0b9e169d25f99aa9c273258be5dbb4e5f0ec2dabc", kill_on_drop: false }` [INFO] [stderr] Compiling ezo_ph v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.51s [INFO] running `Command { std: "docker" "inspect" "49f26af18a0bb06a9c7964e0b9e169d25f99aa9c273258be5dbb4e5f0ec2dabc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49f26af18a0bb06a9c7964e0b9e169d25f99aa9c273258be5dbb4e5f0ec2dabc", kill_on_drop: false }` [INFO] [stdout] 49f26af18a0bb06a9c7964e0b9e169d25f99aa9c273258be5dbb4e5f0ec2dabc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e843b14ea027e7ac645cfddd587e97fb01d70be9ced50411ba01b30d2e661601 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e843b14ea027e7ac645cfddd587e97fb01d70be9ced50411ba01b30d2e661601", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated item '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 item '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 item '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 item '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 item '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 item '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 item '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: 7 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item '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 item '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: 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/ezo_ph-c1e569a584e3bd0f [INFO] [stdout] [INFO] [stdout] running 27 tests [INFO] [stdout] test command::tests::build_command_calibration_high ... ok [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_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_low ... ok [INFO] [stdout] test command::tests::parse_case_insensitive_command_calibration_state ... ok [INFO] [stdout] test command::tests::parse_case_insensitive_command_calibration_mid ... 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 command::tests::parse_invalid_command_calibration_high_yields_err ... 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 command::tests::parse_invalid_command_calibration_mid_yields_err ... ok [INFO] [stdout] test command::tests::parse_invalid_command_calibration_low_yields_err ... ok [INFO] [stdout] test command::tests::parse_invalid_command_temperature_compensation_yields_err ... ok [INFO] [stdout] test response::tests::parses_temperature_compensation_value ... ok [INFO] [stdout] test response::tests::parsing_invalid_sensor_reading_yields_error ... ok [INFO] [stdout] test response::tests::parsing_invalid_calibration_status_yields_error ... ok [INFO] [stdout] test response::tests::parsing_invalid_probe_slope_yields_error ... ok [INFO] [stdout] test response::tests::parsing_invalid_temperature_compensation_value_yields_error ... ok [INFO] [stderr] Doc-tests ezo_ph [INFO] [stdout] test command::tests::parse_case_insensitive_command_reading ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 27 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [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 [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e843b14ea027e7ac645cfddd587e97fb01d70be9ced50411ba01b30d2e661601", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e843b14ea027e7ac645cfddd587e97fb01d70be9ced50411ba01b30d2e661601", kill_on_drop: false }` [INFO] [stdout] e843b14ea027e7ac645cfddd587e97fb01d70be9ced50411ba01b30d2e661601