[INFO] cloning repository https://github.com/saibatizoku/ezo-rtd-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-rtd-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsaibatizoku%2Fezo-rtd-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsaibatizoku%2Fezo-rtd-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ecbd399ab584ad48baa503e847f7724a363540e1 [INFO] testing saibatizoku/ezo-rtd-rs against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsaibatizoku%2Fezo-rtd-rs" "/workspace/builds/worker-24/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-24/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/saibatizoku/ezo-rtd-rs on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/saibatizoku/ezo-rtd-rs [INFO] finished tweaking git repo https://github.com/saibatizoku/ezo-rtd-rs [INFO] tweaked toml for git repo https://github.com/saibatizoku/ezo-rtd-rs written to /workspace/builds/worker-24/source/Cargo.toml [INFO] crate git repo https://github.com/saibatizoku/ezo-rtd-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 07c707d91f411f30904974c45bfd5e17d7078d256553bab5b77bfbc74d9cb507 [INFO] running `Command { std: "docker" "start" "-a" "07c707d91f411f30904974c45bfd5e17d7078d256553bab5b77bfbc74d9cb507", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "07c707d91f411f30904974c45bfd5e17d7078d256553bab5b77bfbc74d9cb507", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07c707d91f411f30904974c45bfd5e17d7078d256553bab5b77bfbc74d9cb507", kill_on_drop: false }` [INFO] [stdout] 07c707d91f411f30904974c45bfd5e17d7078d256553bab5b77bfbc74d9cb507 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f0592a5a4ecac725e6e557c3778c2685cd8d240f71a5c8efa2eeec5e10f3b66e [INFO] running `Command { std: "docker" "start" "-a" "f0592a5a4ecac725e6e557c3778c2685cd8d240f71a5c8efa2eeec5e10f3b66e", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.43 [INFO] [stderr] Compiling serde v1.0.71 [INFO] [stderr] Compiling rustc-demangle v0.1.9 [INFO] [stderr] Compiling pulldown-cmark v0.1.2 [INFO] [stderr] Compiling itoa v0.4.2 [INFO] [stderr] Compiling remove_dir_all v0.5.1 [INFO] [stderr] Compiling same-file v1.0.2 [INFO] [stderr] Compiling num-traits v0.2.5 [INFO] [stderr] Compiling bytecount v0.3.2 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling nix v0.10.0 [INFO] [stderr] Compiling byteorder v1.2.4 [INFO] [stderr] Compiling failure_derive v0.1.2 [INFO] [stderr] Compiling proc-macro2 v0.4.9 [INFO] [stderr] Compiling backtrace-sys v0.1.23 [INFO] [stderr] Compiling walkdir v2.2.0 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling time v0.1.40 [INFO] [stderr] Compiling bytes v0.4.9 [INFO] [stderr] Compiling quote v0.6.5 [INFO] [stderr] Compiling syn v0.14.7 [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 chrono v0.4.5 [INFO] [stderr] Compiling synstructure v0.9.0 [INFO] [stderr] Compiling serde_json v1.0.24 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling serde_derive v1.0.71 [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?branch=master#50744402) [INFO] [stderr] Compiling ezo_rtd v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/response.rs:74:23 [INFO] [stdout] | [INFO] [stdout] 74 | 0 | 10...320_000 => Ok(DataLoggerStorageIntervalSeconds(num)), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `ezo_common::Command::run`: please use `Command::write` instead [INFO] [stdout] --> src/command.rs:225:32 [INFO] [stdout] | [INFO] [stdout] 225 | let scale = ScaleState.run(dev)?; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 13.45s [INFO] running `Command { std: "docker" "inspect" "f0592a5a4ecac725e6e557c3778c2685cd8d240f71a5c8efa2eeec5e10f3b66e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0592a5a4ecac725e6e557c3778c2685cd8d240f71a5c8efa2eeec5e10f3b66e", kill_on_drop: false }` [INFO] [stdout] f0592a5a4ecac725e6e557c3778c2685cd8d240f71a5c8efa2eeec5e10f3b66e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 42615e8c5fac69f25115249e7641f2174f7e1d2d6768510e3e6be2798b0feef0 [INFO] running `Command { std: "docker" "start" "-a" "42615e8c5fac69f25115249e7641f2174f7e1d2d6768510e3e6be2798b0feef0", kill_on_drop: false }` [INFO] [stderr] Compiling ezo_rtd v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/response.rs:74:23 [INFO] [stdout] | [INFO] [stdout] 74 | 0 | 10...320_000 => Ok(DataLoggerStorageIntervalSeconds(num)), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `ezo_common::Command::run`: please use `Command::write` instead [INFO] [stdout] --> src/command.rs:225:32 [INFO] [stdout] | [INFO] [stdout] 225 | let scale = ScaleState.run(dev)?; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `ezo_rtd::command::Command::run`: please use `Command::write` instead [INFO] [stdout] --> examples/state-of-sensor.rs:26:46 [INFO] [stdout] | [INFO] [stdout] 26 | 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: `...` range patterns are deprecated [INFO] [stdout] --> src/response.rs:74:23 [INFO] [stdout] | [INFO] [stdout] 74 | 0 | 10...320_000 => Ok(DataLoggerStorageIntervalSeconds(num)), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `ezo_rtd::command::Command::run`: please use `Command::write` instead [INFO] [stdout] --> examples/state-of-sensor.rs:29:39 [INFO] [stdout] | [INFO] [stdout] 29 | let status: DeviceStatus = Status.run(&mut dev)?; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `ezo_rtd::command::Command::run`: please use `Command::write` instead [INFO] [stdout] --> examples/state-of-sensor.rs:32:59 [INFO] [stdout] | [INFO] [stdout] 32 | let calibration: CalibrationStatus = CalibrationState.run(&mut dev)?; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `ezo_rtd::command::Command::run`: please use `Command::write` instead [INFO] [stdout] --> examples/state-of-sensor.rs:35:79 [INFO] [stdout] | [INFO] [stdout] 35 | let datalog_period: DataLoggerStorageIntervalSeconds = DataloggerInterval.run(&mut dev)?; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `ezo_rtd::command::Command::run`: please use `Command::write` instead [INFO] [stdout] --> examples/state-of-sensor.rs:38:42 [INFO] [stdout] | [INFO] [stdout] 38 | let led_status: LedStatus = LedState.run(&mut dev)?; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `ezo_rtd::command::Command::run`: please use `Command::write` instead [INFO] [stdout] --> examples/state-of-sensor.rs:41:58 [INFO] [stdout] | [INFO] [stdout] 41 | let ExportedInfo { lines, total_bytes } = ExportInfo.run(&mut dev)?; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `ezo_rtd::command::Command::run`: please use `Command::write` instead [INFO] [stdout] --> examples/state-of-sensor.rs:45:40 [INFO] [stdout] | [INFO] [stdout] 45 | let exports: Exported = Export.run(&mut dev)?; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `ezo_rtd::command::Command::run`: please use `Command::write` instead [INFO] [stdout] --> examples/state-of-sensor.rs:49:31 [INFO] [stdout] | [INFO] [stdout] 49 | let _kelvin = ScaleKelvin.run(&mut dev)?; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `ezo_rtd::command::Command::run`: please use `Command::write` instead [INFO] [stdout] --> examples/read-loop.rs:26:51 [INFO] [stdout] | [INFO] [stdout] 26 | let _set_kelvin: ResponseStatus = ScaleKelvin.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_rtd::command::Command::run`: please use `Command::write` instead [INFO] [stdout] --> examples/read-loop.rs:29:44 [INFO] [stdout] | [INFO] [stdout] 29 | let temperature = ReadingWithScale.run(&mut dev)?; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `ezo_rtd::command::Command::run`: please use `Command::write` instead [INFO] [stdout] --> examples/state-of-sensor.rs:52:40 [INFO] [stdout] | [INFO] [stdout] 52 | let temperature = ReadingWithScale.run(&mut dev)?; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `ezo_rtd::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: use of deprecated associated function `ezo_rtd::command::Command::run`: please use `Command::write` instead [INFO] [stdout] --> examples/state-of-sensor.rs:55:39 [INFO] [stdout] | [INFO] [stdout] 55 | let _fahrenheit = ScaleFahrenheit.run(&mut dev)?; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `ezo_rtd::command::Command::run`: please use `Command::write` instead [INFO] [stdout] --> examples/state-of-sensor.rs:58:40 [INFO] [stdout] | [INFO] [stdout] 58 | let temperature = ReadingWithScale.run(&mut dev)?; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `ezo_rtd::command::Command::run`: please use `Command::write` instead [INFO] [stdout] --> examples/state-of-sensor.rs:61:33 [INFO] [stdout] | [INFO] [stdout] 61 | let _celsius = ScaleCelsius.run(&mut dev)?; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `ezo_rtd::command::Command::run`: please use `Command::write` instead [INFO] [stdout] --> examples/state-of-sensor.rs:64:43 [INFO] [stdout] | [INFO] [stdout] 64 | let _reading = match ReadingWithScale.run(&mut dev) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `ezo_rtd::command::Command::run`: please use `Command::write` instead [INFO] [stdout] --> examples/state-of-sensor.rs:72:24 [INFO] [stdout] | [INFO] [stdout] 72 | let _sleep = Sleep.run(&mut dev)?; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `ezo_common::Command::run`: please use `Command::write` instead [INFO] [stdout] --> src/command.rs:225:32 [INFO] [stdout] | [INFO] [stdout] 225 | let scale = ScaleState.run(dev)?; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 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 0.91s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/ezo_rtd-cc09d11b42835fb1) [INFO] running `Command { std: "docker" "inspect" "42615e8c5fac69f25115249e7641f2174f7e1d2d6768510e3e6be2798b0feef0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42615e8c5fac69f25115249e7641f2174f7e1d2d6768510e3e6be2798b0feef0", kill_on_drop: false }` [INFO] [stdout] 42615e8c5fac69f25115249e7641f2174f7e1d2d6768510e3e6be2798b0feef0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 16aba2f326f1fa4b7ba70b4beed984808874d444e41169a701b336fdd9df892b [INFO] running `Command { std: "docker" "start" "-a" "16aba2f326f1fa4b7ba70b4beed984808874d444e41169a701b336fdd9df892b", kill_on_drop: false }` [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/response.rs:74:23 [INFO] [stderr] | [INFO] [stderr] 74 | 0 | 10...320_000 => Ok(DataLoggerStorageIntervalSeconds(num)), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `ezo_common::Command::run`: please use `Command::write` instead [INFO] [stderr] --> src/command.rs:225:32 [INFO] [stderr] | [INFO] [stderr] 225 | let scale = ScaleState.run(dev)?; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `ezo_rtd` (lib) generated 2 warnings [INFO] [stderr] warning: `ezo_rtd` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] warning: use of deprecated associated function `ezo_rtd::command::Command::run`: please use `Command::write` instead [INFO] [stderr] --> examples/state-of-sensor.rs:26:46 [INFO] [stderr] | [INFO] [stderr] 26 | 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_rtd::command::Command::run`: please use `Command::write` instead [INFO] [stderr] --> examples/state-of-sensor.rs:29:39 [INFO] [stderr] | [INFO] [stderr] 29 | let status: DeviceStatus = Status.run(&mut dev)?; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `ezo_rtd::command::Command::run`: please use `Command::write` instead [INFO] [stderr] --> examples/state-of-sensor.rs:32:59 [INFO] [stderr] | [INFO] [stderr] 32 | let calibration: CalibrationStatus = CalibrationState.run(&mut dev)?; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `ezo_rtd::command::Command::run`: please use `Command::write` instead [INFO] [stderr] --> examples/state-of-sensor.rs:35:79 [INFO] [stderr] | [INFO] [stderr] 35 | let datalog_period: DataLoggerStorageIntervalSeconds = DataloggerInterval.run(&mut dev)?; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `ezo_rtd::command::Command::run`: please use `Command::write` instead [INFO] [stderr] --> examples/state-of-sensor.rs:38:42 [INFO] [stderr] | [INFO] [stderr] 38 | let led_status: LedStatus = LedState.run(&mut dev)?; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `ezo_rtd::command::Command::run`: please use `Command::write` instead [INFO] [stderr] --> examples/state-of-sensor.rs:41:58 [INFO] [stderr] | [INFO] [stderr] 41 | let ExportedInfo { lines, total_bytes } = ExportInfo.run(&mut dev)?; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `ezo_rtd::command::Command::run`: please use `Command::write` instead [INFO] [stderr] --> examples/state-of-sensor.rs:45:40 [INFO] [stderr] | [INFO] [stderr] 45 | let exports: Exported = Export.run(&mut dev)?; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `ezo_rtd::command::Command::run`: please use `Command::write` instead [INFO] [stderr] --> examples/state-of-sensor.rs:49:31 [INFO] [stderr] | [INFO] [stderr] 49 | let _kelvin = ScaleKelvin.run(&mut dev)?; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `ezo_rtd::command::Command::run`: please use `Command::write` instead [INFO] [stderr] --> examples/state-of-sensor.rs:52:40 [INFO] [stderr] | [INFO] [stderr] 52 | let temperature = ReadingWithScale.run(&mut dev)?; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `ezo_rtd::command::Command::run`: please use `Command::write` instead [INFO] [stderr] --> examples/state-of-sensor.rs:55:39 [INFO] [stderr] | [INFO] [stderr] 55 | let _fahrenheit = ScaleFahrenheit.run(&mut dev)?; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `ezo_rtd::command::Command::run`: please use `Command::write` instead [INFO] [stderr] --> examples/state-of-sensor.rs:58:40 [INFO] [stderr] | [INFO] [stderr] 58 | let temperature = ReadingWithScale.run(&mut dev)?; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `ezo_rtd::command::Command::run`: please use `Command::write` instead [INFO] [stderr] --> examples/state-of-sensor.rs:61:33 [INFO] [stderr] | [INFO] [stderr] 61 | let _celsius = ScaleCelsius.run(&mut dev)?; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `ezo_rtd::command::Command::run`: please use `Command::write` instead [INFO] [stderr] --> examples/state-of-sensor.rs:64:43 [INFO] [stderr] | [INFO] [stderr] 64 | let _reading = match ReadingWithScale.run(&mut dev) { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `ezo_rtd::command::Command::run`: please use `Command::write` instead [INFO] [stderr] --> examples/state-of-sensor.rs:72:24 [INFO] [stderr] | [INFO] [stderr] 72 | let _sleep = Sleep.run(&mut dev)?; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `ezo_rtd::command::Command::run`: please use `Command::write` instead [INFO] [stderr] --> examples/read-loop.rs:26:51 [INFO] [stderr] | [INFO] [stderr] 26 | let _set_kelvin: ResponseStatus = ScaleKelvin.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_rtd::command::Command::run`: please use `Command::write` instead [INFO] [stderr] --> examples/read-loop.rs:29:44 [INFO] [stderr] | [INFO] [stderr] 29 | let temperature = ReadingWithScale.run(&mut dev)?; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `ezo_rtd::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: `ezo_rtd` (example "state-of-sensor") generated 14 warnings [INFO] [stderr] warning: `ezo_rtd` (example "read-loop") generated 3 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ezo_rtd-cc09d11b42835fb1) [INFO] [stdout] [INFO] [stdout] running 47 tests [INFO] [stdout] test command::tests::build_command_calibration_temperature ... ok [INFO] [stdout] test command::tests::build_command_data_logger_disable ... ok [INFO] [stdout] test command::tests::build_command_data_logger_period ... ok [INFO] [stdout] test command::tests::build_command_calibration_state ... ok [INFO] [stdout] test command::tests::build_command_memory_clear ... ok [INFO] [stdout] test command::tests::build_command_data_logger_interval ... ok [INFO] [stdout] test command::tests::build_command_memory_recall ... ok [INFO] [stdout] test command::tests::build_command_memory_recall_location ... ok [INFO] [stdout] test command::tests::build_command_reading ... ok [INFO] [stdout] test command::tests::build_command_reading_with_scale ... ok [INFO] [stdout] test command::tests::build_command_scale_celsius ... ok [INFO] [stdout] test command::tests::build_command_scale_fahrenheit ... ok [INFO] [stdout] test command::tests::build_command_scale_kelvin ... ok [INFO] [stdout] test command::tests::build_command_scale_status ... ok [INFO] [stdout] test command::tests::parse_case_insensitive_command_calibration_state ... ok [INFO] [stdout] test command::tests::parse_case_insensitive_command_calibration_temperature ... ok [INFO] [stdout] test command::tests::parse_case_insensitive_command_data_logger_disable ... ok [INFO] [stdout] test command::tests::parse_case_insensitive_command_data_logger_interval ... ok [INFO] [stdout] test command::tests::parse_case_insensitive_command_data_logger_period ... ok [INFO] [stdout] test command::tests::parse_case_insensitive_command_memory_clear ... ok [INFO] [stdout] test command::tests::parse_case_insensitive_command_memory_recall ... ok [INFO] [stdout] test command::tests::parse_case_insensitive_command_memory_recall_location ... ok [INFO] [stdout] test command::tests::parse_case_insensitive_command_reading ... ok [INFO] [stdout] test command::tests::parse_case_insensitive_command_scale_celsius ... ok [INFO] [stdout] test command::tests::parse_case_insensitive_command_scale_fahrenheit ... ok [INFO] [stdout] test command::tests::parse_case_insensitive_command_scale_kelvin ... ok [INFO] [stdout] test command::tests::parse_case_insensitive_command_scale_status ... ok [INFO] [stdout] test response::tests::parses_calibration_status_to_response ... ok [INFO] [stdout] test response::tests::parses_data_logger_storage_interval_to_response ... ok [INFO] [stdout] test response::tests::parses_memory_reading_to_response ... ok [INFO] [stdout] test command::tests::parse_invalid_command_data_logger_period_yields_error ... ok [INFO] [stdout] test command::tests::parse_invalid_command_calibration_temperature_yields_err ... ok [INFO] [stdout] test response::tests::parses_response_to_calibration_status ... ok [INFO] [stdout] test response::tests::parses_response_to_data_logger_storage_interval ... ok [INFO] [stdout] test response::tests::parses_response_to_memory_reading ... ok [INFO] [stdout] test response::tests::parses_response_to_sensor_reading ... ok [INFO] [stdout] test response::tests::parses_response_to_temperature_scale ... ok [INFO] [stdout] test response::tests::parses_response_to_temperature_with_scale ... ok [INFO] [stdout] test response::tests::parses_sensor_reading_to_response ... ok [INFO] [stdout] test response::tests::parses_temperature_scale_to_response ... ok [INFO] [stdout] test response::tests::parses_temperature_with_scale_to_response ... ok [INFO] [stdout] test response::tests::parsing_invalid_calibration_status_yields_error ... ok [INFO] [stdout] test response::tests::parsing_invalid_data_logger_storage_interval_yields_error ... ok [INFO] [stdout] test response::tests::parsing_invalid_temperature_scale_yields_error ... ok [INFO] [stdout] test response::tests::parsing_invalid_sensor_reading_yields_error ... ok [INFO] [stdout] test response::tests::parsing_invalid_temperature_yields_error ... ok [INFO] [stdout] test response::tests::parsing_invalid_memory_reading_yields_error ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 47 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests ezo_rtd [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> /opt/rustwide/workdir/src/response.rs:74:23 [INFO] [stderr] | [INFO] [stderr] 74 | 0 | 10...320_000 => Ok(DataLoggerStorageIntervalSeconds(num)), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [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" "16aba2f326f1fa4b7ba70b4beed984808874d444e41169a701b336fdd9df892b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16aba2f326f1fa4b7ba70b4beed984808874d444e41169a701b336fdd9df892b", kill_on_drop: false }` [INFO] [stdout] 16aba2f326f1fa4b7ba70b4beed984808874d444e41169a701b336fdd9df892b