[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] testing reenigneEsrever92/docker-registry-rs against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FreenigneEsrever92%2Fdocker-registry-rs" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/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-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/reenigneEsrever92/docker-registry-rs on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7e7e5b18ff5a2ff038f12d5052e6be5b9106eb8194b5cf2527b37a4b333b0f6b [INFO] running `Command { std: "docker" "start" "-a" "7e7e5b18ff5a2ff038f12d5052e6be5b9106eb8194b5cf2527b37a4b333b0f6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7e7e5b18ff5a2ff038f12d5052e6be5b9106eb8194b5cf2527b37a4b333b0f6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e7e5b18ff5a2ff038f12d5052e6be5b9106eb8194b5cf2527b37a4b333b0f6b", kill_on_drop: false }` [INFO] [stdout] 7e7e5b18ff5a2ff038f12d5052e6be5b9106eb8194b5cf2527b37a4b333b0f6b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9aff8584a8f6528cc64aab7cf9d8fe2de2280e47642ac077cc1eb9c6037538c5 [INFO] running `Command { std: "docker" "start" "-a" "9aff8584a8f6528cc64aab7cf9d8fe2de2280e47642ac077cc1eb9c6037538c5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling cc v1.0.87 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling http v1.0.0 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Compiling indexmap v2.2.3 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling openssl-sys v0.9.101 [INFO] [stderr] Compiling socket2 v0.5.6 [INFO] [stderr] Compiling syn v2.0.50 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling anstyle v1.0.6 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling rle-decode-fast v1.0.3 [INFO] [stderr] Compiling gimli v0.28.1 [INFO] [stderr] Compiling anstream v0.6.12 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling xattr v1.3.1 [INFO] [stderr] Compiling darling_core v0.20.8 [INFO] [stderr] Compiling libflate_lz77 v1.2.0 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling filetime v0.2.23 [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 object v0.32.2 [INFO] [stderr] Compiling anyhow v1.0.80 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling owo-colors v3.5.0 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling strsim v0.11.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling pin-project-internal v1.1.4 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling tokio v1.36.0 [INFO] [stderr] Compiling darling_macro v0.20.8 [INFO] [stderr] Compiling pin-project v1.1.4 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [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] Compiling tracing-error v0.2.0 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling color-spantrace v0.2.1 [INFO] [stderr] Compiling async-stream v0.3.5 [INFO] [stderr] Compiling derive_builder v0.20.0 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling clap_builder v4.5.1 [INFO] [stderr] Compiling clap_derive v4.5.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling http-body-util v0.1.0 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling libflate v1.4.0 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tar v0.4.40 [INFO] [stderr] Compiling h2 v0.4.2 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.15 [INFO] [stderr] Compiling serde_ignored v0.1.10 [INFO] [stderr] Compiling strum_macros v0.19.4 [INFO] [stderr] Compiling getset v0.1.2 [INFO] [stderr] Compiling strum v0.19.5 [INFO] [stderr] Compiling sha256 v1.5.0 [INFO] [stderr] Compiling oci-spec v0.6.5 [INFO] [stderr] Compiling clap v4.5.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tower-http v0.5.2 [INFO] [stderr] Compiling color-eyre v0.6.2 [INFO] [stderr] Compiling uuid v1.7.0 [INFO] [stderr] Compiling hyper v0.13.10 [INFO] [stderr] Compiling hyper v1.2.0 [INFO] [stderr] Compiling hyper-util v0.1.3 [INFO] [stderr] Compiling hyper-tls v0.4.3 [INFO] [stderr] Compiling reqwest v0.10.10 [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)]` (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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 38s [INFO] running `Command { std: "docker" "inspect" "9aff8584a8f6528cc64aab7cf9d8fe2de2280e47642ac077cc1eb9c6037538c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9aff8584a8f6528cc64aab7cf9d8fe2de2280e47642ac077cc1eb9c6037538c5", kill_on_drop: false }` [INFO] [stdout] 9aff8584a8f6528cc64aab7cf9d8fe2de2280e47642ac077cc1eb9c6037538c5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4fde66035e0ead66f27b38751d5b0007c06a36df7203e1b7b1ebd6e12e8e3cd1 [INFO] running `Command { std: "docker" "start" "-a" "4fde66035e0ead66f27b38751d5b0007c06a36df7203e1b7b1ebd6e12e8e3cd1", 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)]` (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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.54s [INFO] running `Command { std: "docker" "inspect" "4fde66035e0ead66f27b38751d5b0007c06a36df7203e1b7b1ebd6e12e8e3cd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fde66035e0ead66f27b38751d5b0007c06a36df7203e1b7b1ebd6e12e8e3cd1", kill_on_drop: false }` [INFO] [stdout] 4fde66035e0ead66f27b38751d5b0007c06a36df7203e1b7b1ebd6e12e8e3cd1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] db3e079f3d1140e06acedb3b353fce2f771d473b8765643750ae3d451312788f [INFO] running `Command { std: "docker" "start" "-a" "db3e079f3d1140e06acedb3b353fce2f771d473b8765643750ae3d451312788f", kill_on_drop: false }` [INFO] [stderr] warning: irrefutable `while let` pattern [INFO] [stderr] --> src/db.rs:254:15 [INFO] [stderr] | [INFO] [stderr] 254 | while let bytes_read = reader.read(&mut buf).await? { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this pattern will always match, so the loop will never exit [INFO] [stderr] = help: consider instead using a `loop { ... }` with a `let` inside it [INFO] [stderr] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/db.rs:261:9 [INFO] [stderr] | [INFO] [stderr] 261 | unsafe { Ok(format!("{:02x}", hasher.finalize())) } [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `ErrorResponse` is never constructed [INFO] [stderr] --> src/api/mod.rs:61:19 [INFO] [stderr] | [INFO] [stderr] 61 | pub(crate) struct ErrorResponse { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `ErrorMessage` is never constructed [INFO] [stderr] --> src/api/mod.rs:66:19 [INFO] [stderr] | [INFO] [stderr] 66 | pub(crate) struct ErrorMessage { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `ManifestError` is never used [INFO] [stderr] --> src/api/manifest.rs:14:10 [INFO] [stderr] | [INFO] [stderr] 14 | pub enum ManifestError { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `REGISTRY_PATH` is never used [INFO] [stderr] --> src/db.rs:13:11 [INFO] [stderr] | [INFO] [stderr] 13 | pub const REGISTRY_PATH: &str = ".local/share/registry-rs"; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant `UploadNotExists` is never constructed [INFO] [stderr] --> src/db.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 20 | pub enum DBError { [INFO] [stderr] | ------- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 24 | UploadNotExists { id: String }, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `DBError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `docker-registry-rs` (bin "docker-registry-rs" test) generated 7 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.37s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/docker_registry_rs-7f444f85337f2c5c) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "db3e079f3d1140e06acedb3b353fce2f771d473b8765643750ae3d451312788f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db3e079f3d1140e06acedb3b353fce2f771d473b8765643750ae3d451312788f", kill_on_drop: false }` [INFO] [stdout] db3e079f3d1140e06acedb3b353fce2f771d473b8765643750ae3d451312788f