[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] e42ad26efdb93681e4cd6c66f29fa9cf66185884 [INFO] testing jelipo/ocipack-rs against try#c3758fdc4730d7700b25a13cccff296a08f42c00 for pr-91743 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjelipo%2Focipack-rs" "/workspace/builds/worker-64/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-64/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jelipo/ocipack-rs on toolchain c3758fdc4730d7700b25a13cccff296a08f42c00 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c3758fdc4730d7700b25a13cccff296a08f42c00" "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-64/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c3758fdc4730d7700b25a13cccff296a08f42c00" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c3758fdc4730d7700b25a13cccff296a08f42c00" "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-64/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-64/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+c3758fdc4730d7700b25a13cccff296a08f42c00" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 31707bbb19440e0c550032779927be2d662144b41a4a49b822895b166cb6c6db [INFO] running `Command { std: "docker" "start" "-a" "31707bbb19440e0c550032779927be2d662144b41a4a49b822895b166cb6c6db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "31707bbb19440e0c550032779927be2d662144b41a4a49b822895b166cb6c6db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31707bbb19440e0c550032779927be2d662144b41a4a49b822895b166cb6c6db", kill_on_drop: false }` [INFO] [stdout] 31707bbb19440e0c550032779927be2d662144b41a4a49b822895b166cb6c6db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-64/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-64/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+c3758fdc4730d7700b25a13cccff296a08f42c00" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5a640bb6ea8ce5dcabf346f0ef399bd7f5efec179a5ee966f1ece2317380f983 [INFO] running `Command { std: "docker" "start" "-a" "5a640bb6ea8ce5dcabf346f0ef399bd7f5efec179a5ee966f1ece2317380f983", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.125 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling syn v1.0.92 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling openssl v0.10.39 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling zstd-safe v5.0.1+zstd.1.5.2 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling os_str_bytes v6.0.0 [INFO] [stderr] Compiling anyhow v1.0.57 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling ipnet v2.5.0 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling home v0.5.3 [INFO] [stderr] Compiling hex-literal v0.3.4 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling clap_lex v0.2.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling tracing-core v0.1.26 [INFO] [stderr] Compiling miniz_oxide v0.5.1 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling indexmap v1.8.1 [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] Compiling http v0.2.7 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling flate2 v1.0.23 [INFO] [stderr] Compiling filetime v0.2.16 [INFO] [stderr] Compiling xattr v0.2.3 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling tar v0.4.38 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling tokio v1.18.1 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling openssl-sys v0.9.73 [INFO] [stderr] Compiling zstd-sys v2.0.1+zstd.1.5.2 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling sha2 v0.10.2 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling async-compression v0.3.12 [INFO] [stderr] Compiling darling_core v0.14.1 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling tracing-attributes v0.1.21 [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.1.7 [INFO] [stderr] Compiling darling_macro v0.14.1 [INFO] [stderr] Compiling darling v0.14.1 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling tracing v0.1.34 [INFO] [stderr] Compiling snafu v0.6.10 [INFO] [stderr] Compiling derive_builder_core v0.11.2 [INFO] [stderr] Compiling enquote v1.1.0 [INFO] [stderr] Compiling clap v3.1.15 [INFO] [stderr] Compiling tokio-util v0.7.1 [INFO] [stderr] Compiling dockerfile-parser v0.8.0 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling derive_builder_macro v0.11.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling derive_builder v0.11.2 [INFO] [stderr] Compiling hyper v0.14.18 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.10 [INFO] [stderr] Compiling zstd v0.11.1+zstd.1.5.2 [INFO] [stderr] Compiling ocipack-rs v0.1.0 (/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: associated function is never used: `build_adapter` [INFO] [stdout] --> src/reg/http/auth.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | fn build_adapter(&self, _scope: &Option) {} [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: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 27s [INFO] running `Command { std: "docker" "inspect" "5a640bb6ea8ce5dcabf346f0ef399bd7f5efec179a5ee966f1ece2317380f983", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a640bb6ea8ce5dcabf346f0ef399bd7f5efec179a5ee966f1ece2317380f983", kill_on_drop: false }` [INFO] [stdout] 5a640bb6ea8ce5dcabf346f0ef399bd7f5efec179a5ee966f1ece2317380f983 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-64/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-64/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+c3758fdc4730d7700b25a13cccff296a08f42c00" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 40caa32101de3a73c18e2d8d38eab0cc48ffec69106ad2d1bcf812df7403b525 [INFO] running `Command { std: "docker" "start" "-a" "40caa32101de3a73c18e2d8d38eab0cc48ffec69106ad2d1bcf812df7403b525", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling ocipack-rs v0.1.0 (/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: associated function is never used: `build_adapter` [INFO] [stdout] --> src/reg/http/auth.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | fn build_adapter(&self, _scope: &Option) {} [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: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 54.84s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/ocipack_rs-cafd4208fca3f790) [INFO] running `Command { std: "docker" "inspect" "40caa32101de3a73c18e2d8d38eab0cc48ffec69106ad2d1bcf812df7403b525", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40caa32101de3a73c18e2d8d38eab0cc48ffec69106ad2d1bcf812df7403b525", kill_on_drop: false }` [INFO] [stdout] 40caa32101de3a73c18e2d8d38eab0cc48ffec69106ad2d1bcf812df7403b525 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-64/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-64/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+c3758fdc4730d7700b25a13cccff296a08f42c00" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 91e5727fb1bcb3e898527833889415ce180962f4953a133f701605df3059abc5 [INFO] running `Command { std: "docker" "start" "-a" "91e5727fb1bcb3e898527833889415ce180962f4953a133f701605df3059abc5", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: field is never read: `docker_file_path` [INFO] [stderr] --> src/adapter/docker.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | docker_file_path: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `BaseImage` [INFO] [stderr] --> src/config/mod.rs:16:12 [INFO] [stderr] | [INFO] [stderr] 16 | pub struct BaseImage { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new_processor_manager_two` [INFO] [stderr] --> src/progress/manager.rs:15:12 [INFO] [stderr] | [INFO] [stderr] 15 | pub fn new_processor_manager_two(processors: Vec>>) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `processors_all_done` [INFO] [stderr] --> src/progress/manager.rs:82:4 [INFO] [stderr] | [INFO] [stderr] 82 | fn processors_all_done(done_vec: &[bool]) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `registry_addr` [INFO] [stderr] --> src/reg/mod.rs:93:5 [INFO] [stderr] | [INFO] [stderr] 93 | registry_addr: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `manifests_exited` [INFO] [stderr] --> src/reg/mod.rs:130:12 [INFO] [stderr] | [INFO] [stderr] 130 | pub fn manifests_exited(&mut self, refe: &Reference) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated constant is never used: `DOCKER_MANIFEST_LIST` [INFO] [stderr] --> src/reg/mod.rs:375:5 [INFO] [stderr] | [INFO] [stderr] 375 | pub const DOCKER_MANIFEST_LIST: Self = Self("application/vnd.docker.distribution.manifest.list.v2+json"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated constant is never used: `ALL` [INFO] [stderr] --> src/reg/mod.rs:390:5 [INFO] [stderr] | [INFO] [stderr] 390 | pub const ALL: Self = Self("*/*"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `blob_path` [INFO] [stderr] --> src/reg/home.rs:56:5 [INFO] [stderr] | [INFO] [stderr] 56 | blob_path: Box, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `build_adapter` [INFO] [stderr] --> src/reg/http/auth.rs:61:8 [INFO] [stderr] | [INFO] [stderr] 61 | fn build_adapter(&self, _scope: &Option) {} [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `basic_auth` [INFO] [stderr] --> src/reg/http/client.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | basic_auth: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `request_registry_body` [INFO] [stderr] --> src/reg/http/client.rs:50:12 [INFO] [stderr] | [INFO] [stderr] 50 | pub fn request_registry_body(&mut self, request: ClientRequest) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `docker_content_digest` [INFO] [stderr] --> src/reg/http/client.rs:134:5 [INFO] [stderr] | [INFO] [stderr] 134 | docker_content_digest: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `bytes_body` [INFO] [stderr] --> src/reg/http/client.rs:173:12 [INFO] [stderr] | [INFO] [stderr] 173 | pub fn bytes_body(&self) -> &Bytes { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `json_body` [INFO] [stderr] --> src/reg/http/client.rs:177:12 [INFO] [stderr] | [INFO] [stderr] 177 | pub fn json_body(&self) -> Result { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `header_docker_content_digest` [INFO] [stderr] --> src/reg/http/client.rs:182:12 [INFO] [stderr] | [INFO] [stderr] 182 | pub fn header_docker_content_digest(&self) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `get_filepath` [INFO] [stderr] --> src/reg/http/download.rs:188:4 [INFO] [stderr] | [INFO] [stderr] 188 | fn get_filepath(url: &str, filename_type: &DownloadFilenameType) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Auto` [INFO] [stderr] --> src/reg/http/download.rs:242:5 [INFO] [stderr] | [INFO] [stderr] 242 | Auto(AutoDownloadFileName), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `DownloadFilenameType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/reg/http/download.rs:240:10 [INFO] [stderr] | [INFO] [stderr] 240 | #[derive(Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Custom` [INFO] [stderr] --> src/reg/http/download.rs:243:5 [INFO] [stderr] | [INFO] [stderr] 243 | Custom(CustomDownloadFileName), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `DownloadFilenameType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/reg/http/download.rs:240:10 [INFO] [stderr] | [INFO] [stderr] 240 | #[derive(Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `dir_path` [INFO] [stderr] --> src/reg/http/download.rs:248:5 [INFO] [stderr] | [INFO] [stderr] 248 | dir_path: Box, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `AutoDownloadFileName` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/reg/http/download.rs:246:10 [INFO] [stderr] | [INFO] [stderr] 246 | #[derive(Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `blob_config` [INFO] [stderr] --> src/reg/http/upload.rs:37:5 [INFO] [stderr] | [INFO] [stderr] 37 | blob_config: Arc, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `file_size` [INFO] [stderr] --> src/reg/http/upload.rs:41:16 [INFO] [stderr] | [INFO] [stderr] 41 | Finished { file_size: u64, finished_reason: String }, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `sha256` [INFO] [stderr] --> src/util/sha.rs:10:8 [INFO] [stderr] | [INFO] [stderr] 10 | pub fn sha256(bytes: &Bytes) -> String { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `file_sha256` [INFO] [stderr] --> src/util/sha.rs:18:8 [INFO] [stderr] | [INFO] [stderr] 18 | pub fn file_sha256(file_path: &Path) -> Result { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `ocipack-rs` (bin "ocipack-rs" test) generated 24 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.38s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/ocipack_rs-cafd4208fca3f790) [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" "91e5727fb1bcb3e898527833889415ce180962f4953a133f701605df3059abc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91e5727fb1bcb3e898527833889415ce180962f4953a133f701605df3059abc5", kill_on_drop: false }` [INFO] [stdout] 91e5727fb1bcb3e898527833889415ce180962f4953a133f701605df3059abc5