[INFO] cloning repository https://github.com/deadshot465/demo_game [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/deadshot465/demo_game" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeadshot465%2Fdemo_game", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeadshot465%2Fdemo_game'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 30447c827c6214bd372b6a2812c3769a744fa075 [INFO] checking deadshot465/demo_game against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeadshot465%2Fdemo_game" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/deadshot465/demo_game on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/deadshot465/demo_game [INFO] finished tweaking git repo https://github.com/deadshot465/demo_game [INFO] tweaked toml for git repo https://github.com/deadshot465/demo_game written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/deadshot465/demo_game already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ash-window v0.5.0 [INFO] [stderr] Downloaded calloop v0.6.4 [INFO] [stderr] Downloaded raw-window-metal v0.1.0 [INFO] [stderr] Downloaded vk-mem v0.2.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a8dbd5f8547fd3fb4f6eafd073ede1bff0254f3a3028cb86ac2bdfcac7d63a46 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a8dbd5f8547fd3fb4f6eafd073ede1bff0254f3a3028cb86ac2bdfcac7d63a46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a8dbd5f8547fd3fb4f6eafd073ede1bff0254f3a3028cb86ac2bdfcac7d63a46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8dbd5f8547fd3fb4f6eafd073ede1bff0254f3a3028cb86ac2bdfcac7d63a46", kill_on_drop: false }` [INFO] [stdout] a8dbd5f8547fd3fb4f6eafd073ede1bff0254f3a3028cb86ac2bdfcac7d63a46 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 216a6188f94761d7ba09d52cc2480737c6b9e515567a71084e9f23322c3ad18d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "216a6188f94761d7ba09d52cc2480737c6b9e515567a71084e9f23322c3ad18d", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling libloading v0.6.3 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Checking smallvec v1.4.2 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling syn v1.0.42 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling rayon-core v1.8.1 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Checking once_cell v1.4.1 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Checking ttf-parser v0.6.2 [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Compiling serde_json v1.0.58 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.3 [INFO] [stderr] Compiling cc v1.0.60 [INFO] [stderr] Compiling inflections v1.1.1 [INFO] [stderr] Checking weezl v0.1.1 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Compiling anyhow v1.0.32 [INFO] [stderr] Compiling winit v0.23.0 [INFO] [stderr] Checking bytemuck v1.4.1 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking arc-swap v0.4.7 [INFO] [stderr] Compiling glam v0.9.4 [INFO] [stderr] Checking ppv-lite86 v0.2.9 [INFO] [stderr] Checking pin-project-lite v0.1.10 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking futures-core v0.3.6 [INFO] [stderr] Checking instant v0.1.7 [INFO] [stderr] Checking lock_api v0.4.1 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking dashmap v4.0.0-rc6 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling rayon v1.4.1 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Checking gif v0.11.1 [INFO] [stderr] Checking crc32fast v1.2.0 [INFO] [stderr] Compiling wayland-sys v0.28.0 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Checking aho-corasick v0.7.13 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Checking ash v0.31.0 [INFO] [stderr] Checking owned_ttf_parser v0.6.0 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking tiff v0.5.0 [INFO] [stderr] Checking rusttype v0.9.2 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking crossbeam-channel v0.4.4 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking png v0.16.7 [INFO] [stderr] Compiling wayland-scanner v0.28.0 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Compiling vk-mem v0.2.2 [INFO] [stderr] Checking crossbeam v0.7.3 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking line_drawing v0.8.0 [INFO] [stderr] Checking andrew v0.3.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.35 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking parking_lot_core v0.8.0 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking signal-hook-registry v1.2.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking aligned_alloc v0.1.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking parking_lot v0.11.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking xcursor v0.3.2 [INFO] [stderr] Compiling wayland-client v0.28.0 [INFO] [stderr] Compiling wayland-protocols v0.28.0 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Checking image v0.23.10 [INFO] [stderr] Checking wayland-commons v0.28.0 [INFO] [stderr] Checking calloop v0.6.4 [INFO] [stderr] Compiling gltf-derive v0.15.2 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling async-trait v0.1.41 [INFO] [stderr] Checking wayland-cursor v0.28.0 [INFO] [stderr] Checking tokio v0.2.22 [INFO] [stderr] Checking ash-window v0.5.0 [INFO] [stderr] Checking smithay-client-toolkit v0.12.0 [INFO] [stderr] Checking gltf-json v0.15.2 [INFO] [stderr] Checking gltf v0.15.2 [INFO] [stderr] Checking demo_game_rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game/graphics/vk/graphics.rs:292:17 [INFO] [stdout] | [INFO] [stdout] 292 | let mut command_buffers = [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/game/graphics/vk/graphics.rs:292:17 [INFO] [stdout] | [INFO] [stdout] 292 | let mut command_buffers = [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] error: future cannot be sent between threads safely [INFO] [stdout] --> src/game/scenes/game_scene.rs:178:101 [INFO] [stdout] | [INFO] [stdout] 178 | async fn render(&self, _delta_time: f64, handle: &tokio::runtime::Handle) -> anyhow::Result<()> { [INFO] [stdout] | _____________________________________________________________________________________________________^ [INFO] [stdout] 179 | | let graphics = self.graphics.upgrade() [INFO] [stdout] 180 | | .expect("Failed to upgrade Weak of Graphics for rendering."); [INFO] [stdout] 181 | | { [INFO] [stdout] ... | [INFO] [stdout] 185 | | Ok(()) [INFO] [stdout] 186 | | } [INFO] [stdout] | |_____^ future returned by `__render` is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: within `impl std::future::Future`, the trait `Send` is not implemented for `std::sync::RwLockWriteGuard<'_, Graphics>` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> src/game/scenes/game_scene.rs:183:13 [INFO] [stdout] | [INFO] [stdout] 182 | let mut graphics_lock = graphics.write().unwrap(); [INFO] [stdout] | ----------------- has type `ShardedLockWriteGuard<'_, Graphics>` which is not `Send` [INFO] [stdout] 183 | graphics_lock.render(handle).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ await occurs here, with `mut graphics_lock` maybe used later [INFO] [stdout] 184 | } [INFO] [stdout] | - `mut graphics_lock` is later dropped here [INFO] [stdout] = note: required for the cast to the object type `dyn std::future::Future> + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/game/scenes/game_scene.rs:178:101 [INFO] [stdout] | [INFO] [stdout] 178 | async fn render(&self, _delta_time: f64, handle: &tokio::runtime::Handle) -> anyhow::Result<()> { [INFO] [stdout] | _____________________________________________________________________________________________________^ [INFO] [stdout] 179 | | let graphics = self.graphics.upgrade() [INFO] [stdout] 180 | | .expect("Failed to upgrade Weak of Graphics for rendering."); [INFO] [stdout] 181 | | { [INFO] [stdout] ... | [INFO] [stdout] 185 | | Ok(()) [INFO] [stdout] 186 | | } [INFO] [stdout] | |_____^ future returned by `__render` is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: within `impl std::future::Future`, the trait `Send` is not implemented for `*const c_void` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> src/game/graphics/vk/graphics.rs:293:17 [INFO] [stdout] | [INFO] [stdout] 274 | let mut inheritance_info = CommandBufferInheritanceInfo::builder() [INFO] [stdout] | -------------------- has type `ash::vk::CommandBufferInheritanceInfo` which is not `Send` [INFO] [stdout] ... [INFO] [stdout] 293 | / self.update_secondary_command_buffers(ptr, viewports[0], scissors[0], handle) [INFO] [stdout] 294 | | .await?; [INFO] [stdout] | |______________________^ await occurs here, with `mut inheritance_info` maybe used later [INFO] [stdout] ... [INFO] [stdout] 307 | } [INFO] [stdout] | - `mut inheritance_info` is later dropped here [INFO] [stdout] = note: required for the cast to the object type `dyn std::future::Future> + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/game/scenes/game_scene.rs:178:101 [INFO] [stdout] | [INFO] [stdout] 178 | async fn render(&self, _delta_time: f64, handle: &tokio::runtime::Handle) -> anyhow::Result<()> { [INFO] [stdout] | _____________________________________________________________________________________________________^ [INFO] [stdout] 179 | | let graphics = self.graphics.upgrade() [INFO] [stdout] 180 | | .expect("Failed to upgrade Weak of Graphics for rendering."); [INFO] [stdout] 181 | | { [INFO] [stdout] ... | [INFO] [stdout] 185 | | Ok(()) [INFO] [stdout] 186 | | } [INFO] [stdout] | |_____^ future returned by `__render` is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: within `impl std::future::Future`, the trait `Send` is not implemented for `*const ash::vk::CommandBufferInheritanceInfo` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> src/game/graphics/vk/graphics.rs:293:17 [INFO] [stdout] | [INFO] [stdout] 254 | let cmd_buffer_begin_info = CommandBufferBeginInfo::builder(); [INFO] [stdout] | --------------------- has type `CommandBufferBeginInfoBuilder<'_>` which is not `Send` [INFO] [stdout] ... [INFO] [stdout] 293 | / self.update_secondary_command_buffers(ptr, viewports[0], scissors[0], handle) [INFO] [stdout] 294 | | .await?; [INFO] [stdout] | |______________________^ await occurs here, with `cmd_buffer_begin_info` maybe used later [INFO] [stdout] ... [INFO] [stdout] 307 | } [INFO] [stdout] | - `cmd_buffer_begin_info` is later dropped here [INFO] [stdout] = note: required for the cast to the object type `dyn std::future::Future> + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/game/scenes/game_scene.rs:178:101 [INFO] [stdout] | [INFO] [stdout] 178 | async fn render(&self, _delta_time: f64, handle: &tokio::runtime::Handle) -> anyhow::Result<()> { [INFO] [stdout] | _____________________________________________________________________________________________________^ [INFO] [stdout] 179 | | let graphics = self.graphics.upgrade() [INFO] [stdout] 180 | | .expect("Failed to upgrade Weak of Graphics for rendering."); [INFO] [stdout] 181 | | { [INFO] [stdout] ... | [INFO] [stdout] 185 | | Ok(()) [INFO] [stdout] 186 | | } [INFO] [stdout] | |_____^ future returned by `__render` is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: within `impl std::future::Future`, the trait `Send` is not implemented for `*const ash::vk::ClearValue` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> src/game/graphics/vk/graphics.rs:293:17 [INFO] [stdout] | [INFO] [stdout] 257 | let renderpass_begin_info = RenderPassBeginInfo::builder() [INFO] [stdout] | --------------------- has type `RenderPassBeginInfoBuilder<'_>` which is not `Send` [INFO] [stdout] ... [INFO] [stdout] 293 | / self.update_secondary_command_buffers(ptr, viewports[0], scissors[0], handle) [INFO] [stdout] 294 | | .await?; [INFO] [stdout] | |______________________^ await occurs here, with `renderpass_begin_info` maybe used later [INFO] [stdout] ... [INFO] [stdout] 307 | } [INFO] [stdout] | - `renderpass_begin_info` is later dropped here [INFO] [stdout] = note: required for the cast to the object type `dyn std::future::Future> + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/game/scenes/game_scene.rs:178:101 [INFO] [stdout] | [INFO] [stdout] 178 | async fn render(&self, _delta_time: f64, handle: &tokio::runtime::Handle) -> anyhow::Result<()> { [INFO] [stdout] | _____________________________________________________________________________________________________^ [INFO] [stdout] 179 | | let graphics = self.graphics.upgrade() [INFO] [stdout] 180 | | .expect("Failed to upgrade Weak of Graphics for rendering."); [INFO] [stdout] 181 | | { [INFO] [stdout] ... | [INFO] [stdout] 185 | | Ok(()) [INFO] [stdout] 186 | | } [INFO] [stdout] | |_____^ future returned by `__render` is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: within `impl std::future::Future`, the trait `Send` is not implemented for `std::sync::RwLockWriteGuard<'_, Graphics>` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> src/game/scenes/game_scene.rs:183:13 [INFO] [stdout] | [INFO] [stdout] 182 | let mut graphics_lock = graphics.write().unwrap(); [INFO] [stdout] | ----------------- has type `ShardedLockWriteGuard<'_, Graphics>` which is not `Send` [INFO] [stdout] 183 | graphics_lock.render(handle).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ await occurs here, with `mut graphics_lock` maybe used later [INFO] [stdout] 184 | } [INFO] [stdout] | - `mut graphics_lock` is later dropped here [INFO] [stdout] = note: required for the cast to the object type `dyn std::future::Future> + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/game/scenes/game_scene.rs:178:101 [INFO] [stdout] | [INFO] [stdout] 178 | async fn render(&self, _delta_time: f64, handle: &tokio::runtime::Handle) -> anyhow::Result<()> { [INFO] [stdout] | _____________________________________________________________________________________________________^ [INFO] [stdout] 179 | | let graphics = self.graphics.upgrade() [INFO] [stdout] 180 | | .expect("Failed to upgrade Weak of Graphics for rendering."); [INFO] [stdout] 181 | | { [INFO] [stdout] ... | [INFO] [stdout] 185 | | Ok(()) [INFO] [stdout] 186 | | } [INFO] [stdout] | |_____^ future returned by `__render` is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: within `impl std::future::Future`, the trait `Send` is not implemented for `*const c_void` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> src/game/graphics/vk/graphics.rs:293:17 [INFO] [stdout] | [INFO] [stdout] 274 | let mut inheritance_info = CommandBufferInheritanceInfo::builder() [INFO] [stdout] | -------------------- has type `ash::vk::CommandBufferInheritanceInfo` which is not `Send` [INFO] [stdout] ... [INFO] [stdout] 293 | / self.update_secondary_command_buffers(ptr, viewports[0], scissors[0], handle) [INFO] [stdout] 294 | | .await?; [INFO] [stdout] | |______________________^ await occurs here, with `mut inheritance_info` maybe used later [INFO] [stdout] ... [INFO] [stdout] 307 | } [INFO] [stdout] | - `mut inheritance_info` is later dropped here [INFO] [stdout] = note: required for the cast to the object type `dyn std::future::Future> + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/game/scenes/game_scene.rs:178:101 [INFO] [stdout] | [INFO] [stdout] 178 | async fn render(&self, _delta_time: f64, handle: &tokio::runtime::Handle) -> anyhow::Result<()> { [INFO] [stdout] | _____________________________________________________________________________________________________^ [INFO] [stdout] 179 | | let graphics = self.graphics.upgrade() [INFO] [stdout] 180 | | .expect("Failed to upgrade Weak of Graphics for rendering."); [INFO] [stdout] 181 | | { [INFO] [stdout] ... | [INFO] [stdout] 185 | | Ok(()) [INFO] [stdout] 186 | | } [INFO] [stdout] | |_____^ future returned by `__render` is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: within `impl std::future::Future`, the trait `Send` is not implemented for `*const ash::vk::CommandBufferInheritanceInfo` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> src/game/graphics/vk/graphics.rs:293:17 [INFO] [stdout] | [INFO] [stdout] 254 | let cmd_buffer_begin_info = CommandBufferBeginInfo::builder(); [INFO] [stdout] | --------------------- has type `CommandBufferBeginInfoBuilder<'_>` which is not `Send` [INFO] [stdout] ... [INFO] [stdout] 293 | / self.update_secondary_command_buffers(ptr, viewports[0], scissors[0], handle) [INFO] [stdout] 294 | | .await?; [INFO] [stdout] | |______________________^ await occurs here, with `cmd_buffer_begin_info` maybe used later [INFO] [stdout] ... [INFO] [stdout] 307 | } [INFO] [stdout] | - `cmd_buffer_begin_info` is later dropped here [INFO] [stdout] = note: required for the cast to the object type `dyn std::future::Future> + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/game/scenes/game_scene.rs:178:101 [INFO] [stdout] | [INFO] [stdout] 178 | async fn render(&self, _delta_time: f64, handle: &tokio::runtime::Handle) -> anyhow::Result<()> { [INFO] [stdout] | _____________________________________________________________________________________________________^ [INFO] [stdout] 179 | | let graphics = self.graphics.upgrade() [INFO] [stdout] 180 | | .expect("Failed to upgrade Weak of Graphics for rendering."); [INFO] [stdout] 181 | | { [INFO] [stdout] ... | [INFO] [stdout] 185 | | Ok(()) [INFO] [stdout] 186 | | } [INFO] [stdout] | |_____^ future returned by `__render` is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: within `impl std::future::Future`, the trait `Send` is not implemented for `*const ash::vk::ClearValue` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> src/game/graphics/vk/graphics.rs:293:17 [INFO] [stdout] | [INFO] [stdout] 257 | let renderpass_begin_info = RenderPassBeginInfo::builder() [INFO] [stdout] | --------------------- has type `RenderPassBeginInfoBuilder<'_>` which is not `Send` [INFO] [stdout] ... [INFO] [stdout] 293 | / self.update_secondary_command_buffers(ptr, viewports[0], scissors[0], handle) [INFO] [stdout] 294 | | .await?; [INFO] [stdout] | |______________________^ await occurs here, with `renderpass_begin_info` maybe used later [INFO] [stdout] ... [INFO] [stdout] 307 | } [INFO] [stdout] | - `renderpass_begin_info` is later dropped here [INFO] [stdout] = note: required for the cast to the object type `dyn std::future::Future> + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `demo_game_rs` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "216a6188f94761d7ba09d52cc2480737c6b9e515567a71084e9f23322c3ad18d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "216a6188f94761d7ba09d52cc2480737c6b9e515567a71084e9f23322c3ad18d", kill_on_drop: false }` [INFO] [stdout] 216a6188f94761d7ba09d52cc2480737c6b9e515567a71084e9f23322c3ad18d