[INFO] cloning repository https://github.com/henkkuli/ruuvi_gateway_exporter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/henkkuli/ruuvi_gateway_exporter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhenkkuli%2Fruuvi_gateway_exporter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhenkkuli%2Fruuvi_gateway_exporter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cc9f9070bf1edbe5c211e3fc4259f4e9297a72c9 [INFO] building henkkuli/ruuvi_gateway_exporter against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhenkkuli%2Fruuvi_gateway_exporter" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/henkkuli/ruuvi_gateway_exporter [INFO] finished tweaking git repo https://github.com/henkkuli/ruuvi_gateway_exporter [INFO] tweaked toml for git repo https://github.com/henkkuli/ruuvi_gateway_exporter written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/henkkuli/ruuvi_gateway_exporter on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/henkkuli/ruuvi_gateway_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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lexical-core v1.0.5 [INFO] [stderr] Downloaded ruuvi-sensor-protocol v0.6.1 [INFO] [stderr] Downloaded lexical-parse-integer v1.0.5 [INFO] [stderr] Downloaded snafu-derive v0.8.5 [INFO] [stderr] Downloaded clap v4.5.26 [INFO] [stderr] Downloaded snafu v0.8.5 [INFO] [stderr] Downloaded lexical-util v1.0.6 [INFO] [stderr] Downloaded hifitime v4.0.2 [INFO] [stderr] Downloaded lexical-parse-float v1.0.5 [INFO] [stderr] Downloaded clap_builder v4.5.26 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 01f6e104b4128c80740e2f18ce5852a5d6491083034cc8cbcffcaf82ab3c09b3 [INFO] running `Command { std: "docker" "start" "-a" "01f6e104b4128c80740e2f18ce5852a5d6491083034cc8cbcffcaf82ab3c09b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "01f6e104b4128c80740e2f18ce5852a5d6491083034cc8cbcffcaf82ab3c09b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01f6e104b4128c80740e2f18ce5852a5d6491083034cc8cbcffcaf82ab3c09b3", kill_on_drop: false }` [INFO] [stdout] 01f6e104b4128c80740e2f18ce5852a5d6491083034cc8cbcffcaf82ab3c09b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6e044a3220da40eb80ea7431cf1e8fa8fe2444859c71e86b5743ae08da85264e [INFO] running `Command { std: "docker" "start" "-a" "6e044a3220da40eb80ea7431cf1e8fa8fe2444859c71e86b5743ae08da85264e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling cpufeatures v0.2.16 [INFO] [stderr] Compiling lexical-util v1.0.6 [INFO] [stderr] Compiling miniz_oxide v0.8.3 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling serde_json v1.0.135 [INFO] [stderr] Compiling backtrace v0.3.74 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling headers v0.3.9 [INFO] [stderr] Compiling clap_builder v4.5.26 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling lexical-parse-integer v1.0.5 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling lexical-parse-float v1.0.5 [INFO] [stderr] Compiling ruuvi-sensor-protocol v0.6.1 [INFO] [stderr] Compiling lexical-core v1.0.5 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling snafu-derive v0.8.5 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling pin-project-internal v1.1.8 [INFO] [stderr] Compiling clap_derive v4.5.24 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling pin-project v1.1.8 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling snafu v0.8.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling clap v4.5.26 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling hifitime v4.0.2 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling warp v0.3.7 [INFO] [stderr] Compiling ruuvi-gw-exporter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/main.rs:141:28 [INFO] [stdout] | [INFO] [stdout] 141 | .value((f64::from(temp_mc) / 1000.0)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 141 - .value((f64::from(temp_mc) / 1000.0)) [INFO] [stdout] 141 + .value(f64::from(temp_mc) / 1000.0 ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `label` is never used [INFO] [stdout] --> src/metrics.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl<'a> MetricBuilder<'a> { [INFO] [stdout] | -------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn label(mut self, key: &'a str, value: &'a str) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/metrics.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn metric(name: &str) -> MetricBuilder { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 19 | pub fn metric(name: &str) -> MetricBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 34s [INFO] running `Command { std: "docker" "inspect" "6e044a3220da40eb80ea7431cf1e8fa8fe2444859c71e86b5743ae08da85264e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e044a3220da40eb80ea7431cf1e8fa8fe2444859c71e86b5743ae08da85264e", kill_on_drop: false }` [INFO] [stdout] 6e044a3220da40eb80ea7431cf1e8fa8fe2444859c71e86b5743ae08da85264e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9ed650fd9aeefb7d8e37648a2262078d0924e4bcd28749a666317402a5ab6eb1 [INFO] running `Command { std: "docker" "start" "-a" "9ed650fd9aeefb7d8e37648a2262078d0924e4bcd28749a666317402a5ab6eb1", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v0.38.43 [INFO] [stderr] Compiling bitflags v2.7.0 [INFO] [stderr] Compiling tempfile v3.15.0 [INFO] [stderr] Compiling ruuvi-gw-exporter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/main.rs:141:28 [INFO] [stdout] | [INFO] [stdout] 141 | .value((f64::from(temp_mc) / 1000.0)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 141 - .value((f64::from(temp_mc) / 1000.0)) [INFO] [stdout] 141 + .value(f64::from(temp_mc) / 1000.0 ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/metrics.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn metric(name: &str) -> MetricBuilder { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 19 | pub fn metric(name: &str) -> MetricBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 6.69s [INFO] running `Command { std: "docker" "inspect" "9ed650fd9aeefb7d8e37648a2262078d0924e4bcd28749a666317402a5ab6eb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ed650fd9aeefb7d8e37648a2262078d0924e4bcd28749a666317402a5ab6eb1", kill_on_drop: false }` [INFO] [stdout] 9ed650fd9aeefb7d8e37648a2262078d0924e4bcd28749a666317402a5ab6eb1