[INFO] fetching crate web-assembler 0.1.2... [INFO] building web-assembler-0.1.2 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate web-assembler 0.1.2 into /workspace/builds/worker-5-tc1/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-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate web-assembler 0.1.2 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4034be33aa0578ed8ee9f56546ecd59d79514518ee2b19ca8b24406e1753e597 [INFO] running `Command { std: "docker" "start" "-a" "4034be33aa0578ed8ee9f56546ecd59d79514518ee2b19ca8b24406e1753e597", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4034be33aa0578ed8ee9f56546ecd59d79514518ee2b19ca8b24406e1753e597", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4034be33aa0578ed8ee9f56546ecd59d79514518ee2b19ca8b24406e1753e597", kill_on_drop: false }` [INFO] [stdout] 4034be33aa0578ed8ee9f56546ecd59d79514518ee2b19ca8b24406e1753e597 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e3933c61bf8c2faf7e1632b88dceac7f7feb13f89a4b4d66ecb72f1e556591ff [INFO] running `Command { std: "docker" "start" "-a" "e3933c61bf8c2faf7e1632b88dceac7f7feb13f89a4b4d66ecb72f1e556591ff", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.94s [INFO] running `Command { std: "docker" "inspect" "e3933c61bf8c2faf7e1632b88dceac7f7feb13f89a4b4d66ecb72f1e556591ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3933c61bf8c2faf7e1632b88dceac7f7feb13f89a4b4d66ecb72f1e556591ff", kill_on_drop: false }` [INFO] [stdout] e3933c61bf8c2faf7e1632b88dceac7f7feb13f89a4b4d66ecb72f1e556591ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4685818d2b3a9c99ab079cc4a362fe236fdc8d9a002f77f7c2390cbff0f80130 [INFO] running `Command { std: "docker" "start" "-a" "4685818d2b3a9c99ab079cc4a362fe236fdc8d9a002f77f7c2390cbff0f80130", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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] [stderr] Compiling web-assembler v0.1.2 (/opt/rustwide/workdir) [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)]` (part of `#[warn(unused)]`) 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 `test` profile [unoptimized + debuginfo] target(s) in 0.72s [INFO] running `Command { std: "docker" "inspect" "4685818d2b3a9c99ab079cc4a362fe236fdc8d9a002f77f7c2390cbff0f80130", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4685818d2b3a9c99ab079cc4a362fe236fdc8d9a002f77f7c2390cbff0f80130", kill_on_drop: false }` [INFO] [stdout] 4685818d2b3a9c99ab079cc4a362fe236fdc8d9a002f77f7c2390cbff0f80130