[INFO] cloning repository https://github.com/fezz-io/zps3
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fezz-io/zps3" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffezz-io%2Fzps3", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffezz-io%2Fzps3'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 4a2d52e86006fd69c8f194a1362b27432190f60c
[INFO] checking fezz-io/zps3 against master#485ec3fbcc12fa14ef6596dabb125ad710499c9e for pr-157710
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffezz-io%2Fzps3" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/fezz-io/zps3
[INFO] finished tweaking git repo https://github.com/fezz-io/zps3
[INFO] tweaked toml for git repo https://github.com/fezz-io/zps3 written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/fezz-io/zps3 on toolchain 485ec3fbcc12fa14ef6596dabb125ad710499c9e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+485ec3fbcc12fa14ef6596dabb125ad710499c9e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/fezz-io/zps3 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" "+485ec3fbcc12fa14ef6596dabb125ad710499c9e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating git repository `https://github.com/fezz-io/event_emitter_rs`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Updating git repository `https://github.com/EventStore/libxid.git`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded zstd v0.5.4+zstd.1.4.7
[INFO] [stderr]   Downloaded zstd-safe v2.0.6+zstd.1.4.7
[INFO] [stderr]   Downloaded glob v0.3.0
[INFO] [stderr]   Downloaded cc v1.0.66
[INFO] [stderr]   Downloaded hermit-abi v0.1.17
[INFO] [stderr]   Downloaded strum v0.20.0
[INFO] [stderr]   Downloaded keccak v0.1.0
[INFO] [stderr]   Downloaded quote v1.0.3
[INFO] [stderr]   Downloaded generic-array v0.14.4
[INFO] [stderr]   Downloaded md5 v0.6.1
[INFO] [stderr]   Downloaded instant v0.1.6
[INFO] [stderr]   Downloaded cloudabi v0.1.0
[INFO] [stderr]   Downloaded unicode-width v0.1.8
[INFO] [stderr]   Downloaded termcolor v1.1.0
[INFO] [stderr]   Downloaded kv v0.22.0
[INFO] [stderr]   Downloaded gethostname v0.2.1
[INFO] [stderr]   Downloaded strum_macros v0.20.1
[INFO] [stderr]   Downloaded os_str_bytes v2.3.2
[INFO] [stderr]   Downloaded proc-macro2 v1.0.24
[INFO] [stderr]   Downloaded parking_lot_core v0.8.0
[INFO] [stderr]   Downloaded version_check v0.9.2
[INFO] [stderr]   Downloaded thiserror v1.0.20
[INFO] [stderr]   Downloaded thiserror-impl v1.0.20
[INFO] [stderr]   Downloaded bincode v1.3.1
[INFO] [stderr]   Downloaded textwrap v0.12.1
[INFO] [stderr]   Downloaded num-integer v0.1.42
[INFO] [stderr]   Downloaded jobserver v0.1.21
[INFO] [stderr]   Downloaded users v0.11.0
[INFO] [stderr]   Downloaded rustc-demangle v0.1.18
[INFO] [stderr]   Downloaded heck v0.3.1
[INFO] [stderr]   Downloaded lock_api v0.4.1
[INFO] [stderr]   Downloaded getrandom v0.1.15
[INFO] [stderr]   Downloaded smallvec v1.4.2
[INFO] [stderr]   Downloaded addr2line v0.14.1
[INFO] [stderr]   Downloaded clap_derive v3.0.0-beta.2
[INFO] [stderr]   Downloaded anyhow v1.0.28
[INFO] [stderr]   Downloaded typenum v1.12.0
[INFO] [stderr]   Downloaded synstructure v0.12.4
[INFO] [stderr]   Downloaded backtrace v0.3.55
[INFO] [stderr]   Downloaded parking_lot v0.11.0
[INFO] [stderr]   Downloaded uuid v0.8.1
[INFO] [stderr]   Downloaded indexmap v1.6.0
[INFO] [stderr]   Downloaded num-traits v0.2.11
[INFO] [stderr]   Downloaded bytes v0.6.0
[INFO] [stderr]   Downloaded miniz_oxide v0.4.3
[INFO] [stderr]   Downloaded url v2.1.1
[INFO] [stderr]   Downloaded unicode-normalization v0.1.12
[INFO] [stderr]   Downloaded unicode-segmentation v1.6.0
[INFO] [stderr]   Downloaded serde_json v1.0.58
[INFO] [stderr]   Downloaded toml v0.5.6
[INFO] [stderr]   Downloaded hashbrown v0.9.1
[INFO] [stderr]   Downloaded object v0.22.0
[INFO] [stderr]   Downloaded clap v3.0.0-beta.2
[INFO] [stderr]   Downloaded chrono v0.4.11
[INFO] [stderr]   Downloaded syn v1.0.42
[INFO] [stderr]   Downloaded sled v0.34.3
[INFO] [stderr]   Downloaded gimli v0.23.0
[INFO] [stderr]   Downloaded sysctl v0.4.0
[INFO] [stderr]   Downloaded zstd-sys v1.4.18+zstd.1.4.7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 2d1c01bad49e286d0a5f5430a73a6b7baa0aab69e9151ef9b750a95d6c14b50c
[INFO] running `Command { std: "docker" "start" "2d1c01bad49e286d0a5f5430a73a6b7baa0aab69e9151ef9b750a95d6c14b50c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "2d1c01bad49e286d0a5f5430a73a6b7baa0aab69e9151ef9b750a95d6c14b50c" "/opt/rustwide/cargo-home/bin/cargo" "+485ec3fbcc12fa14ef6596dabb125ad710499c9e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2d1c01bad49e286d0a5f5430a73a6b7baa0aab69e9151ef9b750a95d6c14b50c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "2d1c01bad49e286d0a5f5430a73a6b7baa0aab69e9151ef9b750a95d6c14b50c" "/opt/rustwide/cargo-home/bin/cargo" "+485ec3fbcc12fa14ef6596dabb125ad710499c9e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.76
[INFO] [stderr]    Compiling autocfg v1.0.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.24
[INFO] [stderr]    Compiling unicode-xid v0.2.0
[INFO] [stderr]    Compiling syn v1.0.42
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]    Compiling version_check v0.9.2
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]    Compiling serde_derive v1.0.116
[INFO] [stderr]    Compiling serde v1.0.116
[INFO] [stderr]    Compiling getrandom v0.1.15
[INFO] [stderr]     Checking smallvec v1.4.2
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]    Compiling glob v0.3.0
[INFO] [stderr]    Compiling typenum v1.12.0
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]    Compiling crc32fast v1.2.0
[INFO] [stderr]    Compiling itertools v0.9.0
[INFO] [stderr]     Checking gimli v0.23.0
[INFO] [stderr]    Compiling failure_derive v0.1.8
[INFO] [stderr]     Checking adler v0.2.3
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]     Checking ppv-lite86 v0.2.9
[INFO] [stderr]    Compiling serde_json v1.0.58
[INFO] [stderr]     Checking object v0.22.0
[INFO] [stderr]     Checking rustc-demangle v0.1.18
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling generic-array v0.14.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling unicode-segmentation v1.6.0
[INFO] [stderr]     Checking instant v0.1.6
[INFO] [stderr]    Compiling miniz_oxide v0.4.3
[INFO] [stderr]    Compiling memoffset v0.5.5
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling num-traits v0.2.11
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]    Compiling num-integer v0.1.42
[INFO] [stderr]    Compiling indexmap v1.6.0
[INFO] [stderr]     Checking lock_api v0.4.1
[INFO] [stderr]     Checking same-file v1.0.6
[INFO] [stderr]    Compiling heck v0.3.1
[INFO] [stderr]     Checking itoa v0.4.6
[INFO] [stderr]    Compiling zstd-safe v2.0.6+zstd.1.4.7
[INFO] [stderr]     Checking matches v0.1.8
[INFO] [stderr]     Checking parking_lot_core v0.8.0
[INFO] [stderr]     Checking fs2 v0.4.3
[INFO] [stderr]     Checking rand_os v0.1.3
[INFO] [stderr]     Checking unicode-bidi v0.3.4
[INFO] [stderr]     Checking walkdir v2.3.1
[INFO] [stderr]    Compiling jobserver v0.1.21
[INFO] [stderr]     Checking parking_lot v0.11.0
[INFO] [stderr]     Checking fxhash v0.2.1
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking unicode-normalization v0.1.12
[INFO] [stderr]     Checking unicode-width v0.1.8
[INFO] [stderr]    Compiling anyhow v1.0.28
[INFO] [stderr]     Checking hashbrown v0.9.1
[INFO] [stderr]    Compiling cc v1.0.66
[INFO] [stderr]     Checking textwrap v0.12.1
[INFO] [stderr]     Checking rand v0.6.5
[INFO] [stderr]     Checking time v0.1.42
[INFO] [stderr]    Compiling quote v1.0.3
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking gethostname v0.2.1
[INFO] [stderr]     Checking sled v0.34.3
[INFO] [stderr]     Checking strsim v0.10.0
[INFO] [stderr]     Checking semver-parser v0.7.0
[INFO] [stderr]     Checking digest v0.9.0
[INFO] [stderr]     Checking block-buffer v0.9.0
[INFO] [stderr]     Checking keccak v0.1.0
[INFO] [stderr]     Checking os_str_bytes v2.3.2
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking termcolor v1.1.0
[INFO] [stderr]     Checking md5 v0.6.1
[INFO] [stderr]     Checking semver v0.9.0
[INFO] [stderr]     Checking sha3 v0.9.1
[INFO] [stderr]     Checking users v0.11.0
[INFO] [stderr]     Checking strum v0.20.0
[INFO] [stderr]     Checking bytes v0.6.0
[INFO] [stderr]     Checking chrono v0.4.11
[INFO] [stderr]    Compiling zstd-sys v1.4.18+zstd.1.4.7
[INFO] [stderr]     Checking idna v0.2.0
[INFO] [stderr]     Checking uuid v0.8.1
[INFO] [stderr]     Checking addr2line v0.14.1
[INFO] [stderr]     Checking url v2.1.1
[INFO] [stderr]     Checking backtrace v0.3.55
[INFO] [stderr]    Compiling synstructure v0.12.4
[INFO] [stderr]    Compiling thiserror-impl v1.0.20
[INFO] [stderr]    Compiling clap_derive v3.0.0-beta.2
[INFO] [stderr]    Compiling strum_macros v0.20.1
[INFO] [stderr]     Checking failure v0.1.8
[INFO] [stderr]     Checking sysctl v0.4.0
[INFO] [stderr]     Checking thiserror v1.0.20
[INFO] [stderr]     Checking clap v3.0.0-beta.2
[INFO] [stderr]     Checking bincode v1.3.1
[INFO] [stderr]     Checking toml v0.5.6
[INFO] [stderr]     Checking event-emitter-rs v0.1.4 (https://github.com/fezz-io/event_emitter_rs#abe2f351)
[INFO] [stderr]     Checking kv v0.22.0
[INFO] [stderr]     Checking libxid v0.1.4 (https://github.com/EventStore/libxid.git?branch=enhance-platform-id#b89e21e6)
[INFO] [stderr]     Checking zstd v0.5.4+zstd.1.4.7
[INFO] [stderr]     Checking zps v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::env`
[INFO] [stdout]  --> src/provider/mod.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::env;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `walkdir::WalkDir`
[INFO] [stdout]  --> src/zpkg/builder.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use walkdir::WalkDir;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]  --> src/zpkg/header.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fs::File;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `anyhow::Error`
[INFO] [stdout]  --> src/zpkg/header.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use anyhow::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CompType`, `HashMethod`, and `Version`
[INFO] [stdout]  --> src/zpkg/reader.rs:2:35
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::zpkg::header::{Header, Version, HeaderV1, CompType, HashMethod};
[INFO] [stdout]   |                                   ^^^^^^^            ^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `url::quirks::hash`
[INFO] [stdout]  --> src/zpkg/reader.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use url::quirks::hash;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::hash::Hash`
[INFO] [stdout]  --> src/zpkg/reader.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::hash::Hash;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BufWriter` and `Write`
[INFO] [stdout]  --> src/zpkg/payload.rs:4:26
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::io::{BufReader, BufWriter, Write, Seek, SeekFrom};
[INFO] [stdout]   |                          ^^^^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]  --> src/zpkg/payload.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::io;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Borrow`
[INFO] [stdout]  --> src/zpkg/payload.rs:9:30
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::borrow::{BorrowMut, Borrow};
[INFO] [stdout]   |                              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `User`
[INFO] [stdout]  --> src/fs/mod.rs:6:48
[INFO] [stdout]   |
[INFO] [stdout] 6 | use users::{get_user_by_uid, get_group_by_gid, User};
[INFO] [stdout]   |                                                ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::env`
[INFO] [stdout]  --> src/provider/mod.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::env;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `walkdir::WalkDir`
[INFO] [stdout]  --> src/zpkg/builder.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use walkdir::WalkDir;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]  --> src/zpkg/header.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fs::File;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `anyhow::Error`
[INFO] [stdout]  --> src/zpkg/header.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use anyhow::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CompType`, `HashMethod`, and `Version`
[INFO] [stdout]  --> src/zpkg/reader.rs:2:35
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::zpkg::header::{Header, Version, HeaderV1, CompType, HashMethod};
[INFO] [stdout]   |                                   ^^^^^^^            ^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `url::quirks::hash`
[INFO] [stdout]  --> src/zpkg/reader.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use url::quirks::hash;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::hash::Hash`
[INFO] [stdout]  --> src/zpkg/reader.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::hash::Hash;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BufWriter` and `Write`
[INFO] [stdout]  --> src/zpkg/payload.rs:4:26
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::io::{BufReader, BufWriter, Write, Seek, SeekFrom};
[INFO] [stdout]   |                          ^^^^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]  --> src/zpkg/payload.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::io;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Borrow`
[INFO] [stdout]  --> src/zpkg/payload.rs:9:30
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::borrow::{BorrowMut, Borrow};
[INFO] [stdout]   |                              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `User`
[INFO] [stdout]  --> src/fs/mod.rs:6:48
[INFO] [stdout]   |
[INFO] [stdout] 6 | use users::{get_user_by_uid, get_group_by_gid, User};
[INFO] [stdout]   |                                                ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tree`
[INFO] [stdout]   --> src/config/config.rs:54:23
[INFO] [stdout]    |
[INFO] [stdout] 54 | fn osarch_from_config(tree: &Path) -> OSArch {
[INFO] [stdout]    |                       ^^^^ help: if this is intentional, prefix it with an underscore: `_tree`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `opts`
[INFO] [stdout]   --> src/provider/dir.rs:18:23
[INFO] [stdout]    |
[INFO] [stdout] 18 |     fn realize(&self, opts: Options, phase: Phase, payload_reader: Option<&Reader>, payload_writer: Option<&mut Writer>) -> Result<B...
[INFO] [stdout]    |                       ^^^^ help: if this is intentional, prefix it with an underscore: `_opts`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `payload_reader`
[INFO] [stdout]   --> src/provider/dir.rs:18:52
[INFO] [stdout]    |
[INFO] [stdout] 18 | ...ns, phase: Phase, payload_reader: Option<&Reader>, payload_writer: Option<&mut Writer>) -> Result<Box<dyn Action>, Error> {
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload_reader`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `payload_writer`
[INFO] [stdout]   --> src/provider/dir.rs:18:85
[INFO] [stdout]    |
[INFO] [stdout] 18 | ... Option<&Reader>, payload_writer: Option<&mut Writer>) -> Result<Box<dyn Action>, Error> {
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload_writer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `payload_reader`
[INFO] [stdout]   --> src/provider/file.rs:30:52
[INFO] [stdout]    |
[INFO] [stdout] 30 | ...ns, phase: Phase, payload_reader: Option<&Reader>, payload_writer: Option<&mut Writer>) -> Result<Box<dyn Action>, Error> {
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload_reader`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `opts`
[INFO] [stdout]   --> src/provider/zpkg.rs:18:23
[INFO] [stdout]    |
[INFO] [stdout] 18 |     fn realize(&self, opts: Options, phase: Phase, payload_reader: Option<&Reader>, payload_writer: Option<&mut Writer>) -> Result<B...
[INFO] [stdout]    |                       ^^^^ help: if this is intentional, prefix it with an underscore: `_opts`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `phase`
[INFO] [stdout]   --> src/provider/zpkg.rs:18:38
[INFO] [stdout]    |
[INFO] [stdout] 18 |     fn realize(&self, opts: Options, phase: Phase, payload_reader: Option<&Reader>, payload_writer: Option<&mut Writer>) -> Result<B...
[INFO] [stdout]    |                                      ^^^^^ help: if this is intentional, prefix it with an underscore: `_phase`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `payload_reader`
[INFO] [stdout]   --> src/provider/zpkg.rs:18:52
[INFO] [stdout]    |
[INFO] [stdout] 18 | ...ns, phase: Phase, payload_reader: Option<&Reader>, payload_writer: Option<&mut Writer>) -> Result<Box<dyn Action>, Error> {
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload_reader`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `payload_writer`
[INFO] [stdout]   --> src/provider/zpkg.rs:18:85
[INFO] [stdout]    |
[INFO] [stdout] 18 | ... Option<&Reader>, payload_writer: Option<&mut Writer>) -> Result<Box<dyn Action>, Error> {
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload_writer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/zpkg/payload.rs:22:13
[INFO] [stdout]    |
[INFO] [stdout] 22 |         let mut xid = libxid::new_generator();
[INFO] [stdout]    |             ----^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/zpkg/payload.rs:61:13
[INFO] [stdout]    |
[INFO] [stdout] 61 |         let mut src = BufReader::new(input);
[INFO] [stdout]    |             ----^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/zpkg/payload.rs:62:13
[INFO] [stdout]    |
[INFO] [stdout] 62 |         let mut dst = MultiWriter::new(vec![Box::new(self.file.borrow_mut()), Box::new(hasher.borrow_mut())]);
[INFO] [stdout]    |             ----^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `time` is never read
[INFO] [stdout]   --> src/lib.rs:74:24
[INFO] [stdout]    |
[INFO] [stdout] 74 |         let mut time = None;
[INFO] [stdout]    |                        ^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 78 |             time = Some(Utc::now())
[INFO] [stdout]    |             ----------------------- `time` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tree`
[INFO] [stdout]   --> src/config/config.rs:54:23
[INFO] [stdout]    |
[INFO] [stdout] 54 | fn osarch_from_config(tree: &Path) -> OSArch {
[INFO] [stdout]    |                       ^^^^ help: if this is intentional, prefix it with an underscore: `_tree`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Exq` is never used
[INFO] [stdout]   --> src/lib.rs:45:7
[INFO] [stdout]    |
[INFO] [stdout] 45 | trait Exq {
[INFO] [stdout]    |       ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `ANY`, `GTE`, `LTE`, `EQ`, and `EXQ` are never constructed
[INFO] [stdout]    --> src/lib.rs:150:5
[INFO] [stdout]     |
[INFO] [stdout] 149 | enum Comparator {
[INFO] [stdout]     |      ---------- variants in this enum
[INFO] [stdout] 150 |     ANY,
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 151 |     GTE,
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 152 |     LTE,
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 153 |     EQ,
[INFO] [stdout]     |     ^^
[INFO] [stdout] 154 |     EXQ,
[INFO] [stdout]     |     ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Comparator` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Depends`, `Provides`, and `Conflicts` are never constructed
[INFO] [stdout]    --> src/lib.rs:171:5
[INFO] [stdout]     |
[INFO] [stdout] 170 | enum RequirementMethod {
[INFO] [stdout]     |      ----------------- variants in this enum
[INFO] [stdout] 171 |     Depends,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 172 |     Provides,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 173 |     Conflicts,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `RequirementMethod` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name`, `method`, `comparator`, and `version` are never read
[INFO] [stdout]    --> src/lib.rs:178:5
[INFO] [stdout]     |
[INFO] [stdout] 177 | struct Requirement {
[INFO] [stdout]     |        ----------- fields in this struct
[INFO] [stdout] 178 |     name: String,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 179 |     method: RequirementMethod,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 180 |     comparator: Comparator,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout] 181 |     version: Option<Version>,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Requirement` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `new` and `from_simple` are never used
[INFO] [stdout]    --> src/lib.rs:185:12
[INFO] [stdout]     |
[INFO] [stdout] 184 | impl Requirement {
[INFO] [stdout]     | ---------------- associated functions in this implementation
[INFO] [stdout] 185 |     pub fn new(
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 199 |     pub fn from_simple<S: Into<String>>(requirement: S) -> Result<Requirement, Error> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `OperationMethod` is never used
[INFO] [stdout]    --> src/lib.rs:233:6
[INFO] [stdout]     |
[INFO] [stdout] 233 | enum OperationMethod {
[INFO] [stdout]     |      ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Operation` is never constructed
[INFO] [stdout]    --> src/lib.rs:250:8
[INFO] [stdout]     |
[INFO] [stdout] 250 | struct Operation {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/lib.rs:256:12
[INFO] [stdout]     |
[INFO] [stdout] 255 | impl Operation {
[INFO] [stdout]     | -------------- associated function in this implementation
[INFO] [stdout] 256 |     pub fn new(method: OperationMethod, package: Package) -> Operation {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `RequestMethod` is never used
[INFO] [stdout]    --> src/lib.rs:262:6
[INFO] [stdout]     |
[INFO] [stdout] 262 | enum RequestMethod {
[INFO] [stdout]     |      ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Job` is never constructed
[INFO] [stdout]    --> src/lib.rs:276:8
[INFO] [stdout]     |
[INFO] [stdout] 276 | struct Job {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/lib.rs:282:12
[INFO] [stdout]     |
[INFO] [stdout] 281 | impl Job {
[INFO] [stdout]     | -------- associated function in this implementation
[INFO] [stdout] 282 |     pub fn new(method: RequestMethod, req: Requirement) -> Job {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Request` is never constructed
[INFO] [stdout]    --> src/lib.rs:287:8
[INFO] [stdout]     |
[INFO] [stdout] 287 | struct Request {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `install`, and `remove` are never used
[INFO] [stdout]    --> src/lib.rs:292:12
[INFO] [stdout]     |
[INFO] [stdout] 291 | impl Request {
[INFO] [stdout]     | ------------ associated items in this implementation
[INFO] [stdout] 292 |     pub fn new() -> Request {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 298 |     fn install(&mut self, req: Requirement) -> &mut Self {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 306 |     fn remove(&mut self, req: Requirement) -> &mut Self {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `publisher`, `summary`, `description`, `requirements`, `channels`, and `location` are never read
[INFO] [stdout]    --> src/lib.rs:319:5
[INFO] [stdout]     |
[INFO] [stdout] 316 | struct Package {
[INFO] [stdout]     |        ------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 319 |     publisher: String,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 323 |     summary: String,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 324 |     description: String,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] 325 |
[INFO] [stdout] 326 |     requirements: Vec<Box<Requirement>>,
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout] 327 |
[INFO] [stdout] 328 |     channels: Vec<Box<String>>,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 329 |
[INFO] [stdout] 330 |     location: i32,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Package` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `satisfies` are never used
[INFO] [stdout]    --> src/lib.rs:335:12
[INFO] [stdout]     |
[INFO] [stdout] 334 | impl Package {
[INFO] [stdout]     | ------------ associated items in this implementation
[INFO] [stdout] 335 |     pub fn new(
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 386 |     fn satisfies(&self, req: Requirement) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Repo` is never constructed
[INFO] [stdout]    --> src/lib.rs:467:8
[INFO] [stdout]     |
[INFO] [stdout] 467 | struct Repo {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/lib.rs:480:12
[INFO] [stdout]     |
[INFO] [stdout] 479 | impl Repo {
[INFO] [stdout]     | --------- associated items in this implementation
[INFO] [stdout] 480 |     pub fn new(uri: Url, priority: u32, enabled: bool) -> Repo {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 491 |     fn add(&mut self, packages: &[Package]) -> Vec<Package> {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 506 |     fn remove(&mut self, package: &Package) {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 512 |     fn contains(self, package: &Package) -> bool {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 516 |     fn contents_for_name(&mut self, name: String) -> Vec<Package> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 524 |     fn prune(&mut self, count: i32) -> Option<Vec<Package>> {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 557 |     fn load(&mut self, packages: Vec<Package>) {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 563 |     fn contents(self) -> Vec<Package> {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CACHE` is never used
[INFO] [stdout]  --> src/config/path.rs:4:18
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub(crate) const CACHE: &str = "var/cache/zps";
[INFO] [stdout]   |                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TREE` is never used
[INFO] [stdout]  --> src/config/path.rs:8:18
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub(crate) const TREE: &str = "zps";
[INFO] [stdout]   |                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `State` is never constructed
[INFO] [stdout]   --> src/db.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | struct State {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `open`, `packages`, `pkg_put`, `pkg_del`, and `pkg_list` are never used
[INFO] [stdout]   --> src/db.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl State {
[INFO] [stdout]    | ---------- associated items in this implementation
[INFO] [stdout] 20 |     pub fn new(path: &str) -> State {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     fn open(&mut self) -> Result<(), Error> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 32 |     fn packages(&mut self) -> Result<Bucket<String, Json<Manifest>>, Error> {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub fn pkg_put(&mut self, pkg: Manifest) -> Result<(), Error> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 56 |     pub fn pkg_del(&mut self, pkg: String) -> Result<(), Error> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 64 |     pub fn pkg_list(&mut self) -> Result<Vec<Manifest>, Error> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `platforms`, and `expand` are never used
[INFO] [stdout]    --> src/platform.rs:70:12
[INFO] [stdout]     |
[INFO] [stdout]  69 | impl OSArch {
[INFO] [stdout]     | ----------- associated items in this implementation
[INFO] [stdout]  70 |     pub fn new(os: OS, arch: Arch) -> OSArch {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  90 |     pub fn platforms() -> Vec<OSArch> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 102 |     pub fn expand(&self) -> Vec<OSArch> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `comp_type`, `hash_method`, `manifest_len`, and `version` are never used
[INFO] [stdout]   --> src/zpkg/header.rs:41:8
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub trait Header {
[INFO] [stdout]    |           ------ methods in this trait
[INFO] [stdout] 41 |     fn comp_type(&self) -> u8;
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 42 |     fn hash_method(&self) -> u8;
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 43 |     fn manifest_len(&self) -> u32;
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 44 |     fn to_vec(&self) -> Vec<u8>;
[INFO] [stdout] 45 |     fn version(&self) -> u8;
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Reader` is never constructed
[INFO] [stdout]   --> src/zpkg/reader.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Reader {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `read` are never used
[INFO] [stdout]   --> src/zpkg/reader.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl Reader {
[INFO] [stdout]    | ----------- associated items in this implementation
[INFO] [stdout] 20 |     pub fn new(path: &Path, work_path: &Path) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub fn read (&mut self) -> Result<(), Error> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/db.rs:32:17
[INFO] [stdout]    |
[INFO] [stdout] 32 |     fn packages(&mut self) -> Result<Bucket<String, Json<Manifest>>, Error> {
[INFO] [stdout]    |                 ^^^^^^^^^            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 32 |     fn packages(&mut self) -> Result<Bucket<'_, String, Json<Manifest>>, Error> {
[INFO] [stdout]    |                                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/zpkg/builder.rs:150:9
[INFO] [stdout]     |
[INFO] [stdout] 150 |         std::fs::remove_file(payload.file_path());
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 150 |         let _ = std::fs::remove_file(payload.file_path());
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/zpkg/payload.rs:24:29
[INFO] [stdout]    |
[INFO] [stdout] 24 |         let path = work_path.clone().join(file_name);
[INFO] [stdout]    |                             ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed
[INFO] [stdout]    = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout] 24 -         let path = work_path.clone().join(file_name);
[INFO] [stdout] 24 +         let path = work_path.join(file_name);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `opts`
[INFO] [stdout]   --> src/provider/dir.rs:18:23
[INFO] [stdout]    |
[INFO] [stdout] 18 |     fn realize(&self, opts: Options, phase: Phase, payload_reader: Option<&Reader>, payload_writer: Option<&mut Writer>) -> Result<B...
[INFO] [stdout]    |                       ^^^^ help: if this is intentional, prefix it with an underscore: `_opts`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `payload_reader`
[INFO] [stdout]   --> src/provider/dir.rs:18:52
[INFO] [stdout]    |
[INFO] [stdout] 18 | ...ns, phase: Phase, payload_reader: Option<&Reader>, payload_writer: Option<&mut Writer>) -> Result<Box<dyn Action>, Error> {
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload_reader`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `payload_writer`
[INFO] [stdout]   --> src/provider/dir.rs:18:85
[INFO] [stdout]    |
[INFO] [stdout] 18 | ... Option<&Reader>, payload_writer: Option<&mut Writer>) -> Result<Box<dyn Action>, Error> {
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload_writer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `payload_reader`
[INFO] [stdout]   --> src/provider/file.rs:30:52
[INFO] [stdout]    |
[INFO] [stdout] 30 | ...ns, phase: Phase, payload_reader: Option<&Reader>, payload_writer: Option<&mut Writer>) -> Result<Box<dyn Action>, Error> {
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload_reader`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `opts`
[INFO] [stdout]   --> src/provider/zpkg.rs:18:23
[INFO] [stdout]    |
[INFO] [stdout] 18 |     fn realize(&self, opts: Options, phase: Phase, payload_reader: Option<&Reader>, payload_writer: Option<&mut Writer>) -> Result<B...
[INFO] [stdout]    |                       ^^^^ help: if this is intentional, prefix it with an underscore: `_opts`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `phase`
[INFO] [stdout]   --> src/provider/zpkg.rs:18:38
[INFO] [stdout]    |
[INFO] [stdout] 18 |     fn realize(&self, opts: Options, phase: Phase, payload_reader: Option<&Reader>, payload_writer: Option<&mut Writer>) -> Result<B...
[INFO] [stdout]    |                                      ^^^^^ help: if this is intentional, prefix it with an underscore: `_phase`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `payload_reader`
[INFO] [stdout]   --> src/provider/zpkg.rs:18:52
[INFO] [stdout]    |
[INFO] [stdout] 18 | ...ns, phase: Phase, payload_reader: Option<&Reader>, payload_writer: Option<&mut Writer>) -> Result<Box<dyn Action>, Error> {
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload_reader`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `payload_writer`
[INFO] [stdout]   --> src/provider/zpkg.rs:18:85
[INFO] [stdout]    |
[INFO] [stdout] 18 | ... Option<&Reader>, payload_writer: Option<&mut Writer>) -> Result<Box<dyn Action>, Error> {
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload_writer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/zpkg/payload.rs:22:13
[INFO] [stdout]    |
[INFO] [stdout] 22 |         let mut xid = libxid::new_generator();
[INFO] [stdout]    |             ----^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/zpkg/payload.rs:61:13
[INFO] [stdout]    |
[INFO] [stdout] 61 |         let mut src = BufReader::new(input);
[INFO] [stdout]    |             ----^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/zpkg/payload.rs:62:13
[INFO] [stdout]    |
[INFO] [stdout] 62 |         let mut dst = MultiWriter::new(vec![Box::new(self.file.borrow_mut()), Box::new(hasher.borrow_mut())]);
[INFO] [stdout]    |             ----^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `time` is never read
[INFO] [stdout]   --> src/lib.rs:74:24
[INFO] [stdout]    |
[INFO] [stdout] 74 |         let mut time = None;
[INFO] [stdout]    |                        ^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 78 |             time = Some(Utc::now())
[INFO] [stdout]    |             ----------------------- `time` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Provides` and `Conflicts` are never constructed
[INFO] [stdout]    --> src/lib.rs:172:5
[INFO] [stdout]     |
[INFO] [stdout] 170 | enum RequirementMethod {
[INFO] [stdout]     |      ----------------- variants in this enum
[INFO] [stdout] 171 |     Depends,
[INFO] [stdout] 172 |     Provides,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 173 |     Conflicts,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `RequirementMethod` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `method` is never read
[INFO] [stdout]    --> src/lib.rs:179:5
[INFO] [stdout]     |
[INFO] [stdout] 177 | struct Requirement {
[INFO] [stdout]     |        ----------- field in this struct
[INFO] [stdout] 178 |     name: String,
[INFO] [stdout] 179 |     method: RequirementMethod,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Requirement` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `OperationMethod` is never used
[INFO] [stdout]    --> src/lib.rs:233:6
[INFO] [stdout]     |
[INFO] [stdout] 233 | enum OperationMethod {
[INFO] [stdout]     |      ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Operation` is never constructed
[INFO] [stdout]    --> src/lib.rs:250:8
[INFO] [stdout]     |
[INFO] [stdout] 250 | struct Operation {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/lib.rs:256:12
[INFO] [stdout]     |
[INFO] [stdout] 255 | impl Operation {
[INFO] [stdout]     | -------------- associated function in this implementation
[INFO] [stdout] 256 |     pub fn new(method: OperationMethod, package: Package) -> Operation {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/lib.rs:282:12
[INFO] [stdout]     |
[INFO] [stdout] 281 | impl Job {
[INFO] [stdout]     | -------- associated function in this implementation
[INFO] [stdout] 282 |     pub fn new(method: RequestMethod, req: Requirement) -> Job {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `publisher`, `summary`, `description`, `requirements`, and `location` are never read
[INFO] [stdout]    --> src/lib.rs:319:5
[INFO] [stdout]     |
[INFO] [stdout] 316 | struct Package {
[INFO] [stdout]     |        ------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 319 |     publisher: String,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 323 |     summary: String,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 324 |     description: String,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] 325 |
[INFO] [stdout] 326 |     requirements: Vec<Box<Requirement>>,
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 330 |     location: i32,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Package` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `enabled` and `updated` are never read
[INFO] [stdout]    --> src/lib.rs:471:5
[INFO] [stdout]     |
[INFO] [stdout] 467 | struct Repo {
[INFO] [stdout]     |        ---- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 471 |     enabled: bool,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 472 |     updated: DateTime<Utc>,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Repo` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `add`, `remove`, `contains`, `contents_for_name`, and `prune` are never used
[INFO] [stdout]    --> src/lib.rs:491:8
[INFO] [stdout]     |
[INFO] [stdout] 479 | impl Repo {
[INFO] [stdout]     | --------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 491 |     fn add(&mut self, packages: &[Package]) -> Vec<Package> {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 506 |     fn remove(&mut self, package: &Package) {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 512 |     fn contains(self, package: &Package) -> bool {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 516 |     fn contents_for_name(&mut self, name: String) -> Vec<Package> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 524 |     fn prune(&mut self, count: i32) -> Option<Vec<Package>> {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CACHE` is never used
[INFO] [stdout]  --> src/config/path.rs:4:18
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub(crate) const CACHE: &str = "var/cache/zps";
[INFO] [stdout]   |                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TREE` is never used
[INFO] [stdout]  --> src/config/path.rs:8:18
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub(crate) const TREE: &str = "zps";
[INFO] [stdout]   |                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `new` and `platforms` are never used
[INFO] [stdout]   --> src/platform.rs:70:12
[INFO] [stdout]    |
[INFO] [stdout] 69 | impl OSArch {
[INFO] [stdout]    | ----------- associated functions in this implementation
[INFO] [stdout] 70 |     pub fn new(os: OS, arch: Arch) -> OSArch {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 90 |     pub fn platforms() -> Vec<OSArch> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `comp_type`, `hash_method`, `manifest_len`, and `version` are never used
[INFO] [stdout]   --> src/zpkg/header.rs:41:8
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub trait Header {
[INFO] [stdout]    |           ------ methods in this trait
[INFO] [stdout] 41 |     fn comp_type(&self) -> u8;
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 42 |     fn hash_method(&self) -> u8;
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 43 |     fn manifest_len(&self) -> u32;
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 44 |     fn to_vec(&self) -> Vec<u8>;
[INFO] [stdout] 45 |     fn version(&self) -> u8;
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Reader` is never constructed
[INFO] [stdout]   --> src/zpkg/reader.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Reader {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `read` are never used
[INFO] [stdout]   --> src/zpkg/reader.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl Reader {
[INFO] [stdout]    | ----------- associated items in this implementation
[INFO] [stdout] 20 |     pub fn new(path: &Path, work_path: &Path) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub fn read (&mut self) -> Result<(), Error> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/db.rs:32:17
[INFO] [stdout]    |
[INFO] [stdout] 32 |     fn packages(&mut self) -> Result<Bucket<String, Json<Manifest>>, Error> {
[INFO] [stdout]    |                 ^^^^^^^^^            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 32 |     fn packages(&mut self) -> Result<Bucket<'_, String, Json<Manifest>>, Error> {
[INFO] [stdout]    |                                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/zpkg/builder.rs:150:9
[INFO] [stdout]     |
[INFO] [stdout] 150 |         std::fs::remove_file(payload.file_path());
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 150 |         let _ = std::fs::remove_file(payload.file_path());
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/zpkg/payload.rs:24:29
[INFO] [stdout]    |
[INFO] [stdout] 24 |         let path = work_path.clone().join(file_name);
[INFO] [stdout]    |                             ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed
[INFO] [stdout]    = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout] 24 -         let path = work_path.clone().join(file_name);
[INFO] [stdout] 24 +         let path = work_path.join(file_name);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Emitter` and `console`
[INFO] [stdout]   --> src/bin/main.rs:13:11
[INFO] [stdout]    |
[INFO] [stdout] 13 | use zps::{Emitter, console};
[INFO] [stdout]    |           ^^^^^^^  ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Emitter` and `console`
[INFO] [stdout]   --> src/bin/main.rs:13:11
[INFO] [stdout]    |
[INFO] [stdout] 13 | use zps::{Emitter, console};
[INFO] [stdout]    |           ^^^^^^^  ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 00s
[INFO] running `Command { std: "docker" "inspect" "2d1c01bad49e286d0a5f5430a73a6b7baa0aab69e9151ef9b750a95d6c14b50c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2d1c01bad49e286d0a5f5430a73a6b7baa0aab69e9151ef9b750a95d6c14b50c", kill_on_drop: false }`
[INFO] [stdout] 2d1c01bad49e286d0a5f5430a73a6b7baa0aab69e9151ef9b750a95d6c14b50c
