[INFO] fetching crate web-assembler 0.1.2... [INFO] checking web-assembler-0.1.2 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate web-assembler 0.1.2 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate web-assembler 0.1.2 [INFO] finished tweaking crates.io crate web-assembler 0.1.2 [INFO] tweaked toml for crates.io crate web-assembler 0.1.2 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate web-assembler 0.1.2 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate web-assembler 0.1.2 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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 268da418f9262fb6024a27780147b5df2ee74d7c6593c5780aab9e98dd5ad079 [INFO] running `Command { std: "docker" "start" "-a" "268da418f9262fb6024a27780147b5df2ee74d7c6593c5780aab9e98dd5ad079", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "268da418f9262fb6024a27780147b5df2ee74d7c6593c5780aab9e98dd5ad079", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "268da418f9262fb6024a27780147b5df2ee74d7c6593c5780aab9e98dd5ad079", kill_on_drop: false }` [INFO] [stdout] 268da418f9262fb6024a27780147b5df2ee74d7c6593c5780aab9e98dd5ad079 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2eec53a3dec4f610b9d087f41dd25106937ad821b30df34449f063f0f3ebd145 [INFO] running `Command { std: "docker" "start" "-a" "2eec53a3dec4f610b9d087f41dd25106937ad821b30df34449f063f0f3ebd145", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking web-assembler v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/module.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | do_section!(0x01, self.types); [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] 56 - for xs in field { [INFO] [stdout] 56 + while let Some() = in field { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 56 - for xs in field { [INFO] [stdout] 56 + if let Some() = in field { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/module.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | do_section!(0x02, self.imports); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 56 - for xs in field { [INFO] [stdout] 56 + while let Some() = in field { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 56 - for xs in field { [INFO] [stdout] 56 + if let Some() = in field { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/module.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | do_section!(0x03, self.functions); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 56 - for xs in field { [INFO] [stdout] 56 + while let Some() = in field { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 56 - for xs in field { [INFO] [stdout] 56 + if let Some() = in field { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/module.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | do_section!(0x04, self.tables); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 56 - for xs in field { [INFO] [stdout] 56 + while let Some() = in field { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 56 - for xs in field { [INFO] [stdout] 56 + if let Some() = in field { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/module.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | do_section!(0x05, self.memories); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 56 - for xs in field { [INFO] [stdout] 56 + while let Some() = in field { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 56 - for xs in field { [INFO] [stdout] 56 + if let Some() = in field { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/module.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | do_section!(0x06, self.globals); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 56 - for xs in field { [INFO] [stdout] 56 + while let Some() = in field { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 56 - for xs in field { [INFO] [stdout] 56 + if let Some() = in field { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/module.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | do_section!(0x07, self.exports); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 56 - for xs in field { [INFO] [stdout] 56 + while let Some() = in field { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 56 - for xs in field { [INFO] [stdout] 56 + if let Some() = in field { [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/module.rs:81:26 [INFO] [stdout] | [INFO] [stdout] 81 | for index in self.start { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 81 - for index in self.start { [INFO] [stdout] 81 + while let Some(index) = self.start { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 81 - for index in self.start { [INFO] [stdout] 81 + if let Some(index) = self.start { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/module.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | do_section!(0x09, self.elements); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 56 - for xs in field { [INFO] [stdout] 56 + while let Some() = in field { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 56 - for xs in field { [INFO] [stdout] 56 + if let Some() = in field { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/module.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | do_section!(0x0a, self.codes); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 56 - for xs in field { [INFO] [stdout] 56 + while let Some() = in field { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 56 - for xs in field { [INFO] [stdout] 56 + if let Some() = in field { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/module.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | do_section!(0x0b, self.data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 56 - for xs in field { [INFO] [stdout] 56 + while let Some() = in field { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 56 - for xs in field { [INFO] [stdout] 56 + if let Some() = in field { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/types.rs:103:20 [INFO] [stdout] | [INFO] [stdout] 103 | for ret in ret { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 103 - for ret in ret { [INFO] [stdout] 103 + while let Some(ret) = ret { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 103 - for ret in ret { [INFO] [stdout] 103 + if let Some(ret) = ret { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/ops.rs:320:47 [INFO] [stdout] | [INFO] [stdout] 320 | size += write_uint32(buf, ::std::mem::transmute::(*f)); [INFO] [stdout] | ---------------------------------^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::to_bits` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/ops.rs:326:47 [INFO] [stdout] | [INFO] [stdout] 326 | size += write_uint64(buf, ::std::mem::transmute::(*f)); [INFO] [stdout] | ---------------------------------^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::to_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> examples/simple_add.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/module.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | do_section!(0x01, self.types); [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] 56 - for xs in field { [INFO] [stdout] 56 + while let Some() = in field { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 56 - for xs in field { [INFO] [stdout] 56 + if let Some() = in field { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/module.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | do_section!(0x02, self.imports); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 56 - for xs in field { [INFO] [stdout] 56 + while let Some() = in field { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 56 - for xs in field { [INFO] [stdout] 56 + if let Some() = in field { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/module.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | do_section!(0x03, self.functions); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 56 - for xs in field { [INFO] [stdout] 56 + while let Some() = in field { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 56 - for xs in field { [INFO] [stdout] 56 + if let Some() = in field { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/module.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | do_section!(0x04, self.tables); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 56 - for xs in field { [INFO] [stdout] 56 + while let Some() = in field { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 56 - for xs in field { [INFO] [stdout] 56 + if let Some() = in field { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/module.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | do_section!(0x05, self.memories); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 56 - for xs in field { [INFO] [stdout] 56 + while let Some() = in field { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 56 - for xs in field { [INFO] [stdout] 56 + if let Some() = in field { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/module.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | do_section!(0x06, self.globals); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 56 - for xs in field { [INFO] [stdout] 56 + while let Some() = in field { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 56 - for xs in field { [INFO] [stdout] 56 + if let Some() = in field { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/module.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | do_section!(0x07, self.exports); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 56 - for xs in field { [INFO] [stdout] 56 + while let Some() = in field { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 56 - for xs in field { [INFO] [stdout] 56 + if let Some() = in field { [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/module.rs:81:26 [INFO] [stdout] | [INFO] [stdout] 81 | for index in self.start { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 81 - for index in self.start { [INFO] [stdout] 81 + while let Some(index) = self.start { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 81 - for index in self.start { [INFO] [stdout] 81 + if let Some(index) = self.start { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/module.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | do_section!(0x09, self.elements); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 56 - for xs in field { [INFO] [stdout] 56 + while let Some() = in field { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 56 - for xs in field { [INFO] [stdout] 56 + if let Some() = in field { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/module.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | do_section!(0x0a, self.codes); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 56 - for xs in field { [INFO] [stdout] 56 + while let Some() = in field { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 56 - for xs in field { [INFO] [stdout] 56 + if let Some() = in field { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/module.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | do_section!(0x0b, self.data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 56 - for xs in field { [INFO] [stdout] 56 + while let Some() = in field { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 56 - for xs in field { [INFO] [stdout] 56 + if let Some() = in field { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/types.rs:103:20 [INFO] [stdout] | [INFO] [stdout] 103 | for ret in ret { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 103 - for ret in ret { [INFO] [stdout] 103 + while let Some(ret) = ret { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 103 - for ret in ret { [INFO] [stdout] 103 + if let Some(ret) = ret { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/ops.rs:320:47 [INFO] [stdout] | [INFO] [stdout] 320 | size += write_uint32(buf, ::std::mem::transmute::(*f)); [INFO] [stdout] | ---------------------------------^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::to_bits` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/ops.rs:326:47 [INFO] [stdout] | [INFO] [stdout] 326 | size += write_uint64(buf, ::std::mem::transmute::(*f)); [INFO] [stdout] | ---------------------------------^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::to_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.80s [INFO] running `Command { std: "docker" "inspect" "2eec53a3dec4f610b9d087f41dd25106937ad821b30df34449f063f0f3ebd145", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2eec53a3dec4f610b9d087f41dd25106937ad821b30df34449f063f0f3ebd145", kill_on_drop: false }` [INFO] [stdout] 2eec53a3dec4f610b9d087f41dd25106937ad821b30df34449f063f0f3ebd145