[INFO] updating cached 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" "-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] ecbd399ab584ad48baa503e847f7724a363540e1 [INFO] testing saibatizoku/ezo-rtd-rs against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsaibatizoku%2Fezo-rtd-rs" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/saibatizoku/ezo-rtd-rs on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", 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-6/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" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /workspace/builds/worker-6/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/saibatizoku/ezo-common-rs.git` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "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-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 13f61cf85321373acf9629b224fea2f2d0232136ebd90c6b03b87f47fa82abcf [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" "13f61cf85321373acf9629b224fea2f2d0232136ebd90c6b03b87f47fa82abcf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "13f61cf85321373acf9629b224fea2f2d0232136ebd90c6b03b87f47fa82abcf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13f61cf85321373acf9629b224fea2f2d0232136ebd90c6b03b87f47fa82abcf", kill_on_drop: false }` [INFO] [stdout] 13f61cf85321373acf9629b224fea2f2d0232136ebd90c6b03b87f47fa82abcf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3288d28463d4690a7cc586abc9b537ace2ee0e17f5ba116e3df4e0bcf0d0ad66 [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" "3288d28463d4690a7cc586abc9b537ace2ee0e17f5ba116e3df4e0bcf0d0ad66", kill_on_drop: false }` [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling i2cdev v0.4.4 [INFO] [stderr] Compiling ezo_common v0.1.4 (https://github.com/saibatizoku/ezo-common-rs.git#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] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 11.28s [INFO] running `Command { std: "docker" "inspect" "3288d28463d4690a7cc586abc9b537ace2ee0e17f5ba116e3df4e0bcf0d0ad66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3288d28463d4690a7cc586abc9b537ace2ee0e17f5ba116e3df4e0bcf0d0ad66", kill_on_drop: false }` [INFO] [stdout] 3288d28463d4690a7cc586abc9b537ace2ee0e17f5ba116e3df4e0bcf0d0ad66 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+1.45.2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 187d4a503c195f2d3415fd18798ece7fea333e1c4d21f8d2f6a7089bb21878ae [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" "187d4a503c195f2d3415fd18798ece7fea333e1c4d21f8d2f6a7089bb21878ae", 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] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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: `...` 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] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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: use of deprecated item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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: use of deprecated item '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 item '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 item '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: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.07s [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "187d4a503c195f2d3415fd18798ece7fea333e1c4d21f8d2f6a7089bb21878ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "187d4a503c195f2d3415fd18798ece7fea333e1c4d21f8d2f6a7089bb21878ae", kill_on_drop: false }` [INFO] [stdout] 187d4a503c195f2d3415fd18798ece7fea333e1c4d21f8d2f6a7089bb21878ae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+1.45.2" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 15ce2bef7bb4f286f99e8ae0b774904ad9ea7a0e649735c5d9c10283bb4a4040 [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" "15ce2bef7bb4f286f99e8ae0b774904ad9ea7a0e649735c5d9c10283bb4a4040", 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] [INFO] [stderr] warning: use of deprecated item '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: 2 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item '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 item '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 item '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 item '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: `...` 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] [INFO] [stderr] warning: use of deprecated item '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: 2 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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: 3 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item '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 item '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 item '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: 14 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.22s [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/ezo_rtd-555db0bbc42951b0 [INFO] [stdout] running 47 tests [INFO] [stdout] test command::tests::build_command_calibration_state ... ok [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::parse_case_insensitive_command_data_logger_period ... 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_disable ... ok [INFO] [stdout] test command::tests::parse_case_insensitive_command_calibration_temperature ... ok [INFO] [stdout] test command::tests::build_command_scale_celsius ... ok [INFO] [stdout] test command::tests::build_command_reading_with_scale ... 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 command::tests::parse_invalid_command_calibration_temperature_yields_err ... ok [INFO] [stdout] test command::tests::parse_invalid_command_data_logger_period_yields_error ... 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 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_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_memory_reading_yields_error ... ok [INFO] [stdout] test response::tests::parsing_invalid_sensor_reading_yields_error ... ok [INFO] [stdout] test response::tests::parsing_invalid_temperature_scale_yields_error ... ok [INFO] [stdout] test response::tests::parsing_invalid_temperature_yields_error ... ok [INFO] [stdout] test command::tests::build_command_memory_recall ... ok [INFO] [stdout] test command::tests::build_command_scale_fahrenheit ... ok [INFO] [stdout] test command::tests::build_command_scale_status ... ok [INFO] [stdout] test command::tests::build_command_memory_recall_location ... ok [INFO] [stdout] test command::tests::build_command_data_logger_period ... ok [INFO] [stdout] test command::tests::build_command_reading ... ok [INFO] [stdout] test response::tests::parses_response_to_sensor_reading ... ok [INFO] [stdout] test command::tests::build_command_data_logger_interval ... ok [INFO] [stdout] test command::tests::build_command_memory_clear ... ok [INFO] [stdout] test command::tests::parse_case_insensitive_command_calibration_state ... ok [INFO] [stdout] test command::tests::build_command_scale_kelvin ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 47 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Doc-tests ezo_rtd [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" "15ce2bef7bb4f286f99e8ae0b774904ad9ea7a0e649735c5d9c10283bb4a4040", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15ce2bef7bb4f286f99e8ae0b774904ad9ea7a0e649735c5d9c10283bb4a4040", kill_on_drop: false }` [INFO] [stdout] 15ce2bef7bb4f286f99e8ae0b774904ad9ea7a0e649735c5d9c10283bb4a4040