[INFO] fetching crate battered 0.8.2... [INFO] testing battered-0.8.2 against try#a7ee93192a766fb0dafa23def7154fc03cfcfc3e for pr-146989 [INFO] extracting crate battered 0.8.2 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate battered 0.8.2 [INFO] finished tweaking crates.io crate battered 0.8.2 [INFO] tweaked toml for crates.io crate battered 0.8.2 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate battered 0.8.2 on toolchain a7ee93192a766fb0dafa23def7154fc03cfcfc3e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate battered 0.8.2 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" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 074ae6c8f6dc634f69e4d9d6219a8d7e4b8f0462ce18de38675dbd847c216d94 [INFO] running `Command { std: "docker" "start" "-a" "074ae6c8f6dc634f69e4d9d6219a8d7e4b8f0462ce18de38675dbd847c216d94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "074ae6c8f6dc634f69e4d9d6219a8d7e4b8f0462ce18de38675dbd847c216d94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "074ae6c8f6dc634f69e4d9d6219a8d7e4b8f0462ce18de38675dbd847c216d94", kill_on_drop: false }` [INFO] [stdout] 074ae6c8f6dc634f69e4d9d6219a8d7e4b8f0462ce18de38675dbd847c216d94 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 674808fc80f37a65a0f14604e63b536f7cd71e33259406f0072f1ae72d37998b [INFO] running `Command { std: "docker" "start" "-a" "674808fc80f37a65a0f14604e63b536f7cd71e33259406f0072f1ae72d37998b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling winnow v0.7.9 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling toml_datetime v0.6.9 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling futures-lite v2.6.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling endi v1.1.0 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling ordered-stream v0.2.0 [INFO] [stderr] Compiling toml_write v0.1.1 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling starship-battery v0.10.1 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling jiff v0.2.12 [INFO] [stderr] Compiling shell-words v1.1.0 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling async-lock v3.4.0 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling async-broadcast v0.7.2 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling uom v0.36.0 [INFO] [stderr] Compiling blocking v1.6.1 [INFO] [stderr] Compiling async-executor v1.13.2 [INFO] [stderr] Compiling toml_edit v0.22.26 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling enumflags2_derive v0.7.11 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling polling v3.7.4 [INFO] [stderr] Compiling async-io v2.4.0 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling serde_with_macros v3.12.0 [INFO] [stderr] Compiling async-signal v0.2.10 [INFO] [stderr] Compiling async-process v2.3.0 [INFO] [stderr] Compiling zvariant_utils v3.2.0 [INFO] [stderr] Compiling enumflags2 v0.7.11 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling serde_with v3.12.0 [INFO] [stderr] Compiling zvariant_derive v5.5.1 [INFO] [stderr] Compiling zvariant v5.5.1 [INFO] [stderr] Compiling toml v0.8.22 [INFO] [stderr] Compiling zbus_names v4.2.0 [INFO] [stderr] Compiling zbus_macros v5.6.0 [INFO] [stderr] Compiling zbus v5.6.0 [INFO] [stderr] Compiling notify-rust v4.11.7 [INFO] [stderr] Compiling battered v0.8.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 12s [INFO] running `Command { std: "docker" "inspect" "674808fc80f37a65a0f14604e63b536f7cd71e33259406f0072f1ae72d37998b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "674808fc80f37a65a0f14604e63b536f7cd71e33259406f0072f1ae72d37998b", kill_on_drop: false }` [INFO] [stdout] 674808fc80f37a65a0f14604e63b536f7cd71e33259406f0072f1ae72d37998b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e2d01ca91d6aff507640832dbfb73d00d94fc1d010a1617ea6c6b81b14985271 [INFO] running `Command { std: "docker" "start" "-a" "e2d01ca91d6aff507640832dbfb73d00d94fc1d010a1617ea6c6b81b14985271", kill_on_drop: false }` [INFO] [stderr] Compiling battered v0.8.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.34s [INFO] running `Command { std: "docker" "inspect" "e2d01ca91d6aff507640832dbfb73d00d94fc1d010a1617ea6c6b81b14985271", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2d01ca91d6aff507640832dbfb73d00d94fc1d010a1617ea6c6b81b14985271", kill_on_drop: false }` [INFO] [stdout] e2d01ca91d6aff507640832dbfb73d00d94fc1d010a1617ea6c6b81b14985271 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cca000fdf25b5014e1ed3f5d653e4a27a52f9b4ff6749911c3933c2f68d90fc7 [INFO] running `Command { std: "docker" "start" "-a" "cca000fdf25b5014e1ed3f5d653e4a27a52f9b4ff6749911c3933c2f68d90fc7", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/battered-8046b7cc31190bad) [INFO] [stdout] [INFO] [stdout] running 34 tests [INFO] [stdout] test config::tests::test_invalid_serial_number ... ok [INFO] [stdout] test config::tests::test_invalid_interval_type ... ok [INFO] [stdout] test config::tests::test_default_values ... ok [INFO] [stdout] test config::tests::test_default_timeout_never_value ... ok [INFO] [stdout] test tests::test_has_notify ... ok [INFO] [stdout] test config::tests::test_valid_onac_action ... ok [INFO] [stdout] test config::tests::test_invalid_urgency_values ... ok [INFO] [stdout] test config::tests::test_missing_actions ... ok [INFO] [stdout] test config::tests::test_serial_number_trimming ... ok [INFO] [stdout] test config::tests::test_unparsable_command_value ... ok [INFO] [stdout] test config::tests::test_valid_config ... ok [INFO] [stdout] test tests::test_no_on_ac_action ... ok [INFO] [stdout] test tests::test_no_action ... ok [INFO] [stdout] test tests::test_template_does_not_replace_unknown ... ok [INFO] [stdout] test tests::test_template_replaces_nothing ... ok [INFO] [stdout] test tests::test_template_replaces_percentage ... ok [INFO] [stdout] test tests::test_template_replaces_percentage_for_on_ac_action ... ok [INFO] [stdout] test tests::test_threshold_action_above_threshold ... ok [INFO] [stdout] test tests::test_threshold_action_below_threshold ... ok [INFO] [stdout] test tests::test_threshold_below_threshold_fn ... ok [INFO] [stdout] test tests::test_threshold_with_notification ... ok [INFO] [stdout] test tests::test_threshold_without_notification ... ok [INFO] [stdout] test config::tests::test_invalid_timeout_values ... ok [INFO] [stdout] test tests::test_has_no_notify ... ok [INFO] [stdout] test config::tests::test_invalid_percentage_values ... ok [INFO] [stdout] test config::tests::test_xdg_config_home ... ok [INFO] [stdout] test tests::test_pick_battery_by_serial_not_found ... ok [INFO] [stdout] test tests::test_get_config_from_invalid_path ... ok [INFO] [stdout] test tests::test_failing_on_ac_action ... ok [INFO] [stdout] test tests::test_failing_action ... ok [INFO] [stdout] test tests::test_successful_on_ac_action ... ok [INFO] [stdout] test config::tests::test_xdg_config_home_from_home_var ... ok [INFO] [stdout] test config::tests::test_xdg_config_home_from_nothing ... ok [INFO] [stdout] test tests::test_successful_action ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 34 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "cca000fdf25b5014e1ed3f5d653e4a27a52f9b4ff6749911c3933c2f68d90fc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cca000fdf25b5014e1ed3f5d653e4a27a52f9b4ff6749911c3933c2f68d90fc7", kill_on_drop: false }` [INFO] [stdout] cca000fdf25b5014e1ed3f5d653e4a27a52f9b4ff6749911c3933c2f68d90fc7