[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] building reenigneEsrever92/docker-registry-rs against master#44f415c1d617ebc7b931a243b7b321ef8a6ca47c for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FreenigneEsrever92%2Fdocker-registry-rs" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/reenigneEsrever92/docker-registry-rs on toolchain 44f415c1d617ebc7b931a243b7b321ef8a6ca47c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-0-tc1/source/Cargo.toml [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" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded strum_macros v0.19.4 [INFO] [stderr] Downloaded strum v0.19.5 [INFO] [stderr] Downloaded dkregistry v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 349b2a52e6435e7e4f54489df14854662895f4f2e1f720c78fdaa8f528cf420a [INFO] running `Command { std: "docker" "start" "-a" "349b2a52e6435e7e4f54489df14854662895f4f2e1f720c78fdaa8f528cf420a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "349b2a52e6435e7e4f54489df14854662895f4f2e1f720c78fdaa8f528cf420a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "349b2a52e6435e7e4f54489df14854662895f4f2e1f720c78fdaa8f528cf420a", kill_on_drop: false }` [INFO] [stdout] 349b2a52e6435e7e4f54489df14854662895f4f2e1f720c78fdaa8f528cf420a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 30cb2d154ffc16c34830834563bf21b439a962fac42b20be79551306c9e16b65 [INFO] running `Command { std: "docker" "start" "-a" "30cb2d154ffc16c34830834563bf21b439a962fac42b20be79551306c9e16b65", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling cc v1.0.87 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling syn v2.0.50 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling socket2 v0.5.6 [INFO] [stderr] Compiling http v1.0.0 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling openssl-sys v0.9.101 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling http v0.2.11 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling indexmap v2.2.3 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling darling_core v0.20.8 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling anstyle v1.0.6 [INFO] [stderr] Compiling eyre v0.6.12 [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 tokio v1.36.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling darling_macro v0.20.8 [INFO] [stderr] Compiling pin-project v1.1.4 [INFO] [stderr] Compiling darling v0.20.8 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling derive_builder_core v0.20.0 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling rle-decode-fast v1.0.3 [INFO] [stderr] Compiling gimli v0.28.1 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling anstream v0.6.12 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling derive_builder_macro v0.20.0 [INFO] [stderr] Compiling libflate_lz77 v1.2.0 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling tracing-error v0.2.0 [INFO] [stderr] Compiling xattr v1.3.1 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling http-body-util v0.1.0 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling axum v0.7.4 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling filetime v0.2.23 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling h2 v0.4.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling owo-colors v3.5.0 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling hyper v0.13.10 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling strsim v0.11.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling anyhow v1.0.80 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling clap_builder v4.5.1 [INFO] [stderr] Compiling clap_derive v4.5.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling libflate v1.4.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling color-spantrace v0.2.1 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling serde_ignored v0.1.10 [INFO] [stderr] Compiling serde_path_to_error v0.1.15 [INFO] [stderr] Compiling tar v0.4.40 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling hyper v1.2.0 [INFO] [stderr] Compiling async-stream v0.3.5 [INFO] [stderr] Compiling getset v0.1.2 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling derive_builder v0.20.0 [INFO] [stderr] Compiling strum_macros v0.19.4 [INFO] [stderr] Compiling strum v0.19.5 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling hyper-tls v0.4.3 [INFO] [stderr] Compiling hyper-util v0.1.3 [INFO] [stderr] Compiling reqwest v0.10.10 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling oci-spec v0.6.5 [INFO] [stderr] Compiling sha256 v1.5.0 [INFO] [stderr] Compiling clap v4.5.1 [INFO] [stderr] Compiling color-eyre v0.6.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tower-http v0.5.2 [INFO] [stderr] Compiling uuid v1.7.0 [INFO] [stderr] Compiling dkregistry v0.5.0 [INFO] [stderr] Compiling 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: 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)]` 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: `ErrorResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` 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] = note: `ErrorMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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 2m 49s [INFO] running `Command { std: "docker" "inspect" "30cb2d154ffc16c34830834563bf21b439a962fac42b20be79551306c9e16b65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30cb2d154ffc16c34830834563bf21b439a962fac42b20be79551306c9e16b65", kill_on_drop: false }` [INFO] [stdout] 30cb2d154ffc16c34830834563bf21b439a962fac42b20be79551306c9e16b65 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c8fa52b1f2f9438b96095a43e38dfb9331718bc2f23fbe8e6d98f065d0a4920f [INFO] running `Command { std: "docker" "start" "-a" "c8fa52b1f2f9438b96095a43e38dfb9331718bc2f23fbe8e6d98f065d0a4920f", kill_on_drop: false }` [INFO] [stderr] Compiling 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: 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)]` 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: `ErrorResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` 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] = note: `ErrorMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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 `test` profile [unoptimized + debuginfo] target(s) in 1.71s [INFO] running `Command { std: "docker" "inspect" "c8fa52b1f2f9438b96095a43e38dfb9331718bc2f23fbe8e6d98f065d0a4920f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8fa52b1f2f9438b96095a43e38dfb9331718bc2f23fbe8e6d98f065d0a4920f", kill_on_drop: false }` [INFO] [stdout] c8fa52b1f2f9438b96095a43e38dfb9331718bc2f23fbe8e6d98f065d0a4920f