[INFO] cloning repository https://github.com/chylex/Apache-Prometheus-Exporter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chylex/Apache-Prometheus-Exporter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchylex%2FApache-Prometheus-Exporter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchylex%2FApache-Prometheus-Exporter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c2f47cf736f0aee0bc712dcd30affdc60b41c49f [INFO] checking chylex/Apache-Prometheus-Exporter/c2f47cf736f0aee0bc712dcd30affdc60b41c49f against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchylex%2FApache-Prometheus-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] validating manifest of git repo https://github.com/chylex/Apache-Prometheus-Exporter on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/chylex/Apache-Prometheus-Exporter [INFO] finished tweaking git repo https://github.com/chylex/Apache-Prometheus-Exporter [INFO] tweaked toml for git repo https://github.com/chylex/Apache-Prometheus-Exporter written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/chylex/Apache-Prometheus-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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded prometheus-client-derive-encode v0.4.2 [INFO] [stderr] Downloaded dtoa v1.0.3 [INFO] [stderr] Downloaded prometheus-client v0.21.2 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5b32305b79f5a6c258a348b70625e2b4e32ff61630363cc7fe7b875b165c363a [INFO] running `Command { std: "docker" "start" "-a" "5b32305b79f5a6c258a348b70625e2b4e32ff61630363cc7fe7b875b165c363a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5b32305b79f5a6c258a348b70625e2b4e32ff61630363cc7fe7b875b165c363a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b32305b79f5a6c258a348b70625e2b4e32ff61630363cc7fe7b875b165c363a", kill_on_drop: false }` [INFO] [stdout] 5b32305b79f5a6c258a348b70625e2b4e32ff61630363cc7fe7b875b165c363a [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 177dfba2bfea25554547eeb9b825f827a8c3b2144dd065db6179492332ba2821 [INFO] running `Command { std: "docker" "start" "-a" "177dfba2bfea25554547eeb9b825f827a8c3b2144dd065db6179492332ba2821", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling futures-core v0.3.24 [INFO] [stderr] Compiling futures-task v0.3.24 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Checking bytes v1.2.1 [INFO] [stderr] Compiling futures-util v0.3.24 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Compiling lock_api v0.4.8 [INFO] [stderr] Compiling futures-channel v0.3.24 [INFO] [stderr] Checking once_cell v1.14.0 [INFO] [stderr] Checking try-lock v0.2.4 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling prometheus-client v0.21.2 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking dtoa v1.0.3 [INFO] [stderr] Checking path-slash v0.2.1 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking socket2 v0.5.4 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking filetime v0.2.22 [INFO] [stderr] Checking inotify v0.9.6 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking notify v6.1.1 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling prometheus-client-derive-encode v0.4.2 [INFO] [stderr] Checking tokio v1.32.0 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking apache_prometheus_exporter v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/logs/access_log_parser.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 20 | impl<'a> AccessLogLineParts<'a> { [INFO] [stdout] | ------------------------------- associated function in this implementation [INFO] [stdout] 21 | pub fn parse(line: &'a str) -> Result, ParseError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `next_space_delimited_part` is never used [INFO] [stdout] --> src/logs/access_log_parser.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn next_space_delimited_part(str: &str) -> Option<(&str, &str)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_between_chars` is never used [INFO] [stdout] --> src/logs/access_log_parser.rs:38:4 [INFO] [stdout] | [INFO] [stdout] 38 | fn extract_between_chars(str: &str, left_side: char, right_side: char) -> Option<(&str, &str)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ParseError` is never used [INFO] [stdout] --> src/logs/access_log_parser.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | pub enum ParseError { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/logs/access_log_parser.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 20 | impl<'a> AccessLogLineParts<'a> { [INFO] [stdout] | ------------------------------- associated function in this implementation [INFO] [stdout] 21 | pub fn parse(line: &'a str) -> Result, ParseError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `next_space_delimited_part` is never used [INFO] [stdout] --> src/logs/access_log_parser.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn next_space_delimited_part(str: &str) -> Option<(&str, &str)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_between_chars` is never used [INFO] [stdout] --> src/logs/access_log_parser.rs:38:4 [INFO] [stdout] | [INFO] [stdout] 38 | fn extract_between_chars(str: &str, left_side: char, right_side: char) -> Option<(&str, &str)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ParseError` is never used [INFO] [stdout] --> src/logs/access_log_parser.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | pub enum ParseError { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.92s [INFO] running `Command { std: "docker" "inspect" "177dfba2bfea25554547eeb9b825f827a8c3b2144dd065db6179492332ba2821", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "177dfba2bfea25554547eeb9b825f827a8c3b2144dd065db6179492332ba2821", kill_on_drop: false }` [INFO] [stdout] 177dfba2bfea25554547eeb9b825f827a8c3b2144dd065db6179492332ba2821