[INFO] cloning repository https://github.com/rvben/unifi-network-exporter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rvben/unifi-network-exporter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frvben%2Funifi-network-exporter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frvben%2Funifi-network-exporter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dc7ecc843a3ea0e393784bc579d46c7c970b569e [INFO] testing rvben/unifi-network-exporter against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frvben%2Funifi-network-exporter" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/rvben/unifi-network-exporter [INFO] finished tweaking git repo https://github.com/rvben/unifi-network-exporter [INFO] tweaked toml for git repo https://github.com/rvben/unifi-network-exporter written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rvben/unifi-network-exporter on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rvben/unifi-network-exporter 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8bb9b5d08c5ae7321243acf1b8f76d9e5b0394a4519c90f84f76d6bdcc52754e [INFO] running `Command { std: "docker" "start" "-a" "8bb9b5d08c5ae7321243acf1b8f76d9e5b0394a4519c90f84f76d6bdcc52754e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8bb9b5d08c5ae7321243acf1b8f76d9e5b0394a4519c90f84f76d6bdcc52754e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8bb9b5d08c5ae7321243acf1b8f76d9e5b0394a4519c90f84f76d6bdcc52754e", kill_on_drop: false }` [INFO] [stdout] 8bb9b5d08c5ae7321243acf1b8f76d9e5b0394a4519c90f84f76d6bdcc52754e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 74fb8f123b89acabab76ab39fb579cde3f9beee0512f80f42d4583306835a6c6 [INFO] running `Command { std: "docker" "start" "-a" "74fb8f123b89acabab76ab39fb579cde3f9beee0512f80f42d4583306835a6c6", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.2.29 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling rustls v0.23.29 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling protobuf v3.7.2 [INFO] [stderr] Compiling psl-types v2.0.11 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling protobuf-support v3.7.2 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling prometheus v0.14.0 [INFO] [stderr] Compiling clap_builder v4.5.41 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling axum-core v0.5.2 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling webpki-roots v1.0.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling publicsuffix v2.3.0 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling clap v4.5.41 [INFO] [stderr] Compiling cookie_store v0.21.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling rustls-webpki v0.103.4 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling hyper-util v0.1.15 [INFO] [stderr] Compiling axum v0.8.4 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling reqwest v0.12.22 [INFO] [stderr] Compiling unifi-network-exporter v0.1.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 57.31s [INFO] running `Command { std: "docker" "inspect" "74fb8f123b89acabab76ab39fb579cde3f9beee0512f80f42d4583306835a6c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74fb8f123b89acabab76ab39fb579cde3f9beee0512f80f42d4583306835a6c6", kill_on_drop: false }` [INFO] [stdout] 74fb8f123b89acabab76ab39fb579cde3f9beee0512f80f42d4583306835a6c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 296d7ce5c47468ae7803e1511e63b30e9edbc26b6d3521e2a3b18e903535b731 [INFO] running `Command { std: "docker" "start" "-a" "296d7ce5c47468ae7803e1511e63b30e9edbc26b6d3521e2a3b18e903535b731", kill_on_drop: false }` [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling deadpool-runtime v0.1.4 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling h2 v0.4.11 [INFO] [stderr] Compiling deadpool v0.10.0 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.15 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling axum v0.8.4 [INFO] [stderr] Compiling mockito v1.7.0 [INFO] [stderr] Compiling wiremock v0.6.4 [INFO] [stderr] Compiling reqwest v0.12.22 [INFO] [stderr] Compiling unifi-network-exporter v0.1.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 33.25s [INFO] running `Command { std: "docker" "inspect" "296d7ce5c47468ae7803e1511e63b30e9edbc26b6d3521e2a3b18e903535b731", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "296d7ce5c47468ae7803e1511e63b30e9edbc26b6d3521e2a3b18e903535b731", kill_on_drop: false }` [INFO] [stdout] 296d7ce5c47468ae7803e1511e63b30e9edbc26b6d3521e2a3b18e903535b731 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0cdfeb0d8762db57597f1b706cc9f084f0f3063a52463a9fb31f08328110ecaf [INFO] running `Command { std: "docker" "start" "-a" "0cdfeb0d8762db57597f1b706cc9f084f0f3063a52463a9fb31f08328110ecaf", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.27s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/unifi_network_exporter-ca5d98a15c9ef2fc) [INFO] [stdout] [INFO] [stdout] running 37 tests [INFO] [stdout] test config::tests::test_default_values ... ok [INFO] [stdout] test config::tests::test_http_timeout_duration ... ok [INFO] [stdout] test config::tests::test_poll_interval_duration ... ok [INFO] [stdout] test config::tests::test_validate_empty_url ... ok [INFO] [stdout] test config::tests::test_validate_invalid_log_level ... ok [INFO] [stdout] test config::tests::test_validate_missing_password ... ok [INFO] [stdout] test config::tests::test_validate_zero_port ... ok [INFO] [stdout] test config::tests::test_validate_missing_auth ... ok [INFO] [stdout] test config::tests::test_validate_zero_poll_interval ... ok [INFO] [stdout] test config::tests::test_validate_invalid_url_scheme ... ok [INFO] [stdout] test config::tests::test_validate_zero_timeout ... ok [INFO] [stdout] test config::tests::test_validate_with_username_password ... ok [INFO] [stdout] test metrics::tests::test_metrics_creation ... ok [INFO] [stdout] test metrics::tests::test_client_counts ... ok [INFO] [stdout] test metrics::tests::test_memory_usage_calculation ... ok [INFO] [stdout] test metrics::tests::test_metrics_gather ... ok [INFO] [stdout] test unifi::tests::test_ensure_authenticated_with_api_key ... ok [INFO] [stdout] test config::tests::test_validate_case_insensitive_log_level ... ok [INFO] [stdout] test metrics::tests::test_update_devices_with_missing_data ... ok [INFO] [stdout] test metrics::tests::test_update_clients ... ok [INFO] [stdout] test metrics::tests::test_update_devices ... ok [INFO] [stdout] test unifi::tests::test_client_deserialize ... ok [INFO] [stdout] test unifi::tests::test_device_deserialize ... ok [INFO] [stdout] test unifi::tests::test_site_deserialize ... ok [INFO] [stdout] test metrics::tests::test_update_sites ... ok [INFO] [stdout] test unifi::tests::test_device_stats_deserialize ... ok [INFO] [stdout] test unifi::tests::test_sys_stats_deserialize ... ok [INFO] [stdout] test unifi::tests::test_sys_stats_deserialize_missing_fields ... ok [INFO] [stdout] test unifi::tests::test_unifi_client_creation_missing_auth ... ok [INFO] [stdout] test unifi::tests::test_unifi_client_creation_with_api_key ... ok [INFO] [stdout] test unifi::tests::test_unifi_client_creation_with_username_password ... ok [INFO] [stdout] test unifi::tests::test_unifi_client_strips_trailing_slash ... ok [INFO] [stdout] test unifi::tests::test_unifi_error_display ... ok [INFO] [stdout] test unifi_integration::tests::test_integration_response_deserialize ... ok [INFO] [stdout] test unifi_integration::tests::test_integration_site_to_site ... ok [INFO] [stdout] test unifi_integration::tests::test_integration_site_deserialize ... ok [INFO] [stdout] test config::tests::test_validate_with_api_key ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 37 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/unifi_network_exporter-db01551447e95b68) [INFO] [stdout] [INFO] [stdout] running 42 tests [INFO] [stdout] test config::tests::test_http_timeout_duration ... ok [INFO] [stdout] test config::tests::test_validate_case_insensitive_log_level ... ok [INFO] [stdout] test config::tests::test_poll_interval_duration ... ok [INFO] [stdout] test config::tests::test_validate_invalid_log_level ... ok [INFO] [stdout] test config::tests::test_validate_empty_url ... ok [INFO] [stdout] test config::tests::test_validate_invalid_url_scheme ... ok [INFO] [stdout] test config::tests::test_validate_missing_auth ... ok [INFO] [stdout] test config::tests::test_validate_missing_password ... ok [INFO] [stdout] test config::tests::test_validate_with_api_key ... ok [INFO] [stdout] test config::tests::test_default_values ... ok [INFO] [stdout] test config::tests::test_validate_with_username_password ... ok [INFO] [stdout] test config::tests::test_validate_zero_timeout ... ok [INFO] [stdout] test tests::test_main_components ... ok [INFO] [stdout] test metrics::tests::test_metrics_creation ... ok [INFO] [stdout] test config::tests::test_validate_zero_port ... ok [INFO] [stdout] test tests::test_health_handler ... ok [INFO] [stdout] test config::tests::test_validate_zero_poll_interval ... ok [INFO] [stdout] test metrics::tests::test_update_devices_with_missing_data ... ok [INFO] [stdout] test metrics::tests::test_metrics_gather ... ok [INFO] [stdout] test unifi::tests::test_sys_stats_deserialize ... ok [INFO] [stdout] test unifi::tests::test_client_deserialize ... ok [INFO] [stdout] test tests::test_root_handler ... ok [INFO] [stdout] test unifi::tests::test_sys_stats_deserialize_missing_fields ... ok [INFO] [stdout] test tests::test_metrics_handler ... ok [INFO] [stdout] test metrics::tests::test_update_clients ... ok [INFO] [stdout] test unifi::tests::test_unifi_client_creation_with_username_password ... ok [INFO] [stdout] test unifi::tests::test_unifi_client_creation_missing_auth ... ok [INFO] [stdout] test unifi::tests::test_ensure_authenticated_with_api_key ... ok [INFO] [stdout] test unifi::tests::test_unifi_error_display ... ok [INFO] [stdout] test unifi_integration::tests::test_integration_site_deserialize ... ok [INFO] [stdout] test unifi_integration::tests::test_integration_response_deserialize ... ok [INFO] [stdout] test unifi::tests::test_unifi_client_strips_trailing_slash ... ok [INFO] [stdout] test unifi_integration::tests::test_integration_site_to_site ... ok [INFO] [stdout] test metrics::tests::test_update_sites ... ok [INFO] [stdout] test unifi::tests::test_device_stats_deserialize ... ok [INFO] [stdout] test unifi::tests::test_site_deserialize ... ok [INFO] [stdout] test metrics::tests::test_memory_usage_calculation ... ok [INFO] [stdout] test metrics::tests::test_update_devices ... ok [INFO] [stdout] test tests::test_router_creation ... ok [INFO] [stdout] test unifi::tests::test_device_deserialize ... ok [INFO] [stdout] test metrics::tests::test_client_counts ... ok [INFO] [stdout] test unifi::tests::test_unifi_client_creation_with_api_key ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 42 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Running tests/integration_test.rs (/opt/rustwide/target/debug/deps/integration_test-7d7e1293c929b0cb) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test test_environment_variables ... ok [INFO] [stdout] test test_graceful_shutdown ... ok [INFO] [stdout] test test_server_startup ... ok [INFO] [stdout] test test_metrics_endpoint_response ... ok [INFO] [stdout] test test_concurrent_polling ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.40s [INFO] [stdout] [INFO] [stderr] Doc-tests unifi_network_exporter [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" "0cdfeb0d8762db57597f1b706cc9f084f0f3063a52463a9fb31f08328110ecaf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0cdfeb0d8762db57597f1b706cc9f084f0f3063a52463a9fb31f08328110ecaf", kill_on_drop: false }` [INFO] [stdout] 0cdfeb0d8762db57597f1b706cc9f084f0f3063a52463a9fb31f08328110ecaf