[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 try#16fbf98f22730e073c09e7b03f0eafb87a295545 for pr-145628-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbombless%2Ftrae-shooting-rs" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/bombless/trae-shooting-rs on toolchain 16fbf98f22730e073c09e7b03f0eafb87a295545 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "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" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 506495d70dd19f8e7d13acda7717debc2f8f577430c699fd1421bb752518e6ea [INFO] running `Command { std: "docker" "start" "-a" "506495d70dd19f8e7d13acda7717debc2f8f577430c699fd1421bb752518e6ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "506495d70dd19f8e7d13acda7717debc2f8f577430c699fd1421bb752518e6ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "506495d70dd19f8e7d13acda7717debc2f8f577430c699fd1421bb752518e6ea", kill_on_drop: false }` [INFO] [stdout] 506495d70dd19f8e7d13acda7717debc2f8f577430c699fd1421bb752518e6ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b881ce016424457961c51be94e1b78eb397311aa501ede8eeb2be481eb92a4cd [INFO] running `Command { std: "docker" "start" "-a" "b881ce016424457961c51be94e1b78eb397311aa501ede8eeb2be481eb92a4cd", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling bytemuck v1.22.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling gpu-alloc-types v0.3.0 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling tiny-skia-path v0.8.4 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling gpu-alloc v0.6.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling spirv v0.2.0+1.5.4 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling wgpu-types v0.17.0 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling data-encoding v2.8.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling wayland-cursor v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling tiny-skia v0.8.4 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling winit v0.28.7 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling half v2.5.0 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling gilrs-core v0.5.15 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling headers v0.3.9 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling humantime v2.2.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling glam v0.24.2 [INFO] [stderr] Compiling gilrs v0.10.10 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling regex v1.11.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 env_logger v0.10.2 [INFO] [stderr] Compiling tokio v1.44.1 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling naga v0.13.0 [INFO] [stderr] Compiling calloop v0.10.6 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.1 [INFO] [stderr] Compiling serde v1.0.219 [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 sctk-adwaita v0.5.4 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling wgpu-hal v0.17.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio-util v0.7.14 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling wgpu-core v0.17.1 [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [INFO] [stderr] Compiling hyper v0.14.32 [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 42s [INFO] running `Command { std: "docker" "inspect" "b881ce016424457961c51be94e1b78eb397311aa501ede8eeb2be481eb92a4cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b881ce016424457961c51be94e1b78eb397311aa501ede8eeb2be481eb92a4cd", kill_on_drop: false }` [INFO] [stdout] b881ce016424457961c51be94e1b78eb397311aa501ede8eeb2be481eb92a4cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2e16cf3ece2f0c5305c47e4fc3810fd71ef48392aa0fe6a74844e3b335405c69 [INFO] running `Command { std: "docker" "start" "-a" "2e16cf3ece2f0c5305c47e4fc3810fd71ef48392aa0fe6a74844e3b335405c69", 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.60s [INFO] running `Command { std: "docker" "inspect" "2e16cf3ece2f0c5305c47e4fc3810fd71ef48392aa0fe6a74844e3b335405c69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e16cf3ece2f0c5305c47e4fc3810fd71ef48392aa0fe6a74844e3b335405c69", kill_on_drop: false }` [INFO] [stdout] 2e16cf3ece2f0c5305c47e4fc3810fd71ef48392aa0fe6a74844e3b335405c69 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 57a716a3abf703b8c01e9885fa81102f513bb24f7826f8c93a91839d8691162e [INFO] running `Command { std: "docker" "start" "-a" "57a716a3abf703b8c01e9885fa81102f513bb24f7826f8c93a91839d8691162e", 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.25s [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" "57a716a3abf703b8c01e9885fa81102f513bb24f7826f8c93a91839d8691162e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57a716a3abf703b8c01e9885fa81102f513bb24f7826f8c93a91839d8691162e", kill_on_drop: false }` [INFO] [stdout] 57a716a3abf703b8c01e9885fa81102f513bb24f7826f8c93a91839d8691162e