[INFO] cloning repository https://github.com/toasterrepairman/batstat [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/toasterrepairman/batstat" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftoasterrepairman%2Fbatstat", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftoasterrepairman%2Fbatstat'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 886ef8d823fe2daa3f944f8608b362c7bc6a6100 [INFO] testing toasterrepairman/batstat against try#0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 for pr-137122-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftoasterrepairman%2Fbatstat" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/toasterrepairman/batstat [INFO] finished tweaking git repo https://github.com/toasterrepairman/batstat [INFO] tweaked toml for git repo https://github.com/toasterrepairman/batstat written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/toasterrepairman/batstat on toolchain 0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/toasterrepairman/batstat 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" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "fetch" "--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-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 41e87e57f075e7e97f936147c77a56e36570d0234ad9394a19bfb7c006a6774d [INFO] running `Command { std: "docker" "start" "-a" "41e87e57f075e7e97f936147c77a56e36570d0234ad9394a19bfb7c006a6774d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "41e87e57f075e7e97f936147c77a56e36570d0234ad9394a19bfb7c006a6774d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41e87e57f075e7e97f936147c77a56e36570d0234ad9394a19bfb7c006a6774d", kill_on_drop: false }` [INFO] [stdout] 41e87e57f075e7e97f936147c77a56e36570d0234ad9394a19bfb7c006a6774d [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 28ed58c3c78d8d3d23274ff2814d82b4ff05cec215384d4d58a68c3739a82395 [INFO] running `Command { std: "docker" "start" "-a" "28ed58c3c78d8d3d23274ff2814d82b4ff05cec215384d4d58a68c3739a82395", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.33 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling pkg-config v0.3.22 [INFO] [stderr] Compiling strum v0.18.0 [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Compiling libc v0.2.109 [INFO] [stderr] Compiling anyhow v1.0.51 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling futures-core v0.3.18 [INFO] [stderr] Compiling futures-channel v0.3.18 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling futures-task v0.3.18 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling futures-util v0.3.18 [INFO] [stderr] Compiling futures-sink v0.3.18 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling futures-io v0.3.18 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling cfg-expr v0.8.1 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling strum v0.21.0 [INFO] [stderr] Compiling version-compare v0.0.11 [INFO] [stderr] Compiling gio v0.9.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling gdk-pixbuf v0.9.0 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling cairo-rs v0.9.1 [INFO] [stderr] Compiling pango v0.9.1 [INFO] [stderr] Compiling gdk v0.13.2 [INFO] [stderr] Compiling atk v0.9.0 [INFO] [stderr] Compiling gtk v0.9.2 [INFO] [stderr] Compiling battery v0.7.8 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling uom v0.30.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling strum_macros v0.18.0 [INFO] [stderr] Compiling futures-macro v0.3.18 [INFO] [stderr] Compiling strum_macros v0.21.1 [INFO] [stderr] Compiling glib-macros v0.10.1 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling system-deps v1.3.2 [INFO] [stderr] Compiling proc-macro-crate v1.1.0 [INFO] [stderr] Compiling system-deps v3.2.0 [INFO] [stderr] Compiling glib-macros v0.14.1 [INFO] [stderr] Compiling glib-sys v0.10.1 [INFO] [stderr] Compiling gobject-sys v0.10.0 [INFO] [stderr] Compiling gio-sys v0.10.1 [INFO] [stderr] Compiling cairo-sys-rs v0.10.0 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.10.0 [INFO] [stderr] Compiling pango-sys v0.10.0 [INFO] [stderr] Compiling atk-sys v0.10.0 [INFO] [stderr] Compiling gdk-sys v0.10.0 [INFO] [stderr] Compiling glib-sys v0.14.0 [INFO] [stderr] Compiling gtk-sys v0.10.0 [INFO] [stderr] Compiling gobject-sys v0.14.0 [INFO] [stderr] Compiling futures-executor v0.3.18 [INFO] [stderr] Compiling glib v0.10.3 [INFO] [stderr] Compiling futures v0.3.18 [INFO] [stderr] Compiling glib v0.14.8 [INFO] [stderr] Compiling batstat v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `battery::*` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use battery::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/main.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | for (idx, maybe_battery) in manager [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 16s [INFO] running `Command { std: "docker" "inspect" "28ed58c3c78d8d3d23274ff2814d82b4ff05cec215384d4d58a68c3739a82395", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28ed58c3c78d8d3d23274ff2814d82b4ff05cec215384d4d58a68c3739a82395", kill_on_drop: false }` [INFO] [stdout] 28ed58c3c78d8d3d23274ff2814d82b4ff05cec215384d4d58a68c3739a82395 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c7be4427cf930a9edec9522d906412a80fe101af32d7d4a4e423cf6a3455fbbe [INFO] running `Command { std: "docker" "start" "-a" "c7be4427cf930a9edec9522d906412a80fe101af32d7d4a4e423cf6a3455fbbe", kill_on_drop: false }` [INFO] [stderr] Compiling batstat v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `battery::*` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use battery::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/main.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | for (idx, maybe_battery) in manager [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.00s [INFO] running `Command { std: "docker" "inspect" "c7be4427cf930a9edec9522d906412a80fe101af32d7d4a4e423cf6a3455fbbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7be4427cf930a9edec9522d906412a80fe101af32d7d4a4e423cf6a3455fbbe", kill_on_drop: false }` [INFO] [stdout] c7be4427cf930a9edec9522d906412a80fe101af32d7d4a4e423cf6a3455fbbe [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 778b3d3b49ea41879607eb1fe054ce3fb1119def5ed6df197cd92f300467fe07 [INFO] running `Command { std: "docker" "start" "-a" "778b3d3b49ea41879607eb1fe054ce3fb1119def5ed6df197cd92f300467fe07", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `battery::*` [INFO] [stderr] --> src/main.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use battery::*; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `idx` [INFO] [stderr] --> src/main.rs:26:10 [INFO] [stderr] | [INFO] [stderr] 26 | for (idx, maybe_battery) in manager [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `batstat` (bin "batstat" test) generated 2 warnings (run `cargo fix --bin "batstat" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/batstat-29874fdc6b959e44) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "778b3d3b49ea41879607eb1fe054ce3fb1119def5ed6df197cd92f300467fe07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "778b3d3b49ea41879607eb1fe054ce3fb1119def5ed6df197cd92f300467fe07", kill_on_drop: false }` [INFO] [stdout] 778b3d3b49ea41879607eb1fe054ce3fb1119def5ed6df197cd92f300467fe07