[INFO] cloning repository https://github.com/bombless/comate-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/comate-shooting-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbombless%2Fcomate-shooting-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbombless%2Fcomate-shooting-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b00d61e1bc14575a6bbdcdff914d3f865d0fec7d [INFO] testing bombless/comate-shooting-rs against try#28f95933dc0727396c07b48d0a8cb5211b7fb472 for pr-154065-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbombless%2Fcomate-shooting-rs" "/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/bombless/comate-shooting-rs [INFO] finished tweaking git repo https://github.com/bombless/comate-shooting-rs [INFO] tweaked toml for git repo https://github.com/bombless/comate-shooting-rs written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/bombless/comate-shooting-rs on toolchain 28f95933dc0727396c07b48d0a8cb5211b7fb472 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/bombless/comate-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" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 53adc4800438c91f6e5b336a32f6b2e16edcf479965c5382435d51e073006927 [INFO] running `Command { std: "docker" "start" "-a" "53adc4800438c91f6e5b336a32f6b2e16edcf479965c5382435d51e073006927", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "53adc4800438c91f6e5b336a32f6b2e16edcf479965c5382435d51e073006927", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53adc4800438c91f6e5b336a32f6b2e16edcf479965c5382435d51e073006927", kill_on_drop: false }` [INFO] [stdout] 53adc4800438c91f6e5b336a32f6b2e16edcf479965c5382435d51e073006927 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bffee5f97f3916356fecced9948cce1ccc1a6f93aea4f33b33119cfda8cb2753 [INFO] running `Command { std: "docker" "start" "-a" "bffee5f97f3916356fecced9948cce1ccc1a6f93aea4f33b33119cfda8cb2753", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling once_cell v1.21.1 [INFO] [stderr] Compiling xml-rs v0.8.25 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling libloading v0.8.6 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling zerocopy v0.8.23 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling miniz_oxide v0.8.5 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling bytemuck v1.22.0 [INFO] [stderr] Compiling downcast-rs v1.2.1 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling ash v0.37.3+1.3.251 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling flate2 v1.1.0 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling gpu-alloc-types v0.3.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling gpu-descriptor-types v0.1.2 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.1 [INFO] [stderr] Compiling raw-window-handle v0.5.2 [INFO] [stderr] Compiling xcursor v0.3.8 [INFO] [stderr] Compiling spirv v0.2.0+1.5.4 [INFO] [stderr] Compiling hexf-parse v0.2.1 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling ttf-parser v0.25.1 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling strict-num v0.1.1 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling gpu-descriptor v0.2.4 [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 http v1.3.1 [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 x11-dl v2.21.0 [INFO] [stderr] Compiling data-encoding v2.8.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling profiling v1.0.16 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling nix v0.25.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling glow v0.12.3 [INFO] [stderr] Compiling renderdoc-sys v1.1.0 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling inotify v0.10.2 [INFO] [stderr] Compiling winit v0.28.7 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling regex-automata v0.4.9 [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 zune-inflate v0.2.54 [INFO] [stderr] Compiling half v2.5.0 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling owned_ttf_parser v0.25.0 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling ab_glyph v0.2.29 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling gilrs v0.10.10 [INFO] [stderr] Compiling headers v0.3.9 [INFO] [stderr] Compiling gif v0.13.1 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling gilrs-core v0.5.15 [INFO] [stderr] Compiling wayland-cursor v0.29.5 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling humantime v2.2.0 [INFO] [stderr] Compiling glam v0.24.2 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling pollster v0.3.0 [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 naga v0.13.0 [INFO] [stderr] Compiling calloop v0.10.6 [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 image v0.24.9 [INFO] [stderr] Compiling serde v1.0.219 [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 wgpu-hal v0.17.2 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio-util v0.7.14 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling h2 v0.3.26 [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 sctk-adwaita v0.5.4 [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 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] = note: `#[warn(unused_variables)]` (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] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `scale` is never read [INFO] [stdout] --> src/minimap.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Minimap { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub scale: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 45s [INFO] running `Command { std: "docker" "inspect" "bffee5f97f3916356fecced9948cce1ccc1a6f93aea4f33b33119cfda8cb2753", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bffee5f97f3916356fecced9948cce1ccc1a6f93aea4f33b33119cfda8cb2753", kill_on_drop: false }` [INFO] [stdout] bffee5f97f3916356fecced9948cce1ccc1a6f93aea4f33b33119cfda8cb2753 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f976b0e18468357b8449a9a91d2113108b2a651b49d4edd7767de2f73412fef1 [INFO] running `Command { std: "docker" "start" "-a" "f976b0e18468357b8449a9a91d2113108b2a651b49d4edd7767de2f73412fef1", 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 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] = note: `#[warn(unused_variables)]` (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] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `scale` is never read [INFO] [stdout] --> src/minimap.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Minimap { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub scale: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.82s [INFO] running `Command { std: "docker" "inspect" "f976b0e18468357b8449a9a91d2113108b2a651b49d4edd7767de2f73412fef1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f976b0e18468357b8449a9a91d2113108b2a651b49d4edd7767de2f73412fef1", kill_on_drop: false }` [INFO] [stdout] f976b0e18468357b8449a9a91d2113108b2a651b49d4edd7767de2f73412fef1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6f3a1b530232f342dde6a45703530b0f7608f70325002fd93986ddfe51bc1f19 [INFO] running `Command { std: "docker" "start" "-a" "6f3a1b530232f342dde6a45703530b0f7608f70325002fd93986ddfe51bc1f19", 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 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] = note: `#[warn(unused_variables)]` (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] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `scale` is never read [INFO] [stderr] --> src/minimap.rs:11:9 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct Minimap { [INFO] [stderr] | ------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 11 | pub scale: f32, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `trae-shooting` (bin "trae-shooting" test) generated 6 warnings (run `cargo fix --bin "trae-shooting" -p trae-shooting --tests` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.32s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/trae_shooting-2ffd6fc32e75a937) [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" "6f3a1b530232f342dde6a45703530b0f7608f70325002fd93986ddfe51bc1f19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f3a1b530232f342dde6a45703530b0f7608f70325002fd93986ddfe51bc1f19", kill_on_drop: false }` [INFO] [stdout] 6f3a1b530232f342dde6a45703530b0f7608f70325002fd93986ddfe51bc1f19