[INFO] cloning repository https://github.com/tolziplohu/wasm-vk [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tolziplohu/wasm-vk" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftolziplohu%2Fwasm-vk", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftolziplohu%2Fwasm-vk'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 02d7e63c56afa8b4c522f7ee9ac316bc6f08d169 [INFO] testing tolziplohu/wasm-vk against master#414482f6a0d4e7290f614300581a0b55442552a3 for pr-140985 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftolziplohu%2Fwasm-vk" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tolziplohu/wasm-vk on toolchain 414482f6a0d4e7290f614300581a0b55442552a3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tolziplohu/wasm-vk [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/tolziplohu/wasm-vk [INFO] tweaked toml for git repo https://github.com/tolziplohu/wasm-vk written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/tolziplohu/wasm-vk 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" "+414482f6a0d4e7290f614300581a0b55442552a3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/gfx-rs/rspirv` [INFO] [stderr] Updating git submodule `https://github.com/KhronosGroup/SPIRV-Headers.git` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wabt v0.9.2 [INFO] [stderr] Downloaded derive_more v0.7.1 [INFO] [stderr] Downloaded png v0.15.1 [INFO] [stderr] Downloaded parity-wasm v0.40.3 [INFO] [stderr] Downloaded vulkano v0.14.0 [INFO] [stderr] Downloaded wabt-sys v0.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 185a999cdb960aa38926ecc73879757b5ec13f03ebb899ed3bd7088ecf6e2b87 [INFO] running `Command { std: "docker" "start" "-a" "185a999cdb960aa38926ecc73879757b5ec13f03ebb899ed3bd7088ecf6e2b87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "185a999cdb960aa38926ecc73879757b5ec13f03ebb899ed3bd7088ecf6e2b87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "185a999cdb960aa38926ecc73879757b5ec13f03ebb899ed3bd7088ecf6e2b87", kill_on_drop: false }` [INFO] [stdout] 185a999cdb960aa38926ecc73879757b5ec13f03ebb899ed3bd7088ecf6e2b87 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5c95a0cd71c1b85cd97e3fb9b37fdfb2770387b1516643639f6551991438d0dd [INFO] running `Command { std: "docker" "start" "-a" "5c95a0cd71c1b85cd97e3fb9b37fdfb2770387b1516643639f6551991438d0dd", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling parity-wasm v0.40.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling derive_more v0.7.1 [INFO] [stderr] Compiling spirv_headers v1.4.1 (https://github.com/gfx-rs/rspirv?rev=219f6e2eba22c4d1834b1648dfe6b4fa6b7f9058#219f6e2e) [INFO] [stderr] Compiling rspirv v0.5.4 (https://github.com/gfx-rs/rspirv?rev=219f6e2eba22c4d1834b1648dfe6b4fa6b7f9058#219f6e2e) [INFO] [stderr] Compiling wasm-vk v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/spirv.rs:215:30 [INFO] [stdout] | [INFO] [stdout] 215 | unsafe { std::mem::transmute(offset.0) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace this with: `i32::cast_unsigned(offset.0)` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/spirv.rs:375:52 [INFO] [stdout] | [INFO] [stdout] 375 | self.constant_u32(ty, unsafe { std::mem::transmute(*i) }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: replace this with: `i32::cast_unsigned(*i)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/spirv.rs:818:47 [INFO] [stdout] | [INFO] [stdout] 818 | ctx.constant_u32(ty, unsafe { std::mem::transmute(i) }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace this with: `i32::cast_unsigned(i)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Sym` is never constructed [INFO] [stdout] --> src/ir.rs:146:8 [INFO] [stdout] | [INFO] [stdout] 146 | struct Sym(u32); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `map` is never used [INFO] [stdout] --> src/ir.rs:230:8 [INFO] [stdout] | [INFO] [stdout] 229 | impl Base { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 230 | fn map(self, f: impl Copy + Fn(Self) -> Self) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `map` is never used [INFO] [stdout] --> src/ir.rs:353:8 [INFO] [stdout] | [INFO] [stdout] 352 | impl Direct { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 353 | fn map(self, f: impl Copy + Fn(Self) -> Self) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `lift` is never used [INFO] [stdout] --> src/ir.rs:490:8 [INFO] [stdout] | [INFO] [stdout] 481 | impl Direct { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 490 | fn lift(self, max: u32) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `head` is never read [INFO] [stdout] --> src/spirv.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | struct Loop { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 26 | head: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Loop` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.10s [INFO] running `Command { std: "docker" "inspect" "5c95a0cd71c1b85cd97e3fb9b37fdfb2770387b1516643639f6551991438d0dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c95a0cd71c1b85cd97e3fb9b37fdfb2770387b1516643639f6551991438d0dd", kill_on_drop: false }` [INFO] [stdout] 5c95a0cd71c1b85cd97e3fb9b37fdfb2770387b1516643639f6551991438d0dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bfbb07bbcf8a73782e7a9c54f02d6a66af051c83f7993ff141d02b68a632fbcf [INFO] running `Command { std: "docker" "start" "-a" "bfbb07bbcf8a73782e7a9c54f02d6a66af051c83f7993ff141d02b68a632fbcf", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling cc v1.0.47 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rayon-core v1.6.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Compiling num_cpus v1.11.1 [INFO] [stderr] Compiling cmake v0.1.42 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling serde v1.0.102 [INFO] [stderr] Compiling syn v1.0.8 [INFO] [stderr] Compiling crossbeam-epoch v0.7.2 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling wabt-sys v0.7.0 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling rayon v1.2.0 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling crossbeam-channel v0.3.9 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling vulkano v0.14.0 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling jpeg-decoder v0.1.16 [INFO] [stderr] Compiling png v0.15.1 [INFO] [stderr] Compiling crossbeam v0.7.2 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling half v1.4.0 [INFO] [stderr] Compiling smallvec v0.6.12 [INFO] [stderr] Compiling vk-sys v0.4.0 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/spirv.rs:215:30 [INFO] [stdout] | [INFO] [stdout] 215 | unsafe { std::mem::transmute(offset.0) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace this with: `i32::cast_unsigned(offset.0)` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/spirv.rs:375:52 [INFO] [stdout] | [INFO] [stdout] 375 | self.constant_u32(ty, unsafe { std::mem::transmute(*i) }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: replace this with: `i32::cast_unsigned(*i)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/spirv.rs:818:47 [INFO] [stdout] | [INFO] [stdout] 818 | ctx.constant_u32(ty, unsafe { std::mem::transmute(i) }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace this with: `i32::cast_unsigned(i)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Sym` is never constructed [INFO] [stdout] --> src/ir.rs:146:8 [INFO] [stdout] | [INFO] [stdout] 146 | struct Sym(u32); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `map` is never used [INFO] [stdout] --> src/ir.rs:230:8 [INFO] [stdout] | [INFO] [stdout] 229 | impl Base { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 230 | fn map(self, f: impl Copy + Fn(Self) -> Self) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `map` is never used [INFO] [stdout] --> src/ir.rs:353:8 [INFO] [stdout] | [INFO] [stdout] 352 | impl Direct { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 353 | fn map(self, f: impl Copy + Fn(Self) -> Self) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `lift` is never used [INFO] [stdout] --> src/ir.rs:490:8 [INFO] [stdout] | [INFO] [stdout] 481 | impl Direct { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 490 | fn lift(self, max: u32) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `head` is never read [INFO] [stdout] --> src/spirv.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | struct Loop { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 26 | head: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Loop` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling serde_json v1.0.41 [INFO] [stderr] Compiling serde_derive v1.0.102 [INFO] [stderr] Compiling tiff v0.3.1 [INFO] [stderr] Compiling image v0.22.3 [INFO] [stderr] Compiling wabt v0.9.2 [INFO] [stderr] Compiling wasm-vk v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/spirv.rs:215:30 [INFO] [stdout] | [INFO] [stdout] 215 | unsafe { std::mem::transmute(offset.0) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace this with: `i32::cast_unsigned(offset.0)` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/spirv.rs:375:52 [INFO] [stdout] | [INFO] [stdout] 375 | self.constant_u32(ty, unsafe { std::mem::transmute(*i) }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: replace this with: `i32::cast_unsigned(*i)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/spirv.rs:818:47 [INFO] [stdout] | [INFO] [stdout] 818 | ctx.constant_u32(ty, unsafe { std::mem::transmute(i) }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace this with: `i32::cast_unsigned(i)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Sym` is never constructed [INFO] [stdout] --> src/ir.rs:146:8 [INFO] [stdout] | [INFO] [stdout] 146 | struct Sym(u32); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `map` is never used [INFO] [stdout] --> src/ir.rs:230:8 [INFO] [stdout] | [INFO] [stdout] 229 | impl Base { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 230 | fn map(self, f: impl Copy + Fn(Self) -> Self) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `map` is never used [INFO] [stdout] --> src/ir.rs:353:8 [INFO] [stdout] | [INFO] [stdout] 352 | impl Direct { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 353 | fn map(self, f: impl Copy + Fn(Self) -> Self) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `lift` is never used [INFO] [stdout] --> src/ir.rs:490:8 [INFO] [stdout] | [INFO] [stdout] 481 | impl Direct { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 490 | fn lift(self, max: u32) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `head` is never read [INFO] [stdout] --> src/spirv.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | struct Loop { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 26 | head: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Loop` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 14s [INFO] running `Command { std: "docker" "inspect" "bfbb07bbcf8a73782e7a9c54f02d6a66af051c83f7993ff141d02b68a632fbcf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfbb07bbcf8a73782e7a9c54f02d6a66af051c83f7993ff141d02b68a632fbcf", kill_on_drop: false }` [INFO] [stdout] bfbb07bbcf8a73782e7a9c54f02d6a66af051c83f7993ff141d02b68a632fbcf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4c2444fdc89f1a4636fe97e4305d4e962d3fc74c9e38a01405aa41d81ebc9b62 [INFO] running `Command { std: "docker" "start" "-a" "4c2444fdc89f1a4636fe97e4305d4e962d3fc74c9e38a01405aa41d81ebc9b62", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/spirv.rs:215:30 [INFO] [stderr] | [INFO] [stderr] 215 | unsafe { std::mem::transmute(offset.0) }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace this with: `i32::cast_unsigned(offset.0)` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/spirv.rs:375:52 [INFO] [stderr] | [INFO] [stderr] 375 | self.constant_u32(ty, unsafe { std::mem::transmute(*i) }) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: replace this with: `i32::cast_unsigned(*i)` [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/spirv.rs:818:47 [INFO] [stderr] | [INFO] [stderr] 818 | ctx.constant_u32(ty, unsafe { std::mem::transmute(i) }) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace this with: `i32::cast_unsigned(i)` [INFO] [stderr] [INFO] [stderr] warning: struct `Sym` is never constructed [INFO] [stderr] --> src/ir.rs:146:8 [INFO] [stderr] | [INFO] [stderr] 146 | struct Sym(u32); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `map` is never used [INFO] [stderr] --> src/ir.rs:230:8 [INFO] [stderr] | [INFO] [stderr] 229 | impl Base { [INFO] [stderr] | --------- method in this implementation [INFO] [stderr] 230 | fn map(self, f: impl Copy + Fn(Self) -> Self) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: method `map` is never used [INFO] [stderr] --> src/ir.rs:353:8 [INFO] [stderr] | [INFO] [stderr] 352 | impl Direct { [INFO] [stderr] | ----------- method in this implementation [INFO] [stderr] 353 | fn map(self, f: impl Copy + Fn(Self) -> Self) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: method `lift` is never used [INFO] [stderr] --> src/ir.rs:490:8 [INFO] [stderr] | [INFO] [stderr] 481 | impl Direct { [INFO] [stderr] | ----------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 490 | fn lift(self, max: u32) -> Self { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `head` is never read [INFO] [stderr] --> src/spirv.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 25 | struct Loop { [INFO] [stderr] | ---- field in this struct [INFO] [stderr] 26 | head: u32, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Loop` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `wasm-vk` (lib) generated 8 warnings (run `cargo fix --lib -p wasm-vk` to apply 3 suggestions) [INFO] [stderr] warning: `wasm-vk` (lib test) generated 8 warnings (8 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/wasm_vk-0f5198b701a52519) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/wasm_vk-c8ea3a23c69367b4) [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/runner.rs (/opt/rustwide/target/debug/deps/runner-8a616c6136723529) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test memory ... ok [INFO] [stdout] test call ... ok [INFO] [stdout] test one ... ok [INFO] [stdout] test typed_if ... ok [INFO] [stdout] test rust ... ok [INFO] [stdout] test fib ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 3.19s [INFO] [stdout] [INFO] [stderr] Running tests/two_buffers.rs (/opt/rustwide/target/debug/deps/two_buffers-af3fdb993858b365) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test two_buffers ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.22s [INFO] [stdout] [INFO] [stderr] Doc-tests wasm_vk [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4c2444fdc89f1a4636fe97e4305d4e962d3fc74c9e38a01405aa41d81ebc9b62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c2444fdc89f1a4636fe97e4305d4e962d3fc74c9e38a01405aa41d81ebc9b62", kill_on_drop: false }` [INFO] [stdout] 4c2444fdc89f1a4636fe97e4305d4e962d3fc74c9e38a01405aa41d81ebc9b62