[INFO] cloning repository https://github.com/bombless/trae-shooting-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bombless/trae-shooting-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbombless%2Ftrae-shooting-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbombless%2Ftrae-shooting-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 03bbed7190135da27bf61b9694ed6544c932d3d9 [INFO] testing bombless/trae-shooting-rs against 1.95.0 for beta-1.96-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbombless%2Ftrae-shooting-rs" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/bombless/trae-shooting-rs [INFO] finished tweaking git repo https://github.com/bombless/trae-shooting-rs [INFO] tweaked toml for git repo https://github.com/bombless/trae-shooting-rs written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/bombless/trae-shooting-rs on toolchain 1.95.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/bombless/trae-shooting-rs 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" "+1.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sctk-adwaita v0.5.4 [INFO] [stderr] Downloaded lebe v0.5.2 [INFO] [stderr] Downloaded d3d12 v0.7.0 [INFO] [stderr] Downloaded gif v0.13.1 [INFO] [stderr] Downloaded gilrs-core v0.5.15 [INFO] [stderr] Downloaded wgpu-types v0.17.0 [INFO] [stderr] Downloaded calloop v0.10.6 [INFO] [stderr] Downloaded widestring v1.2.0 [INFO] [stderr] Downloaded wgpu v0.17.2 [INFO] [stderr] Downloaded gilrs v0.10.10 [INFO] [stderr] Downloaded wgpu-hal v0.17.2 [INFO] [stderr] Downloaded tiny-skia-path v0.8.4 [INFO] [stderr] Downloaded tiny-skia v0.8.4 [INFO] [stderr] Downloaded wgpu-core v0.17.1 [INFO] [stderr] Downloaded exr v1.73.0 [INFO] [stderr] Downloaded naga v0.13.0 [INFO] [stderr] Downloaded metal v0.26.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2502c41875ad1463cbb6029f17239627befd0f21d560d1df19f9b539f505dbfb [INFO] running `Command { std: "docker" "start" "-a" "2502c41875ad1463cbb6029f17239627befd0f21d560d1df19f9b539f505dbfb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2502c41875ad1463cbb6029f17239627befd0f21d560d1df19f9b539f505dbfb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2502c41875ad1463cbb6029f17239627befd0f21d560d1df19f9b539f505dbfb", kill_on_drop: false }` [INFO] [stdout] 2502c41875ad1463cbb6029f17239627befd0f21d560d1df19f9b539f505dbfb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3128923ec902ad7498de251544debdda6d89f21f589f730f86b25d05e8d3d662 [INFO] running `Command { std: "docker" "start" "-a" "3128923ec902ad7498de251544debdda6d89f21f589f730f86b25d05e8d3d662", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling once_cell v1.21.1 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling zerocopy v0.8.23 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling bytemuck v1.22.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling ash v0.37.3+1.3.251 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling gpu-descriptor-types v0.1.2 [INFO] [stderr] Compiling gpu-alloc-types v0.3.0 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling spirv v0.2.0+1.5.4 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.1 [INFO] [stderr] Compiling hexf-parse v0.2.1 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling tiny-skia-path v0.8.4 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling gpu-descriptor v0.2.4 [INFO] [stderr] Compiling gpu-alloc v0.6.0 [INFO] [stderr] Compiling wgpu-types v0.17.0 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling weezl v0.1.8 [INFO] [stderr] Compiling renderdoc-sys v1.1.0 [INFO] [stderr] Compiling data-encoding v2.8.0 [INFO] [stderr] Compiling glow v0.12.3 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling tiny-skia v0.8.4 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling winit v0.28.7 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling half v2.5.0 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Compiling gilrs v0.10.10 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling nix v0.25.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling inotify v0.10.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling headers v0.3.9 [INFO] [stderr] Compiling gilrs-core v0.5.15 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling gif v0.13.1 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling humantime v2.2.0 [INFO] [stderr] Compiling pollster v0.3.0 [INFO] [stderr] Compiling glam v0.24.2 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling wayland-cursor v0.29.5 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling tokio v1.44.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling calloop v0.10.6 [INFO] [stderr] Compiling naga v0.13.0 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling tokio-util v0.7.14 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling wgpu-hal v0.17.2 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [INFO] [stderr] Compiling wgpu-core v0.17.1 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling sctk-adwaita v0.5.4 [INFO] [stderr] Compiling wgpu v0.17.2 [INFO] [stderr] Compiling warp v0.3.7 [INFO] [stderr] Compiling trae-shooting v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/main.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Mat4` and `Vec3` [INFO] [stdout] --> src/main.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use glam::{Vec3, Mat4}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Button` [INFO] [stdout] --> src/main.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use gilrs::{Gilrs, Button, Event as GilrsEvent}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Mat4` and `Vec3` [INFO] [stdout] --> src/model.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use glam::{Vec3, Mat4}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dog_texture` [INFO] [stdout] --> src/model.rs:364:53 [INFO] [stdout] | [INFO] [stdout] 364 | pub fn create_parking_garage(device: &wgpu::Device, dog_texture: &Texture) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dog_texture` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/main.rs:58:48 [INFO] [stdout] | [INFO] [stdout] 58 | while let Some(GilrsEvent { id, event, time }) = gilrs.next_event() { [INFO] [stdout] | ^^^^ help: try ignoring the field: `time: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `texture` is never read [INFO] [stdout] --> src/texture.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Texture { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 5 | pub texture: wgpu::Texture, [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 `name`, `color`, `model_type`, and `texture` are never read [INFO] [stdout] --> src/model.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct Model { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 57 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub color: [f32; 3], [INFO] [stdout] | ^^^^^ [INFO] [stdout] 62 | pub model_type: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 63 | pub texture: Option, // 添加纹理字段 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 51s [INFO] running `Command { std: "docker" "inspect" "3128923ec902ad7498de251544debdda6d89f21f589f730f86b25d05e8d3d662", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3128923ec902ad7498de251544debdda6d89f21f589f730f86b25d05e8d3d662", kill_on_drop: false }` [INFO] [stdout] 3128923ec902ad7498de251544debdda6d89f21f589f730f86b25d05e8d3d662 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] deaac1fb48482f2e47e8968b2027f337afa8845f7a9337f4b71ab252700ea0f9 [INFO] running `Command { std: "docker" "start" "-a" "deaac1fb48482f2e47e8968b2027f337afa8845f7a9337f4b71ab252700ea0f9", kill_on_drop: false }` [INFO] [stderr] Compiling trae-shooting v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/main.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Mat4` and `Vec3` [INFO] [stdout] --> src/main.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use glam::{Vec3, Mat4}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Button` [INFO] [stdout] --> src/main.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use gilrs::{Gilrs, Button, Event as GilrsEvent}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Mat4` and `Vec3` [INFO] [stdout] --> src/model.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use glam::{Vec3, Mat4}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dog_texture` [INFO] [stdout] --> src/model.rs:364:53 [INFO] [stdout] | [INFO] [stdout] 364 | pub fn create_parking_garage(device: &wgpu::Device, dog_texture: &Texture) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dog_texture` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/main.rs:58:48 [INFO] [stdout] | [INFO] [stdout] 58 | while let Some(GilrsEvent { id, event, time }) = gilrs.next_event() { [INFO] [stdout] | ^^^^ help: try ignoring the field: `time: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `texture` is never read [INFO] [stdout] --> src/texture.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Texture { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 5 | pub texture: wgpu::Texture, [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 `name`, `color`, `model_type`, and `texture` are never read [INFO] [stdout] --> src/model.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct Model { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 57 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub color: [f32; 3], [INFO] [stdout] | ^^^^^ [INFO] [stdout] 62 | pub model_type: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 63 | pub texture: Option, // 添加纹理字段 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.94s [INFO] running `Command { std: "docker" "inspect" "deaac1fb48482f2e47e8968b2027f337afa8845f7a9337f4b71ab252700ea0f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "deaac1fb48482f2e47e8968b2027f337afa8845f7a9337f4b71ab252700ea0f9", kill_on_drop: false }` [INFO] [stdout] deaac1fb48482f2e47e8968b2027f337afa8845f7a9337f4b71ab252700ea0f9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6f1bb10e3d5e8a67b1898a8aa98621332c212491a3fc20325c5649abf1ad8bb1 [INFO] running `Command { std: "docker" "start" "-a" "6f1bb10e3d5e8a67b1898a8aa98621332c212491a3fc20325c5649abf1ad8bb1", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Duration` [INFO] [stderr] --> src/main.rs:3:17 [INFO] [stderr] | [INFO] [stderr] 3 | use std::time::{Duration, Instant}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Mat4` and `Vec3` [INFO] [stderr] --> src/main.rs:4:12 [INFO] [stderr] | [INFO] [stderr] 4 | use glam::{Vec3, Mat4}; [INFO] [stderr] | ^^^^ ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Button` [INFO] [stderr] --> src/main.rs:5:20 [INFO] [stderr] | [INFO] [stderr] 5 | use gilrs::{Gilrs, Button, Event as GilrsEvent}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Mat4` and `Vec3` [INFO] [stderr] --> src/model.rs:2:12 [INFO] [stderr] | [INFO] [stderr] 2 | use glam::{Vec3, Mat4}; [INFO] [stderr] | ^^^^ ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `dog_texture` [INFO] [stderr] --> src/model.rs:364:53 [INFO] [stderr] | [INFO] [stderr] 364 | pub fn create_parking_garage(device: &wgpu::Device, dog_texture: &Texture) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dog_texture` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `time` [INFO] [stderr] --> src/main.rs:58:48 [INFO] [stderr] | [INFO] [stderr] 58 | while let Some(GilrsEvent { id, event, time }) = gilrs.next_event() { [INFO] [stderr] | ^^^^ help: try ignoring the field: `time: _` [INFO] [stderr] [INFO] [stderr] warning: field `texture` is never read [INFO] [stderr] --> src/texture.rs:5:9 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct Texture { [INFO] [stderr] | ------- field in this struct [INFO] [stderr] 5 | pub texture: wgpu::Texture, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `name`, `color`, `model_type`, and `texture` are never read [INFO] [stderr] --> src/model.rs:57:9 [INFO] [stderr] | [INFO] [stderr] 56 | pub struct Model { [INFO] [stderr] | ----- fields in this struct [INFO] [stderr] 57 | pub name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 61 | pub color: [f32; 3], [INFO] [stderr] | ^^^^^ [INFO] [stderr] 62 | pub model_type: u32, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 63 | pub texture: Option, // 添加纹理字段 [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `trae-shooting` (bin "trae-shooting" test) generated 8 warnings (run `cargo fix --bin "trae-shooting" -p trae-shooting --tests` to apply 6 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/trae_shooting-0c2dfd6ba511217b) [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" "6f1bb10e3d5e8a67b1898a8aa98621332c212491a3fc20325c5649abf1ad8bb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f1bb10e3d5e8a67b1898a8aa98621332c212491a3fc20325c5649abf1ad8bb1", kill_on_drop: false }` [INFO] [stdout] 6f1bb10e3d5e8a67b1898a8aa98621332c212491a3fc20325c5649abf1ad8bb1