[INFO] fetching crate rusty-battery 0.2.1... [INFO] testing rusty-battery-0.2.1 against try#c3758fdc4730d7700b25a13cccff296a08f42c00 for pr-91743 [INFO] extracting crate rusty-battery 0.2.1 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate rusty-battery 0.2.1 on toolchain c3758fdc4730d7700b25a13cccff296a08f42c00 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c3758fdc4730d7700b25a13cccff296a08f42c00" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rusty-battery 0.2.1 [INFO] finished tweaking crates.io crate rusty-battery 0.2.1 [INFO] tweaked toml for crates.io crate rusty-battery 0.2.1 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate crates.io crate rusty-battery 0.2.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c3758fdc4730d7700b25a13cccff296a08f42c00" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+c3758fdc4730d7700b25a13cccff296a08f42c00" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e7f3d84f927e77f1f4051d25dff6c27fc171d7659646462acde284b9977e3a25 [INFO] running `Command { std: "docker" "start" "-a" "e7f3d84f927e77f1f4051d25dff6c27fc171d7659646462acde284b9977e3a25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e7f3d84f927e77f1f4051d25dff6c27fc171d7659646462acde284b9977e3a25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7f3d84f927e77f1f4051d25dff6c27fc171d7659646462acde284b9977e3a25", kill_on_drop: false }` [INFO] [stdout] e7f3d84f927e77f1f4051d25dff6c27fc171d7659646462acde284b9977e3a25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+c3758fdc4730d7700b25a13cccff296a08f42c00" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 16a783e9faf096469e1d9fabfedf286df0c42d72af664327c37cb98dcf0f9345 [INFO] running `Command { std: "docker" "start" "-a" "16a783e9faf096469e1d9fabfedf286df0c42d72af664327c37cb98dcf0f9345", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling futures-core v0.3.16 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-task v0.3.16 [INFO] [stderr] Compiling futures-channel v0.3.16 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling futures-io v0.3.16 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling futures-sink v0.3.16 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Compiling fastrand v1.5.0 [INFO] [stderr] Compiling cache-padded v1.1.1 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling event-listener v2.5.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling cached_proc_macro_types v0.1.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling battery v0.7.8 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling async-mutex v1.4.0 [INFO] [stderr] Compiling futures-macro v0.3.16 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling async-rwlock v1.3.0 [INFO] [stderr] Compiling futures-lite v1.12.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling polling v2.1.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling nb-connect v1.2.0 [INFO] [stderr] Compiling async-io v1.6.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling uom v0.30.0 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling darling_core v0.13.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling enumflags2_derive v0.6.4 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling serde_repr v0.1.7 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling darling_macro v0.13.0 [INFO] [stderr] Compiling darling v0.13.0 [INFO] [stderr] Compiling cached_proc_macro v0.7.1 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling structopt v0.3.25 [INFO] [stderr] Compiling futures-executor v0.3.16 [INFO] [stderr] Compiling futures v0.3.16 [INFO] [stderr] Compiling cached v0.26.2 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling enumflags2 v0.6.4 [INFO] [stderr] Compiling proc-macro-crate v1.0.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling zvariant_derive v2.7.0 [INFO] [stderr] Compiling zbus_macros v1.9.1 [INFO] [stderr] Compiling zvariant v2.7.0 [INFO] [stderr] Compiling zbus v1.9.1 [INFO] [stderr] Compiling notify-rust v4.5.4 [INFO] [stderr] Compiling rusty-battery v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 26.68s [INFO] running `Command { std: "docker" "inspect" "16a783e9faf096469e1d9fabfedf286df0c42d72af664327c37cb98dcf0f9345", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16a783e9faf096469e1d9fabfedf286df0c42d72af664327c37cb98dcf0f9345", kill_on_drop: false }` [INFO] [stdout] 16a783e9faf096469e1d9fabfedf286df0c42d72af664327c37cb98dcf0f9345 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+c3758fdc4730d7700b25a13cccff296a08f42c00" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f8c14680ed77d7f3888755b02d79759888c143c11e3eac29d03dc5ccfbeb5146 [INFO] running `Command { std: "docker" "start" "-a" "f8c14680ed77d7f3888755b02d79759888c143c11e3eac29d03dc5ccfbeb5146", kill_on_drop: false }` [INFO] [stderr] Compiling rusty-battery v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.63s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/rusty_battery-cc6a72b2d1222964) [INFO] running `Command { std: "docker" "inspect" "f8c14680ed77d7f3888755b02d79759888c143c11e3eac29d03dc5ccfbeb5146", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8c14680ed77d7f3888755b02d79759888c143c11e3eac29d03dc5ccfbeb5146", kill_on_drop: false }` [INFO] [stdout] f8c14680ed77d7f3888755b02d79759888c143c11e3eac29d03dc5ccfbeb5146 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+c3758fdc4730d7700b25a13cccff296a08f42c00" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 019600532e8acaed29ec1085b736f6376b9ee939f1a513db0eb8a4f65ebfb7fe [INFO] running `Command { std: "docker" "start" "-a" "019600532e8acaed29ec1085b736f6376b9ee939f1a513db0eb8a4f65ebfb7fe", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rusty_battery-cc6a72b2d1222964) [INFO] [stdout] running 23 tests [INFO] [stdout] test battery::tests::test_battery_state_charging_display ... ok [INFO] [stderr] 2022-05-02T08:15:41 [ERROR] - test-error [INFO] [stdout] test common::tests::test_format_option_none ... ok [INFO] [stdout] test battery::tests::test_battery_state_discharging_display ... ok [INFO] [stdout] test common::tests::test_format_option_some ... ok [INFO] [stdout] test common::tests::test_slice_to_string ... ok [INFO] [stdout] test common::tests::test_slice_to_string_empty ... ok [INFO] [stdout] test common::tests::test_vec_to_set ... ok [INFO] [stdout] test common::tests::test_vec_to_set_empty ... ok [INFO] [stdout] test common::tests::test_warn_on_err_err ... ok [INFO] [stdout] test common::tests::test_warn_on_err_ok ... ok [INFO] [stdout] test common::tests::test_warning_message ... ok [INFO] [stdout] test logger::tests::test_create_builder_info ... ok [INFO] [stdout] test logger::tests::test_create_builder_debug ... ok [INFO] [stdout] test logger::tests::test_create_level_filter_error ... ok [INFO] [stdout] test logger::tests::test_create_level_filter_debug ... ok [INFO] [stdout] test logger::tests::test_create_builder_error ... ok [INFO] [stdout] test logger::tests::test_create_level_filter_info ... ok [INFO] [stdout] test notification::desktop::tests::test_create_notification ... ok [INFO] [stdout] test notification::desktop::tests::test_desktop_notifier_empty_handle ... ok [INFO] [stdout] test logger::tests::test_log ... ok [INFO] [stdout] test notification::desktop::tests::test_desktop_notifier_notification ... ok [INFO] [stdout] test logger::tests::test_init_logger_initialized - should panic ... ok [INFO] [stdout] test event::tests::test_sleep ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 23 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "019600532e8acaed29ec1085b736f6376b9ee939f1a513db0eb8a4f65ebfb7fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "019600532e8acaed29ec1085b736f6376b9ee939f1a513db0eb8a4f65ebfb7fe", kill_on_drop: false }` [INFO] [stdout] 019600532e8acaed29ec1085b736f6376b9ee939f1a513db0eb8a4f65ebfb7fe