[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 try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsaibatizoku%2Fezo-rtd-rs" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/saibatizoku/ezo-rtd-rs on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "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-11/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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/saibatizoku/ezo-common-rs.git` [INFO] [stderr] error: the lock file /workspace/builds/worker-11/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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "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-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fd9c79f6db66b3f7f997c3c5290412ca0fedd06288fe6ec2ede0e9dad055d1ba [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" "fd9c79f6db66b3f7f997c3c5290412ca0fedd06288fe6ec2ede0e9dad055d1ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fd9c79f6db66b3f7f997c3c5290412ca0fedd06288fe6ec2ede0e9dad055d1ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd9c79f6db66b3f7f997c3c5290412ca0fedd06288fe6ec2ede0e9dad055d1ba", kill_on_drop: false }` [INFO] [stdout] fd9c79f6db66b3f7f997c3c5290412ca0fedd06288fe6ec2ede0e9dad055d1ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 91ab939a01318a1f6916ad7eb5ad167ee041c19182af150e8e0f816bee70240c [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" "91ab939a01318a1f6916ad7eb5ad167ee041c19182af150e8e0f816bee70240c", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking backtrace v0.3.52 [INFO] [stderr] Compiling syn v1.0.43 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Checking i2cdev v0.4.4 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking failure v0.1.8 [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] [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 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: 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/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/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: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/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: 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 dev [unoptimized + debuginfo] target(s) in 35.04s [INFO] running `Command { std: "docker" "inspect" "91ab939a01318a1f6916ad7eb5ad167ee041c19182af150e8e0f816bee70240c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91ab939a01318a1f6916ad7eb5ad167ee041c19182af150e8e0f816bee70240c", kill_on_drop: false }` [INFO] [stdout] 91ab939a01318a1f6916ad7eb5ad167ee041c19182af150e8e0f816bee70240c