[INFO] fetching crate pelite 0.10.0... [INFO] checking pelite-0.10.0 against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] extracting crate pelite 0.10.0 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate pelite 0.10.0 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 crates.io crate pelite 0.10.0 [INFO] finished tweaking crates.io crate pelite 0.10.0 [INFO] tweaked toml for crates.io crate pelite 0.10.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate crates.io crate pelite 0.10.0 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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pelite-macros v0.1.1 [INFO] [stderr] Downloaded derive_pod v0.1.2 [INFO] [stderr] Downloaded dataview v1.0.0 [INFO] [stderr] Downloaded lde v0.3.0 [INFO] [stderr] Downloaded format_xml v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] f05590b47f4290fcae12fcf7dc0b900eb7ff0cff6a549fe0c2fd76affe4caa23 [INFO] running `Command { std: "docker" "start" "-a" "f05590b47f4290fcae12fcf7dc0b900eb7ff0cff6a549fe0c2fd76affe4caa23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f05590b47f4290fcae12fcf7dc0b900eb7ff0cff6a549fe0c2fd76affe4caa23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f05590b47f4290fcae12fcf7dc0b900eb7ff0cff6a549fe0c2fd76affe4caa23", kill_on_drop: false }` [INFO] [stdout] f05590b47f4290fcae12fcf7dc0b900eb7ff0cff6a549fe0c2fd76affe4caa23 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 0044c80d23599fcf2bd6987e20e81ea0b4e696b1583c7f4ef196ba93ca9789ff [INFO] running `Command { std: "docker" "start" "-a" "0044c80d23599fcf2bd6987e20e81ea0b4e696b1583c7f4ef196ba93ca9789ff", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Compiling derive_pod v0.1.2 [INFO] [stderr] Compiling pelite-macros v0.1.1 [INFO] [stderr] Checking no-std-compat v0.4.1 [INFO] [stderr] Checking format_xml v0.2.0 [INFO] [stderr] Checking lde v0.3.0 [INFO] [stderr] Checking dataview v1.0.0 [INFO] [stderr] Checking pelite v0.10.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking rand v0.5.6 [INFO] [stdout] warning: the item `Rva` is imported redundantly [INFO] [stdout] --> src/pe64/scanner.rs:41:20 [INFO] [stdout] | [INFO] [stdout] 41 | use super::{Align, Rva, Pe, image::*}; [INFO] [stdout] | ^^^ -------- the item `Rva` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Rva` is imported redundantly [INFO] [stdout] --> src/pe32/../pe64/scanner.rs:41:20 [INFO] [stdout] | [INFO] [stdout] 41 | use super::{Align, Rva, Pe, image::*}; [INFO] [stdout] | ^^^ -------- the item `Rva` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Wrap` is imported redundantly [INFO] [stdout] --> src/wrap/pe.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `Wrap` is already imported here [INFO] [stdout] 2 | use super::Wrap; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Wrap` is imported redundantly [INFO] [stdout] --> src/wrap/view.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `Wrap` is already imported here [INFO] [stdout] 2 | use super::Wrap; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Wrap` is imported redundantly [INFO] [stdout] --> src/wrap/file.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `Wrap` is already imported here [INFO] [stdout] 2 | use super::Wrap; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Wrap` is imported redundantly [INFO] [stdout] --> src/wrap/headers.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::*; [INFO] [stdout] | -------- the item `Wrap` is already imported here [INFO] [stdout] 3 | use super::Wrap; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Wrap` is imported redundantly [INFO] [stdout] --> src/wrap/exports.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `Wrap` is already imported here [INFO] [stdout] 2 | use super::Wrap; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Wrap` is imported redundantly [INFO] [stdout] --> src/wrap/imports.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `Wrap` is already imported here [INFO] [stdout] 2 | use super::Wrap; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Wrap` is imported redundantly [INFO] [stdout] --> src/wrap/load_config.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `Wrap` is already imported here [INFO] [stdout] 2 | use super::Wrap; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Wrap` is imported redundantly [INFO] [stdout] --> src/wrap/tls.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `Wrap` is already imported here [INFO] [stdout] 2 | use super::Wrap; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Wrap` is imported redundantly [INFO] [stdout] --> src/wrap/debug.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `Wrap` is already imported here [INFO] [stdout] 2 | use super::Wrap; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Wrap` is imported redundantly [INFO] [stdout] --> src/wrap/scanner.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::*; [INFO] [stdout] | -------- the item `Wrap` is already imported here [INFO] [stdout] 3 | use super::Wrap; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Rva` is imported redundantly [INFO] [stdout] --> src/pe64/scanner.rs:41:20 [INFO] [stdout] | [INFO] [stdout] 41 | use super::{Align, Rva, Pe, image::*}; [INFO] [stdout] | ^^^ -------- the item `Rva` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Rva` is imported redundantly [INFO] [stdout] --> src/pe32/../pe64/scanner.rs:41:20 [INFO] [stdout] | [INFO] [stdout] 41 | use super::{Align, Rva, Pe, image::*}; [INFO] [stdout] | ^^^ -------- the item `Rva` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Wrap` is imported redundantly [INFO] [stdout] --> src/wrap/pe.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `Wrap` is already imported here [INFO] [stdout] 2 | use super::Wrap; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Wrap` is imported redundantly [INFO] [stdout] --> src/wrap/view.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `Wrap` is already imported here [INFO] [stdout] 2 | use super::Wrap; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Wrap` is imported redundantly [INFO] [stdout] --> src/wrap/file.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `Wrap` is already imported here [INFO] [stdout] 2 | use super::Wrap; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Wrap` is imported redundantly [INFO] [stdout] --> src/wrap/headers.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::*; [INFO] [stdout] | -------- the item `Wrap` is already imported here [INFO] [stdout] 3 | use super::Wrap; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Wrap` is imported redundantly [INFO] [stdout] --> src/wrap/exports.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `Wrap` is already imported here [INFO] [stdout] 2 | use super::Wrap; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Wrap` is imported redundantly [INFO] [stdout] --> src/wrap/imports.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `Wrap` is already imported here [INFO] [stdout] 2 | use super::Wrap; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Wrap` is imported redundantly [INFO] [stdout] --> src/wrap/load_config.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `Wrap` is already imported here [INFO] [stdout] 2 | use super::Wrap; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Wrap` is imported redundantly [INFO] [stdout] --> src/wrap/tls.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `Wrap` is already imported here [INFO] [stdout] 2 | use super::Wrap; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Wrap` is imported redundantly [INFO] [stdout] --> src/wrap/debug.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `Wrap` is already imported here [INFO] [stdout] 2 | use super::Wrap; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Wrap` is imported redundantly [INFO] [stdout] --> src/wrap/scanner.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::*; [INFO] [stdout] | -------- the item `Wrap` is already imported here [INFO] [stdout] 3 | use super::Wrap; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `pelite` is imported redundantly [INFO] [stdout] --> src/bin/strings.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use pelite; [INFO] [stdout] | ^^^^^^ the item `pelite` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `pelite` is imported redundantly [INFO] [stdout] --> examples/tf2/interfaces.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use pelite; [INFO] [stdout] | ^^^^^^ the item `pelite` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `pelite` is imported redundantly [INFO] [stdout] --> examples/tf2/classes.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use pelite; [INFO] [stdout] | ^^^^^^ the item `pelite` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `pelite` is imported redundantly [INFO] [stdout] --> src/bin/strings.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use pelite; [INFO] [stdout] | ^^^^^^ the item `pelite` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `network_name`, `class_id`, and `size_of` are never read [INFO] [stdout] --> examples/tf2/classes.rs:36:6 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Class<'a> { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 36 | pub network_name: &'a str, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 37 | pub class_id: i32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 38 | pub size_of: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Class` 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] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `pelite` is imported redundantly [INFO] [stdout] --> examples/csgo/interfaces.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use pelite; [INFO] [stdout] | ^^^^^^ the item `pelite` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `pelite` is imported redundantly [INFO] [stdout] --> examples/csgo/classes.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use pelite; [INFO] [stdout] | ^^^^^^ the item `pelite` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `pelite` is imported redundantly [INFO] [stdout] --> examples/csgo/datamaps.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use pelite; [INFO] [stdout] | ^^^^^^ the item `pelite` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `pelite` is imported redundantly [INFO] [stdout] --> examples/csgo/recvtables.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use pelite; [INFO] [stdout] | ^^^^^^ the item `pelite` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `lde` is imported redundantly [INFO] [stdout] --> examples/csgo/recvtables.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use lde; [INFO] [stdout] | ^^^ the item `lde` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `pelite` is imported redundantly [INFO] [stdout] --> examples/csgo/weapondata.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use pelite; [INFO] [stdout] | ^^^^^^ the item `pelite` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `lde` is imported redundantly [INFO] [stdout] --> examples/csgo/weapondata.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use lde; [INFO] [stdout] | ^^^ the item `lde` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `class_id` is never read [INFO] [stdout] --> examples/csgo/classes.rs:51:6 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct Class<'a> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 51 | pub class_id: i32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Class` 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] [INFO] [stdout] [INFO] [stdout] warning: struct `kbutton_t` is never constructed [INFO] [stdout] --> examples/csgo/kbutton.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | struct kbutton_t { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 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] --> src/pe64/imports.rs:303:12 [INFO] [stdout] | [INFO] [stdout] 303 | for _ in desc.iat() {} [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] 303 | while let Ok(_) = desc.iat() {} [INFO] [stdout] | ~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider unwrapping the `Result` with `?` to iterate over its contents [INFO] [stdout] | [INFO] [stdout] 303 | for _ in desc.iat()? {} [INFO] [stdout] | + [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 303 | if let Ok(_) = desc.iat() {} [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/pe64/imports.rs:304:12 [INFO] [stdout] | [INFO] [stdout] 304 | for _ in desc.int() {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 304 | while let Ok(_) = desc.int() {} [INFO] [stdout] | ~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider unwrapping the `Result` with `?` to iterate over its contents [INFO] [stdout] | [INFO] [stdout] 304 | for _ in desc.int()? {} [INFO] [stdout] | + [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 304 | if let Ok(_) = desc.int() {} [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/pe32/../pe64/imports.rs:303:12 [INFO] [stdout] | [INFO] [stdout] 303 | for _ in desc.iat() {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 303 | while let Ok(_) = desc.iat() {} [INFO] [stdout] | ~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider unwrapping the `Result` with `?` to iterate over its contents [INFO] [stdout] | [INFO] [stdout] 303 | for _ in desc.iat()? {} [INFO] [stdout] | + [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 303 | if let Ok(_) = desc.iat() {} [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/pe32/../pe64/imports.rs:304:12 [INFO] [stdout] | [INFO] [stdout] 304 | for _ in desc.int() {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 304 | while let Ok(_) = desc.int() {} [INFO] [stdout] | ~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider unwrapping the `Result` with `?` to iterate over its contents [INFO] [stdout] | [INFO] [stdout] 304 | for _ in desc.int()? {} [INFO] [stdout] | + [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 304 | if let Ok(_) = desc.int() {} [INFO] [stdout] | ~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.13s [INFO] running `Command { std: "docker" "inspect" "0044c80d23599fcf2bd6987e20e81ea0b4e696b1583c7f4ef196ba93ca9789ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0044c80d23599fcf2bd6987e20e81ea0b4e696b1583c7f4ef196ba93ca9789ff", kill_on_drop: false }` [INFO] [stdout] 0044c80d23599fcf2bd6987e20e81ea0b4e696b1583c7f4ef196ba93ca9789ff