[INFO] cloning repository https://github.com/purlinux/pur [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/purlinux/pur" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpurlinux%2Fpur", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpurlinux%2Fpur'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fcb49dd58366d17661534f98a02e4f52f6ee0b52 [INFO] checking purlinux/pur against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpurlinux%2Fpur" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/purlinux/pur on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/purlinux/pur [INFO] finished tweaking git repo https://github.com/purlinux/pur [INFO] tweaked toml for git repo https://github.com/purlinux/pur written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/purlinux/pur 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded terminal_size v0.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 574b20ac4f64a1165ba7fcbd98eb8bc20dd066240cb59979770f101876b92e65 [INFO] running `Command { std: "docker" "start" "-a" "574b20ac4f64a1165ba7fcbd98eb8bc20dd066240cb59979770f101876b92e65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "574b20ac4f64a1165ba7fcbd98eb8bc20dd066240cb59979770f101876b92e65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "574b20ac4f64a1165ba7fcbd98eb8bc20dd066240cb59979770f101876b92e65", kill_on_drop: false }` [INFO] [stdout] 574b20ac4f64a1165ba7fcbd98eb8bc20dd066240cb59979770f101876b92e65 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f3dbbc218cfa23025ad6061b406a65d43315ceec8b364ed58615cb38a2ac726f [INFO] running `Command { std: "docker" "start" "-a" "f3dbbc218cfa23025ad6061b406a65d43315ceec8b364ed58615cb38a2ac726f", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling syn v1.0.100 [INFO] [stderr] Compiling unicode-ident v1.0.4 [INFO] [stderr] Compiling libc v0.2.133 [INFO] [stderr] Compiling io-lifetimes v0.7.3 [INFO] [stderr] Compiling rustix v0.35.9 [INFO] [stderr] Checking linux-raw-sys v0.0.46 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Checking os_str_bytes v6.3.0 [INFO] [stderr] Checking unicode-width v0.1.10 [INFO] [stderr] Checking aho-corasick v0.7.19 [INFO] [stderr] Checking proc-macro2 v1.0.43 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking once_cell v1.15.0 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking quote v1.0.21 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Checking terminal_size v0.2.1 [INFO] [stderr] Checking textwrap v0.15.1 [INFO] [stderr] Checking macros v0.1.0 (/opt/rustwide/workdir/macros) [INFO] [stderr] Compiling clap_derive v3.2.18 [INFO] [stderr] Checking api v0.1.0 (/opt/rustwide/workdir/api) [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> api/src/repo.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | use std::{convert::TryFrom, fs, path::PathBuf}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> api/src/repo.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | use std::{convert::TryFrom, fs, path::PathBuf}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `Result`. This is more readably written as an `if let` statement [INFO] [stdout] --> api/src/structure.rs:207:18 [INFO] [stdout] | [INFO] [stdout] 207 | for entry in dir.read_dir() { [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] 207 | while let Ok(entry) = dir.read_dir() { [INFO] [stdout] | ~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider unwrapping the `Result` with `?` to iterate over its contents [INFO] [stdout] | [INFO] [stdout] 207 | for entry in dir.read_dir()? { [INFO] [stdout] | + [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 207 | if let Ok(entry) = dir.read_dir() { [INFO] [stdout] | ~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `Result`. This is more readably written as an `if let` statement [INFO] [stdout] --> api/src/structure.rs:207:18 [INFO] [stdout] | [INFO] [stdout] 207 | for entry in dir.read_dir() { [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] 207 | while let Ok(entry) = dir.read_dir() { [INFO] [stdout] | ~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider unwrapping the `Result` with `?` to iterate over its contents [INFO] [stdout] | [INFO] [stdout] 207 | for entry in dir.read_dir()? { [INFO] [stdout] | + [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 207 | if let Ok(entry) = dir.read_dir() { [INFO] [stdout] | ~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking clap v3.2.22 [INFO] [stderr] Checking front v0.1.0 (/opt/rustwide/workdir/front) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.01s [INFO] running `Command { std: "docker" "inspect" "f3dbbc218cfa23025ad6061b406a65d43315ceec8b364ed58615cb38a2ac726f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3dbbc218cfa23025ad6061b406a65d43315ceec8b364ed58615cb38a2ac726f", kill_on_drop: false }` [INFO] [stdout] f3dbbc218cfa23025ad6061b406a65d43315ceec8b364ed58615cb38a2ac726f [INFO] checking purlinux/pur against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpurlinux%2Fpur" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/purlinux/pur on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/purlinux/pur [INFO] finished tweaking git repo https://github.com/purlinux/pur [INFO] tweaked toml for git repo https://github.com/purlinux/pur written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/purlinux/pur 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8bc3dedf7552d2a8780bdad7f1e99dc5c9baaa9da79afb0df3896fbb4d6ba2c9 [INFO] running `Command { std: "docker" "start" "-a" "8bc3dedf7552d2a8780bdad7f1e99dc5c9baaa9da79afb0df3896fbb4d6ba2c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8bc3dedf7552d2a8780bdad7f1e99dc5c9baaa9da79afb0df3896fbb4d6ba2c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8bc3dedf7552d2a8780bdad7f1e99dc5c9baaa9da79afb0df3896fbb4d6ba2c9", kill_on_drop: false }` [INFO] [stdout] 8bc3dedf7552d2a8780bdad7f1e99dc5c9baaa9da79afb0df3896fbb4d6ba2c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b75423bf2921b3df1bc6e60686fa5f264ab3f1b92ddc76b219af64cea1a8afac [INFO] running `Command { std: "docker" "start" "-a" "b75423bf2921b3df1bc6e60686fa5f264ab3f1b92ddc76b219af64cea1a8afac", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling syn v1.0.100 [INFO] [stderr] Compiling unicode-ident v1.0.4 [INFO] [stderr] Compiling libc v0.2.133 [INFO] [stderr] Compiling io-lifetimes v0.7.3 [INFO] [stderr] Compiling rustix v0.35.9 [INFO] [stderr] Checking linux-raw-sys v0.0.46 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Checking os_str_bytes v6.3.0 [INFO] [stderr] Checking unicode-width v0.1.10 [INFO] [stderr] Checking aho-corasick v0.7.19 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking once_cell v1.15.0 [INFO] [stderr] Checking quote v1.0.21 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Checking terminal_size v0.2.1 [INFO] [stderr] Checking textwrap v0.15.1 [INFO] [stderr] Checking macros v0.1.0 (/opt/rustwide/workdir/macros) [INFO] [stderr] Compiling clap_derive v3.2.18 [INFO] [stderr] Checking api v0.1.0 (/opt/rustwide/workdir/api) [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> api/src/repo.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | use std::{convert::TryFrom, fs, path::PathBuf}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> api/src/repo.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | use std::{convert::TryFrom, fs, path::PathBuf}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `Result`. This is more readably written as an `if let` statement [INFO] [stdout] --> api/src/structure.rs:207:18 [INFO] [stdout] | [INFO] [stdout] 207 | for entry in dir.read_dir() { [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] 207 | while let Ok(entry) = dir.read_dir() { [INFO] [stdout] | ~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider unwrapping the `Result` with `?` to iterate over its contents [INFO] [stdout] | [INFO] [stdout] 207 | for entry in dir.read_dir()? { [INFO] [stdout] | + [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 207 | if let Ok(entry) = dir.read_dir() { [INFO] [stdout] | ~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `Result`. This is more readably written as an `if let` statement [INFO] [stdout] --> api/src/structure.rs:207:18 [INFO] [stdout] | [INFO] [stdout] 207 | for entry in dir.read_dir() { [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] 207 | while let Ok(entry) = dir.read_dir() { [INFO] [stdout] | ~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider unwrapping the `Result` with `?` to iterate over its contents [INFO] [stdout] | [INFO] [stdout] 207 | for entry in dir.read_dir()? { [INFO] [stdout] | + [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 207 | if let Ok(entry) = dir.read_dir() { [INFO] [stdout] | ~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking clap v3.2.22 [INFO] [stderr] Checking front v0.1.0 (/opt/rustwide/workdir/front) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.62s [INFO] running `Command { std: "docker" "inspect" "b75423bf2921b3df1bc6e60686fa5f264ab3f1b92ddc76b219af64cea1a8afac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b75423bf2921b3df1bc6e60686fa5f264ab3f1b92ddc76b219af64cea1a8afac", kill_on_drop: false }` [INFO] [stdout] b75423bf2921b3df1bc6e60686fa5f264ab3f1b92ddc76b219af64cea1a8afac