[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 beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ft123yh%2Fbp1000ch-controller" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/t123yh/bp1000ch-controller on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", 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-0/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: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--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] error: the lock file /workspace/builds/worker-0/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" "+beta" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "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-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7e7c50a10fcb055490e96b2fca441d70d1e9d0e90603d33e63dd8675d6f4a16c [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" "7e7c50a10fcb055490e96b2fca441d70d1e9d0e90603d33e63dd8675d6f4a16c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7e7c50a10fcb055490e96b2fca441d70d1e9d0e90603d33e63dd8675d6f4a16c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e7c50a10fcb055490e96b2fca441d70d1e9d0e90603d33e63dd8675d6f4a16c", kill_on_drop: false }` [INFO] [stdout] 7e7c50a10fcb055490e96b2fca441d70d1e9d0e90603d33e63dd8675d6f4a16c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 9e606ebaa5bfdf838ce2323b89557c96a15b2f00331faadff870743fa396faf0 [INFO] running `Command { std: "docker" "start" "-a" "9e606ebaa5bfdf838ce2323b89557c96a15b2f00331faadff870743fa396faf0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Checking getrandom v0.1.15 [INFO] [stderr] Checking nix v0.14.1 [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.117 [INFO] [stderr] Checking serialport v3.3.0 [INFO] [stderr] Checking serde v1.0.117 [INFO] [stderr] Checking toml v0.5.7 [INFO] [stderr] Checking bp1000ch-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `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 associated function `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 is never used: `ups_query` [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 is never used: `ups_query_status` [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 is never used: `ups_cancel_shutdown` [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 is never used: `write_status` [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 is never used: `write_tmp_file` [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 is never used: `send_message` [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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ups_query` [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 is never used: `ups_query_status` [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 is never used: `ups_cancel_shutdown` [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 is never used: `write_status` [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 is never used: `write_tmp_file` [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 is never used: `send_message` [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 `std::result::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: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [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: unused `std::result::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: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 34.27s [INFO] running `Command { std: "docker" "inspect" "9e606ebaa5bfdf838ce2323b89557c96a15b2f00331faadff870743fa396faf0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e606ebaa5bfdf838ce2323b89557c96a15b2f00331faadff870743fa396faf0", kill_on_drop: false }` [INFO] [stdout] 9e606ebaa5bfdf838ce2323b89557c96a15b2f00331faadff870743fa396faf0