[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 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandir%2Fdhcpd-exporter-rs" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/andir/dhcpd-exporter-rs on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-8/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: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded prometheus v0.7.0 [INFO] [stderr] Downloaded backtrace v0.3.37 [INFO] [stderr] Downloaded ipnetwork v0.14.0 [INFO] [stderr] Downloaded hyper v0.12.34 [INFO] [stderr] Downloaded protobuf v2.8.1 [INFO] [stderr] Downloaded tokio-threadpool v0.1.15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "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] 1f0cec32ff0cc77f8a5fd6726eddafe0b537aa4e698785ff65047f92c438c278 [INFO] running `Command { std: "docker" "start" "-a" "1f0cec32ff0cc77f8a5fd6726eddafe0b537aa4e698785ff65047f92c438c278", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1f0cec32ff0cc77f8a5fd6726eddafe0b537aa4e698785ff65047f92c438c278", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f0cec32ff0cc77f8a5fd6726eddafe0b537aa4e698785ff65047f92c438c278", kill_on_drop: false }` [INFO] [stdout] 1f0cec32ff0cc77f8a5fd6726eddafe0b537aa4e698785ff65047f92c438c278 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", 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] 426e1d44db2befe52a5fb9d1ef8c94132cdd6f40c0768b2354cf488b9322a96f [INFO] running `Command { std: "docker" "start" "-a" "426e1d44db2befe52a5fb9d1ef8c94132cdd6f40c0768b2354cf488b9322a96f", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.3 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling ucd-trie v0.1.2 [INFO] [stderr] Compiling protobuf v2.8.1 [INFO] [stderr] Compiling serde v1.0.100 [INFO] [stderr] Compiling prometheus v0.7.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling hyper v0.12.34 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling chrono v0.4.9 [INFO] [stderr] Compiling pest v2.1.2 [INFO] [stderr] Compiling mio v0.6.19 [INFO] [stderr] Compiling tokio-threadpool v0.1.15 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling http v0.1.18 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling tokio-reactor v0.1.9 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling pest_meta v2.1.2 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling pest_generator v2.1.1 [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] = note: `#[warn(bare_trait_objects)]` on by default [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, &Fn(&&Lease) -> bool, &[&str])> = vec![ [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, &Fn(&&Lease) -> bool, &[&str])> = vec![ [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 1m 32s [INFO] running `Command { std: "docker" "inspect" "426e1d44db2befe52a5fb9d1ef8c94132cdd6f40c0768b2354cf488b9322a96f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "426e1d44db2befe52a5fb9d1ef8c94132cdd6f40c0768b2354cf488b9322a96f", kill_on_drop: false }` [INFO] [stdout] 426e1d44db2befe52a5fb9d1ef8c94132cdd6f40c0768b2354cf488b9322a96f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c938ddd1e0124ca9e68dfd7fcada551b929d9687f17cd825962d7720fa064f28 [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" "c938ddd1e0124ca9e68dfd7fcada551b929d9687f17cd825962d7720fa064f28", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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] = note: `#[warn(bare_trait_objects)]` on by default [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, &Fn(&&Lease) -> bool, &[&str])> = vec![ [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, &Fn(&&Lease) -> bool, &[&str])> = vec![ [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 4.22s [INFO] running `Command { std: "docker" "inspect" "c938ddd1e0124ca9e68dfd7fcada551b929d9687f17cd825962d7720fa064f28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c938ddd1e0124ca9e68dfd7fcada551b929d9687f17cd825962d7720fa064f28", kill_on_drop: false }` [INFO] [stdout] c938ddd1e0124ca9e68dfd7fcada551b929d9687f17cd825962d7720fa064f28 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "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] 4790b1658d40af674259c4dd281e8814a02411ac81f7d3818e607383cd26fd27 [INFO] running `Command { std: "docker" "start" "-a" "4790b1658d40af674259c4dd281e8814a02411ac81f7d3818e607383cd26fd27", 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] = note: `#[warn(bare_trait_objects)]` on by default [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, &Fn(&&Lease) -> bool, &[&str])> = vec![ [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, &Fn(&&Lease) -> bool, &[&str])> = vec![ [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 [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/dhcpd_exporter_rs-b3e274474041bfa2) [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" "4790b1658d40af674259c4dd281e8814a02411ac81f7d3818e607383cd26fd27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4790b1658d40af674259c4dd281e8814a02411ac81f7d3818e607383cd26fd27", kill_on_drop: false }` [INFO] [stdout] 4790b1658d40af674259c4dd281e8814a02411ac81f7d3818e607383cd26fd27