[INFO] cloning repository https://github.com/nattatorn-dev/pod-env [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nattatorn-dev/pod-env" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnattatorn-dev%2Fpod-env", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnattatorn-dev%2Fpod-env'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 67d3badff71fea4a4d1794bfd25f1e35820d1736 [INFO] checking nattatorn-dev/pod-env against try#da0275e101cdc809ce291ed8b64d6f82c6b65467 for pr-134276 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnattatorn-dev%2Fpod-env" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nattatorn-dev/pod-env on toolchain da0275e101cdc809ce291ed8b64d6f82c6b65467 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da0275e101cdc809ce291ed8b64d6f82c6b65467" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nattatorn-dev/pod-env [INFO] finished tweaking git repo https://github.com/nattatorn-dev/pod-env [INFO] tweaked toml for git repo https://github.com/nattatorn-dev/pod-env written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/nattatorn-dev/pod-env 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" "+da0275e101cdc809ce291ed8b64d6f82c6b65467" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+da0275e101cdc809ce291ed8b64d6f82c6b65467" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 05ac9b798dbd827fe9a3e1808659bbe899402a4d2b840af9fe5b5433be9f1b4b [INFO] running `Command { std: "docker" "start" "-a" "05ac9b798dbd827fe9a3e1808659bbe899402a4d2b840af9fe5b5433be9f1b4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "05ac9b798dbd827fe9a3e1808659bbe899402a4d2b840af9fe5b5433be9f1b4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05ac9b798dbd827fe9a3e1808659bbe899402a4d2b840af9fe5b5433be9f1b4b", kill_on_drop: false }` [INFO] [stdout] 05ac9b798dbd827fe9a3e1808659bbe899402a4d2b840af9fe5b5433be9f1b4b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+da0275e101cdc809ce291ed8b64d6f82c6b65467" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] acd0476c63fbd75daf0690e6bcd90df29a6e8e53d4c8f4bdd803bc7f27b367d0 [INFO] running `Command { std: "docker" "start" "-a" "acd0476c63fbd75daf0690e6bcd90df29a6e8e53d4c8f4bdd803bc7f27b367d0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.71 [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking futures-core v0.3.14 [INFO] [stderr] Checking tracing-core v0.1.18 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Checking futures-sink v0.3.14 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Checking slab v0.4.3 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking futures-channel v0.3.14 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-task v0.3.14 [INFO] [stderr] Checking futures-io v0.3.14 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling httparse v1.4.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling tokio v1.5.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking tinyvec v1.2.0 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking httpdate v1.0.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Compiling pin-project-internal v0.4.28 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking unicode-bidi v0.3.5 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking mio v0.7.11 [INFO] [stderr] Checking socket2 v0.4.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Checking sharded-slab v0.1.1 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Compiling k8s-openapi v0.11.0 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Checking unicode-normalization v0.1.17 [INFO] [stderr] Compiling backtrace v0.3.58 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking ordered-float v2.1.1 [INFO] [stderr] Checking tower-layer v0.3.1 [INFO] [stderr] Checking array_tool v1.0.3 [INFO] [stderr] Checking gimli v0.23.0 [INFO] [stderr] Compiling eyre v0.6.5 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Checking owo-colors v1.3.0 [INFO] [stderr] Checking rustc-demangle v0.1.18 [INFO] [stderr] Checking object v0.23.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Checking dashmap v4.0.2 [INFO] [stderr] Checking tracing-subscriber v0.2.18 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking http-body v0.4.1 [INFO] [stderr] Checking regex v1.5.3 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking url v2.2.1 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking pem v0.8.3 [INFO] [stderr] Checking env_logger v0.8.3 [INFO] [stderr] Checking addr2line v0.14.1 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking ct-logs v0.8.0 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Compiling futures-macro v0.3.14 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling snafu-derive v0.6.10 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Checking rustls-native-certs v0.5.0 [INFO] [stderr] Checking tracing-error v0.1.2 [INFO] [stderr] Checking futures-util v0.3.14 [INFO] [stderr] Checking color-spantrace v0.1.6 [INFO] [stderr] Checking color-eyre v0.5.11 [INFO] [stderr] Checking pin-project v0.4.28 [INFO] [stderr] Checking snafu v0.6.10 [INFO] [stderr] Checking pin-project v1.0.7 [INFO] [stderr] Checking futures-executor v0.3.14 [INFO] [stderr] Checking futures v0.3.14 [INFO] [stderr] Checking hyper v0.14.7 [INFO] [stderr] Checking tokio-io-timeout v1.1.1 [INFO] [stderr] Checking tokio-rustls v0.22.0 [INFO] [stderr] Checking tokio-util v0.6.6 [INFO] [stderr] Checking tower v0.4.7 [INFO] [stderr] Checking serde-value v0.7.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking serde_yaml v0.8.17 [INFO] [stderr] Checking hyper-rustls v0.22.1 [INFO] [stderr] Checking hyper-timeout v0.4.1 [INFO] [stderr] Checking jsonpath_lib v0.2.6 [INFO] [stderr] Checking kube v0.52.0 [INFO] [stderr] Checking kube-runtime v0.52.0 [INFO] [stderr] Checking pod-env v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | Utf8(String), [INFO] [stdout] | ---- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Decoded` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 12 | Utf8(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | Bytes(Vec), [INFO] [stdout] | ----- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Decoded` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 13 | Bytes(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/main.rs:61:29 [INFO] [stdout] | [INFO] [stdout] 61 | for spec in pod.spec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 61 | while let Some(spec) = pod.spec { [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 61 | if let Some(spec) = pod.spec { [INFO] [stdout] | ~~~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/main.rs:63:36 [INFO] [stdout] | [INFO] [stdout] 63 | for env in container.env { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 63 | while let Some(env) = container.env { [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 63 | if let Some(env) = container.env { [INFO] [stdout] | ~~~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/main.rs:69:36 [INFO] [stdout] | [INFO] [stdout] 69 | for volumes in spec.volumes { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 69 | while let Some(volumes) = spec.volumes { [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 69 | if let Some(volumes) = spec.volumes { [INFO] [stdout] | ~~~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/main.rs:71:43 [INFO] [stdout] | [INFO] [stdout] 71 | ... for secret in volume.secret { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 71 | while let Some(secret) = volume.secret { [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 71 | if let Some(secret) = volume.secret { [INFO] [stdout] | ~~~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `Result`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/main.rs:76:47 [INFO] [stdout] | [INFO] [stdout] 76 | ... for secret in secrets { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 76 | while let Ok(secret) = secrets { [INFO] [stdout] | ~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 76 | if let Ok(secret) = secrets { [INFO] [stdout] | ~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | Utf8(String), [INFO] [stdout] | ---- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Decoded` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 12 | Utf8(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | Bytes(Vec), [INFO] [stdout] | ----- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Decoded` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 13 | Bytes(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/main.rs:61:29 [INFO] [stdout] | [INFO] [stdout] 61 | for spec in pod.spec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 61 | while let Some(spec) = pod.spec { [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 61 | if let Some(spec) = pod.spec { [INFO] [stdout] | ~~~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/main.rs:63:36 [INFO] [stdout] | [INFO] [stdout] 63 | for env in container.env { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 63 | while let Some(env) = container.env { [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 63 | if let Some(env) = container.env { [INFO] [stdout] | ~~~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/main.rs:69:36 [INFO] [stdout] | [INFO] [stdout] 69 | for volumes in spec.volumes { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 69 | while let Some(volumes) = spec.volumes { [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 69 | if let Some(volumes) = spec.volumes { [INFO] [stdout] | ~~~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/main.rs:71:43 [INFO] [stdout] | [INFO] [stdout] 71 | ... for secret in volume.secret { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 71 | while let Some(secret) = volume.secret { [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 71 | if let Some(secret) = volume.secret { [INFO] [stdout] | ~~~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `Result`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/main.rs:76:47 [INFO] [stdout] | [INFO] [stdout] 76 | ... for secret in secrets { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 76 | while let Ok(secret) = secrets { [INFO] [stdout] | ~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 76 | if let Ok(secret) = secrets { [INFO] [stdout] | ~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 33.81s [INFO] running `Command { std: "docker" "inspect" "acd0476c63fbd75daf0690e6bcd90df29a6e8e53d4c8f4bdd803bc7f27b367d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "acd0476c63fbd75daf0690e6bcd90df29a6e8e53d4c8f4bdd803bc7f27b367d0", kill_on_drop: false }` [INFO] [stdout] acd0476c63fbd75daf0690e6bcd90df29a6e8e53d4c8f4bdd803bc7f27b367d0