[INFO] cloning repository https://github.com/sudo-nan0-RaySK/almost-functional-oci-runtime [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sudo-nan0-RaySK/almost-functional-oci-runtime" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsudo-nan0-RaySK%2Falmost-functional-oci-runtime", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsudo-nan0-RaySK%2Falmost-functional-oci-runtime'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8b759a6059663563d78952f3f57e71330c0a917a [INFO] linting sudo-nan0-RaySK/almost-functional-oci-runtime against nightly for clippy-nonminimal_bool-denied [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsudo-nan0-RaySK%2Falmost-functional-oci-runtime" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/sudo-nan0-RaySK/almost-functional-oci-runtime [INFO] finished tweaking git repo https://github.com/sudo-nan0-RaySK/almost-functional-oci-runtime [INFO] tweaked toml for git repo https://github.com/sudo-nan0-RaySK/almost-functional-oci-runtime written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sudo-nan0-RaySK/almost-functional-oci-runtime on toolchain nightly [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/sudo-nan0-RaySK/almost-functional-oci-runtime 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" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.32 [INFO] [stderr] Downloaded serde v1.0.142 [INFO] [stderr] Downloaded anyhow v1.0.59 [INFO] [stderr] Downloaded filetime v0.2.19 [INFO] [stderr] Downloaded serde_derive v1.0.142 [INFO] [stderr] Downloaded tokio v1.23.0 [INFO] [stderr] Downloaded ring v0.17.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3145688ff7cc572b673fdd0fab992bcf415f8eff5b9c35866a7dd4d8aa02597f [INFO] running `Command { std: "docker" "start" "-a" "3145688ff7cc572b673fdd0fab992bcf415f8eff5b9c35866a7dd4d8aa02597f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3145688ff7cc572b673fdd0fab992bcf415f8eff5b9c35866a7dd4d8aa02597f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3145688ff7cc572b673fdd0fab992bcf415f8eff5b9c35866a7dd4d8aa02597f", kill_on_drop: false }` [INFO] [stdout] 3145688ff7cc572b673fdd0fab992bcf415f8eff5b9c35866a7dd4d8aa02597f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "clippy" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 43fd3c537d51c3058154145ef7b669f787a27d30343f81888d7c88c5643ac0a9 [INFO] running `Command { std: "docker" "start" "-a" "43fd3c537d51c3058154145ef7b669f787a27d30343f81888d7c88c5643ac0a9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling parking_lot_core v0.9.5 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Checking once_cell v1.13.0 [INFO] [stderr] Checking smallvec v1.10.0 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling tokio v1.23.0 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking socket2 v0.4.7 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking mio v0.8.5 [INFO] [stderr] Checking tracing-core v0.1.29 [INFO] [stderr] Compiling serde_derive v1.0.142 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Compiling rustls v0.20.9 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Compiling serde v1.0.142 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking httparse v1.8.0 [INFO] [stderr] Checking tracing v0.1.36 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Compiling serde_json v1.0.83 [INFO] [stderr] Checking unicode-bidi v0.3.8 [INFO] [stderr] Checking base64 v0.21.5 [INFO] [stderr] Compiling anyhow v1.0.59 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking miniz_oxide v0.6.2 [INFO] [stderr] Checking aho-corasick v0.7.20 [INFO] [stderr] Checking xattr v0.2.3 [INFO] [stderr] Checking filetime v0.2.19 [INFO] [stderr] Checking fastrand v1.8.0 [INFO] [stderr] Checking rustls-pemfile v1.0.3 [INFO] [stderr] Checking ipnet v2.5.0 [INFO] [stderr] Checking regex-syntax v0.6.28 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking tar v0.4.38 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Compiling ring v0.17.3 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking unicode-normalization v0.1.21 [INFO] [stderr] Checking flate2 v1.0.25 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking regex v1.7.0 [INFO] [stderr] Compiling tokio-macros v1.8.2 [INFO] [stderr] Compiling thiserror-impl v1.0.32 [INFO] [stderr] Checking webpki v0.22.4 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking webpki-roots v0.22.6 [INFO] [stderr] Checking thiserror v1.0.32 [INFO] [stderr] Checking tokio-util v0.7.4 [INFO] [stderr] Checking tokio-rustls v0.23.4 [INFO] [stderr] Checking h2 v0.3.15 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking hyper v0.14.23 [INFO] [stderr] Checking hyper-rustls v0.23.2 [INFO] [stderr] Checking reqwest v0.11.13 [INFO] [stderr] Checking docker-starter-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unneeded sub `cfg` when there is only one condition [INFO] [stdout] --> src/main.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(any(target_os = "linux"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `target_os = "linux"` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg [INFO] [stdout] = note: `#[warn(clippy::non_minimal_cfg)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded sub `cfg` when there is only one condition [INFO] [stdout] --> src/main.rs:53:11 [INFO] [stdout] | [INFO] [stdout] 53 | #[cfg(any(target_os = "linux"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `target_os = "linux"` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded sub `cfg` when there is only one condition [INFO] [stdout] --> src/main.rs:322:7 [INFO] [stdout] | [INFO] [stdout] 322 | #[cfg(any(target_os = "linux"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `target_os = "linux"` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded sub `cfg` when there is only one condition [INFO] [stdout] --> src/main.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(any(target_os = "linux"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `target_os = "linux"` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg [INFO] [stdout] = note: `#[warn(clippy::non_minimal_cfg)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded sub `cfg` when there is only one condition [INFO] [stdout] --> src/main.rs:53:11 [INFO] [stdout] | [INFO] [stdout] 53 | #[cfg(any(target_os = "linux"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `target_os = "linux"` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded sub `cfg` when there is only one condition [INFO] [stdout] --> src/main.rs:322:7 [INFO] [stdout] | [INFO] [stdout] 322 | #[cfg(any(target_os = "linux"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `target_os = "linux"` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constants have by default a `'static` lifetime [INFO] [stdout] --> src/main.rs:17:33 [INFO] [stdout] | [INFO] [stdout] 17 | const HEADER_WWW_AUTHENTICATE: &'static str = "www-authenticate"; [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes [INFO] [stdout] = note: `#[warn(clippy::redundant_static_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constants have by default a `'static` lifetime [INFO] [stdout] --> src/main.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | const HEADER_SERVICE: &'static str = "service"; [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constants have by default a `'static` lifetime [INFO] [stdout] --> src/main.rs:19:22 [INFO] [stdout] | [INFO] [stdout] 19 | const HEADER_SCOPE: &'static str = "scope"; [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constants have by default a `'static` lifetime [INFO] [stdout] --> src/main.rs:20:57 [INFO] [stdout] | [INFO] [stdout] 20 | const HEADER_INDEX_MANIFEST_ACCEPT_CONTENT_V2_OR_JSON: &'static str = [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constants have by default a `'static` lifetime [INFO] [stdout] --> src/main.rs:22:50 [INFO] [stdout] | [INFO] [stdout] 22 | const HEADER_INDEX_MANIFEST_CONTENT_V1_OR_JSON: &'static str = [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constants have by default a `'static` lifetime [INFO] [stdout] --> src/main.rs:24:50 [INFO] [stdout] | [INFO] [stdout] 24 | const HEADER_INDEX_MANIFEST_CONTENT_V2_OR_JSON: &'static str = [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constants have by default a `'static` lifetime [INFO] [stdout] --> src/main.rs:26:50 [INFO] [stdout] | [INFO] [stdout] 26 | const HEADER_IMAGE_MANIFEST_V1_CONTENT_OR_JSON: &'static str = [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constants have by default a `'static` lifetime [INFO] [stdout] --> src/main.rs:28:37 [INFO] [stdout] | [INFO] [stdout] 28 | const HEADER_IMAGE_CONTENT_V1_ALL: &'static str = [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constants have by default a `'static` lifetime [INFO] [stdout] --> src/main.rs:17:33 [INFO] [stdout] | [INFO] [stdout] 17 | const HEADER_WWW_AUTHENTICATE: &'static str = "www-authenticate"; [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes [INFO] [stdout] = note: `#[warn(clippy::redundant_static_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constants have by default a `'static` lifetime [INFO] [stdout] --> src/main.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | const HEADER_SERVICE: &'static str = "service"; [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constants have by default a `'static` lifetime [INFO] [stdout] --> src/main.rs:19:22 [INFO] [stdout] | [INFO] [stdout] 19 | const HEADER_SCOPE: &'static str = "scope"; [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constants have by default a `'static` lifetime [INFO] [stdout] --> src/main.rs:20:57 [INFO] [stdout] | [INFO] [stdout] 20 | const HEADER_INDEX_MANIFEST_ACCEPT_CONTENT_V2_OR_JSON: &'static str = [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constants have by default a `'static` lifetime [INFO] [stdout] --> src/main.rs:22:50 [INFO] [stdout] | [INFO] [stdout] 22 | const HEADER_INDEX_MANIFEST_CONTENT_V1_OR_JSON: &'static str = [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constants have by default a `'static` lifetime [INFO] [stdout] --> src/main.rs:24:50 [INFO] [stdout] | [INFO] [stdout] 24 | const HEADER_INDEX_MANIFEST_CONTENT_V2_OR_JSON: &'static str = [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constants have by default a `'static` lifetime [INFO] [stdout] --> src/main.rs:26:50 [INFO] [stdout] | [INFO] [stdout] 26 | const HEADER_IMAGE_MANIFEST_V1_CONTENT_OR_JSON: &'static str = [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constants have by default a `'static` lifetime [INFO] [stdout] --> src/main.rs:28:37 [INFO] [stdout] | [INFO] [stdout] 28 | const HEADER_IMAGE_CONTENT_V1_ALL: &'static str = [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> src/main.rs:185:46 [INFO] [stdout] | [INFO] [stdout] 185 | ... manifests: &Vec) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] = note: `#[warn(clippy::ptr_arg)]` on by default [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 185 - manifests: &Vec) -> Result<()> { [INFO] [stdout] 185 + manifests: &[ManifestItem]) -> Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: length comparison to zero [INFO] [stdout] --> src/main.rs:189:8 [INFO] [stdout] | [INFO] [stdout] 189 | if manifests.len() == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `manifests.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_zero [INFO] [stdout] = note: `#[warn(clippy::len_zero)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/main.rs:359:12 [INFO] [stdout] | [INFO] [stdout] 359 | if !(exit_code == 0i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try: `(exit_code != 0i32)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] = note: `#[warn(clippy::nonminimal_bool)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/main.rs:364:12 [INFO] [stdout] | [INFO] [stdout] 364 | if !(exit_code == 0i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try: `(exit_code != 0i32)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: large size difference between variants [INFO] [stdout] --> src/main.rs:387:1 [INFO] [stdout] | [INFO] [stdout] 387 | / enum ManifestResponseTypes { [INFO] [stdout] 388 | | ManifestIndexResponseType(Vec), [INFO] [stdout] | | -------------------------------------------- the second-largest variant contains at least 24 bytes [INFO] [stdout] 389 | | ManifestImageResponseType(ManifestImageResponse), [INFO] [stdout] | | ------------------------------------------------ the largest variant contains at least 480 bytes [INFO] [stdout] 390 | | } [INFO] [stdout] | |_^ the entire enum is at least 480 bytes [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#large_enum_variant [INFO] [stdout] = note: `#[warn(clippy::large_enum_variant)]` on by default [INFO] [stdout] help: consider boxing the large fields or introducing indirection in some other way to reduce the total size of the enum [INFO] [stdout] | [INFO] [stdout] 389 - ManifestImageResponseType(ManifestImageResponse), [INFO] [stdout] 389 + ManifestImageResponseType(Box), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> src/main.rs:185:46 [INFO] [stdout] | [INFO] [stdout] 185 | ... manifests: &Vec) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] = note: `#[warn(clippy::ptr_arg)]` on by default [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 185 - manifests: &Vec) -> Result<()> { [INFO] [stdout] 185 + manifests: &[ManifestItem]) -> Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: length comparison to zero [INFO] [stdout] --> src/main.rs:189:8 [INFO] [stdout] | [INFO] [stdout] 189 | if manifests.len() == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `manifests.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_zero [INFO] [stdout] = note: `#[warn(clippy::len_zero)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/main.rs:359:12 [INFO] [stdout] | [INFO] [stdout] 359 | if !(exit_code == 0i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try: `(exit_code != 0i32)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] = note: `#[warn(clippy::nonminimal_bool)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/main.rs:364:12 [INFO] [stdout] | [INFO] [stdout] 364 | if !(exit_code == 0i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try: `(exit_code != 0i32)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: large size difference between variants [INFO] [stdout] --> src/main.rs:387:1 [INFO] [stdout] | [INFO] [stdout] 387 | / enum ManifestResponseTypes { [INFO] [stdout] 388 | | ManifestIndexResponseType(Vec), [INFO] [stdout] | | -------------------------------------------- the second-largest variant contains at least 24 bytes [INFO] [stdout] 389 | | ManifestImageResponseType(ManifestImageResponse), [INFO] [stdout] | | ------------------------------------------------ the largest variant contains at least 480 bytes [INFO] [stdout] 390 | | } [INFO] [stdout] | |_^ the entire enum is at least 480 bytes [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#large_enum_variant [INFO] [stdout] = note: `#[warn(clippy::large_enum_variant)]` on by default [INFO] [stdout] help: consider boxing the large fields or introducing indirection in some other way to reduce the total size of the enum [INFO] [stdout] | [INFO] [stdout] 389 - ManifestImageResponseType(ManifestImageResponse), [INFO] [stdout] 389 + ManifestImageResponseType(Box), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.17s [INFO] running `Command { std: "docker" "inspect" "43fd3c537d51c3058154145ef7b669f787a27d30343f81888d7c88c5643ac0a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43fd3c537d51c3058154145ef7b669f787a27d30343f81888d7c88c5643ac0a9", kill_on_drop: false }` [INFO] [stdout] 43fd3c537d51c3058154145ef7b669f787a27d30343f81888d7c88c5643ac0a9