[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#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsaibatizoku%2Fezo-rtd-rs" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/saibatizoku/ezo-rtd-rs on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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-12/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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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-12/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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--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-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5237547ac3bdeaaf30be81b4fce875e2cff4d5c3379021c722b19065ac2beca0 [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" "5237547ac3bdeaaf30be81b4fce875e2cff4d5c3379021c722b19065ac2beca0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5237547ac3bdeaaf30be81b4fce875e2cff4d5c3379021c722b19065ac2beca0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5237547ac3bdeaaf30be81b4fce875e2cff4d5c3379021c722b19065ac2beca0", kill_on_drop: false }` [INFO] [stdout] 5237547ac3bdeaaf30be81b4fce875e2cff4d5c3379021c722b19065ac2beca0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9c48b402803f6fbe3f4273dfd5d85c630e468268726dd9eefccd2b1c9807b08f [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" "9c48b402803f6fbe3f4273dfd5d85c630e468268726dd9eefccd2b1c9807b08f", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Checking gimli v0.23.0 [INFO] [stderr] Checking rustc-demangle v0.1.18 [INFO] [stderr] Checking object v0.22.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking nix v0.14.1 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking addr2line v0.14.1 [INFO] [stderr] Checking backtrace v0.3.55 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Checking i2cdev v0.4.4 [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: 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: `...` 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: 2 warnings emitted [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_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/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: 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: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 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 42.31s [INFO] running `Command { std: "docker" "inspect" "9c48b402803f6fbe3f4273dfd5d85c630e468268726dd9eefccd2b1c9807b08f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c48b402803f6fbe3f4273dfd5d85c630e468268726dd9eefccd2b1c9807b08f", kill_on_drop: false }` [INFO] [stdout] 9c48b402803f6fbe3f4273dfd5d85c630e468268726dd9eefccd2b1c9807b08f