[INFO] cloning repository https://github.com/reenigneEsrever92/docker-registry-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/reenigneEsrever92/docker-registry-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FreenigneEsrever92%2Fdocker-registry-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FreenigneEsrever92%2Fdocker-registry-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 4c87f8edc521289236b94037612debfb48f97b38
[INFO] checking reenigneEsrever92/docker-registry-rs/4c87f8edc521289236b94037612debfb48f97b38 against master#1b8f2e46e14b08208a53585570edd9206374aae8 for pr-155418
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FreenigneEsrever92%2Fdocker-registry-rs" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/reenigneEsrever92/docker-registry-rs
[INFO] finished tweaking git repo https://github.com/reenigneEsrever92/docker-registry-rs
[INFO] tweaked toml for git repo https://github.com/reenigneEsrever92/docker-registry-rs written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/reenigneEsrever92/docker-registry-rs on toolchain 1b8f2e46e14b08208a53585570edd9206374aae8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1b8f2e46e14b08208a53585570edd9206374aae8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/reenigneEsrever92/docker-registry-rs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1b8f2e46e14b08208a53585570edd9206374aae8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded derive_builder v0.20.0
[INFO] [stderr]   Downloaded getset v0.1.2
[INFO] [stderr]   Downloaded oci-spec v0.6.5
[INFO] [stderr]   Downloaded serde_ignored v0.1.10
[INFO] [stderr]   Downloaded strum v0.19.5
[INFO] [stderr]   Downloaded strum_macros v0.19.4
[INFO] [stderr]   Downloaded derive_builder_core v0.20.0
[INFO] [stderr]   Downloaded derive_builder_macro v0.20.0
[INFO] [stderr]   Downloaded libflate_lz77 v1.2.0
[INFO] [stderr]   Downloaded libflate v1.4.0
[INFO] [stderr]   Downloaded dkregistry v0.5.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1b8f2e46e14b08208a53585570edd9206374aae8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c0360223ded0ca38c4d8ac4423991da82d00a285aa54596b12bc497fcbd768d7
[INFO] running `Command { std: "docker" "start" "-a" "c0360223ded0ca38c4d8ac4423991da82d00a285aa54596b12bc497fcbd768d7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c0360223ded0ca38c4d8ac4423991da82d00a285aa54596b12bc497fcbd768d7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c0360223ded0ca38c4d8ac4423991da82d00a285aa54596b12bc497fcbd768d7", kill_on_drop: false }`
[INFO] [stdout] c0360223ded0ca38c4d8ac4423991da82d00a285aa54596b12bc497fcbd768d7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1b8f2e46e14b08208a53585570edd9206374aae8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f55e4017df0f2ae7808b8c57db5c24f64c52c6896f45747329ed6fbd4900cd11
[INFO] running `Command { std: "docker" "start" "-a" "f55e4017df0f2ae7808b8c57db5c24f64c52c6896f45747329ed6fbd4900cd11", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]     Checking log v0.4.20
[INFO] [stderr]     Checking memchr v2.7.1
[INFO] [stderr]     Checking itoa v1.0.10
[INFO] [stderr]     Checking futures-io v0.3.30
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling cc v1.0.87
[INFO] [stderr]    Compiling pkg-config v0.3.30
[INFO] [stderr]     Checking bitflags v2.4.2
[INFO] [stderr]    Compiling syn v2.0.50
[INFO] [stderr]    Compiling serde v1.0.197
[INFO] [stderr]    Compiling unicase v2.7.0
[INFO] [stderr]     Checking generic-array v0.14.7
[INFO] [stderr]     Checking httparse v1.8.0
[INFO] [stderr]    Compiling rustversion v1.0.14
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]     Checking smallvec v1.13.1
[INFO] [stderr]    Compiling openssl v0.10.64
[INFO] [stderr]     Checking http v1.0.0
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]     Checking http v0.2.11
[INFO] [stderr]    Compiling serde_json v1.0.114
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling rustix v0.38.31
[INFO] [stderr]     Checking hashbrown v0.14.3
[INFO] [stderr]    Compiling async-trait v0.1.77
[INFO] [stderr]    Compiling mime_guess v2.0.4
[INFO] [stderr]     Checking unicode-normalization v0.1.23
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking sharded-slab v0.1.7
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]     Checking http-body v1.0.0
[INFO] [stderr]     Checking httpdate v0.3.2
[INFO] [stderr]     Checking unicode-bidi v0.3.15
[INFO] [stderr]     Checking http-body v0.3.1
[INFO] [stderr]    Compiling crc32fast v1.4.0
[INFO] [stderr]    Compiling thiserror v1.0.57
[INFO] [stderr]     Checking linux-raw-sys v0.4.13
[INFO] [stderr]    Compiling axum-core v0.4.3
[INFO] [stderr]     Checking aho-corasick v1.1.2
[INFO] [stderr]    Compiling unicode-segmentation v1.11.0
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking indexmap v2.2.3
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]     Checking net2 v0.2.39
[INFO] [stderr]     Checking mio v0.8.10
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking socket2 v0.5.6
[INFO] [stderr]     Checking socket2 v0.3.19
[INFO] [stderr]     Checking getrandom v0.2.12
[INFO] [stderr]     Checking rle-decode-fast v1.0.3
[INFO] [stderr]     Checking miniz_oxide v0.7.2
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking libflate_lz77 v1.2.0
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]     Checking idna v0.5.0
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking tracing-subscriber v0.3.18
[INFO] [stderr]     Checking filetime v0.2.23
[INFO] [stderr]     Checking block-buffer v0.9.0
[INFO] [stderr]     Checking mio v0.6.23
[INFO] [stderr]     Checking digest v0.9.0
[INFO] [stderr]     Checking anstream v0.6.12
[INFO] [stderr]     Checking regex-automata v0.4.5
[INFO] [stderr]     Checking url v2.5.0
[INFO] [stderr]    Compiling axum v0.7.4
[INFO] [stderr]     Checking object v0.32.2
[INFO] [stderr]     Checking encoding_rs v0.8.33
[INFO] [stderr]     Checking base64 v0.13.1
[INFO] [stderr]     Checking ipnet v2.9.0
[INFO] [stderr]     Checking adler32 v1.2.0
[INFO] [stderr]    Compiling anyhow v1.0.80
[INFO] [stderr]     Checking rustc-demangle v0.1.23
[INFO] [stderr]     Checking clap_builder v4.5.1
[INFO] [stderr]     Checking libflate v1.4.0
[INFO] [stderr]     Checking tokio v0.2.25
[INFO] [stderr]     Checking eyre v0.6.12
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking sha2 v0.9.9
[INFO] [stderr]     Checking sha2 v0.10.8
[INFO] [stderr]     Checking strum v0.19.5
[INFO] [stderr]    Compiling openssl-sys v0.9.101
[INFO] [stderr]    Compiling backtrace v0.3.69
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking uuid v1.7.0
[INFO] [stderr]    Compiling strum_macros v0.19.4
[INFO] [stderr]    Compiling getset v0.1.2
[INFO] [stderr]     Checking xattr v1.3.1
[INFO] [stderr]     Checking tar v0.4.40
[INFO] [stderr]     Checking regex v1.10.3
[INFO] [stderr]    Compiling darling_core v0.20.8
[INFO] [stderr]     Checking tokio-util v0.3.1
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling pin-project-internal v1.1.4
[INFO] [stderr]    Compiling serde_derive v1.0.197
[INFO] [stderr]    Compiling tokio-macros v2.2.0
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.57
[INFO] [stderr]    Compiling async-stream-impl v0.3.5
[INFO] [stderr]    Compiling clap_derive v4.5.0
[INFO] [stderr]     Checking async-stream v0.3.5
[INFO] [stderr]     Checking futures-util v0.3.30
[INFO] [stderr]     Checking tokio v1.36.0
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]     Checking pin-project v1.1.4
[INFO] [stderr]     Checking tracing-error v0.2.0
[INFO] [stderr]     Checking tracing-futures v0.2.5
[INFO] [stderr]     Checking color-spantrace v0.2.1
[INFO] [stderr]     Checking color-eyre v0.6.2
[INFO] [stderr]    Compiling darling_macro v0.20.8
[INFO] [stderr]     Checking clap v4.5.1
[INFO] [stderr]    Compiling darling v0.20.8
[INFO] [stderr]    Compiling derive_builder_core v0.20.0
[INFO] [stderr]    Compiling derive_builder_macro v0.20.0
[INFO] [stderr]     Checking derive_builder v0.20.0
[INFO] [stderr]     Checking h2 v0.2.7
[INFO] [stderr]     Checking http-body-util v0.1.0
[INFO] [stderr]     Checking futures-executor v0.3.30
[INFO] [stderr]     Checking futures v0.3.30
[INFO] [stderr]     Checking tower-http v0.5.2
[INFO] [stderr]     Checking tokio-tls v0.3.1
[INFO] [stderr]     Checking tokio-util v0.7.10
[INFO] [stderr]     Checking tower v0.4.13
[INFO] [stderr]     Checking sha256 v1.5.0
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking serde_path_to_error v0.1.15
[INFO] [stderr]     Checking serde_ignored v0.1.10
[INFO] [stderr]     Checking h2 v0.4.2
[INFO] [stderr]     Checking oci-spec v0.6.5
[INFO] [stderr]     Checking hyper v0.13.10
[INFO] [stderr]     Checking hyper v1.2.0
[INFO] [stderr]     Checking hyper-util v0.1.3
[INFO] [stderr]     Checking hyper-tls v0.4.3
[INFO] [stderr]     Checking reqwest v0.10.10
[INFO] [stderr]     Checking dkregistry v0.5.0
[INFO] [stderr]     Checking docker-registry-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: irrefutable `while let` pattern
[INFO] [stdout]    --> src/db.rs:254:15
[INFO] [stdout]     |
[INFO] [stdout] 254 |         while let bytes_read = reader.read(&mut buf).await? {
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this pattern will always match, so the loop will never exit
[INFO] [stdout]     = help: consider instead using a `loop { ... }` with a `let` inside it
[INFO] [stdout]     = note: `#[warn(irrefutable_let_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `while let` pattern
[INFO] [stdout]    --> src/db.rs:254:15
[INFO] [stdout]     |
[INFO] [stdout] 254 |         while let bytes_read = reader.read(&mut buf).await? {
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this pattern will always match, so the loop will never exit
[INFO] [stdout]     = help: consider instead using a `loop { ... }` with a `let` inside it
[INFO] [stdout]     = note: `#[warn(irrefutable_let_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/db.rs:261:9
[INFO] [stdout]     |
[INFO] [stdout] 261 |         unsafe { Ok(format!("{:02x}", hasher.finalize())) }
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/db.rs:261:9
[INFO] [stdout]     |
[INFO] [stdout] 261 |         unsafe { Ok(format!("{:02x}", hasher.finalize())) }
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ErrorResponse` is never constructed
[INFO] [stdout]   --> src/api/mod.rs:61:19
[INFO] [stdout]    |
[INFO] [stdout] 61 | pub(crate) struct ErrorResponse {
[INFO] [stdout]    |                   ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ErrorMessage` is never constructed
[INFO] [stdout]   --> src/api/mod.rs:66:19
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub(crate) struct ErrorMessage {
[INFO] [stdout]    |                   ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ManifestError` is never used
[INFO] [stdout]   --> src/api/manifest.rs:14:10
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub enum ManifestError {
[INFO] [stdout]    |          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `REGISTRY_PATH` is never used
[INFO] [stdout]   --> src/db.rs:13:11
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub const REGISTRY_PATH: &str = ".local/share/registry-rs";
[INFO] [stdout]    |           ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `UploadNotExists` is never constructed
[INFO] [stdout]   --> src/db.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub enum DBError {
[INFO] [stdout]    |          ------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 24 |     UploadNotExists { id: String },
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DBError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ErrorResponse` is never constructed
[INFO] [stdout]   --> src/api/mod.rs:61:19
[INFO] [stdout]    |
[INFO] [stdout] 61 | pub(crate) struct ErrorResponse {
[INFO] [stdout]    |                   ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ErrorMessage` is never constructed
[INFO] [stdout]   --> src/api/mod.rs:66:19
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub(crate) struct ErrorMessage {
[INFO] [stdout]    |                   ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ManifestError` is never used
[INFO] [stdout]   --> src/api/manifest.rs:14:10
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub enum ManifestError {
[INFO] [stdout]    |          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `REGISTRY_PATH` is never used
[INFO] [stdout]   --> src/db.rs:13:11
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub const REGISTRY_PATH: &str = ".local/share/registry-rs";
[INFO] [stdout]    |           ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `UploadNotExists` is never constructed
[INFO] [stdout]   --> src/db.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub enum DBError {
[INFO] [stdout]    |          ------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 24 |     UploadNotExists { id: String },
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DBError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 53.52s
[INFO] running `Command { std: "docker" "inspect" "f55e4017df0f2ae7808b8c57db5c24f64c52c6896f45747329ed6fbd4900cd11", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f55e4017df0f2ae7808b8c57db5c24f64c52c6896f45747329ed6fbd4900cd11", kill_on_drop: false }`
[INFO] [stdout] f55e4017df0f2ae7808b8c57db5c24f64c52c6896f45747329ed6fbd4900cd11
