[INFO] cloning repository https://github.com/xeony888/rust-async-ws [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xeony888/rust-async-ws" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxeony888%2Frust-async-ws", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxeony888%2Frust-async-ws'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 95b4c389e2f68303f776ed6247cc2bb0f6cc1b9b [INFO] building xeony888/rust-async-ws against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxeony888%2Frust-async-ws" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/xeony888/rust-async-ws [INFO] finished tweaking git repo https://github.com/xeony888/rust-async-ws [INFO] tweaked toml for git repo https://github.com/xeony888/rust-async-ws written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/xeony888/rust-async-ws on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/xeony888/rust-async-ws 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tungstenite v0.26.2 [INFO] [stderr] Downloaded rawpointer v0.2.1 [INFO] [stderr] Downloaded windows-implement v0.57.0 [INFO] [stderr] Downloaded tungstenite v0.14.0 [INFO] [stderr] Downloaded bit-vec v0.7.0 [INFO] [stderr] Downloaded simba v0.9.0 [INFO] [stderr] Downloaded ordered-float v4.6.0 [INFO] [stderr] Downloaded windows-core v0.57.0 [INFO] [stderr] Downloaded matrixmultiply v0.3.9 [INFO] [stderr] Downloaded num-complex v0.4.6 [INFO] [stderr] Downloaded ena v0.14.3 [INFO] [stderr] Downloaded nalgebra-macros v0.2.2 [INFO] [stderr] Downloaded bytemuck v1.22.0 [INFO] [stderr] Downloaded wide v0.7.32 [INFO] [stderr] Downloaded tokio-tungstenite v0.15.0 [INFO] [stderr] Downloaded spade v2.13.1 [INFO] [stderr] Downloaded safe_arch v0.7.4 [INFO] [stderr] Downloaded ntapi v0.4.1 [INFO] [stderr] Downloaded objc2-core-foundation v0.3.0 [INFO] [stderr] Downloaded rapier2d v0.23.1 [INFO] [stderr] Downloaded parry2d v0.18.0 [INFO] [stderr] Downloaded windows-interface v0.57.0 [INFO] [stderr] Downloaded sysinfo v0.34.1 [INFO] [stderr] Downloaded sha-1 v0.9.8 [INFO] [stderr] Downloaded windows-result v0.1.2 [INFO] [stderr] Downloaded robust v1.1.0 [INFO] [stderr] Downloaded nalgebra v0.33.2 [INFO] [stderr] Downloaded windows v0.57.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bd23143015737f3916b62fa92ec2fea75400037d42d6cf03700da1e028326f55 [INFO] running `Command { std: "docker" "start" "-a" "bd23143015737f3916b62fa92ec2fea75400037d42d6cf03700da1e028326f55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bd23143015737f3916b62fa92ec2fea75400037d42d6cf03700da1e028326f55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd23143015737f3916b62fa92ec2fea75400037d42d6cf03700da1e028326f55", kill_on_drop: false }` [INFO] [stdout] bd23143015737f3916b62fa92ec2fea75400037d42d6cf03700da1e028326f55 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3abc071f15c3201a5f844324a245e67d7be49a75d4671d4f94cab6ff011ca801 [INFO] running `Command { std: "docker" "start" "-a" "3abc071f15c3201a5f844324a245e67d7be49a75d4671d4f94cab6ff011ca801", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling bytemuck v1.22.0 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling matrixmultiply v0.3.9 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling safe_arch v0.7.4 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling robust v1.1.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling wide v0.7.32 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling crossbeam-channel v0.5.14 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling downcast-rs v1.2.1 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling ordered-float v4.6.0 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling spade v2.13.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling data-encoding v2.8.0 [INFO] [stderr] Compiling humantime v2.2.0 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling bit-vec v0.7.0 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling sysinfo v0.34.1 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling simba v0.9.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling nalgebra-macros v0.2.2 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling profiling-procmacros v1.0.16 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling tokio v1.44.1 [INFO] [stderr] Compiling profiling v1.0.16 [INFO] [stderr] Compiling tungstenite v0.26.2 [INFO] [stderr] Compiling futures-util v0.3.31 [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 zerovec v0.10.4 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling nalgebra v0.33.2 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling bincode v1.3.3 [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 tungstenite v0.14.0 [INFO] [stderr] Compiling tokio-tungstenite v0.15.0 [INFO] [stderr] Compiling parry2d v0.18.0 [INFO] [stderr] Compiling rapier2d v0.23.1 [INFO] [stderr] Compiling rust-backend v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/main.rs:121:17 [INFO] [stdout] | [INFO] [stdout] 121 | if let Some(name) = &conn_info.name { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `auth_token` [INFO] [stdout] --> src/main.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 127 | if let Some(auth_token) = &conn_info.auth_token { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_auth_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:142:25 [INFO] [stdout] | [INFO] [stdout] 142 | let mut g = game.write().await; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/game.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | for i in 0..3 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/game.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | for i in 0..3 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `collider` [INFO] [stdout] --> src/game.rs:119:17 [INFO] [stdout] | [INFO] [stdout] 119 | let collider = colliders.insert_with_parent( [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | let mut physics_pipeline = PhysicsPipeline::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | let mut broad_phase = DefaultBroadPhase::new(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | let mut island_manager = IslandManager::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | let mut narrow_phase = NarrowPhase::new(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | let mut impulse_joints = ImpulseJointSet::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | let mut multibody_joints = MultibodyJointSet::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | let mut ccd_solver = CCDSolver::new(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `elapsed` [INFO] [stdout] --> src/game.rs:215:26 [INFO] [stdout] | [INFO] [stdout] 215 | fn update(&mut self, elapsed: f64) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_elapsed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/game.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Client { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 8 | pub id: usize, [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 `game_type` is never read [INFO] [stdout] --> src/game.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct Game { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 39 | pub game_type: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 03s [INFO] running `Command { std: "docker" "inspect" "3abc071f15c3201a5f844324a245e67d7be49a75d4671d4f94cab6ff011ca801", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3abc071f15c3201a5f844324a245e67d7be49a75d4671d4f94cab6ff011ca801", kill_on_drop: false }` [INFO] [stdout] 3abc071f15c3201a5f844324a245e67d7be49a75d4671d4f94cab6ff011ca801 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b326b095c31e19490288dc3217ae0f32b081a5249c8186f432d315a70e28425f [INFO] running `Command { std: "docker" "start" "-a" "b326b095c31e19490288dc3217ae0f32b081a5249c8186f432d315a70e28425f", kill_on_drop: false }` [INFO] [stderr] Compiling rust-backend v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/main.rs:121:17 [INFO] [stdout] | [INFO] [stdout] 121 | if let Some(name) = &conn_info.name { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `auth_token` [INFO] [stdout] --> src/main.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 127 | if let Some(auth_token) = &conn_info.auth_token { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_auth_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:142:25 [INFO] [stdout] | [INFO] [stdout] 142 | let mut g = game.write().await; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/game.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | for i in 0..3 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/game.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | for i in 0..3 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `collider` [INFO] [stdout] --> src/game.rs:119:17 [INFO] [stdout] | [INFO] [stdout] 119 | let collider = colliders.insert_with_parent( [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | let mut physics_pipeline = PhysicsPipeline::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | let mut broad_phase = DefaultBroadPhase::new(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | let mut island_manager = IslandManager::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | let mut narrow_phase = NarrowPhase::new(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | let mut impulse_joints = ImpulseJointSet::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | let mut multibody_joints = MultibodyJointSet::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | let mut ccd_solver = CCDSolver::new(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `elapsed` [INFO] [stdout] --> src/game.rs:215:26 [INFO] [stdout] | [INFO] [stdout] 215 | fn update(&mut self, elapsed: f64) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_elapsed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/game.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Client { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 8 | pub id: usize, [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 `game_type` is never read [INFO] [stdout] --> src/game.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct Game { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 39 | pub game_type: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.07s [INFO] running `Command { std: "docker" "inspect" "b326b095c31e19490288dc3217ae0f32b081a5249c8186f432d315a70e28425f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b326b095c31e19490288dc3217ae0f32b081a5249c8186f432d315a70e28425f", kill_on_drop: false }` [INFO] [stdout] b326b095c31e19490288dc3217ae0f32b081a5249c8186f432d315a70e28425f