[INFO] cloning repository https://github.com/remram44/access-log-to-prometheus-metrics [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/remram44/access-log-to-prometheus-metrics" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fremram44%2Faccess-log-to-prometheus-metrics", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fremram44%2Faccess-log-to-prometheus-metrics'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ae3190b9a073abea480d96cb3a43023741d16d48 [INFO] testing remram44/access-log-to-prometheus-metrics against master#62efba8a050c64249dab942951bb28f710208bc8 for pr-90799 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fremram44%2Faccess-log-to-prometheus-metrics" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/remram44/access-log-to-prometheus-metrics on toolchain 62efba8a050c64249dab942951bb28f710208bc8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/remram44/access-log-to-prometheus-metrics [INFO] finished tweaking git repo https://github.com/remram44/access-log-to-prometheus-metrics [INFO] tweaked toml for git repo https://github.com/remram44/access-log-to-prometheus-metrics written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/remram44/access-log-to-prometheus-metrics already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4730e3d25b24c3db543f5158ef85b12ab22e8df051cb87a9ef68e0b5ef15aaec [INFO] running `Command { std: "docker" "start" "-a" "4730e3d25b24c3db543f5158ef85b12ab22e8df051cb87a9ef68e0b5ef15aaec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4730e3d25b24c3db543f5158ef85b12ab22e8df051cb87a9ef68e0b5ef15aaec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4730e3d25b24c3db543f5158ef85b12ab22e8df051cb87a9ef68e0b5ef15aaec", kill_on_drop: false }` [INFO] [stdout] 4730e3d25b24c3db543f5158ef85b12ab22e8df051cb87a9ef68e0b5ef15aaec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 52e845133211d6652ea3f87225691ec1481e69545e799b9f2c43f8b5b5632b48 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "52e845133211d6652ea3f87225691ec1481e69545e799b9f2c43f8b5b5632b48", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.103 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling prometheus v0.13.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling instant v0.1.11 [INFO] [stderr] Compiling proc-macro2 v1.0.30 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling tokio v1.12.0 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling filetime v0.2.15 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling inotify v0.7.1 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling http-body v0.4.3 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling notify v4.0.17 [INFO] [stderr] Compiling tokio-macros v1.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling hyper v0.14.13 [INFO] [stderr] Compiling access-log-to-prometheus-metrics v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/processor.rs:25:22 [INFO] [stdout] | [INFO] [stdout] 25 | fn filter(&self, value: &str) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_filter` [INFO] [stdout] --> src/collector.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn add_filter(&mut self, field: String, func: FilterFunc) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_extractor` [INFO] [stdout] --> src/collector.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn add_extractor(&mut self, label: Option, field: String, func: ExtractorFunc) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 04s [INFO] running `Command { std: "docker" "inspect" "52e845133211d6652ea3f87225691ec1481e69545e799b9f2c43f8b5b5632b48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52e845133211d6652ea3f87225691ec1481e69545e799b9f2c43f8b5b5632b48", kill_on_drop: false }` [INFO] [stdout] 52e845133211d6652ea3f87225691ec1481e69545e799b9f2c43f8b5b5632b48 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 15fa490c1f265c361228350d1d9186a47c92d62c71c777ea93613af023e12454 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "15fa490c1f265c361228350d1d9186a47c92d62c71c777ea93613af023e12454", kill_on_drop: false }` [INFO] [stderr] Compiling access-log-to-prometheus-metrics v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/processor.rs:25:22 [INFO] [stdout] | [INFO] [stdout] 25 | fn filter(&self, value: &str) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_filter` [INFO] [stdout] --> src/collector.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn add_filter(&mut self, field: String, func: FilterFunc) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_extractor` [INFO] [stdout] --> src/collector.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn add_extractor(&mut self, label: Option, field: String, func: ExtractorFunc) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.18s [INFO] running `Command { std: "docker" "inspect" "15fa490c1f265c361228350d1d9186a47c92d62c71c777ea93613af023e12454", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15fa490c1f265c361228350d1d9186a47c92d62c71c777ea93613af023e12454", kill_on_drop: false }` [INFO] [stdout] 15fa490c1f265c361228350d1d9186a47c92d62c71c777ea93613af023e12454 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c119c7d12ea8d0dcea90444add0d07ed679bb5f3d39010c46f7e9f6206a6f2c3 [INFO] running `Command { std: "docker" "start" "-a" "c119c7d12ea8d0dcea90444add0d07ed679bb5f3d39010c46f7e9f6206a6f2c3", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `value` [INFO] [stderr] --> src/processor.rs:25:22 [INFO] [stderr] | [INFO] [stderr] 25 | fn filter(&self, value: &str) -> bool { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `add_filter` [INFO] [stderr] --> src/collector.rs:98:12 [INFO] [stderr] | [INFO] [stderr] 98 | pub fn add_filter(&mut self, field: String, func: FilterFunc) -> Result<(), ()> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `add_extractor` [INFO] [stderr] --> src/collector.rs:112:12 [INFO] [stderr] | [INFO] [stderr] 112 | pub fn add_extractor(&mut self, label: Option, field: String, func: ExtractorFunc) -> Result<(), ()> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `access-log-to-prometheus-metrics` (bin "access-log-to-prometheus-metrics" test) generated 3 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/access_log_to_prometheus_metrics-4e8b49370260fbbb) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test log_parser::test_format_parser ... ok [INFO] [stdout] test log_parser::test_parser ... ok [INFO] [stdout] test collector::tests::test_process ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c119c7d12ea8d0dcea90444add0d07ed679bb5f3d39010c46f7e9f6206a6f2c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c119c7d12ea8d0dcea90444add0d07ed679bb5f3d39010c46f7e9f6206a6f2c3", kill_on_drop: false }` [INFO] [stdout] c119c7d12ea8d0dcea90444add0d07ed679bb5f3d39010c46f7e9f6206a6f2c3