[INFO] fetching crate shelly-exporter 0.1.3... [INFO] testing shelly-exporter-0.1.3 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate shelly-exporter 0.1.3 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate shelly-exporter 0.1.3 [INFO] finished tweaking crates.io crate shelly-exporter 0.1.3 [INFO] tweaked toml for crates.io crate shelly-exporter 0.1.3 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate shelly-exporter 0.1.3 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate shelly-exporter 0.1.3 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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded err-derive v0.2.4 [INFO] [stderr] Downloaded async-signal v0.2.12 [INFO] [stderr] Downloaded async-process v2.4.0 [INFO] [stderr] Downloaded async-stream v0.2.1 [INFO] [stderr] Downloaded mdns v3.0.0 [INFO] [stderr] Downloaded wiremock v0.6.4 [INFO] [stderr] Downloaded redox_syscall v0.5.15 [INFO] [stderr] Downloaded async-stream-impl v0.2.1 [INFO] [stderr] Downloaded h2 v0.4.11 [INFO] [stderr] Downloaded protobuf-support v3.7.2 [INFO] [stderr] Downloaded protobuf v3.7.2 [INFO] [stderr] Downloaded async-io v2.5.0 [INFO] [stderr] Downloaded polling v3.9.0 [INFO] [stderr] Downloaded prometheus v0.14.0 [INFO] [stderr] Downloaded reqwest v0.12.22 [INFO] [stderr] Downloaded dns-parser v0.8.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 00055a4abbc6da3240f871f37c2de5118913f60b9f32d2b17e8a5e7f3b9d0553 [INFO] running `Command { std: "docker" "start" "-a" "00055a4abbc6da3240f871f37c2de5118913f60b9f32d2b17e8a5e7f3b9d0553", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "00055a4abbc6da3240f871f37c2de5118913f60b9f32d2b17e8a5e7f3b9d0553", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00055a4abbc6da3240f871f37c2de5118913f60b9f32d2b17e8a5e7f3b9d0553", kill_on_drop: false }` [INFO] [stdout] 00055a4abbc6da3240f871f37c2de5118913f60b9f32d2b17e8a5e7f3b9d0553 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 671520e18969742263778f6002cef0766104b8acfb8db04e16e619e1c4cc0832 [INFO] running `Command { std: "docker" "start" "-a" "671520e18969742263778f6002cef0766104b8acfb8db04e16e619e1c4cc0832", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling cc v1.2.30 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling futures-lite v2.6.0 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling rustls v0.23.29 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Compiling anstyle-query v1.1.3 [INFO] [stderr] Compiling protobuf v3.7.2 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling anstream v0.6.19 [INFO] [stderr] Compiling webpki-roots v1.0.2 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling prometheus v0.14.0 [INFO] [stderr] Compiling async-lock v3.4.0 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling dns-parser v0.8.0 [INFO] [stderr] Compiling clap_builder v4.5.41 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling err-derive v0.2.4 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling blocking v1.6.2 [INFO] [stderr] Compiling async-executor v1.13.2 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling async-stream-impl v0.2.1 [INFO] [stderr] Compiling async-stream v0.2.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling rustls-webpki v0.103.4 [INFO] [stderr] Compiling polling v3.9.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Compiling async-io v2.5.0 [INFO] [stderr] Compiling async-signal v0.2.12 [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling async-process v2.4.0 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling async-std v1.13.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling protobuf-support v3.7.2 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling axum-core v0.5.2 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling clap v4.5.41 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling mdns v3.0.0 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling axum v0.8.4 [INFO] [stderr] Compiling reqwest v0.12.22 [INFO] [stderr] Compiling shelly-exporter v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `RpcRequest` is never constructed [INFO] [stdout] --> src/shelly.rs:175:8 [INFO] [stdout] | [INFO] [stdout] 175 | struct RpcRequest { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RpcResponse` is never constructed [INFO] [stdout] --> src/shelly.rs:183:8 [INFO] [stdout] | [INFO] [stdout] 183 | struct RpcResponse { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RpcError` is never constructed [INFO] [stdout] --> src/shelly.rs:190:8 [INFO] [stdout] | [INFO] [stdout] 190 | struct RpcError { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 43.06s [INFO] running `Command { std: "docker" "inspect" "671520e18969742263778f6002cef0766104b8acfb8db04e16e619e1c4cc0832", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "671520e18969742263778f6002cef0766104b8acfb8db04e16e619e1c4cc0832", kill_on_drop: false }` [INFO] [stdout] 671520e18969742263778f6002cef0766104b8acfb8db04e16e619e1c4cc0832 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e4b67bea7541e368250235a558c7c0804a8c980e946c782003b7ec2f9373afc8 [INFO] running `Command { std: "docker" "start" "-a" "e4b67bea7541e368250235a558c7c0804a8c980e946c782003b7ec2f9373afc8", kill_on_drop: false }` [INFO] [stderr] Compiling hashbrown v0.15.4 [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 async-trait v0.1.88 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling deadpool-runtime v0.1.4 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling deadpool v0.10.0 [INFO] [stderr] Compiling h2 v0.4.11 [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 mdns v3.0.0 [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.16 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling axum v0.8.4 [INFO] [stderr] Compiling wiremock v0.6.4 [INFO] [stderr] Compiling reqwest v0.12.22 [INFO] [stderr] Compiling shelly-exporter v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `RpcRequest` is never constructed [INFO] [stdout] --> src/shelly.rs:175:8 [INFO] [stdout] | [INFO] [stdout] 175 | struct RpcRequest { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RpcResponse` is never constructed [INFO] [stdout] --> src/shelly.rs:183:8 [INFO] [stdout] | [INFO] [stdout] 183 | struct RpcResponse { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RpcError` is never constructed [INFO] [stdout] --> src/shelly.rs:190:8 [INFO] [stdout] | [INFO] [stdout] 190 | struct RpcError { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 21.03s [INFO] running `Command { std: "docker" "inspect" "e4b67bea7541e368250235a558c7c0804a8c980e946c782003b7ec2f9373afc8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4b67bea7541e368250235a558c7c0804a8c980e946c782003b7ec2f9373afc8", kill_on_drop: false }` [INFO] [stdout] e4b67bea7541e368250235a558c7c0804a8c980e946c782003b7ec2f9373afc8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3e7c510ae107001b3363f0aa3355d18ec5824f3f20f1204fea3da8565da4f4a8 [INFO] running `Command { std: "docker" "start" "-a" "3e7c510ae107001b3363f0aa3355d18ec5824f3f20f1204fea3da8565da4f4a8", kill_on_drop: false }` [INFO] [stderr] warning: struct `RpcRequest` is never constructed [INFO] [stderr] --> src/shelly.rs:175:8 [INFO] [stderr] | [INFO] [stderr] 175 | struct RpcRequest { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `RpcResponse` is never constructed [INFO] [stderr] --> src/shelly.rs:183:8 [INFO] [stderr] | [INFO] [stderr] 183 | struct RpcResponse { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `RpcError` is never constructed [INFO] [stderr] --> src/shelly.rs:190:8 [INFO] [stderr] | [INFO] [stderr] 190 | struct RpcError { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `shelly-exporter` (bin "shelly-exporter" test) generated 3 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.27s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/shelly_exporter-dd5a0cc884a6d647) [INFO] [stdout] running 15 tests [INFO] [stdout] test config::tests::test_metrics_bind_address ... ok [INFO] [stdout] test config::tests::test_durations ... ok [INFO] [stdout] test config::tests::test_auth ... ok [INFO] [stdout] test metrics::tests::test_gen2_metrics_update ... ok [INFO] [stdout] test config::tests::test_partial_device_names ... ok [INFO] [stdout] test metrics::tests::test_device_down_marking ... ok [INFO] [stdout] test tests::test_metrics_handler ... ok [INFO] [stdout] test tests::test_root_handler ... ok [INFO] [stdout] test tests::test_health_handler ... ok [INFO] [stdout] test shelly::tests::test_authentication ... ok [INFO] [stdout] test shelly::tests::test_detect_generation ... ok [INFO] [stdout] test config::tests::test_get_device_names ... ok [INFO] [stdout] test shelly::tests::test_get_gen1_status ... ok [INFO] [stdout] test shelly::tests::test_get_status ... ok [INFO] [stdout] test shelly::tests::test_get_device_info ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 15 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3e7c510ae107001b3363f0aa3355d18ec5824f3f20f1204fea3da8565da4f4a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e7c510ae107001b3363f0aa3355d18ec5824f3f20f1204fea3da8565da4f4a8", kill_on_drop: false }` [INFO] [stdout] 3e7c510ae107001b3363f0aa3355d18ec5824f3f20f1204fea3da8565da4f4a8