[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] checking saibatizoku/ezo-rtd-rs against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsaibatizoku%2Fezo-rtd-rs" "/workspace/builds/worker-47/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-47/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/saibatizoku/ezo-rtd-rs on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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-47/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-47/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-47/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7a27de2adea977cf8b95ddbd763464d4a0acb39d68afe43ef3053845fee91484 [INFO] running `Command { std: "docker" "start" "-a" "7a27de2adea977cf8b95ddbd763464d4a0acb39d68afe43ef3053845fee91484", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7a27de2adea977cf8b95ddbd763464d4a0acb39d68afe43ef3053845fee91484", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a27de2adea977cf8b95ddbd763464d4a0acb39d68afe43ef3053845fee91484", kill_on_drop: false }` [INFO] [stdout] 7a27de2adea977cf8b95ddbd763464d4a0acb39d68afe43ef3053845fee91484 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-47/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-47/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2055ed255bedbec55e610a61d21ab6310a110c8ae41e70c99a419b0309f3cc2a [INFO] running `Command { std: "docker" "start" "-a" "2055ed255bedbec55e610a61d21ab6310a110c8ae41e70c99a419b0309f3cc2a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling cc v1.0.18 [INFO] [stderr] Compiling unicode-xid v0.1.0 [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 cfg-if v0.1.4 [INFO] [stderr] Compiling itoa v0.4.2 [INFO] [stderr] Compiling pulldown-cmark v0.1.2 [INFO] [stderr] Compiling dtoa v0.4.3 [INFO] [stderr] Compiling same-file v1.0.2 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling remove_dir_all v0.5.1 [INFO] [stderr] Compiling bytecount v0.3.2 [INFO] [stderr] Compiling num-traits v0.2.5 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Checking byteorder v1.2.4 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling nix v0.10.0 [INFO] [stderr] Compiling failure_derive v0.1.2 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking bitflags v1.0.3 [INFO] [stderr] Compiling proc-macro2 v0.4.9 [INFO] [stderr] Compiling walkdir v2.2.0 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Compiling quote v0.6.5 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking time v0.1.40 [INFO] [stderr] Compiling backtrace-sys v0.1.23 [INFO] [stderr] Compiling syn v0.14.7 [INFO] [stderr] Checking bytes v0.4.9 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling serde_json v1.0.24 [INFO] [stderr] Checking chrono v0.4.5 [INFO] [stderr] Checking 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] Checking 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] Checking ezo_common v0.1.4 (https://github.com/saibatizoku/ezo-common-rs.git?branch=master#50744402) [INFO] [stderr] Checking 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: `...` 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: 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: 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: 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/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/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/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: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/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: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/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/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: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 27.83s [INFO] running `Command { std: "docker" "inspect" "2055ed255bedbec55e610a61d21ab6310a110c8ae41e70c99a419b0309f3cc2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2055ed255bedbec55e610a61d21ab6310a110c8ae41e70c99a419b0309f3cc2a", kill_on_drop: false }` [INFO] [stdout] 2055ed255bedbec55e610a61d21ab6310a110c8ae41e70c99a419b0309f3cc2a