[INFO] cloning repository https://github.com/garo/ruuvi-gateway-listener [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/garo/ruuvi-gateway-listener" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgaro%2Fruuvi-gateway-listener", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgaro%2Fruuvi-gateway-listener'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2dd93c47eea42e811ceec566f6fe0043f6a5e37e [INFO] checking garo/ruuvi-gateway-listener against master#eb10639928a2781cf0a12440007fbcc1e3a6888f for pr-127827-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgaro%2Fruuvi-gateway-listener" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/garo/ruuvi-gateway-listener on toolchain eb10639928a2781cf0a12440007fbcc1e3a6888f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+eb10639928a2781cf0a12440007fbcc1e3a6888f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/garo/ruuvi-gateway-listener [INFO] finished tweaking git repo https://github.com/garo/ruuvi-gateway-listener [INFO] tweaked toml for git repo https://github.com/garo/ruuvi-gateway-listener written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/garo/ruuvi-gateway-listener 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" "+eb10639928a2781cf0a12440007fbcc1e3a6888f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustls-pemfile v0.3.0 [INFO] [stderr] Downloaded pollster v0.2.5 [INFO] [stderr] Downloaded once_cell v1.12.1 [INFO] [stderr] Downloaded rumqttc v0.12.0 [INFO] [stderr] Downloaded aho-corasick v0.7.19 [INFO] [stderr] Downloaded prometheus v0.13.1 [INFO] [stderr] Downloaded protobuf v2.27.1 [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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+eb10639928a2781cf0a12440007fbcc1e3a6888f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5fb09a46a7e25ea5a3f129be466c0220290892d1d5497ffb3271303a7308427d [INFO] running `Command { std: "docker" "start" "-a" "5fb09a46a7e25ea5a3f129be466c0220290892d1d5497ffb3271303a7308427d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5fb09a46a7e25ea5a3f129be466c0220290892d1d5497ffb3271303a7308427d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5fb09a46a7e25ea5a3f129be466c0220290892d1d5497ffb3271303a7308427d", kill_on_drop: false }` [INFO] [stdout] 5fb09a46a7e25ea5a3f129be466c0220290892d1d5497ffb3271303a7308427d [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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+eb10639928a2781cf0a12440007fbcc1e3a6888f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2a42efcc00ab6c95372b207e9bec961b76779c5c72f9c6aefce84e9cf39f5021 [INFO] running `Command { std: "docker" "start" "-a" "2a42efcc00ab6c95372b207e9bec961b76779c5c72f9c6aefce84e9cf39f5021", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Checking once_cell v1.12.1 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Compiling rustls v0.20.6 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling protobuf v2.27.1 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Checking hashbrown v0.12.1 [INFO] [stderr] Checking cache-padded v1.2.0 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Checking tracing-core v0.1.28 [INFO] [stderr] Checking event-listener v2.5.2 [INFO] [stderr] Compiling prometheus v0.13.1 [INFO] [stderr] Checking parking_lot_core v0.9.3 [INFO] [stderr] Checking concurrent-queue v1.2.2 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking rustls-pemfile v0.3.0 [INFO] [stderr] Checking aho-corasick v0.7.19 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Checking pollster v0.2.5 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking async-channel v1.6.1 [INFO] [stderr] Checking tracing v0.1.35 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Checking webpki v0.22.0 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Checking tokio v1.19.2 [INFO] [stderr] Checking thiserror v1.0.31 [INFO] [stderr] Checking tokio-util v0.7.3 [INFO] [stderr] Checking tokio-rustls v0.23.4 [INFO] [stderr] Checking rumqttc v0.12.0 [INFO] [stderr] Checking h2 v0.3.13 [INFO] [stderr] Checking hyper v0.14.19 [INFO] [stderr] Checking ruuvi-gateway-listener v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Gauge` and `HistogramVec` [INFO] [stdout] --> src/main.rs:8:36 [INFO] [stdout] | [INFO] [stdout] 8 | use prometheus::{Counter, Encoder, Gauge, HistogramVec, TextEncoder}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `register_gauge` and `register_histogram_vec` [INFO] [stdout] --> src/main.rs:9:50 [INFO] [stdout] | [INFO] [stdout] 9 | use prometheus::{labels, opts, register_counter, register_gauge, register_histogram_vec}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Gauge` and `HistogramVec` [INFO] [stdout] --> src/main.rs:8:36 [INFO] [stdout] | [INFO] [stdout] 8 | use prometheus::{Counter, Encoder, Gauge, HistogramVec, TextEncoder}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `register_gauge` and `register_histogram_vec` [INFO] [stdout] --> src/main.rs:9:50 [INFO] [stdout] | [INFO] [stdout] 9 | use prometheus::{labels, opts, register_counter, register_gauge, register_histogram_vec}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | for i in 0..1000 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source_mac` [INFO] [stdout] --> src/ruuvi/parser.rs:158:28 [INFO] [stdout] | [INFO] [stdout] 158 | fn sink(&mut self, source_mac : &str, measurement : RuuviData) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_mac` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `rssi` and `ts` are never read [INFO] [stdout] --> src/ruuvi/gateway.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct RuuviGatewayMessage { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 24 | pub rssi: i16, [INFO] [stdout] | ^^^^ [INFO] [stdout] 25 | pub ts : Box, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `RuuviGatewayMessage` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | for i in 0..1000 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `rssi` and `ts` are never read [INFO] [stdout] --> src/ruuvi/gateway.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct RuuviGatewayMessage { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 24 | pub rssi: i16, [INFO] [stdout] | ^^^^ [INFO] [stdout] 25 | pub ts : Box, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `RuuviGatewayMessage` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 28.70s [INFO] running `Command { std: "docker" "inspect" "2a42efcc00ab6c95372b207e9bec961b76779c5c72f9c6aefce84e9cf39f5021", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a42efcc00ab6c95372b207e9bec961b76779c5c72f9c6aefce84e9cf39f5021", kill_on_drop: false }` [INFO] [stdout] 2a42efcc00ab6c95372b207e9bec961b76779c5c72f9c6aefce84e9cf39f5021 [INFO] checking garo/ruuvi-gateway-listener against try#357cc345f0a672ac4bee347eb89b7552541416c1 for pr-127827-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgaro%2Fruuvi-gateway-listener" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/garo/ruuvi-gateway-listener on toolchain 357cc345f0a672ac4bee347eb89b7552541416c1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+357cc345f0a672ac4bee347eb89b7552541416c1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/garo/ruuvi-gateway-listener [INFO] finished tweaking git repo https://github.com/garo/ruuvi-gateway-listener [INFO] tweaked toml for git repo https://github.com/garo/ruuvi-gateway-listener written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/garo/ruuvi-gateway-listener 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" "+357cc345f0a672ac4bee347eb89b7552541416c1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+357cc345f0a672ac4bee347eb89b7552541416c1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 398158c3d9a630146e582fc1c0330a3534c7a40a89eb9a573ece2e3e2a51a007 [INFO] running `Command { std: "docker" "start" "-a" "398158c3d9a630146e582fc1c0330a3534c7a40a89eb9a573ece2e3e2a51a007", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "398158c3d9a630146e582fc1c0330a3534c7a40a89eb9a573ece2e3e2a51a007", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "398158c3d9a630146e582fc1c0330a3534c7a40a89eb9a573ece2e3e2a51a007", kill_on_drop: false }` [INFO] [stdout] 398158c3d9a630146e582fc1c0330a3534c7a40a89eb9a573ece2e3e2a51a007 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+357cc345f0a672ac4bee347eb89b7552541416c1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f7336154f0396c4dd98e041b2826470aca923d6784929f4995c144c3775bf34f [INFO] running `Command { std: "docker" "start" "-a" "f7336154f0396c4dd98e041b2826470aca923d6784929f4995c144c3775bf34f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Checking once_cell v1.12.1 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling rustls v0.20.6 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Checking cache-padded v1.2.0 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Checking parking_lot_core v0.9.3 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Checking hashbrown v0.12.1 [INFO] [stderr] Compiling protobuf v2.27.1 [INFO] [stderr] Checking concurrent-queue v1.2.2 [INFO] [stderr] Checking event-listener v2.5.2 [INFO] [stderr] Compiling prometheus v0.13.1 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking tracing-core v0.1.28 [INFO] [stderr] Checking rustls-pemfile v0.3.0 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking aho-corasick v0.7.19 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Checking async-channel v1.6.1 [INFO] [stderr] Checking pollster v0.2.5 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking tracing v0.1.35 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Checking webpki v0.22.0 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Checking tokio v1.19.2 [INFO] [stderr] Checking thiserror v1.0.31 [INFO] [stderr] Checking tokio-util v0.7.3 [INFO] [stderr] Checking tokio-rustls v0.23.4 [INFO] [stderr] Checking rumqttc v0.12.0 [INFO] [stderr] Checking h2 v0.3.13 [INFO] [stderr] Checking hyper v0.14.19 [INFO] [stderr] Checking ruuvi-gateway-listener v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Gauge` and `HistogramVec` [INFO] [stdout] --> src/main.rs:8:36 [INFO] [stdout] | [INFO] [stdout] 8 | use prometheus::{Counter, Encoder, Gauge, HistogramVec, TextEncoder}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `register_gauge` and `register_histogram_vec` [INFO] [stdout] --> src/main.rs:9:50 [INFO] [stdout] | [INFO] [stdout] 9 | use prometheus::{labels, opts, register_counter, register_gauge, register_histogram_vec}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Gauge` and `HistogramVec` [INFO] [stdout] --> src/main.rs:8:36 [INFO] [stdout] | [INFO] [stdout] 8 | use prometheus::{Counter, Encoder, Gauge, HistogramVec, TextEncoder}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `register_gauge` and `register_histogram_vec` [INFO] [stdout] --> src/main.rs:9:50 [INFO] [stdout] | [INFO] [stdout] 9 | use prometheus::{labels, opts, register_counter, register_gauge, register_histogram_vec}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | for i in 0..1000 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source_mac` [INFO] [stdout] --> src/ruuvi/parser.rs:158:28 [INFO] [stdout] | [INFO] [stdout] 158 | fn sink(&mut self, source_mac : &str, measurement : RuuviData) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_mac` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | for i in 0..1000 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implementation of `FnOnce` is not general enough [INFO] [stdout] --> src/main.rs:68:40 [INFO] [stdout] | [INFO] [stdout] 68 | if let Err(err) = serve_future.await { [INFO] [stdout] | ^^^^^ implementation of `FnOnce` is not general enough [INFO] [stdout] | [INFO] [stdout] = note: `{async closure@src/main.rs:62:66: 62:69}` must implement `FnOnce<(&'1 AddrStream,)>`, for any lifetime `'1`... [INFO] [stdout] = note: ...but it actually implements `FnOnce<(&'2 AddrStream,)>`, for some specific lifetime `'2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implementation of `FnMut` is not general enough [INFO] [stdout] --> src/main.rs:68:40 [INFO] [stdout] | [INFO] [stdout] 68 | if let Err(err) = serve_future.await { [INFO] [stdout] | ^^^^^ implementation of `FnMut` is not general enough [INFO] [stdout] | [INFO] [stdout] = note: `{async closure@src/main.rs:62:66: 62:69}` must implement `FnMut<(&'1 AddrStream,)>`, for any lifetime `'1`... [INFO] [stdout] = note: ...but it actually implements `FnMut<(&'2 AddrStream,)>`, for some specific lifetime `'2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implementation of `FnOnce` is not general enough [INFO] [stdout] --> src/main.rs:62:24 [INFO] [stdout] | [INFO] [stdout] 62 | let serve_future = Server::bind(&addr).serve(make_service_fn(|_| async { [INFO] [stdout] | ________________________^ [INFO] [stdout] 63 | | Ok::<_, hyper::Error>(service_fn(serve_req)) [INFO] [stdout] 64 | | })); [INFO] [stdout] | |_______^ implementation of `FnOnce` is not general enough [INFO] [stdout] | [INFO] [stdout] = note: `{async closure@src/main.rs:62:66: 62:69}` must implement `FnOnce<(&'1 AddrStream,)>`, for any lifetime `'1`... [INFO] [stdout] = note: ...but it actually implements `FnOnce<(&'2 AddrStream,)>`, for some specific lifetime `'2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implementation of `FnMut` is not general enough [INFO] [stdout] --> src/main.rs:62:24 [INFO] [stdout] | [INFO] [stdout] 62 | let serve_future = Server::bind(&addr).serve(make_service_fn(|_| async { [INFO] [stdout] | ________________________^ [INFO] [stdout] 63 | | Ok::<_, hyper::Error>(service_fn(serve_req)) [INFO] [stdout] 64 | | })); [INFO] [stdout] | |_______^ implementation of `FnMut` is not general enough [INFO] [stdout] | [INFO] [stdout] = note: `{async closure@src/main.rs:62:66: 62:69}` must implement `FnMut<(&'1 AddrStream,)>`, for any lifetime `'1`... [INFO] [stdout] = note: ...but it actually implements `FnMut<(&'2 AddrStream,)>`, for some specific lifetime `'2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implementation of `FnOnce` is not general enough [INFO] [stdout] --> src/main.rs:62:24 [INFO] [stdout] | [INFO] [stdout] 62 | let serve_future = Server::bind(&addr).serve(make_service_fn(|_| async { [INFO] [stdout] | ________________________^ [INFO] [stdout] 63 | | Ok::<_, hyper::Error>(service_fn(serve_req)) [INFO] [stdout] 64 | | })); [INFO] [stdout] | |_______^ implementation of `FnOnce` is not general enough [INFO] [stdout] | [INFO] [stdout] = note: `{async closure@src/main.rs:62:66: 62:69}` must implement `FnOnce<(&AddrStream,)>`, for some specific lifetime `'0`... [INFO] [stdout] = note: ...but it actually implements `FnOnce<(&'1 AddrStream,)>`, for some specific lifetime `'1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implementation of `FnMut` is not general enough [INFO] [stdout] --> src/main.rs:62:50 [INFO] [stdout] | [INFO] [stdout] 62 | let serve_future = Server::bind(&addr).serve(make_service_fn(|_| async { [INFO] [stdout] | __________________________________________________^ [INFO] [stdout] 63 | | Ok::<_, hyper::Error>(service_fn(serve_req)) [INFO] [stdout] 64 | | })); [INFO] [stdout] | |______^ implementation of `FnMut` is not general enough [INFO] [stdout] | [INFO] [stdout] = note: `{async closure@src/main.rs:62:66: 62:69}` must implement `FnMut<(&'1 AddrStream,)>`, for any lifetime `'1`... [INFO] [stdout] = note: ...but it actually implements `FnMut<(&'2 AddrStream,)>`, for some specific lifetime `'2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ruuvi-gateway-listener` (bin "ruuvi-gateway-listener") due to 7 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: implementation of `FnOnce` is not general enough [INFO] [stdout] --> src/main.rs:68:40 [INFO] [stdout] | [INFO] [stdout] 68 | if let Err(err) = serve_future.await { [INFO] [stdout] | ^^^^^ implementation of `FnOnce` is not general enough [INFO] [stdout] | [INFO] [stdout] = note: `{async closure@src/main.rs:62:66: 62:69}` must implement `FnOnce<(&'1 AddrStream,)>`, for any lifetime `'1`... [INFO] [stdout] = note: ...but it actually implements `FnOnce<(&'2 AddrStream,)>`, for some specific lifetime `'2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implementation of `FnMut` is not general enough [INFO] [stdout] --> src/main.rs:68:40 [INFO] [stdout] | [INFO] [stdout] 68 | if let Err(err) = serve_future.await { [INFO] [stdout] | ^^^^^ implementation of `FnMut` is not general enough [INFO] [stdout] | [INFO] [stdout] = note: `{async closure@src/main.rs:62:66: 62:69}` must implement `FnMut<(&'1 AddrStream,)>`, for any lifetime `'1`... [INFO] [stdout] = note: ...but it actually implements `FnMut<(&'2 AddrStream,)>`, for some specific lifetime `'2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implementation of `FnOnce` is not general enough [INFO] [stdout] --> src/main.rs:62:24 [INFO] [stdout] | [INFO] [stdout] 62 | let serve_future = Server::bind(&addr).serve(make_service_fn(|_| async { [INFO] [stdout] | ________________________^ [INFO] [stdout] 63 | | Ok::<_, hyper::Error>(service_fn(serve_req)) [INFO] [stdout] 64 | | })); [INFO] [stdout] | |_______^ implementation of `FnOnce` is not general enough [INFO] [stdout] | [INFO] [stdout] = note: `{async closure@src/main.rs:62:66: 62:69}` must implement `FnOnce<(&'1 AddrStream,)>`, for any lifetime `'1`... [INFO] [stdout] = note: ...but it actually implements `FnOnce<(&'2 AddrStream,)>`, for some specific lifetime `'2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implementation of `FnMut` is not general enough [INFO] [stdout] --> src/main.rs:62:24 [INFO] [stdout] | [INFO] [stdout] 62 | let serve_future = Server::bind(&addr).serve(make_service_fn(|_| async { [INFO] [stdout] | ________________________^ [INFO] [stdout] 63 | | Ok::<_, hyper::Error>(service_fn(serve_req)) [INFO] [stdout] 64 | | })); [INFO] [stdout] | |_______^ implementation of `FnMut` is not general enough [INFO] [stdout] | [INFO] [stdout] = note: `{async closure@src/main.rs:62:66: 62:69}` must implement `FnMut<(&'1 AddrStream,)>`, for any lifetime `'1`... [INFO] [stdout] = note: ...but it actually implements `FnMut<(&'2 AddrStream,)>`, for some specific lifetime `'2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implementation of `FnOnce` is not general enough [INFO] [stdout] --> src/main.rs:62:24 [INFO] [stdout] | [INFO] [stdout] 62 | let serve_future = Server::bind(&addr).serve(make_service_fn(|_| async { [INFO] [stdout] | ________________________^ [INFO] [stdout] 63 | | Ok::<_, hyper::Error>(service_fn(serve_req)) [INFO] [stdout] 64 | | })); [INFO] [stdout] | |_______^ implementation of `FnOnce` is not general enough [INFO] [stdout] | [INFO] [stdout] = note: `{async closure@src/main.rs:62:66: 62:69}` must implement `FnOnce<(&AddrStream,)>`, for some specific lifetime `'0`... [INFO] [stdout] = note: ...but it actually implements `FnOnce<(&'1 AddrStream,)>`, for some specific lifetime `'1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implementation of `FnMut` is not general enough [INFO] [stdout] --> src/main.rs:62:50 [INFO] [stdout] | [INFO] [stdout] 62 | let serve_future = Server::bind(&addr).serve(make_service_fn(|_| async { [INFO] [stdout] | __________________________________________________^ [INFO] [stdout] 63 | | Ok::<_, hyper::Error>(service_fn(serve_req)) [INFO] [stdout] 64 | | })); [INFO] [stdout] | |______^ implementation of `FnMut` is not general enough [INFO] [stdout] | [INFO] [stdout] = note: `{async closure@src/main.rs:62:66: 62:69}` must implement `FnMut<(&'1 AddrStream,)>`, for any lifetime `'1`... [INFO] [stdout] = note: ...but it actually implements `FnMut<(&'2 AddrStream,)>`, for some specific lifetime `'2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ruuvi-gateway-listener` (bin "ruuvi-gateway-listener" test) due to 7 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f7336154f0396c4dd98e041b2826470aca923d6784929f4995c144c3775bf34f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7336154f0396c4dd98e041b2826470aca923d6784929f4995c144c3775bf34f", kill_on_drop: false }` [INFO] [stdout] f7336154f0396c4dd98e041b2826470aca923d6784929f4995c144c3775bf34f