[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 master#160e7623e8cbbf1feab2b6e2a24733a98c7bde9c for pr-145628 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbombless%2Ftrae-shooting-rs" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-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-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/bombless/trae-shooting-rs on toolchain 160e7623e8cbbf1feab2b6e2a24733a98c7bde9c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "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" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 545d6f79e7d2c6458d0f35925b518bdab9540f268966080d50211da10fb7523b [INFO] running `Command { std: "docker" "start" "-a" "545d6f79e7d2c6458d0f35925b518bdab9540f268966080d50211da10fb7523b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "545d6f79e7d2c6458d0f35925b518bdab9540f268966080d50211da10fb7523b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "545d6f79e7d2c6458d0f35925b518bdab9540f268966080d50211da10fb7523b", kill_on_drop: false }` [INFO] [stdout] 545d6f79e7d2c6458d0f35925b518bdab9540f268966080d50211da10fb7523b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 24790b0215de56260de8a5081916b3e2fd08977d0cac1dd70fd9336d8232634c [INFO] running `Command { std: "docker" "start" "-a" "24790b0215de56260de8a5081916b3e2fd08977d0cac1dd70fd9336d8232634c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling xml-rs v0.8.25 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling libloading v0.8.6 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling zerocopy v0.8.23 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling scoped-tls v1.0.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 downcast-rs v1.2.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling ash v0.37.3+1.3.251 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling spirv v0.2.0+1.5.4 [INFO] [stderr] Compiling gpu-descriptor-types v0.1.2 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling gpu-alloc-types v0.3.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.1 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling ttf-parser v0.25.1 [INFO] [stderr] Compiling xcursor v0.3.8 [INFO] [stderr] Compiling strict-num v0.1.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling raw-window-handle v0.5.2 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling tiny-skia-path v0.8.4 [INFO] [stderr] Compiling gpu-alloc v0.6.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling wgpu-types v0.17.0 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling naga v0.13.0 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling renderdoc-sys v1.1.0 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling profiling v1.0.16 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling glow v0.12.3 [INFO] [stderr] Compiling winit v0.28.7 [INFO] [stderr] Compiling gpu-descriptor v0.2.4 [INFO] [stderr] Compiling tiny-skia v0.8.4 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling half v2.5.0 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling gilrs v0.10.10 [INFO] [stderr] Compiling headers v0.3.9 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [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 getrandom v0.2.15 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling nix v0.25.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling owned_ttf_parser v0.25.0 [INFO] [stderr] Compiling tokio v1.44.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling inotify v0.10.2 [INFO] [stderr] Compiling ab_glyph v0.2.29 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling gilrs-core v0.5.15 [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling pollster v0.3.0 [INFO] [stderr] Compiling glam v0.24.2 [INFO] [stderr] Compiling wayland-cursor v0.29.5 [INFO] [stderr] Compiling calloop v0.10.6 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling tokio-util v0.7.14 [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling wgpu-hal v0.17.2 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling wgpu-core v0.17.1 [INFO] [stderr] Compiling warp v0.3.7 [INFO] [stderr] Compiling wgpu v0.17.2 [INFO] [stderr] Compiling sctk-adwaita v0.5.4 [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 40s [INFO] running `Command { std: "docker" "inspect" "24790b0215de56260de8a5081916b3e2fd08977d0cac1dd70fd9336d8232634c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24790b0215de56260de8a5081916b3e2fd08977d0cac1dd70fd9336d8232634c", kill_on_drop: false }` [INFO] [stdout] 24790b0215de56260de8a5081916b3e2fd08977d0cac1dd70fd9336d8232634c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c7b2c41a82b08ab1755d0758a6997dae54d080a8673a202f004277c5e74c4168 [INFO] running `Command { std: "docker" "start" "-a" "c7b2c41a82b08ab1755d0758a6997dae54d080a8673a202f004277c5e74c4168", 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 1.62s [INFO] running `Command { std: "docker" "inspect" "c7b2c41a82b08ab1755d0758a6997dae54d080a8673a202f004277c5e74c4168", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7b2c41a82b08ab1755d0758a6997dae54d080a8673a202f004277c5e74c4168", kill_on_drop: false }` [INFO] [stdout] c7b2c41a82b08ab1755d0758a6997dae54d080a8673a202f004277c5e74c4168 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c94f377b19dec4cb772f07ebba58d2d2283cbdea2e733fe4e87bca031f9efaa6 [INFO] running `Command { std: "docker" "start" "-a" "c94f377b19dec4cb772f07ebba58d2d2283cbdea2e733fe4e87bca031f9efaa6", 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" --tests` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.36s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/trae_shooting-ae0335ddbf743fee) [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" "c94f377b19dec4cb772f07ebba58d2d2283cbdea2e733fe4e87bca031f9efaa6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c94f377b19dec4cb772f07ebba58d2d2283cbdea2e733fe4e87bca031f9efaa6", kill_on_drop: false }` [INFO] [stdout] c94f377b19dec4cb772f07ebba58d2d2283cbdea2e733fe4e87bca031f9efaa6