[INFO] cloning repository https://github.com/Nanoteck137/nocks [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Nanoteck137/nocks" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNanoteck137%2Fnocks", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNanoteck137%2Fnocks'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3c6b7aa4b9ac0d5c2f1910f740296b69baf15b36 [INFO] testing Nanoteck137/nocks against try#613d1972a772987ed4ee06faccbab0e2fc839871+rustflags=-Copt-level=3 for pr-107051 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNanoteck137%2Fnocks" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Nanoteck137/nocks on toolchain 613d1972a772987ed4ee06faccbab0e2fc839871 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Nanoteck137/nocks [INFO] finished tweaking git repo https://github.com/Nanoteck137/nocks [INFO] tweaked toml for git repo https://github.com/Nanoteck137/nocks written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Nanoteck137/nocks 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" "+613d1972a772987ed4ee06faccbab0e2fc839871" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 79205eda8ff142b8e055d6d74d2ee41a70b41308284dbeb5ae80fa6479ad6b3f [INFO] running `Command { std: "docker" "start" "-a" "79205eda8ff142b8e055d6d74d2ee41a70b41308284dbeb5ae80fa6479ad6b3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "79205eda8ff142b8e055d6d74d2ee41a70b41308284dbeb5ae80fa6479ad6b3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79205eda8ff142b8e055d6d74d2ee41a70b41308284dbeb5ae80fa6479ad6b3f", kill_on_drop: false }` [INFO] [stdout] 79205eda8ff142b8e055d6d74d2ee41a70b41308284dbeb5ae80fa6479ad6b3f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Copt-level=3" "-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 692e3033b10873954fb4d192bf273ffa02c4dba93db871bb2d707ed390aa6f3a [INFO] running `Command { std: "docker" "start" "-a" "692e3033b10873954fb4d192bf273ffa02c4dba93db871bb2d707ed390aa6f3a", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.89 [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling ash v0.34.0+1.2.203 [INFO] [stderr] Compiling cache-padded v1.2.0 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling raw-window-handle v0.4.2 [INFO] [stderr] Compiling gpu-alloc-types v0.2.0 [INFO] [stderr] Compiling gpu-descriptor-types v0.1.1 [INFO] [stderr] Compiling tracing-core v0.1.24 [INFO] [stderr] Compiling cmake v0.1.48 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling erased-serde v0.3.20 [INFO] [stderr] Compiling getrandom v0.2.5 [INFO] [stderr] Compiling quote v1.0.17 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.5 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling paste v1.0.7 [INFO] [stderr] Compiling hexf-parse v0.2.1 [INFO] [stderr] Compiling futures-lite v1.12.0 [INFO] [stderr] Compiling matrixmultiply v0.3.2 [INFO] [stderr] Compiling wgpu-core v0.12.2 [INFO] [stderr] Compiling gpu-descriptor v0.2.2 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling num-complex v0.4.0 [INFO] [stderr] Compiling spirv v0.2.0+1.5.4 [INFO] [stderr] Compiling gpu-alloc v0.5.3 [INFO] [stderr] Compiling wgpu-types v0.12.0 [INFO] [stderr] Compiling async-task v4.2.0 [INFO] [stderr] Compiling inplace_it v0.3.3 [INFO] [stderr] Compiling profiling v1.0.5 [INFO] [stderr] Compiling event-listener v2.5.2 [INFO] [stderr] Compiling renderdoc-sys v0.7.1 [INFO] [stderr] Compiling glow v0.11.2 [INFO] [stderr] Compiling async-channel v1.6.1 [INFO] [stderr] Compiling async-executor v1.4.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling crossbeam-channel v0.5.4 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling bevy_tasks v0.6.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling fixedbitset v0.4.1 [INFO] [stderr] Compiling crossbeam v0.8.1 [INFO] [stderr] Compiling mime v0.1.0 (https://github.com/nanoteck137/mime#750c921b) [INFO] [stderr] Compiling glam v0.20.3 [INFO] [stderr] Compiling pollster v0.2.5 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling glfw-sys v3.3.5 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling glfw v0.44.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling bytemuck_derive v1.0.1 [INFO] [stderr] Compiling tracing-attributes v0.1.20 [INFO] [stderr] Compiling nalgebra-macros v0.1.0 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling bytemuck v1.8.0 [INFO] [stderr] Compiling safe_arch v0.6.0 [INFO] [stderr] Compiling wide v0.7.4 [INFO] [stderr] Compiling simba v0.6.0 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling naga v0.8.5 [INFO] [stderr] Compiling tracing v0.1.32 [INFO] [stderr] Compiling cargo-manifest v0.2.6 [INFO] [stderr] Compiling wgpu-hal v0.12.4 [INFO] [stderr] Compiling bevy_macro_utils v0.6.0 [INFO] [stderr] Compiling nalgebra v0.29.0 [INFO] [stderr] Compiling wgpu v0.12.0 [INFO] [stderr] Compiling parry3d v0.7.1 [INFO] [stderr] Compiling rapier3d v0.11.1 [INFO] [stderr] Compiling bevy_derive v0.6.0 [INFO] [stderr] Compiling bevy_reflect_derive v0.6.0 [INFO] [stderr] Compiling bevy_ecs_macros v0.6.0 [INFO] [stderr] Compiling bevy_utils v0.6.0 [INFO] [stderr] Compiling bevy_reflect v0.6.0 [INFO] [stderr] Compiling bevy_ecs v0.6.1 [INFO] [stderr] Compiling nocks v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Vec2` [INFO] [stdout] --> src/main.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | use glam::f32::{ Mat4, Vec2, Vec3 }; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/main.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | use glfw::{Action, Context, Key}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `index` is assigned to, but never used [INFO] [stdout] --> src/main.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | let mut index = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_index` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position` [INFO] [stdout] --> src/main.rs:184:14 [INFO] [stdout] | [INFO] [stdout] 184 | for (mut position, mut camera, player) in query.iter_mut() { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `force` [INFO] [stdout] --> src/main.rs:217:17 [INFO] [stdout] | [INFO] [stdout] 217 | let force = dir * 2.0; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_force` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dt` [INFO] [stdout] --> src/main.rs:182:18 [INFO] [stdout] | [INFO] [stdout] 182 | dt: Res) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_dt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/main.rs:274:41 [INFO] [stdout] | [INFO] [stdout] 274 | fn handle_intersection_event(&self, event: IntersectionEvent) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/main.rs:279:29 [INFO] [stdout] | [INFO] [stdout] 279 | ... event: ContactEvent, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `contact_pair` [INFO] [stdout] --> src/main.rs:280:29 [INFO] [stdout] | [INFO] [stdout] 280 | ... contact_pair: &ContactPair) [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contact_pair` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rigid_body` [INFO] [stdout] --> src/main.rs:292:17 [INFO] [stdout] | [INFO] [stdout] 292 | let rigid_body = context.bodies.get(rigid_body) [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rigid_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dir` [INFO] [stdout] --> src/main.rs:300:17 [INFO] [stdout] | [INFO] [stdout] 300 | let dir = -normal.normalize(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/main.rs:305:21 [INFO] [stdout] | [INFO] [stdout] 305 | let height = aabb.extents().y; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_pos` [INFO] [stdout] --> src/main.rs:515:13 [INFO] [stdout] | [INFO] [stdout] 515 | let player_pos = player.get::().unwrap().0; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:184:10 [INFO] [stdout] | [INFO] [stdout] 184 | for (mut position, mut camera, player) in query.iter_mut() { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:185:13 [INFO] [stdout] | [INFO] [stdout] 185 | let mut body = bodies.get_mut(player.body_handle).unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `collider_handle` and `speed` are never read [INFO] [stdout] --> src/main.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 173 | struct Player { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 174 | collider_handle: ColliderHandle, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 175 | body_handle: RigidBodyHandle, [INFO] [stdout] 176 | speed: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `update_model` is never used [INFO] [stdout] --> src/render/mod.rs:258:12 [INFO] [stdout] | [INFO] [stdout] 258 | pub fn update_model(&mut self, model: Mat4) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ComputePipeline` is never constructed [INFO] [stdout] --> src/render/pipeline.rs:197:12 [INFO] [stdout] | [INFO] [stdout] 197 | pub struct ComputePipeline {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `topology` is never used [INFO] [stdout] --> src/render/pipeline.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn topology(mut self, topology: wgpu::PrimitiveTopology) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `front_face` is never used [INFO] [stdout] --> src/render/pipeline.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn front_face(mut self, front_face: wgpu::FrontFace) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `polygon_mode` is never used [INFO] [stdout] --> src/render/pipeline.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn polygon_mode(mut self, polygon_mode: wgpu::PolygonMode) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9m 10s [INFO] running `Command { std: "docker" "inspect" "692e3033b10873954fb4d192bf273ffa02c4dba93db871bb2d707ed390aa6f3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "692e3033b10873954fb4d192bf273ffa02c4dba93db871bb2d707ed390aa6f3a", kill_on_drop: false }` [INFO] [stdout] 692e3033b10873954fb4d192bf273ffa02c4dba93db871bb2d707ed390aa6f3a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Copt-level=3" "-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b829fad7140dafa839930023e49a17de936b8b1ae837ab21e5cb403d5b396c7b [INFO] running `Command { std: "docker" "start" "-a" "b829fad7140dafa839930023e49a17de936b8b1ae837ab21e5cb403d5b396c7b", kill_on_drop: false }` [INFO] [stderr] Compiling nocks v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Vec2` [INFO] [stdout] --> src/main.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | use glam::f32::{ Mat4, Vec2, Vec3 }; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/main.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | use glfw::{Action, Context, Key}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `index` is assigned to, but never used [INFO] [stdout] --> src/main.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | let mut index = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_index` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position` [INFO] [stdout] --> src/main.rs:184:14 [INFO] [stdout] | [INFO] [stdout] 184 | for (mut position, mut camera, player) in query.iter_mut() { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `force` [INFO] [stdout] --> src/main.rs:217:17 [INFO] [stdout] | [INFO] [stdout] 217 | let force = dir * 2.0; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_force` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dt` [INFO] [stdout] --> src/main.rs:182:18 [INFO] [stdout] | [INFO] [stdout] 182 | dt: Res) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_dt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/main.rs:274:41 [INFO] [stdout] | [INFO] [stdout] 274 | fn handle_intersection_event(&self, event: IntersectionEvent) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/main.rs:279:29 [INFO] [stdout] | [INFO] [stdout] 279 | ... event: ContactEvent, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `contact_pair` [INFO] [stdout] --> src/main.rs:280:29 [INFO] [stdout] | [INFO] [stdout] 280 | ... contact_pair: &ContactPair) [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contact_pair` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rigid_body` [INFO] [stdout] --> src/main.rs:292:17 [INFO] [stdout] | [INFO] [stdout] 292 | let rigid_body = context.bodies.get(rigid_body) [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rigid_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dir` [INFO] [stdout] --> src/main.rs:300:17 [INFO] [stdout] | [INFO] [stdout] 300 | let dir = -normal.normalize(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/main.rs:305:21 [INFO] [stdout] | [INFO] [stdout] 305 | let height = aabb.extents().y; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_pos` [INFO] [stdout] --> src/main.rs:515:13 [INFO] [stdout] | [INFO] [stdout] 515 | let player_pos = player.get::().unwrap().0; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:184:10 [INFO] [stdout] | [INFO] [stdout] 184 | for (mut position, mut camera, player) in query.iter_mut() { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:185:13 [INFO] [stdout] | [INFO] [stdout] 185 | let mut body = bodies.get_mut(player.body_handle).unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `collider_handle` and `speed` are never read [INFO] [stdout] --> src/main.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 173 | struct Player { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 174 | collider_handle: ColliderHandle, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 175 | body_handle: RigidBodyHandle, [INFO] [stdout] 176 | speed: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `update_model` is never used [INFO] [stdout] --> src/render/mod.rs:258:12 [INFO] [stdout] | [INFO] [stdout] 258 | pub fn update_model(&mut self, model: Mat4) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ComputePipeline` is never constructed [INFO] [stdout] --> src/render/pipeline.rs:197:12 [INFO] [stdout] | [INFO] [stdout] 197 | pub struct ComputePipeline {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `topology` is never used [INFO] [stdout] --> src/render/pipeline.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn topology(mut self, topology: wgpu::PrimitiveTopology) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `front_face` is never used [INFO] [stdout] --> src/render/pipeline.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn front_face(mut self, front_face: wgpu::FrontFace) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `polygon_mode` is never used [INFO] [stdout] --> src/render/pipeline.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn polygon_mode(mut self, polygon_mode: wgpu::PolygonMode) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.97s [INFO] running `Command { std: "docker" "inspect" "b829fad7140dafa839930023e49a17de936b8b1ae837ab21e5cb403d5b396c7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b829fad7140dafa839930023e49a17de936b8b1ae837ab21e5cb403d5b396c7b", kill_on_drop: false }` [INFO] [stdout] b829fad7140dafa839930023e49a17de936b8b1ae837ab21e5cb403d5b396c7b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Copt-level=3" "-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f86dac1a66a6597028047ab2eb28329923139dfb72872699d2cf4e0d45c2ddc8 [INFO] running `Command { std: "docker" "start" "-a" "f86dac1a66a6597028047ab2eb28329923139dfb72872699d2cf4e0d45c2ddc8", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Vec2` [INFO] [stderr] --> src/main.rs:12:24 [INFO] [stderr] | [INFO] [stderr] 12 | use glam::f32::{ Mat4, Vec2, Vec3 }; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Context` [INFO] [stderr] --> src/main.rs:11:20 [INFO] [stderr] | [INFO] [stderr] 11 | use glfw::{Action, Context, Key}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable `index` is assigned to, but never used [INFO] [stderr] --> src/main.rs:89:13 [INFO] [stderr] | [INFO] [stderr] 89 | let mut index = 0; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider using `_index` instead [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `position` [INFO] [stderr] --> src/main.rs:184:14 [INFO] [stderr] | [INFO] [stderr] 184 | for (mut position, mut camera, player) in query.iter_mut() { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `force` [INFO] [stderr] --> src/main.rs:217:17 [INFO] [stderr] | [INFO] [stderr] 217 | let force = dir * 2.0; [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_force` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `dt` [INFO] [stderr] --> src/main.rs:182:18 [INFO] [stderr] | [INFO] [stderr] 182 | dt: Res) [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_dt` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `event` [INFO] [stderr] --> src/main.rs:274:41 [INFO] [stderr] | [INFO] [stderr] 274 | fn handle_intersection_event(&self, event: IntersectionEvent) { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `event` [INFO] [stderr] --> src/main.rs:279:29 [INFO] [stderr] | [INFO] [stderr] 279 | ... event: ContactEvent, [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `contact_pair` [INFO] [stderr] --> src/main.rs:280:29 [INFO] [stderr] | [INFO] [stderr] 280 | ... contact_pair: &ContactPair) [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contact_pair` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rigid_body` [INFO] [stderr] --> src/main.rs:292:17 [INFO] [stderr] | [INFO] [stderr] 292 | let rigid_body = context.bodies.get(rigid_body) [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rigid_body` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `dir` [INFO] [stderr] --> src/main.rs:300:17 [INFO] [stderr] | [INFO] [stderr] 300 | let dir = -normal.normalize(); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_dir` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `height` [INFO] [stderr] --> src/main.rs:305:21 [INFO] [stderr] | [INFO] [stderr] 305 | let height = aabb.extents().y; [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `player_pos` [INFO] [stderr] --> src/main.rs:515:13 [INFO] [stderr] | [INFO] [stderr] 515 | let player_pos = player.get::().unwrap().0; [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_pos` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:184:10 [INFO] [stderr] | [INFO] [stderr] 184 | for (mut position, mut camera, player) in query.iter_mut() { [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:185:13 [INFO] [stderr] | [INFO] [stderr] 185 | let mut body = bodies.get_mut(player.body_handle).unwrap(); [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: fields `collider_handle` and `speed` are never read [INFO] [stderr] --> src/main.rs:174:5 [INFO] [stderr] | [INFO] [stderr] 173 | struct Player { [INFO] [stderr] | ------ fields in this struct [INFO] [stderr] 174 | collider_handle: ColliderHandle, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] 175 | body_handle: RigidBodyHandle, [INFO] [stderr] 176 | speed: f32, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function `update_model` is never used [INFO] [stderr] --> src/render/mod.rs:258:12 [INFO] [stderr] | [INFO] [stderr] 258 | pub fn update_model(&mut self, model: Mat4) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ComputePipeline` is never constructed [INFO] [stderr] --> src/render/pipeline.rs:197:12 [INFO] [stderr] | [INFO] [stderr] 197 | pub struct ComputePipeline {} [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `topology` is never used [INFO] [stderr] --> src/render/pipeline.rs:93:12 [INFO] [stderr] | [INFO] [stderr] 93 | pub fn topology(mut self, topology: wgpu::PrimitiveTopology) -> Self { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `front_face` is never used [INFO] [stderr] --> src/render/pipeline.rs:98:12 [INFO] [stderr] | [INFO] [stderr] 98 | pub fn front_face(mut self, front_face: wgpu::FrontFace) -> Self { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `polygon_mode` is never used [INFO] [stderr] --> src/render/pipeline.rs:108:12 [INFO] [stderr] | [INFO] [stderr] 108 | pub fn polygon_mode(mut self, polygon_mode: wgpu::PolygonMode) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `nocks` (bin "nocks" test) generated 21 warnings (run `cargo fix --bin "nocks" --tests` to apply 13 suggestions) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/nocks-2b8ae6dfcb8113ac) [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" "f86dac1a66a6597028047ab2eb28329923139dfb72872699d2cf4e0d45c2ddc8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f86dac1a66a6597028047ab2eb28329923139dfb72872699d2cf4e0d45c2ddc8", kill_on_drop: false }` [INFO] [stdout] f86dac1a66a6597028047ab2eb28329923139dfb72872699d2cf4e0d45c2ddc8