[INFO] cloning repository https://github.com/andir/dhcpd-exporter-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/andir/dhcpd-exporter-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandir%2Fdhcpd-exporter-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandir%2Fdhcpd-exporter-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 44e0ed4614b0a32f22607f2a8519fef0e199ce0b [INFO] testing andir/dhcpd-exporter-rs against master#d3515155216e98c23440ea92c3f49c6a0d7101fc for pr-113843 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandir%2Fdhcpd-exporter-rs" "/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/andir/dhcpd-exporter-rs on toolchain d3515155216e98c23440ea92c3f49c6a0d7101fc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d3515155216e98c23440ea92c3f49c6a0d7101fc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/andir/dhcpd-exporter-rs [INFO] finished tweaking git repo https://github.com/andir/dhcpd-exporter-rs [INFO] tweaked toml for git repo https://github.com/andir/dhcpd-exporter-rs written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/andir/dhcpd-exporter-rs 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" "+d3515155216e98c23440ea92c3f49c6a0d7101fc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hyper v0.12.34 [INFO] [stderr] Downloaded ipnetwork v0.14.0 [INFO] [stderr] Downloaded pest_generator v2.1.1 [INFO] [stderr] Downloaded ucd-trie v0.1.2 [INFO] [stderr] Downloaded pest_meta v2.1.2 [INFO] [stderr] Downloaded pest v2.1.2 [INFO] [stderr] Downloaded serde v1.0.100 [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:5c16f4e6c37141f9fef0bc86f7a492d732943053e42aab8461035881e3f53823" "/opt/rustwide/cargo-home/bin/cargo" "+d3515155216e98c23440ea92c3f49c6a0d7101fc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 609e659e9b6c1f2b286f92564ad5e3faaf5529dcbf013f8e0ebe116cfc8eb0c8 [INFO] running `Command { std: "docker" "start" "-a" "609e659e9b6c1f2b286f92564ad5e3faaf5529dcbf013f8e0ebe116cfc8eb0c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "609e659e9b6c1f2b286f92564ad5e3faaf5529dcbf013f8e0ebe116cfc8eb0c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "609e659e9b6c1f2b286f92564ad5e3faaf5529dcbf013f8e0ebe116cfc8eb0c8", kill_on_drop: false }` [INFO] [stdout] 609e659e9b6c1f2b286f92564ad5e3faaf5529dcbf013f8e0ebe116cfc8eb0c8 [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:5c16f4e6c37141f9fef0bc86f7a492d732943053e42aab8461035881e3f53823" "/opt/rustwide/cargo-home/bin/cargo" "+d3515155216e98c23440ea92c3f49c6a0d7101fc" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9cd866117163009222f8b69865f7ad0c2b064a627f139d158f5e272d7d35503a [INFO] running `Command { std: "docker" "start" "-a" "9cd866117163009222f8b69865f7ad0c2b064a627f139d158f5e272d7d35503a", kill_on_drop: false }` [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling either v1.5.2 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling tokio-executor v0.1.8 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling owning_ref v0.4.0 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling cc v1.0.45 [INFO] [stderr] Compiling tokio-sync v0.1.6 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling mio v0.6.19 [INFO] [stderr] Compiling ucd-trie v0.1.2 [INFO] [stderr] Compiling http v0.1.18 [INFO] [stderr] Compiling pest v2.1.2 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling serde v1.0.100 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling protobuf v2.8.1 [INFO] [stderr] Compiling backtrace-sys v0.1.31 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling pest_meta v2.1.2 [INFO] [stderr] Compiling tokio-reactor v0.1.9 [INFO] [stderr] Compiling tokio-threadpool v0.1.15 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling tokio-current-thread v0.1.6 [INFO] [stderr] Compiling tokio-timer v0.2.11 [INFO] [stderr] Compiling hyper v0.12.34 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling indexmap v1.2.0 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling unicode-width v0.1.6 [INFO] [stderr] Compiling prometheus v0.7.0 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling backtrace v0.3.37 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling pest_generator v2.1.1 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling chrono v0.4.9 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling ipnetwork v0.14.0 [INFO] [stderr] Compiling dhcpd-exporter-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Gauge` [INFO] [stdout] --> src/main.rs:22:30 [INFO] [stdout] | [INFO] [stdout] 22 | linear_buckets, Encoder, Gauge, Histogram, HistogramVec, IntGaugeVec, TextEncoder, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:199:24 [INFO] [stdout] | [INFO] [stdout] 199 | let filters: Vec<(&Fn(&&Lease) -> bool, &Fn(&&Lease) -> bool, &[&str])> = vec![ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 199 | let filters: Vec<(&dyn Fn(&&Lease) -> bool, &Fn(&&Lease) -> bool, &[&str])> = vec![ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:199:46 [INFO] [stdout] | [INFO] [stdout] 199 | let filters: Vec<(&Fn(&&Lease) -> bool, &Fn(&&Lease) -> bool, &[&str])> = vec![ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 199 | let filters: Vec<(&Fn(&&Lease) -> bool, &dyn Fn(&&Lease) -> bool, &[&str])> = vec![ [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 24.25s [INFO] running `Command { std: "docker" "inspect" "9cd866117163009222f8b69865f7ad0c2b064a627f139d158f5e272d7d35503a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9cd866117163009222f8b69865f7ad0c2b064a627f139d158f5e272d7d35503a", kill_on_drop: false }` [INFO] [stdout] 9cd866117163009222f8b69865f7ad0c2b064a627f139d158f5e272d7d35503a [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:5c16f4e6c37141f9fef0bc86f7a492d732943053e42aab8461035881e3f53823" "/opt/rustwide/cargo-home/bin/cargo" "+d3515155216e98c23440ea92c3f49c6a0d7101fc" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a67da11be3679ffc4172a343615a31ce6c0dcc596c3509c012b1e4ace0a34092 [INFO] running `Command { std: "docker" "start" "-a" "a67da11be3679ffc4172a343615a31ce6c0dcc596c3509c012b1e4ace0a34092", kill_on_drop: false }` [INFO] [stderr] Compiling dhcpd-exporter-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Gauge` [INFO] [stdout] --> src/main.rs:22:30 [INFO] [stdout] | [INFO] [stdout] 22 | linear_buckets, Encoder, Gauge, Histogram, HistogramVec, IntGaugeVec, TextEncoder, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:199:24 [INFO] [stdout] | [INFO] [stdout] 199 | let filters: Vec<(&Fn(&&Lease) -> bool, &Fn(&&Lease) -> bool, &[&str])> = vec![ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 199 | let filters: Vec<(&dyn Fn(&&Lease) -> bool, &Fn(&&Lease) -> bool, &[&str])> = vec![ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:199:46 [INFO] [stdout] | [INFO] [stdout] 199 | let filters: Vec<(&Fn(&&Lease) -> bool, &Fn(&&Lease) -> bool, &[&str])> = vec![ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 199 | let filters: Vec<(&Fn(&&Lease) -> bool, &dyn Fn(&&Lease) -> bool, &[&str])> = vec![ [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 1.07s [INFO] running `Command { std: "docker" "inspect" "a67da11be3679ffc4172a343615a31ce6c0dcc596c3509c012b1e4ace0a34092", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a67da11be3679ffc4172a343615a31ce6c0dcc596c3509c012b1e4ace0a34092", kill_on_drop: false }` [INFO] [stdout] a67da11be3679ffc4172a343615a31ce6c0dcc596c3509c012b1e4ace0a34092 [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:5c16f4e6c37141f9fef0bc86f7a492d732943053e42aab8461035881e3f53823" "/opt/rustwide/cargo-home/bin/cargo" "+d3515155216e98c23440ea92c3f49c6a0d7101fc" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7658b613973adbca2cb5f173155b451e3967aa3dc804834fbb5ca4ed764806a9 [INFO] running `Command { std: "docker" "start" "-a" "7658b613973adbca2cb5f173155b451e3967aa3dc804834fbb5ca4ed764806a9", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Gauge` [INFO] [stderr] --> src/main.rs:22:30 [INFO] [stderr] | [INFO] [stderr] 22 | linear_buckets, Encoder, Gauge, Histogram, HistogramVec, IntGaugeVec, TextEncoder, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:199:24 [INFO] [stderr] | [INFO] [stderr] 199 | let filters: Vec<(&Fn(&&Lease) -> bool, &Fn(&&Lease) -> bool, &[&str])> = vec![ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 199 | let filters: Vec<(&dyn Fn(&&Lease) -> bool, &Fn(&&Lease) -> bool, &[&str])> = vec![ [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:199:46 [INFO] [stderr] | [INFO] [stderr] 199 | let filters: Vec<(&Fn(&&Lease) -> bool, &Fn(&&Lease) -> bool, &[&str])> = vec![ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 199 | let filters: Vec<(&Fn(&&Lease) -> bool, &dyn Fn(&&Lease) -> bool, &[&str])> = vec![ [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `dhcpd-exporter-rs` (bin "dhcpd-exporter-rs" test) generated 3 warnings (run `cargo fix --bin "dhcpd-exporter-rs" --tests` to apply 3 suggestions) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/dhcpd_exporter_rs-fb54a8b9e837778e) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7658b613973adbca2cb5f173155b451e3967aa3dc804834fbb5ca4ed764806a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7658b613973adbca2cb5f173155b451e3967aa3dc804834fbb5ca4ed764806a9", kill_on_drop: false }` [INFO] [stdout] 7658b613973adbca2cb5f173155b451e3967aa3dc804834fbb5ca4ed764806a9