[INFO] fetching crate pi-hole-api 0.1.1... [INFO] building pi-hole-api-0.1.1 against try#615edd3ad1cf6871c977dc900317cb6c2070fd6b for pr-97334 [INFO] extracting crate pi-hole-api 0.1.1 into /workspace/builds/worker-39/source [INFO] validating manifest of crates.io crate pi-hole-api 0.1.1 on toolchain 615edd3ad1cf6871c977dc900317cb6c2070fd6b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate pi-hole-api 0.1.1 [INFO] finished tweaking crates.io crate pi-hole-api 0.1.1 [INFO] tweaked toml for crates.io crate pi-hole-api 0.1.1 written to /workspace/builds/worker-39/source/Cargo.toml [INFO] crate crates.io crate pi-hole-api 0.1.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1ac03a38957d9dd8ac8012bdd6bac183e257430b6c2b334e00721b817c35ae97 [INFO] running `Command { std: "docker" "start" "-a" "1ac03a38957d9dd8ac8012bdd6bac183e257430b6c2b334e00721b817c35ae97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1ac03a38957d9dd8ac8012bdd6bac183e257430b6c2b334e00721b817c35ae97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ac03a38957d9dd8ac8012bdd6bac183e257430b6c2b334e00721b817c35ae97", kill_on_drop: false }` [INFO] [stdout] 1ac03a38957d9dd8ac8012bdd6bac183e257430b6c2b334e00721b817c35ae97 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6543be9572113ac0c375db769e09e82543823ed5ee4f9df0370816394e747cbf [INFO] running `Command { std: "docker" "start" "-a" "6543be9572113ac0c375db769e09e82543823ed5ee4f9df0370816394e747cbf", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.12 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling libc v0.2.70 [INFO] [stderr] Compiling syn v1.0.21 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling cc v1.0.52 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling pin-project-lite v0.1.5 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling serde v1.0.110 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling smallvec v1.4.0 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling encoding_rs v0.8.23 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling dtoa v0.4.5 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling simple-error v0.2.1 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling openssl-sys v0.9.56 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling quote v1.0.5 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling pin-project-internal v0.4.16 [INFO] [stderr] Compiling serde_derive v1.0.110 [INFO] [stderr] Compiling tokio v0.2.20 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling pin-project v0.4.16 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling h2 v0.2.5 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling serde_json v1.0.53 [INFO] [stderr] Compiling hyper v0.13.5 [INFO] [stderr] Compiling hyper-tls v0.4.1 [INFO] [stderr] Compiling reqwest v0.10.4 [INFO] [stderr] Compiling pi-hole-api v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `data` [INFO] [stdout] --> src/lib.rs:191:5 [INFO] [stdout] | [INFO] [stdout] 191 | data: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `AllQueries` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/lib.rs:188:23 [INFO] [stdout] | [INFO] [stdout] 188 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4m 23s [INFO] running `Command { std: "docker" "inspect" "6543be9572113ac0c375db769e09e82543823ed5ee4f9df0370816394e747cbf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6543be9572113ac0c375db769e09e82543823ed5ee4f9df0370816394e747cbf", kill_on_drop: false }` [INFO] [stdout] 6543be9572113ac0c375db769e09e82543823ed5ee4f9df0370816394e747cbf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b34c81b6e307617dc670fc157fcea7828aca1a80a972cd7e6e437808da19a8f9 [INFO] running `Command { std: "docker" "start" "-a" "b34c81b6e307617dc670fc157fcea7828aca1a80a972cd7e6e437808da19a8f9", kill_on_drop: false }` [INFO] [stdout] warning: field is never read: `data` [INFO] [stdout] --> src/lib.rs:191:5 [INFO] [stdout] | [INFO] [stdout] 191 | data: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `AllQueries` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/lib.rs:188:23 [INFO] [stdout] | [INFO] [stdout] 188 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling pi-hole-api v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/tests.rs:24:34 [INFO] [stdout] | [INFO] [stdout] 24 | Err(e) => assert!(false, format!("Failed to get summary raw: {}", e)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 24 - Err(e) => assert!(false, format!("Failed to get summary raw: {}", e)), [INFO] [stdout] 24 + Err(e) => assert!(false, "Failed to get summary raw: {}", e), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/tests.rs:36:34 [INFO] [stdout] | [INFO] [stdout] 36 | Err(e) => assert!(false, format!("Failed to get summary: {}", e)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 36 - Err(e) => assert!(false, format!("Failed to get summary: {}", e)), [INFO] [stdout] 36 + Err(e) => assert!(false, "Failed to get summary: {}", e), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/tests.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | format!("Failed to get over time data 10 minutes: {}", e) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 47 - format!("Failed to get over time data 10 minutes: {}", e) [INFO] [stdout] 47 + "Failed to get over time data 10 minutes: {}", e [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/tests.rs:57:34 [INFO] [stdout] | [INFO] [stdout] 57 | Err(e) => assert!(false, format!("Failed to get top items: {}", e)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 57 - Err(e) => assert!(false, format!("Failed to get top items: {}", e)), [INFO] [stdout] 57 + Err(e) => assert!(false, "Failed to get top items: {}", e), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/tests.rs:64:34 [INFO] [stdout] | [INFO] [stdout] 64 | Err(e) => assert!(false, format!("Failed to get top items: {}", e)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 64 - Err(e) => assert!(false, format!("Failed to get top items: {}", e)), [INFO] [stdout] 64 + Err(e) => assert!(false, "Failed to get top items: {}", e), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/tests.rs:71:34 [INFO] [stdout] | [INFO] [stdout] 71 | Err(e) => assert!(false, format!("Failed to get top items: {}", e)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 71 - Err(e) => assert!(false, format!("Failed to get top items: {}", e)), [INFO] [stdout] 71 + Err(e) => assert!(false, "Failed to get top items: {}", e), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/tests.rs:80:34 [INFO] [stdout] | [INFO] [stdout] 80 | Err(e) => assert!(false, format!("Failed to get top items: {}", e)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 80 - Err(e) => assert!(false, format!("Failed to get top items: {}", e)), [INFO] [stdout] 80 + Err(e) => assert!(false, "Failed to get top items: {}", e), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/tests.rs:87:34 [INFO] [stdout] | [INFO] [stdout] 87 | Err(e) => assert!(false, format!("Failed to get top items: {}", e)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 87 - Err(e) => assert!(false, format!("Failed to get top items: {}", e)), [INFO] [stdout] 87 + Err(e) => assert!(false, "Failed to get top items: {}", e), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/tests.rs:94:34 [INFO] [stdout] | [INFO] [stdout] 94 | Err(e) => assert!(false, format!("Failed to get top items: {}", e)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 94 - Err(e) => assert!(false, format!("Failed to get top items: {}", e)), [INFO] [stdout] 94 + Err(e) => assert!(false, "Failed to get top items: {}", e), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/tests.rs:103:34 [INFO] [stdout] | [INFO] [stdout] 103 | Err(e) => assert!(false, format!("Failed to get top items: {}", e)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 103 - Err(e) => assert!(false, format!("Failed to get top items: {}", e)), [INFO] [stdout] 103 + Err(e) => assert!(false, "Failed to get top items: {}", e), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/tests.rs:110:34 [INFO] [stdout] | [INFO] [stdout] 110 | Err(e) => assert!(false, format!("Failed to get top items: {}", e)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 110 - Err(e) => assert!(false, format!("Failed to get top items: {}", e)), [INFO] [stdout] 110 + Err(e) => assert!(false, "Failed to get top items: {}", e), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/tests.rs:117:34 [INFO] [stdout] | [INFO] [stdout] 117 | Err(e) => assert!(false, format!("Failed to get top items: {}", e)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 117 - Err(e) => assert!(false, format!("Failed to get top items: {}", e)), [INFO] [stdout] 117 + Err(e) => assert!(false, "Failed to get top items: {}", e), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/tests.rs:126:34 [INFO] [stdout] | [INFO] [stdout] 126 | Err(e) => assert!(false, format!("Failed to get forward destinations: {}", e)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 126 - Err(e) => assert!(false, format!("Failed to get forward destinations: {}", e)), [INFO] [stdout] 126 + Err(e) => assert!(false, "Failed to get forward destinations: {}", e), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/tests.rs:137:34 [INFO] [stdout] | [INFO] [stdout] 137 | Err(e) => assert!(false, format!("Failed to get query types: {}", e)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 137 - Err(e) => assert!(false, format!("Failed to get query types: {}", e)), [INFO] [stdout] 137 + Err(e) => assert!(false, "Failed to get query types: {}", e), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/tests.rs:146:34 [INFO] [stdout] | [INFO] [stdout] 146 | Err(e) => assert!(false, format!("Failed to get all queries: {}", e)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 146 - Err(e) => assert!(false, format!("Failed to get all queries: {}", e)), [INFO] [stdout] 146 + Err(e) => assert!(false, "Failed to get all queries: {}", e), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/tests.rs:157:34 [INFO] [stdout] | [INFO] [stdout] 157 | Err(e) => assert!(false, format!("Failed to enable pi-hole: {}", e)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 157 - Err(e) => assert!(false, format!("Failed to enable pi-hole: {}", e)), [INFO] [stdout] 157 + Err(e) => assert!(false, "Failed to enable pi-hole: {}", e), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/tests.rs:168:34 [INFO] [stdout] | [INFO] [stdout] 168 | Err(e) => assert!(false, format!("Failed to disable pi-hole: {}", e)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 168 - Err(e) => assert!(false, format!("Failed to disable pi-hole: {}", e)), [INFO] [stdout] 168 + Err(e) => assert!(false, "Failed to disable pi-hole: {}", e), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/tests.rs:182:34 [INFO] [stdout] | [INFO] [stdout] 182 | Err(e) => assert!(false, format!("Failed to get version: {}", e)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 182 - Err(e) => assert!(false, format!("Failed to get version: {}", e)), [INFO] [stdout] 182 + Err(e) => assert!(false, "Failed to get version: {}", e), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/tests.rs:191:34 [INFO] [stdout] | [INFO] [stdout] 191 | Err(e) => assert!(false, format!("Failed to get cache info: {}", e)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 191 - Err(e) => assert!(false, format!("Failed to get cache info: {}", e)), [INFO] [stdout] 191 + Err(e) => assert!(false, "Failed to get cache info: {}", e), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/tests.rs:202:34 [INFO] [stdout] | [INFO] [stdout] 202 | Err(e) => assert!(false, format!("Failed to get client names: {}", e)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 202 - Err(e) => assert!(false, format!("Failed to get client names: {}", e)), [INFO] [stdout] 202 + Err(e) => assert!(false, "Failed to get client names: {}", e), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/tests.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | format!("Failed to get over time data clients: {}", e) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 215 - format!("Failed to get over time data clients: {}", e) [INFO] [stdout] 215 + "Failed to get over time data clients: {}", e [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/tests.rs:227:34 [INFO] [stdout] | [INFO] [stdout] 227 | Err(e) => assert!(false, format!("Failed to get network information: {}", e)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 227 - Err(e) => assert!(false, format!("Failed to get network information: {}", e)), [INFO] [stdout] 227 + Err(e) => assert!(false, "Failed to get network information: {}", e), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/tests.rs:238:34 [INFO] [stdout] | [INFO] [stdout] 238 | Err(e) => assert!(false, format!("Failed to get network information: {}", e)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 238 - Err(e) => assert!(false, format!("Failed to get network information: {}", e)), [INFO] [stdout] 238 + Err(e) => assert!(false, "Failed to get network information: {}", e), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/tests.rs:250:34 [INFO] [stdout] | [INFO] [stdout] 250 | Err(e) => assert!(false, format!("Failed to add domain to list: {}", e)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 250 - Err(e) => assert!(false, format!("Failed to add domain to list: {}", e)), [INFO] [stdout] 250 + Err(e) => assert!(false, "Failed to add domain to list: {}", e), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `data` [INFO] [stdout] --> src/lib.rs:191:5 [INFO] [stdout] | [INFO] [stdout] 191 | data: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `AllQueries` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/lib.rs:188:23 [INFO] [stdout] | [INFO] [stdout] 188 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.78s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/pi_hole_api-b63f3a798b1e169d) [INFO] [stderr] Executable tests/tests.rs (/opt/rustwide/target/debug/deps/tests-568741c026fc3be0) [INFO] running `Command { std: "docker" "inspect" "b34c81b6e307617dc670fc157fcea7828aca1a80a972cd7e6e437808da19a8f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b34c81b6e307617dc670fc157fcea7828aca1a80a972cd7e6e437808da19a8f9", kill_on_drop: false }` [INFO] [stdout] b34c81b6e307617dc670fc157fcea7828aca1a80a972cd7e6e437808da19a8f9