[INFO] fetching crate shelly-exporter 0.1.3... [INFO] testing shelly-exporter-0.1.3 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate shelly-exporter 0.1.3 into /workspace/builds/worker-1-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-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate shelly-exporter 0.1.3 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] df08db77b4b038decf06218dfa25caa327a4f14f076e1182a32831e5bb96e7f6 [INFO] running `Command { std: "docker" "start" "-a" "df08db77b4b038decf06218dfa25caa327a4f14f076e1182a32831e5bb96e7f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "df08db77b4b038decf06218dfa25caa327a4f14f076e1182a32831e5bb96e7f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df08db77b4b038decf06218dfa25caa327a4f14f076e1182a32831e5bb96e7f6", kill_on_drop: false }` [INFO] [stdout] df08db77b4b038decf06218dfa25caa327a4f14f076e1182a32831e5bb96e7f6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c7eee0515794f7bb3e41c83a6849ac3c2bb842695c44db1385821aec5ab223b6 [INFO] running `Command { std: "docker" "start" "-a" "c7eee0515794f7bb3e41c83a6849ac3c2bb842695c44db1385821aec5ab223b6", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling value-bag v1.11.1 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling cc v1.2.30 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling futures-lite v2.6.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling async-task v4.7.1 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling rustls v0.23.29 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Compiling async-lock v3.4.0 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling protobuf v3.7.2 [INFO] [stderr] Compiling anstyle-query v1.1.3 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling prometheus v0.14.0 [INFO] [stderr] Compiling anstream v0.6.19 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling async-executor v1.13.2 [INFO] [stderr] Compiling blocking v1.6.2 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling dns-parser v0.8.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling err-derive v0.2.4 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling clap_builder v4.5.41 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [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 regex v1.11.1 [INFO] [stderr] Compiling async-stream v0.2.1 [INFO] [stderr] Compiling synstructure v0.13.2 [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 tracing-attributes v0.1.30 [INFO] [stderr] Compiling futures-macro v0.3.31 [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 polling v3.9.0 [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling async-io v2.5.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling rustls-webpki v0.103.4 [INFO] [stderr] Compiling async-signal v0.2.12 [INFO] [stderr] Compiling async-process v2.4.0 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling async-std v1.13.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling protobuf-support v3.7.2 [INFO] [stderr] Compiling clap v4.5.41 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling axum-core v0.5.2 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling mdns v3.0.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [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 serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling tower-http v0.6.6 [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 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 50.69s [INFO] running `Command { std: "docker" "inspect" "c7eee0515794f7bb3e41c83a6849ac3c2bb842695c44db1385821aec5ab223b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7eee0515794f7bb3e41c83a6849ac3c2bb842695c44db1385821aec5ab223b6", kill_on_drop: false }` [INFO] [stdout] c7eee0515794f7bb3e41c83a6849ac3c2bb842695c44db1385821aec5ab223b6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 95ef13ee1e63e7f7b65946950f5edf3763bba12b3a75e9931a0acfeb80bc2a58 [INFO] running `Command { std: "docker" "start" "-a" "95ef13ee1e63e7f7b65946950f5edf3763bba12b3a75e9931a0acfeb80bc2a58", 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 tracing-subscriber v0.3.19 [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 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 wiremock v0.6.4 [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 `test` profile [unoptimized + debuginfo] target(s) in 31.96s [INFO] running `Command { std: "docker" "inspect" "95ef13ee1e63e7f7b65946950f5edf3763bba12b3a75e9931a0acfeb80bc2a58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95ef13ee1e63e7f7b65946950f5edf3763bba12b3a75e9931a0acfeb80bc2a58", kill_on_drop: false }` [INFO] [stdout] 95ef13ee1e63e7f7b65946950f5edf3763bba12b3a75e9931a0acfeb80bc2a58 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bf76cb716cc7ff46d13d78309c29d92a93efaec930ca8430c74e83912be22353 [INFO] running `Command { std: "docker" "start" "-a" "bf76cb716cc7ff46d13d78309c29d92a93efaec930ca8430c74e83912be22353", 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.39s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/shelly_exporter-dd5a0cc884a6d647) [INFO] [stdout] [INFO] [stdout] running 15 tests [INFO] [stdout] test config::tests::test_durations ... ok [INFO] [stdout] test config::tests::test_auth ... ok [INFO] [stdout] test config::tests::test_get_device_names ... ok [INFO] [stdout] test config::tests::test_metrics_bind_address ... ok [INFO] [stdout] test config::tests::test_partial_device_names ... ok [INFO] [stdout] test metrics::tests::test_device_down_marking ... ok [INFO] [stdout] test metrics::tests::test_gen2_metrics_update ... ok [INFO] [stdout] test tests::test_health_handler ... ok [INFO] [stdout] test tests::test_metrics_handler ... ok [INFO] [stdout] test shelly::tests::test_authentication ... ok [INFO] [stdout] test tests::test_root_handler ... ok [INFO] [stdout] test shelly::tests::test_get_device_info ... ok [INFO] [stdout] test shelly::tests::test_get_status ... ok [INFO] [stdout] test shelly::tests::test_detect_generation ... ok [INFO] [stdout] test shelly::tests::test_get_gen1_status ... 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" "bf76cb716cc7ff46d13d78309c29d92a93efaec930ca8430c74e83912be22353", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf76cb716cc7ff46d13d78309c29d92a93efaec930ca8430c74e83912be22353", kill_on_drop: false }` [INFO] [stdout] bf76cb716cc7ff46d13d78309c29d92a93efaec930ca8430c74e83912be22353