[INFO] cloning repository https://github.com/t123yh/bp1000ch-controller [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/t123yh/bp1000ch-controller" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ft123yh%2Fbp1000ch-controller", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ft123yh%2Fbp1000ch-controller'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b08bb3104eb538891c03a865763ec0ba6845218f [INFO] checking t123yh/bp1000ch-controller against master#e9271846294c4ee5bd7706df68180320c0b5ff20 for pr-119820 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ft123yh%2Fbp1000ch-controller" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/t123yh/bp1000ch-controller on toolchain e9271846294c4ee5bd7706df68180320c0b5ff20 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e9271846294c4ee5bd7706df68180320c0b5ff20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/t123yh/bp1000ch-controller [INFO] finished tweaking git repo https://github.com/t123yh/bp1000ch-controller [INFO] tweaked toml for git repo https://github.com/t123yh/bp1000ch-controller written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/t123yh/bp1000ch-controller already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e9271846294c4ee5bd7706df68180320c0b5ff20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking t123yh/bp1000ch-controller against try#b69bfeecc49bf5661cf54497638430035ff61aa4 for pr-119820 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ft123yh%2Fbp1000ch-controller" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/t123yh/bp1000ch-controller on toolchain b69bfeecc49bf5661cf54497638430035ff61aa4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b69bfeecc49bf5661cf54497638430035ff61aa4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/t123yh/bp1000ch-controller [INFO] finished tweaking git repo https://github.com/t123yh/bp1000ch-controller [INFO] tweaked toml for git repo https://github.com/t123yh/bp1000ch-controller written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/t123yh/bp1000ch-controller already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b69bfeecc49bf5661cf54497638430035ff61aa4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b69bfeecc49bf5661cf54497638430035ff61aa4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a8c595df666f2af9c1da2943e62c4fc6c70bf38419b97fc40f9b30051d6ab3ec [INFO] running `Command { std: "docker" "start" "-a" "a8c595df666f2af9c1da2943e62c4fc6c70bf38419b97fc40f9b30051d6ab3ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a8c595df666f2af9c1da2943e62c4fc6c70bf38419b97fc40f9b30051d6ab3ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8c595df666f2af9c1da2943e62c4fc6c70bf38419b97fc40f9b30051d6ab3ec", kill_on_drop: false }` [INFO] [stdout] a8c595df666f2af9c1da2943e62c4fc6c70bf38419b97fc40f9b30051d6ab3ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b69bfeecc49bf5661cf54497638430035ff61aa4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ffa54731aa0a2ac700dfff4e6b4cb7afae7402c17717e72ec2848b206b594e0f [INFO] running `Command { std: "docker" "start" "-a" "ffa54731aa0a2ac700dfff4e6b4cb7afae7402c17717e72ec2848b206b594e0f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling pkg-config v0.3.28 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking libudev v0.2.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling serde_derive v1.0.195 [INFO] [stderr] Checking serialport v3.3.0 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking bp1000ch-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/monitor.rs:41:90 [INFO] [stdout] | [INFO] [stdout] 41 | send_message(&conf.print_log_command, &("UPS 通讯失败 ".to_owned() + err.description())).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/monitor.rs:41:90 [INFO] [stdout] | [INFO] [stdout] 41 | send_message(&conf.print_log_command, &("UPS 通讯失败 ".to_owned() + err.description())).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ups_query` is never used [INFO] [stdout] --> src/ups.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn ups_query(port: &str, cmd: &str) -> std::io::Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ups_query` is never used [INFO] [stdout] --> src/ups.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn ups_query(port: &str, cmd: &str) -> std::io::Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ups_query_status` is never used [INFO] [stdout] --> src/ups.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn ups_query_status(port: &str) -> std::io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ups_query_status` is never used [INFO] [stdout] --> src/ups.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn ups_query_status(port: &str) -> std::io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ups_cancel_shutdown` is never used [INFO] [stdout] --> src/ups.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn ups_cancel_shutdown(port: &str) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_status` is never used [INFO] [stdout] --> src/status_record.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn write_status(path: &str, content: &Status) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ups_cancel_shutdown` is never used [INFO] [stdout] --> src/ups.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn ups_cancel_shutdown(port: &str) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_tmp_file` is never used [INFO] [stdout] --> src/handler.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn write_tmp_file(content: &str) -> std::io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `send_message` is never used [INFO] [stdout] --> src/handler.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn send_message(cmd: &Vec, msg: &str) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_status` is never used [INFO] [stdout] --> src/status_record.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn write_status(path: &str, content: &Status) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_tmp_file` is never used [INFO] [stdout] --> src/handler.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn write_tmp_file(content: &str) -> std::io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `send_message` is never used [INFO] [stdout] --> src/handler.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn send_message(cmd: &Vec, msg: &str) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/shutdown.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | run_cmd(&conf.force_reboot_command); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 28 | let _ = run_cmd(&conf.force_reboot_command); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/shutdown.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | run_cmd(&conf.force_reboot_command); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 28 | let _ = run_cmd(&conf.force_reboot_command); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.10s [INFO] running `Command { std: "docker" "inspect" "ffa54731aa0a2ac700dfff4e6b4cb7afae7402c17717e72ec2848b206b594e0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffa54731aa0a2ac700dfff4e6b4cb7afae7402c17717e72ec2848b206b594e0f", kill_on_drop: false }` [INFO] [stdout] ffa54731aa0a2ac700dfff4e6b4cb7afae7402c17717e72ec2848b206b594e0f