[INFO] cloning repository https://github.com/jelipo/ocipack-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jelipo/ocipack-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjelipo%2Focipack-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjelipo%2Focipack-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e2da4116a28dc7c6a2875bc3ba4fb78ca3215a53 [INFO] checking jelipo/ocipack-rs against try#4e3d7541a523df82cea75064e44e60ae9a008bcb for pr-97427 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjelipo%2Focipack-rs" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jelipo/ocipack-rs on toolchain 4e3d7541a523df82cea75064e44e60ae9a008bcb [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4e3d7541a523df82cea75064e44e60ae9a008bcb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jelipo/ocipack-rs [INFO] finished tweaking git repo https://github.com/jelipo/ocipack-rs [INFO] tweaked toml for git repo https://github.com/jelipo/ocipack-rs written to /workspace/builds/worker-14/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4e3d7541a523df82cea75064e44e60ae9a008bcb" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4e3d7541a523df82cea75064e44e60ae9a008bcb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+4e3d7541a523df82cea75064e44e60ae9a008bcb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 56974c09532ab92ed0d8f0ebb64901595de0ddebd544a1809ea4d4b3dac41124 [INFO] running `Command { std: "docker" "start" "-a" "56974c09532ab92ed0d8f0ebb64901595de0ddebd544a1809ea4d4b3dac41124", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "56974c09532ab92ed0d8f0ebb64901595de0ddebd544a1809ea4d4b3dac41124", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56974c09532ab92ed0d8f0ebb64901595de0ddebd544a1809ea4d4b3dac41124", kill_on_drop: false }` [INFO] [stdout] 56974c09532ab92ed0d8f0ebb64901595de0ddebd544a1809ea4d4b3dac41124 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+4e3d7541a523df82cea75064e44e60ae9a008bcb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c67d48e6626bce74f013d4be07bc00f4a5d2d9e896f30ec26d8a4cb54874e9e0 [INFO] running `Command { std: "docker" "start" "-a" "c67d48e6626bce74f013d4be07bc00f4a5d2d9e896f30ec26d8a4cb54874e9e0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling syn v1.0.96 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking once_cell v1.12.0 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Checking hashbrown v0.12.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling openssl v0.10.40 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking regex-syntax v0.6.26 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Checking unicode-bidi v0.3.8 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling anyhow v1.0.57 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking os_str_bytes v6.1.0 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking ipnet v2.5.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking cpufeatures v0.2.2 [INFO] [stderr] Checking fantasy-util v0.1.8 [INFO] [stderr] Compiling hex-literal v0.3.4 [INFO] [stderr] Checking home v0.5.3 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking tracing-core v0.1.27 [INFO] [stderr] Checking miniz_oxide v0.5.3 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking clap_lex v0.2.2 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Checking tracing v0.1.35 [INFO] [stderr] Compiling indexmap v1.9.0 [INFO] [stderr] Checking flate2 v1.0.24 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking mio v0.8.3 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking filetime v0.2.16 [INFO] [stderr] Checking xattr v0.2.3 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking tar v0.4.38 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking tokio v1.19.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking block-buffer v0.10.2 [INFO] [stderr] Checking crypto-common v0.1.3 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking digest v0.10.3 [INFO] [stderr] Checking sha2 v0.10.2 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking regex v1.5.6 [INFO] [stderr] Compiling darling_core v0.14.1 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Checking tokio-util v0.7.3 [INFO] [stderr] Checking async-compression v0.3.14 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Checking h2 v0.3.13 [INFO] [stderr] Compiling openssl-sys v0.9.74 [INFO] [stderr] Compiling zstd-sys v2.0.1+zstd.1.5.2 [INFO] [stderr] Checking hyper v0.14.19 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling snafu-derive v0.6.10 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling clap_derive v3.2.5 [INFO] [stderr] Compiling darling_macro v0.14.1 [INFO] [stderr] Checking snafu v0.6.10 [INFO] [stderr] Checking thiserror v1.0.31 [INFO] [stderr] Checking enquote v1.1.0 [INFO] [stderr] Checking clap v3.2.5 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Compiling darling v0.14.1 [INFO] [stderr] Checking dockerfile-parser v0.8.0 [INFO] [stderr] Compiling derive_builder_core v0.11.2 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Compiling derive_builder_macro v0.11.2 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking reqwest v0.11.11 [INFO] [stderr] Checking zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Checking derive_builder v0.11.2 [INFO] [stderr] Checking ocipack-rs v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `docker_file_path` [INFO] [stdout] --> src/adapter/docker.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | docker_file_path: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `BaseImage` [INFO] [stdout] --> src/config/mod.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct BaseImage { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_processor_manager_two` [INFO] [stdout] --> src/progress/manager.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new_processor_manager_two(processors: Vec>>) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `processors_all_done` [INFO] [stdout] --> src/progress/manager.rs:82:4 [INFO] [stdout] | [INFO] [stdout] 82 | fn processors_all_done(done_vec: &[bool]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `registry_addr` [INFO] [stdout] --> src/reg/mod.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | registry_addr: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `manifests_exited` [INFO] [stdout] --> src/reg/mod.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn manifests_exited(&mut self, refe: &Reference) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `DOCKER_MANIFEST_LIST` [INFO] [stdout] --> src/reg/mod.rs:375:5 [INFO] [stdout] | [INFO] [stdout] 375 | pub const DOCKER_MANIFEST_LIST: Self = Self("application/vnd.docker.distribution.manifest.list.v2+json"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `ALL` [INFO] [stdout] --> src/reg/mod.rs:390:5 [INFO] [stdout] | [INFO] [stdout] 390 | pub const ALL: Self = Self("*/*"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `blob_path` [INFO] [stdout] --> src/reg/home.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | blob_path: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `basic_auth` [INFO] [stdout] --> src/reg/http/client.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | basic_auth: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `request_registry_body` [INFO] [stdout] --> src/reg/http/client.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn request_registry_body(&mut self, request: ClientRequest) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `docker_content_digest` [INFO] [stdout] --> src/reg/http/client.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 134 | docker_content_digest: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `bytes_body` [INFO] [stdout] --> src/reg/http/client.rs:173:12 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn bytes_body(&self) -> &Bytes { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `json_body` [INFO] [stdout] --> src/reg/http/client.rs:177:12 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn json_body(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `header_docker_content_digest` [INFO] [stdout] --> src/reg/http/client.rs:182:12 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn header_docker_content_digest(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_filepath` [INFO] [stdout] --> src/reg/http/download.rs:188:4 [INFO] [stdout] | [INFO] [stdout] 188 | fn get_filepath(url: &str, filename_type: &DownloadFilenameType) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Auto` [INFO] [stdout] --> src/reg/http/download.rs:242:5 [INFO] [stdout] | [INFO] [stdout] 242 | Auto(AutoDownloadFileName), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DownloadFilenameType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/reg/http/download.rs:240:10 [INFO] [stdout] | [INFO] [stdout] 240 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Custom` [INFO] [stdout] --> src/reg/http/download.rs:243:5 [INFO] [stdout] | [INFO] [stdout] 243 | Custom(CustomDownloadFileName), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DownloadFilenameType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/reg/http/download.rs:240:10 [INFO] [stdout] | [INFO] [stdout] 240 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `dir_path` [INFO] [stdout] --> src/reg/http/download.rs:248:5 [INFO] [stdout] | [INFO] [stdout] 248 | dir_path: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AutoDownloadFileName` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/reg/http/download.rs:246:10 [INFO] [stdout] | [INFO] [stdout] 246 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `blob_config` [INFO] [stdout] --> src/reg/http/upload.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | blob_config: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `file_size` [INFO] [stdout] --> src/reg/http/upload.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 41 | Finished { file_size: u64, finished_reason: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sha256` [INFO] [stdout] --> src/util/sha.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn sha256(bytes: &Bytes) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `file_sha256` [INFO] [stdout] --> src/util/sha.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn file_sha256(file_path: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `docker_file_path` [INFO] [stdout] --> src/adapter/docker.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | docker_file_path: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `BaseImage` [INFO] [stdout] --> src/config/mod.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct BaseImage { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_processor_manager_two` [INFO] [stdout] --> src/progress/manager.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new_processor_manager_two(processors: Vec>>) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `processors_all_done` [INFO] [stdout] --> src/progress/manager.rs:82:4 [INFO] [stdout] | [INFO] [stdout] 82 | fn processors_all_done(done_vec: &[bool]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `registry_addr` [INFO] [stdout] --> src/reg/mod.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | registry_addr: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `manifests_exited` [INFO] [stdout] --> src/reg/mod.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn manifests_exited(&mut self, refe: &Reference) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `DOCKER_MANIFEST_LIST` [INFO] [stdout] --> src/reg/mod.rs:375:5 [INFO] [stdout] | [INFO] [stdout] 375 | pub const DOCKER_MANIFEST_LIST: Self = Self("application/vnd.docker.distribution.manifest.list.v2+json"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `ALL` [INFO] [stdout] --> src/reg/mod.rs:390:5 [INFO] [stdout] | [INFO] [stdout] 390 | pub const ALL: Self = Self("*/*"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `blob_path` [INFO] [stdout] --> src/reg/home.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | blob_path: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `basic_auth` [INFO] [stdout] --> src/reg/http/client.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | basic_auth: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `request_registry_body` [INFO] [stdout] --> src/reg/http/client.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn request_registry_body(&mut self, request: ClientRequest) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `docker_content_digest` [INFO] [stdout] --> src/reg/http/client.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 134 | docker_content_digest: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `bytes_body` [INFO] [stdout] --> src/reg/http/client.rs:173:12 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn bytes_body(&self) -> &Bytes { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `json_body` [INFO] [stdout] --> src/reg/http/client.rs:177:12 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn json_body(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `header_docker_content_digest` [INFO] [stdout] --> src/reg/http/client.rs:182:12 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn header_docker_content_digest(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_filepath` [INFO] [stdout] --> src/reg/http/download.rs:188:4 [INFO] [stdout] | [INFO] [stdout] 188 | fn get_filepath(url: &str, filename_type: &DownloadFilenameType) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Auto` [INFO] [stdout] --> src/reg/http/download.rs:242:5 [INFO] [stdout] | [INFO] [stdout] 242 | Auto(AutoDownloadFileName), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DownloadFilenameType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/reg/http/download.rs:240:10 [INFO] [stdout] | [INFO] [stdout] 240 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Custom` [INFO] [stdout] --> src/reg/http/download.rs:243:5 [INFO] [stdout] | [INFO] [stdout] 243 | Custom(CustomDownloadFileName), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DownloadFilenameType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/reg/http/download.rs:240:10 [INFO] [stdout] | [INFO] [stdout] 240 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `dir_path` [INFO] [stdout] --> src/reg/http/download.rs:248:5 [INFO] [stdout] | [INFO] [stdout] 248 | dir_path: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AutoDownloadFileName` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/reg/http/download.rs:246:10 [INFO] [stdout] | [INFO] [stdout] 246 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `blob_config` [INFO] [stdout] --> src/reg/http/upload.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | blob_config: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `file_size` [INFO] [stdout] --> src/reg/http/upload.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 41 | Finished { file_size: u64, finished_reason: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sha256` [INFO] [stdout] --> src/util/sha.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn sha256(bytes: &Bytes) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `file_sha256` [INFO] [stdout] --> src/util/sha.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn file_sha256(file_path: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 23s [INFO] running `Command { std: "docker" "inspect" "c67d48e6626bce74f013d4be07bc00f4a5d2d9e896f30ec26d8a4cb54874e9e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c67d48e6626bce74f013d4be07bc00f4a5d2d9e896f30ec26d8a4cb54874e9e0", kill_on_drop: false }` [INFO] [stdout] c67d48e6626bce74f013d4be07bc00f4a5d2d9e896f30ec26d8a4cb54874e9e0