[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 try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ft123yh%2Fbp1000ch-controller" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/t123yh/bp1000ch-controller 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/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-10/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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-10/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] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serialport v3.3.0 [INFO] [stderr] Downloaded CoreFoundation-sys v0.1.4 [INFO] [stderr] Downloaded IOKit-sys v0.1.5 [INFO] [stderr] Downloaded mach v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d7dcd5cbb737b80e52c02732fc613f593bb4a036234e4bfdd392c0f45fffc371 [INFO] running `Command { std: "docker" "start" "-a" "d7dcd5cbb737b80e52c02732fc613f593bb4a036234e4bfdd392c0f45fffc371", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d7dcd5cbb737b80e52c02732fc613f593bb4a036234e4bfdd392c0f45fffc371", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7dcd5cbb737b80e52c02732fc613f593bb4a036234e4bfdd392c0f45fffc371", kill_on_drop: false }` [INFO] [stdout] d7dcd5cbb737b80e52c02732fc613f593bb4a036234e4bfdd392c0f45fffc371 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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] 82ac8f3a2a484072f49d716e701c2b992dd8a55c7f87066badaff42d96e47c1c [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" "82ac8f3a2a484072f49d716e701c2b992dd8a55c7f87066badaff42d96e47c1c", kill_on_drop: false }` [INFO] [stderr] Checking libudev-sys v0.1.4 [INFO] [stderr] Checking nix v0.14.1 [INFO] [stderr] Checking getrandom v0.1.15 [INFO] [stderr] Checking serde v1.0.116 [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] Checking serialport v3.3.0 [INFO] [stderr] Checking toml v0.5.6 [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: 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: 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: 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] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 17.65s [INFO] running `Command { std: "docker" "inspect" "82ac8f3a2a484072f49d716e701c2b992dd8a55c7f87066badaff42d96e47c1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82ac8f3a2a484072f49d716e701c2b992dd8a55c7f87066badaff42d96e47c1c", kill_on_drop: false }` [INFO] [stdout] 82ac8f3a2a484072f49d716e701c2b992dd8a55c7f87066badaff42d96e47c1c