[INFO] cloning repository https://github.com/GuYeying/starfish [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/GuYeying/starfish" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGuYeying%2Fstarfish", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGuYeying%2Fstarfish'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 32bf3139f7e93f52395e17e682de9e73e3bc385c [INFO] checking GuYeying/starfish against c0bbd1b6d95c5dc13a0e7f2e2c5dfb0387e1f2d4 for pr-161358 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGuYeying%2Fstarfish" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/GuYeying/starfish [INFO] finished tweaking git repo https://github.com/GuYeying/starfish [INFO] tweaked toml for git repo https://github.com/GuYeying/starfish written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/GuYeying/starfish on toolchain c0bbd1b6d95c5dc13a0e7f2e2c5dfb0387e1f2d4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c0bbd1b6d95c5dc13a0e7f2e2c5dfb0387e1f2d4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/GuYeying/starfish 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" "+c0bbd1b6d95c5dc13a0e7f2e2c5dfb0387e1f2d4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: version requirement `0.6.7+SDL-3.4.12` for dependency `sdl3-sys` includes semver metadata which will be ignored, removing the metadata is recommended to avoid confusion [INFO] [stderr] warning: `starfish` (manifest) generated 1 warning [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] c3805ddba4ed2a107a053819bdee2b0bb945a337ef25d177ee8c83da53d5cddc [INFO] running `Command { std: "docker" "start" "c3805ddba4ed2a107a053819bdee2b0bb945a337ef25d177ee8c83da53d5cddc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c3805ddba4ed2a107a053819bdee2b0bb945a337ef25d177ee8c83da53d5cddc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c3805ddba4ed2a107a053819bdee2b0bb945a337ef25d177ee8c83da53d5cddc" "/opt/rustwide/cargo-home/bin/cargo" "+c0bbd1b6d95c5dc13a0e7f2e2c5dfb0387e1f2d4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c3805ddba4ed2a107a053819bdee2b0bb945a337ef25d177ee8c83da53d5cddc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c3805ddba4ed2a107a053819bdee2b0bb945a337ef25d177ee8c83da53d5cddc" "/opt/rustwide/cargo-home/bin/cargo" "+c0bbd1b6d95c5dc13a0e7f2e2c5dfb0387e1f2d4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: version requirement `0.6.7+SDL-3.4.12` for dependency `sdl3-sys` includes semver metadata which will be ignored, removing the metadata is recommended to avoid confusion [INFO] [stderr] warning: `starfish` (manifest) generated 1 warning [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling quote v1.0.46 [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Checking cfg-if v1.0.4 [INFO] [stderr] Compiling autocfg v1.5.1 [INFO] [stderr] Compiling libm v0.2.16 [INFO] [stderr] Checking log v0.4.33 [INFO] [stderr] Checking arrayvec v0.7.7 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling pkg-config v0.3.33 [INFO] [stderr] Checking memchr v2.8.2 [INFO] [stderr] Compiling libc v0.2.186 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling zerocopy v0.8.52 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking bitflags v2.13.0 [INFO] [stderr] Checking foldhash v0.2.0 [INFO] [stderr] Compiling find-msvc-tools v0.1.9 [INFO] [stderr] Compiling shlex v2.0.1 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Compiling syn v2.0.118 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling cc v1.2.65 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking hashbrown v0.17.1 [INFO] [stderr] Checking libloading v0.8.9 [INFO] [stderr] Checking simd-adler32 v0.3.9 [INFO] [stderr] Compiling rpkg-config v0.1.2 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling sdl3-src v3.4.12 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking smallvec v1.15.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking either v1.16.0 [INFO] [stderr] Checking indexmap v2.14.0 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Compiling anyhow v1.0.102 [INFO] [stderr] Compiling naga v30.0.0 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Checking once_cell v1.21.4 [INFO] [stderr] Compiling cmake v0.1.58 [INFO] [stderr] Checking raw-window-handle v0.6.2 [INFO] [stderr] Checking unicode-width v0.2.2 [INFO] [stderr] Checking stable_deref_trait v1.2.1 [INFO] [stderr] Checking bit-vec v0.9.1 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Compiling ash v0.38.0+1.3.281 [INFO] [stderr] Checking bit-set v0.10.0 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking codespan-reporting v0.13.1 [INFO] [stderr] Checking as-slice v0.2.1 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking rayon v1.12.0 [INFO] [stderr] Compiling wayland-sys v0.31.11 [INFO] [stderr] Checking spirv v0.4.0+sdk-1.4.341.0 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Compiling built v0.8.1 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling av-scenechange v0.14.1 [INFO] [stderr] Compiling khronos-egl v6.0.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking lock_api v0.4.14 [INFO] [stderr] Checking hashbrown v0.16.1 [INFO] [stderr] Compiling sdl3-sys v0.6.7+SDL-3.4.12 [INFO] [stderr] Checking aligned v0.4.3 [INFO] [stderr] Compiling rav1e v0.8.1 [INFO] [stderr] Checking dlib v0.5.3 [INFO] [stderr] Checking no_std_io2 v0.9.4 [INFO] [stderr] Checking nom v8.0.0 [INFO] [stderr] Compiling wgpu-hal v30.0.0 [INFO] [stderr] Compiling pastey v0.1.1 [INFO] [stderr] Checking presser v0.3.1 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking y4m v0.8.0 [INFO] [stderr] Checking bitstream-io v4.10.0 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking flate2 v1.1.9 [INFO] [stderr] Checking maybe-rayon v0.1.1 [INFO] [stderr] Checking ordered-float v5.3.0 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Checking renderdoc-sys v1.1.0 [INFO] [stderr] Checking zune-core v0.5.1 [INFO] [stderr] Checking imgref v1.12.2 [INFO] [stderr] Checking weezl v0.1.12 [INFO] [stderr] Checking glow v0.17.0 [INFO] [stderr] Checking regex-syntax v0.8.11 [INFO] [stderr] Compiling serde_json v1.0.150 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Checking zune-jpeg v0.5.15 [INFO] [stderr] Checking loop9 v0.1.5 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Compiling bytemuck_derive v1.10.2 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling zerocopy-derive v0.8.52 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Compiling profiling-procmacros v1.0.18 [INFO] [stderr] Checking bytemuck v1.25.0 [INFO] [stderr] Checking profiling v1.0.18 [INFO] [stderr] Checking equator v0.4.2 [INFO] [stderr] Checking symphonia-core v0.5.5 [INFO] [stderr] Checking aligned-vec v0.6.4 [INFO] [stderr] Checking v_frame v0.3.9 [INFO] [stderr] Checking naga-types v30.0.0 [INFO] [stderr] Checking wgpu-types v30.0.0 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Checking av1-grain v0.2.5 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Checking symphonia-metadata v0.5.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Checking symphonia-utils-xiph v0.5.5 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Compiling wgpu-core v30.0.0 [INFO] [stderr] Checking avif-serialize v0.8.9 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking bit_field v0.10.3 [INFO] [stderr] Compiling inflections v1.1.1 [INFO] [stderr] Checking rgb v0.8.53 [INFO] [stderr] Checking fax v0.2.7 [INFO] [stderr] Checking lebe v0.5.3 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking pxfm v0.1.29 [INFO] [stderr] Compiling litrs v1.0.0 [INFO] [stderr] Checking byteorder-lite v0.1.0 [INFO] [stderr] Checking itoa v1.0.18 [INFO] [stderr] Checking image-webp v0.2.4 [INFO] [stderr] Compiling document-features v0.2.12 [INFO] [stderr] Checking gif v0.14.2 [INFO] [stderr] Checking moxcms v0.8.1 [INFO] [stderr] Compiling gltf-derive v1.4.1 [INFO] [stderr] Checking anstyle-parse v1.0.0 [INFO] [stderr] Checking png v0.18.1 [INFO] [stderr] Compiling sdl3 v0.18.4 [INFO] [stderr] Checking regex v1.12.4 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Compiling wgpu v30.0.0 [INFO] [stderr] Checking is_terminal_polyfill v1.70.2 [INFO] [stderr] Checking colorchoice v1.0.5 [INFO] [stderr] Checking anstyle v1.0.14 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Checking anstyle-query v1.1.5 [INFO] [stderr] Checking extended v0.1.0 [INFO] [stderr] Checking anstream v1.0.0 [INFO] [stderr] Checking symphonia-format-riff v0.5.5 [INFO] [stderr] Checking half v2.7.1 [INFO] [stderr] Checking gltf-json v1.4.1 [INFO] [stderr] Checking env_filter v2.0.0 [INFO] [stderr] Checking symphonia-format-ogg v0.5.5 [INFO] [stderr] Checking symphonia-bundle-flac v0.5.5 [INFO] [stderr] Checking symphonia-bundle-mp3 v0.5.5 [INFO] [stderr] Checking symphonia-codec-pcm v0.5.5 [INFO] [stderr] Checking tiff v0.11.3 [INFO] [stderr] Checking exr v1.74.0 [INFO] [stderr] Checking ravif v0.13.0 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking jiff v0.2.29 [INFO] [stderr] Checking symphonia v0.5.5 [INFO] [stderr] Checking glam v0.33.2 [INFO] [stderr] Checking gpu-allocator v0.28.0 [INFO] [stderr] Checking ttf-parser v0.25.1 [INFO] [stderr] Checking pollster v0.4.0 [INFO] [stderr] Checking image v0.25.10 [INFO] [stderr] Checking env_logger v0.11.11 [INFO] [stderr] Checking gltf v1.4.1 [INFO] [stderr] Checking wgpu-naga-bridge v30.0.0 [INFO] [stderr] Checking wgpu-core-deps-windows-linux-android v30.0.0 [INFO] [stderr] Checking starfish v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: methods `size` and `inner` are never used [INFO] [stdout] --> src/base/resources/image/image.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl <'a> Image <'a>{ [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn size(&self) -> (u32, u32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn inner(&self) -> &ImageData { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `size` and `alignment` are never read [INFO] [stdout] --> src/base/render/bind_group/field_layout.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) struct FieldLayout { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 12 | offset: u64, [INFO] [stdout] 13 | size: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | alignment: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FieldLayout` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `size` and `alignment` are never used [INFO] [stdout] --> src/base/render/bind_group/field_layout.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl FieldLayout { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn size(&self)->u64{ [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn alignment(&self)->u64{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `instance` and `array_stride` are never used [INFO] [stdout] --> src/base/render/mesh/buffer_layout.rs:41:19 [INFO] [stdout] | [INFO] [stdout] 27 | impl BufferLayout{ [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | pub(crate) fn instance(attrs: &[wgpu::VertexFormat]) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub(crate) fn array_stride(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `surface` is never read [INFO] [stdout] --> src/base/render/render_context.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct RenderContext { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | surface: Arc>, // 渲染表面(对应窗口) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pipeline_layout` and `shader` are never read [INFO] [stdout] --> src/base/render/ext/mipmap.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Mipmap { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | pipeline_layout: PipelineLayout, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | shader: WgpuShaderModule, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_wgpu` is never used [INFO] [stdout] --> src/base/color.rs:86:19 [INFO] [stdout] | [INFO] [stdout] 15 | impl Color { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 86 | pub(crate) fn to_wgpu(self) -> wgpu::Color { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> src/base/font/mod.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 146 | pub struct Font { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 147 | data: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_f64_color` and `from_f64_color` are never used [INFO] [stdout] --> src/pygame/color.rs:461:19 [INFO] [stdout] | [INFO] [stdout] 434 | impl Color { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 461 | pub(crate) fn to_f64_color(&self)->F64Color{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 471 | pub(crate) fn from_f64_color(&self,f64_color:F64Color)->Self{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> examples/01_hello_world.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | let (context,resouce,mut surface) = RenderEntry::new(&window, None, None) [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resouce` [INFO] [stdout] --> examples/01_hello_world.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | let (context,resouce,mut surface) = RenderEntry::new(&window, None, None) [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resouce` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `glam::Mat4::look_at_rh`: use the `glam::camera::rh::view::look_at_mat4` function instead [INFO] [stdout] --> examples/06_draw_gfx.rs:182:28 [INFO] [stdout] | [INFO] [stdout] 182 | let view3d = Mat4::look_at_rh(eye, Vec3::new(0.0, 0.8, 0.0), Vec3::Y); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `glam::Mat4::perspective_rh`: use the `glam::camera::rh::proj::directx::perspective` function instead [INFO] [stdout] --> examples/06_draw_gfx.rs:183:28 [INFO] [stdout] | [INFO] [stdout] 183 | let proj3d = Mat4::perspective_rh( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> examples/03_texture.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | let (context,resouce,mut surface) = RenderEntry::new(&window, Some(surface_settings), Some(gpu_settings)) [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> examples/05_storage_cube.rs:155:10 [INFO] [stdout] | [INFO] [stdout] 155 | let (context,resouce,mut surface) = [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> examples/02_triangles.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | let (context,resouce,mut surface) = RenderEntry::new(&window, None, None) [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> examples/04_coord_system.rs:103:10 [INFO] [stdout] | [INFO] [stdout] 103 | let (context,resouce,mut surface) = RenderEntry::new(&window, Some(surface_settings), Some(gpu_settings)) [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `size` and `inner` are never used [INFO] [stdout] --> src/base/resources/image/image.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl <'a> Image <'a>{ [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn size(&self) -> (u32, u32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn inner(&self) -> &ImageData { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `size` and `alignment` are never read [INFO] [stdout] --> src/base/render/bind_group/field_layout.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) struct FieldLayout { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 12 | offset: u64, [INFO] [stdout] 13 | size: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | alignment: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FieldLayout` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `size` and `alignment` are never used [INFO] [stdout] --> src/base/render/bind_group/field_layout.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl FieldLayout { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn size(&self)->u64{ [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn alignment(&self)->u64{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `instance` and `array_stride` are never used [INFO] [stdout] --> src/base/render/mesh/buffer_layout.rs:41:19 [INFO] [stdout] | [INFO] [stdout] 27 | impl BufferLayout{ [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | pub(crate) fn instance(attrs: &[wgpu::VertexFormat]) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub(crate) fn array_stride(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `surface` is never read [INFO] [stdout] --> src/base/render/render_context.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct RenderContext { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | surface: Arc>, // 渲染表面(对应窗口) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pipeline_layout` and `shader` are never read [INFO] [stdout] --> src/base/render/ext/mipmap.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Mipmap { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | pipeline_layout: PipelineLayout, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | shader: WgpuShaderModule, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_wgpu` is never used [INFO] [stdout] --> src/base/color.rs:86:19 [INFO] [stdout] | [INFO] [stdout] 15 | impl Color { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 86 | pub(crate) fn to_wgpu(self) -> wgpu::Color { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> src/base/font/mod.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 146 | pub struct Font { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 147 | data: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_f64_color` and `from_f64_color` are never used [INFO] [stdout] --> src/pygame/color.rs:461:19 [INFO] [stdout] | [INFO] [stdout] 434 | impl Color { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 461 | pub(crate) fn to_f64_color(&self)->F64Color{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 471 | pub(crate) fn from_f64_color(&self,f64_color:F64Color)->Self{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/base/font/raster.rs:238:68 [INFO] [stdout] | [INFO] [stdout] 238 | assert_eq!(at(1, 3) > 0 || at(2, 1) > 0 || at(1, 1) > 0 || at(5, 5) >= 0, true); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5m 39s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: naga v30.0.0, wgpu v30.0.0, wgpu-core v30.0.0, wgpu-hal v30.0.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "c3805ddba4ed2a107a053819bdee2b0bb945a337ef25d177ee8c83da53d5cddc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3805ddba4ed2a107a053819bdee2b0bb945a337ef25d177ee8c83da53d5cddc", kill_on_drop: false }` [INFO] [stdout] c3805ddba4ed2a107a053819bdee2b0bb945a337ef25d177ee8c83da53d5cddc