[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 beta-2022-04-10 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 beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "+beta-2022-04-10" "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] 8f1b887fd717eadaa3747fdde5956ee89acf0efe82c8ea0f4a497b9c3df93726 [INFO] running `Command { std: "docker" "start" "-a" "8f1b887fd717eadaa3747fdde5956ee89acf0efe82c8ea0f4a497b9c3df93726", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8f1b887fd717eadaa3747fdde5956ee89acf0efe82c8ea0f4a497b9c3df93726", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f1b887fd717eadaa3747fdde5956ee89acf0efe82c8ea0f4a497b9c3df93726", kill_on_drop: false }` [INFO] [stdout] 8f1b887fd717eadaa3747fdde5956ee89acf0efe82c8ea0f4a497b9c3df93726 [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" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9966dfa5faf8fdc7d38828f1620cdd3f4bad6bd2676e4eb85a1095436f3c92e4 [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" "9966dfa5faf8fdc7d38828f1620cdd3f4bad6bd2676e4eb85a1095436f3c92e4", 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] 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 quote v1.0.2 [INFO] [stderr] Compiling tokio-reactor v0.1.9 [INFO] [stderr] Compiling pest_meta v2.1.2 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling h2 v0.1.26 [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 39s [INFO] running `Command { std: "docker" "inspect" "9966dfa5faf8fdc7d38828f1620cdd3f4bad6bd2676e4eb85a1095436f3c92e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9966dfa5faf8fdc7d38828f1620cdd3f4bad6bd2676e4eb85a1095436f3c92e4", kill_on_drop: false }` [INFO] [stdout] 9966dfa5faf8fdc7d38828f1620cdd3f4bad6bd2676e4eb85a1095436f3c92e4 [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" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--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] a700d29bea03622199738561aa39df0f4851c0359f76b4d917c94e7548589f86 [INFO] running `Command { std: "docker" "start" "-a" "a700d29bea03622199738561aa39df0f4851c0359f76b4d917c94e7548589f86", 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] = 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 3.95s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/dhcpd_exporter_rs-17f7099720184b57) [INFO] running `Command { std: "docker" "inspect" "a700d29bea03622199738561aa39df0f4851c0359f76b4d917c94e7548589f86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a700d29bea03622199738561aa39df0f4851c0359f76b4d917c94e7548589f86", kill_on_drop: false }` [INFO] [stdout] a700d29bea03622199738561aa39df0f4851c0359f76b4d917c94e7548589f86 [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" "+beta-2022-04-10" "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] 66de35fc68d9a2210f1af9db1c762c0a758fe1f108d58d54a0fb0044bf452369 [INFO] running `Command { std: "docker" "start" "-a" "66de35fc68d9a2210f1af9db1c762c0a758fe1f108d58d54a0fb0044bf452369", 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.19s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/dhcpd_exporter_rs-17f7099720184b57) [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" "66de35fc68d9a2210f1af9db1c762c0a758fe1f108d58d54a0fb0044bf452369", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66de35fc68d9a2210f1af9db1c762c0a758fe1f108d58d54a0fb0044bf452369", kill_on_drop: false }` [INFO] [stdout] 66de35fc68d9a2210f1af9db1c762c0a758fe1f108d58d54a0fb0044bf452369