[INFO] fetching crate li-wgpu 0.18.0... [INFO] testing li-wgpu-0.18.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate li-wgpu 0.18.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate li-wgpu 0.18.0 [INFO] finished tweaking crates.io crate li-wgpu 0.18.0 [INFO] tweaked toml for crates.io crate li-wgpu 0.18.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate li-wgpu 0.18.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 150 packages to latest compatible versions [INFO] [stderr] Adding naga v0.14.2 (available: v26.0.0) [INFO] [stderr] Adding raw-window-handle v0.5.2 (available: v0.6.2) [INFO] [stderr] Adding wasm-bindgen-futures v0.4.45 (available: v0.4.50) [INFO] [stderr] Adding web-sys v0.3.72 (available: v0.3.77) [INFO] [stderr] Adding wgpu-types v0.18.0 (available: v26.0.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded li-wgpu-core v0.18.1 [INFO] [stderr] Downloaded li-wgpu-hal v0.18.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4f8096e384a370b926869cb2ad2ae8e50a1a04e1423fa09770829abf5b2b5523 [INFO] running `Command { std: "docker" "start" "-a" "4f8096e384a370b926869cb2ad2ae8e50a1a04e1423fa09770829abf5b2b5523", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4f8096e384a370b926869cb2ad2ae8e50a1a04e1423fa09770829abf5b2b5523", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f8096e384a370b926869cb2ad2ae8e50a1a04e1423fa09770829abf5b2b5523", kill_on_drop: false }` [INFO] [stdout] 4f8096e384a370b926869cb2ad2ae8e50a1a04e1423fa09770829abf5b2b5523 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6f3930a0a7e6498f40162f78235be87f3cb071468f6c66eac81ded09091949cf [INFO] running `Command { std: "docker" "start" "-a" "6f3930a0a7e6498f40162f78235be87f3cb071468f6c66eac81ded09091949cf", kill_on_drop: false }` [INFO] [stderr] Compiling ash v0.37.3+1.3.251 [INFO] [stderr] Compiling khronos-egl v6.0.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling gpu-descriptor-types v0.1.2 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling gpu-alloc-types v0.3.0 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling hexf-parse v0.2.1 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling spirv v0.2.0+1.5.4 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling wgpu-types v0.18.0 [INFO] [stderr] Compiling raw-window-handle v0.5.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling glow v0.13.1 [INFO] [stderr] Compiling renderdoc-sys v1.1.0 [INFO] [stderr] Compiling gpu-alloc v0.6.0 [INFO] [stderr] Compiling profiling v1.0.17 [INFO] [stderr] Compiling nanorand v0.7.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling naga v0.14.2 [INFO] [stderr] Compiling gpu-descriptor v0.2.4 [INFO] [stderr] Compiling li-wgpu-hal v0.18.1 [INFO] [stderr] Compiling li-wgpu-core v0.18.1 [INFO] [stderr] Compiling li-wgpu v0.18.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:182:28 [INFO] [stdout] | [INFO] [stdout] 182 | pub struct SubmissionIndex(ObjectId, Arc); [INFO] [stdout] | --------------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `SubmissionIndex` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 182 - pub struct SubmissionIndex(ObjectId, Arc); [INFO] [stdout] 182 + pub struct SubmissionIndex((), Arc); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `device_downlevel_properties`, `device_lose`, `render_bundle_encoder_multi_draw_indirect`, `render_bundle_encoder_multi_draw_indexed_indirect`, `render_bundle_encoder_multi_draw_indirect_count`, and `render_bundle_encoder_multi_draw_indexed_indirect_count` are never used [INFO] [stdout] --> src/context.rs:187:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub trait Context: Debug + WasmNotSend + WasmNotSync + Sized { [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 187 | fn device_downlevel_properties( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 273 | fn device_lose(&self, device: &Self::DeviceId, device_data: &Self::DeviceData); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 761 | fn render_bundle_encoder_multi_draw_indirect( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 770 | fn render_bundle_encoder_multi_draw_indexed_indirect( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 780 | fn render_bundle_encoder_multi_draw_indirect_count( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 793 | fn render_bundle_encoder_multi_draw_indexed_indirect_count( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `device_downlevel_properties`, `device_lose`, `render_bundle_encoder_multi_draw_indirect`, `render_bundle_encoder_multi_draw_indexed_indirect`, `render_bundle_encoder_multi_draw_indirect_count`, and `render_bundle_encoder_multi_draw_indexed_indirect_count` are never used [INFO] [stdout] --> src/context.rs:1283:8 [INFO] [stdout] | [INFO] [stdout] 1204 | pub(crate) trait DynContext: Debug + WasmNotSend + WasmNotSync { [INFO] [stdout] | ---------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 1283 | fn device_downlevel_properties( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1369 | fn device_lose(&self, device: &ObjectId, device_data: &crate::Data); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1804 | fn render_bundle_encoder_multi_draw_indirect( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1813 | fn render_bundle_encoder_multi_draw_indexed_indirect( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1823 | fn render_bundle_encoder_multi_draw_indirect_count( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1836 | fn render_bundle_encoder_multi_draw_indexed_indirect_count( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/util/mod.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct DownloadBuffer( [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 88 | Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 88 - Arc, [INFO] [stdout] 88 + (), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:2487:9 [INFO] [stdout] | [INFO] [stdout] 2487 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 2488 | desc: &RenderBundleEncoderDescriptor, [INFO] [stdout] 2489 | ) -> RenderBundleEncoder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 2489 | ) -> RenderBundleEncoder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:3094:30 [INFO] [stdout] | [INFO] [stdout] 3094 | pub fn as_entire_binding(&self) -> BindingResource { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 3094 | pub fn as_entire_binding(&self) -> BindingResource<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:3099:37 [INFO] [stdout] | [INFO] [stdout] 3099 | pub fn as_entire_buffer_binding(&self) -> BufferBinding { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 3099 | pub fn as_entire_buffer_binding(&self) -> BufferBinding<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:3109:49 [INFO] [stdout] | [INFO] [stdout] 3109 | pub fn slice>(&self, bounds: S) -> BufferSlice { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 3109 | pub fn slice>(&self, bounds: S) -> BufferSlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:3284:26 [INFO] [stdout] | [INFO] [stdout] 3284 | pub fn as_image_copy(&self) -> ImageCopyTexture { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 3284 | pub fn as_image_copy(&self) -> ImageCopyTexture<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:3412:31 [INFO] [stdout] | [INFO] [stdout] 3412 | pub fn begin_compute_pass(&mut self, desc: &ComputePassDescriptor) -> ComputePass { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 3412 | pub fn begin_compute_pass(&mut self, desc: &ComputePassDescriptor) -> ComputePass<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/util/mod.rs:45:29 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn make_spirv_raw(data: &[u8]) -> Cow<[u32]> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 45 | pub fn make_spirv_raw(data: &[u8]) -> Cow<'_, [u32]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/util/belt.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 84 | ) -> BufferViewMut { [INFO] [stdout] | ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 84 | ) -> BufferViewMut<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 36.16s [INFO] running `Command { std: "docker" "inspect" "6f3930a0a7e6498f40162f78235be87f3cb071468f6c66eac81ded09091949cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f3930a0a7e6498f40162f78235be87f3cb071468f6c66eac81ded09091949cf", kill_on_drop: false }` [INFO] [stdout] 6f3930a0a7e6498f40162f78235be87f3cb071468f6c66eac81ded09091949cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 146685bd837daf746147ce244a752b5649f88ae572ed0ebfb010ffbf71e9ee9e [INFO] running `Command { std: "docker" "start" "-a" "146685bd837daf746147ce244a752b5649f88ae572ed0ebfb010ffbf71e9ee9e", kill_on_drop: false }` [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:182:28 [INFO] [stdout] | [INFO] [stdout] 182 | pub struct SubmissionIndex(ObjectId, Arc); [INFO] [stdout] | --------------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `SubmissionIndex` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 182 - pub struct SubmissionIndex(ObjectId, Arc); [INFO] [stdout] 182 + pub struct SubmissionIndex((), Arc); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `device_downlevel_properties`, `device_lose`, `render_bundle_encoder_multi_draw_indirect`, `render_bundle_encoder_multi_draw_indexed_indirect`, `render_bundle_encoder_multi_draw_indirect_count`, and `render_bundle_encoder_multi_draw_indexed_indirect_count` are never used [INFO] [stdout] --> src/context.rs:187:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub trait Context: Debug + WasmNotSend + WasmNotSync + Sized { [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 187 | fn device_downlevel_properties( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 273 | fn device_lose(&self, device: &Self::DeviceId, device_data: &Self::DeviceData); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 761 | fn render_bundle_encoder_multi_draw_indirect( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 770 | fn render_bundle_encoder_multi_draw_indexed_indirect( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 780 | fn render_bundle_encoder_multi_draw_indirect_count( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 793 | fn render_bundle_encoder_multi_draw_indexed_indirect_count( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `device_downlevel_properties`, `device_lose`, `render_bundle_encoder_multi_draw_indirect`, `render_bundle_encoder_multi_draw_indexed_indirect`, `render_bundle_encoder_multi_draw_indirect_count`, and `render_bundle_encoder_multi_draw_indexed_indirect_count` are never used [INFO] [stdout] --> src/context.rs:1283:8 [INFO] [stdout] | [INFO] [stdout] 1204 | pub(crate) trait DynContext: Debug + WasmNotSend + WasmNotSync { [INFO] [stdout] | ---------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 1283 | fn device_downlevel_properties( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1369 | fn device_lose(&self, device: &ObjectId, device_data: &crate::Data); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1804 | fn render_bundle_encoder_multi_draw_indirect( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1813 | fn render_bundle_encoder_multi_draw_indexed_indirect( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1823 | fn render_bundle_encoder_multi_draw_indirect_count( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1836 | fn render_bundle_encoder_multi_draw_indexed_indirect_count( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/util/mod.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct DownloadBuffer( [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 88 | Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 88 - Arc, [INFO] [stdout] 88 + (), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:2487:9 [INFO] [stdout] | [INFO] [stdout] 2487 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 2488 | desc: &RenderBundleEncoderDescriptor, [INFO] [stdout] 2489 | ) -> RenderBundleEncoder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 2489 | ) -> RenderBundleEncoder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:3094:30 [INFO] [stdout] | [INFO] [stdout] 3094 | pub fn as_entire_binding(&self) -> BindingResource { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 3094 | pub fn as_entire_binding(&self) -> BindingResource<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:3099:37 [INFO] [stdout] | [INFO] [stdout] 3099 | pub fn as_entire_buffer_binding(&self) -> BufferBinding { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 3099 | pub fn as_entire_buffer_binding(&self) -> BufferBinding<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:3109:49 [INFO] [stdout] | [INFO] [stdout] 3109 | pub fn slice>(&self, bounds: S) -> BufferSlice { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 3109 | pub fn slice>(&self, bounds: S) -> BufferSlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:3284:26 [INFO] [stdout] | [INFO] [stdout] 3284 | pub fn as_image_copy(&self) -> ImageCopyTexture { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 3284 | pub fn as_image_copy(&self) -> ImageCopyTexture<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:3412:31 [INFO] [stdout] | [INFO] [stdout] 3412 | pub fn begin_compute_pass(&mut self, desc: &ComputePassDescriptor) -> ComputePass { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 3412 | pub fn begin_compute_pass(&mut self, desc: &ComputePassDescriptor) -> ComputePass<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/util/mod.rs:45:29 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn make_spirv_raw(data: &[u8]) -> Cow<[u32]> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 45 | pub fn make_spirv_raw(data: &[u8]) -> Cow<'_, [u32]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/util/belt.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 84 | ) -> BufferViewMut { [INFO] [stdout] | ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 84 | ) -> BufferViewMut<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling li-wgpu v0.18.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:182:28 [INFO] [stdout] | [INFO] [stdout] 182 | pub struct SubmissionIndex(ObjectId, Arc); [INFO] [stdout] | --------------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `SubmissionIndex` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 182 - pub struct SubmissionIndex(ObjectId, Arc); [INFO] [stdout] 182 + pub struct SubmissionIndex((), Arc); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `device_downlevel_properties`, `device_lose`, `render_bundle_encoder_multi_draw_indirect`, `render_bundle_encoder_multi_draw_indexed_indirect`, `render_bundle_encoder_multi_draw_indirect_count`, and `render_bundle_encoder_multi_draw_indexed_indirect_count` are never used [INFO] [stdout] --> src/context.rs:187:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub trait Context: Debug + WasmNotSend + WasmNotSync + Sized { [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 187 | fn device_downlevel_properties( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 273 | fn device_lose(&self, device: &Self::DeviceId, device_data: &Self::DeviceData); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 761 | fn render_bundle_encoder_multi_draw_indirect( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 770 | fn render_bundle_encoder_multi_draw_indexed_indirect( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 780 | fn render_bundle_encoder_multi_draw_indirect_count( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 793 | fn render_bundle_encoder_multi_draw_indexed_indirect_count( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `device_downlevel_properties`, `device_lose`, `render_bundle_encoder_multi_draw_indirect`, `render_bundle_encoder_multi_draw_indexed_indirect`, `render_bundle_encoder_multi_draw_indirect_count`, and `render_bundle_encoder_multi_draw_indexed_indirect_count` are never used [INFO] [stdout] --> src/context.rs:1283:8 [INFO] [stdout] | [INFO] [stdout] 1204 | pub(crate) trait DynContext: Debug + WasmNotSend + WasmNotSync { [INFO] [stdout] | ---------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 1283 | fn device_downlevel_properties( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1369 | fn device_lose(&self, device: &ObjectId, device_data: &crate::Data); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1804 | fn render_bundle_encoder_multi_draw_indirect( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1813 | fn render_bundle_encoder_multi_draw_indexed_indirect( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1823 | fn render_bundle_encoder_multi_draw_indirect_count( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1836 | fn render_bundle_encoder_multi_draw_indexed_indirect_count( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/util/mod.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct DownloadBuffer( [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 88 | Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 88 - Arc, [INFO] [stdout] 88 + (), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:2487:9 [INFO] [stdout] | [INFO] [stdout] 2487 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 2488 | desc: &RenderBundleEncoderDescriptor, [INFO] [stdout] 2489 | ) -> RenderBundleEncoder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 2489 | ) -> RenderBundleEncoder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:3094:30 [INFO] [stdout] | [INFO] [stdout] 3094 | pub fn as_entire_binding(&self) -> BindingResource { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 3094 | pub fn as_entire_binding(&self) -> BindingResource<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:3099:37 [INFO] [stdout] | [INFO] [stdout] 3099 | pub fn as_entire_buffer_binding(&self) -> BufferBinding { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 3099 | pub fn as_entire_buffer_binding(&self) -> BufferBinding<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:3109:49 [INFO] [stdout] | [INFO] [stdout] 3109 | pub fn slice>(&self, bounds: S) -> BufferSlice { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 3109 | pub fn slice>(&self, bounds: S) -> BufferSlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:3284:26 [INFO] [stdout] | [INFO] [stdout] 3284 | pub fn as_image_copy(&self) -> ImageCopyTexture { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 3284 | pub fn as_image_copy(&self) -> ImageCopyTexture<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:3412:31 [INFO] [stdout] | [INFO] [stdout] 3412 | pub fn begin_compute_pass(&mut self, desc: &ComputePassDescriptor) -> ComputePass { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 3412 | pub fn begin_compute_pass(&mut self, desc: &ComputePassDescriptor) -> ComputePass<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/util/mod.rs:45:29 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn make_spirv_raw(data: &[u8]) -> Cow<[u32]> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 45 | pub fn make_spirv_raw(data: &[u8]) -> Cow<'_, [u32]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/util/belt.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 84 | ) -> BufferViewMut { [INFO] [stdout] | ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 84 | ) -> BufferViewMut<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.64s [INFO] running `Command { std: "docker" "inspect" "146685bd837daf746147ce244a752b5649f88ae572ed0ebfb010ffbf71e9ee9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "146685bd837daf746147ce244a752b5649f88ae572ed0ebfb010ffbf71e9ee9e", kill_on_drop: false }` [INFO] [stdout] 146685bd837daf746147ce244a752b5649f88ae572ed0ebfb010ffbf71e9ee9e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3a2b607db962e293b529a9a3a7f5b280ff66d51e3e8858ed40118cfb5a5789bb [INFO] running `Command { std: "docker" "start" "-a" "3a2b607db962e293b529a9a3a7f5b280ff66d51e3e8858ed40118cfb5a5789bb", kill_on_drop: false }` [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/lib.rs:182:28 [INFO] [stderr] | [INFO] [stderr] 182 | pub struct SubmissionIndex(ObjectId, Arc); [INFO] [stderr] | --------------- ^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this struct [INFO] [stderr] | [INFO] [stderr] = note: `SubmissionIndex` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 182 - pub struct SubmissionIndex(ObjectId, Arc); [INFO] [stderr] 182 + pub struct SubmissionIndex((), Arc); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: methods `device_downlevel_properties`, `device_lose`, `render_bundle_encoder_multi_draw_indirect`, `render_bundle_encoder_multi_draw_indexed_indirect`, `render_bundle_encoder_multi_draw_indirect_count`, and `render_bundle_encoder_multi_draw_indexed_indirect_count` are never used [INFO] [stderr] --> src/context.rs:187:8 [INFO] [stderr] | [INFO] [stderr] 33 | pub trait Context: Debug + WasmNotSend + WasmNotSync + Sized { [INFO] [stderr] | ------- methods in this trait [INFO] [stderr] ... [INFO] [stderr] 187 | fn device_downlevel_properties( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 273 | fn device_lose(&self, device: &Self::DeviceId, device_data: &Self::DeviceData); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 761 | fn render_bundle_encoder_multi_draw_indirect( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 770 | fn render_bundle_encoder_multi_draw_indexed_indirect( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 780 | fn render_bundle_encoder_multi_draw_indirect_count( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 793 | fn render_bundle_encoder_multi_draw_indexed_indirect_count( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `device_downlevel_properties`, `device_lose`, `render_bundle_encoder_multi_draw_indirect`, `render_bundle_encoder_multi_draw_indexed_indirect`, `render_bundle_encoder_multi_draw_indirect_count`, and `render_bundle_encoder_multi_draw_indexed_indirect_count` are never used [INFO] [stderr] --> src/context.rs:1283:8 [INFO] [stderr] | [INFO] [stderr] 1204 | pub(crate) trait DynContext: Debug + WasmNotSend + WasmNotSync { [INFO] [stderr] | ---------- methods in this trait [INFO] [stderr] ... [INFO] [stderr] 1283 | fn device_downlevel_properties( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1369 | fn device_lose(&self, device: &ObjectId, device_data: &crate::Data); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1804 | fn render_bundle_encoder_multi_draw_indirect( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1813 | fn render_bundle_encoder_multi_draw_indexed_indirect( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1823 | fn render_bundle_encoder_multi_draw_indirect_count( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1836 | fn render_bundle_encoder_multi_draw_indexed_indirect_count( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/util/mod.rs:88:5 [INFO] [stderr] | [INFO] [stderr] 87 | pub struct DownloadBuffer( [INFO] [stderr] | -------------- field in this struct [INFO] [stderr] 88 | Arc, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 88 - Arc, [INFO] [stderr] 88 + (), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:2487:9 [INFO] [stderr] | [INFO] [stderr] 2487 | &self, [INFO] [stderr] | ^^^^^ the lifetime is elided here [INFO] [stderr] 2488 | desc: &RenderBundleEncoderDescriptor, [INFO] [stderr] 2489 | ) -> RenderBundleEncoder { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 2489 | ) -> RenderBundleEncoder<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:3094:30 [INFO] [stderr] | [INFO] [stderr] 3094 | pub fn as_entire_binding(&self) -> BindingResource { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 3094 | pub fn as_entire_binding(&self) -> BindingResource<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:3099:37 [INFO] [stderr] | [INFO] [stderr] 3099 | pub fn as_entire_buffer_binding(&self) -> BufferBinding { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 3099 | pub fn as_entire_buffer_binding(&self) -> BufferBinding<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:3109:49 [INFO] [stderr] | [INFO] [stderr] 3109 | pub fn slice>(&self, bounds: S) -> BufferSlice { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 3109 | pub fn slice>(&self, bounds: S) -> BufferSlice<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:3284:26 [INFO] [stderr] | [INFO] [stderr] 3284 | pub fn as_image_copy(&self) -> ImageCopyTexture { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 3284 | pub fn as_image_copy(&self) -> ImageCopyTexture<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:3412:31 [INFO] [stderr] | [INFO] [stderr] 3412 | pub fn begin_compute_pass(&mut self, desc: &ComputePassDescriptor) -> ComputePass { [INFO] [stderr] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 3412 | pub fn begin_compute_pass(&mut self, desc: &ComputePassDescriptor) -> ComputePass<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/util/mod.rs:45:29 [INFO] [stderr] | [INFO] [stderr] 45 | pub fn make_spirv_raw(data: &[u8]) -> Cow<[u32]> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 45 | pub fn make_spirv_raw(data: &[u8]) -> Cow<'_, [u32]> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/util/belt.rs:78:9 [INFO] [stderr] | [INFO] [stderr] 78 | &mut self, [INFO] [stderr] | ^^^^^^^^^ the lifetime is elided here [INFO] [stderr] ... [INFO] [stderr] 84 | ) -> BufferViewMut { [INFO] [stderr] | ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 84 | ) -> BufferViewMut<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `li-wgpu` (lib) generated 12 warnings (run `cargo fix --lib -p li-wgpu` to apply 8 suggestions) [INFO] [stderr] warning: `li-wgpu` (lib test) generated 12 warnings (12 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/li_wgpu-d98a1e658c823ccd) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test context::tests::object_safe ... ok [INFO] [stdout] test macros::test_vertex_attr_array ... ok [INFO] [stdout] test tests::range_to_offset_size_works ... ok [INFO] [stdout] test tests::range_to_offset_size_panics_for_unbounded_empty_range - should panic ... ok [INFO] [stdout] test tests::range_to_offset_size_panics_for_empty_range - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.14s [INFO] [stdout] [INFO] [stderr] Doc-tests li_wgpu [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test src/lib.rs - RenderBundleEncoder<'a>::draw (line 4503) ... ignored [INFO] [stdout] test src/lib.rs - RenderBundleEncoder<'a>::draw_indexed (line 4532) ... ignored [INFO] [stdout] test src/lib.rs - RenderPass<'a>::draw (line 3788) ... ignored [INFO] [stdout] test src/lib.rs - RenderPass<'a>::draw_indexed (line 3849) ... ignored [INFO] [stdout] test src/lib.rs - Adapter::get_presentation_timestamp (line 2352) - compile ... FAILED [INFO] [stdout] test src/macros.rs - macros::vertex_attr_array (line 6) ... FAILED [INFO] [stdout] test src/lib.rs - RenderPass<'a>::multi_draw_indexed_indirect_count (line 4059) ... ok [INFO] [stdout] test src/lib.rs - RenderPass<'a>::multi_draw_indirect_count (line 4012) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - Adapter::get_presentation_timestamp (line 2352) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wgpu` [INFO] [stdout] --> src/lib.rs:2354:20 [INFO] [stdout] | [INFO] [stdout] 4 | let some_code = || wgpu::PresentationTimestamp::INVALID_TIMESTAMP; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wgpu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wgpu`, use `cargo add wgpu` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use li_wgpu::PresentationTimestamp; [INFO] [stdout] | [INFO] [stdout] 2 + use wgt::PresentationTimestamp; [INFO] [stdout] | [INFO] [stdout] help: if you import `PresentationTimestamp`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 4 - let some_code = || wgpu::PresentationTimestamp::INVALID_TIMESTAMP; [INFO] [stdout] 4 + let some_code = || PresentationTimestamp::INVALID_TIMESTAMP; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wgpu` [INFO] [stdout] --> src/lib.rs:2353:14 [INFO] [stdout] | [INFO] [stdout] 3 | let adapter: wgpu::Adapter = panic!(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wgpu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wgpu`, use `cargo add wgpu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/macros.rs - macros::vertex_attr_array (line 6) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `wgpu` [INFO] [stdout] --> src/macros.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 3 | use wgpu::vertex_attr_array; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wgpu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wgpu`, use `cargo add wgpu` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - Adapter::get_presentation_timestamp (line 2352) [INFO] [stdout] src/macros.rs - macros::vertex_attr_array (line 6) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 2 passed; 2 failed; 4 ignored; 0 measured; 0 filtered out; finished in 0.41s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "3a2b607db962e293b529a9a3a7f5b280ff66d51e3e8858ed40118cfb5a5789bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a2b607db962e293b529a9a3a7f5b280ff66d51e3e8858ed40118cfb5a5789bb", kill_on_drop: false }` [INFO] [stdout] 3a2b607db962e293b529a9a3a7f5b280ff66d51e3e8858ed40118cfb5a5789bb