[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#f6e2f78768c57172b99c3e85892f867894dc7e30 for pr-75502 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ft123yh%2Fbp1000ch-controller" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/t123yh/bp1000ch-controller on toolchain f6e2f78768c57172b99c3e85892f867894dc7e30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "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-3/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" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "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-3/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" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "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] bf1f687dc38ca7096ced2459eb2a0e40f311329d2af13616ac8aafb04645aa2c [INFO] running `Command { std: "docker" "start" "-a" "bf1f687dc38ca7096ced2459eb2a0e40f311329d2af13616ac8aafb04645aa2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bf1f687dc38ca7096ced2459eb2a0e40f311329d2af13616ac8aafb04645aa2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf1f687dc38ca7096ced2459eb2a0e40f311329d2af13616ac8aafb04645aa2c", kill_on_drop: false }` [INFO] [stdout] bf1f687dc38ca7096ced2459eb2a0e40f311329d2af13616ac8aafb04645aa2c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f15137560ebffc6622b3508ccf7e32d43246e9fb978dbefb1e5e76209604f3a4 [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" "f15137560ebffc6622b3508ccf7e32d43246e9fb978dbefb1e5e76209604f3a4", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking ppv-lite86 v0.2.9 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Checking toml v0.5.6 [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] Checking serialport v3.3.0 [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: 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: 7 warnings 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: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 17.10s [INFO] running `Command { std: "docker" "inspect" "f15137560ebffc6622b3508ccf7e32d43246e9fb978dbefb1e5e76209604f3a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f15137560ebffc6622b3508ccf7e32d43246e9fb978dbefb1e5e76209604f3a4", kill_on_drop: false }` [INFO] [stdout] f15137560ebffc6622b3508ccf7e32d43246e9fb978dbefb1e5e76209604f3a4