[INFO] cloning repository https://github.com/NightProg/vkguide.rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/NightProg/vkguide.rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNightProg%2Fvkguide.rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNightProg%2Fvkguide.rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 46dc66c3766c40ab53057ae9bf874720701b2683 [INFO] checking NightProg/vkguide.rs against 49a6044d37d694890450f52ceaceb66277a36b1e for pr-161154 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNightProg%2Fvkguide.rs" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/NightProg/vkguide.rs [INFO] finished tweaking git repo https://github.com/NightProg/vkguide.rs [INFO] tweaked toml for git repo https://github.com/NightProg/vkguide.rs written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/NightProg/vkguide.rs on toolchain 49a6044d37d694890450f52ceaceb66277a36b1e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+49a6044d37d694890450f52ceaceb66277a36b1e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/NightProg/vkguide.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" "+49a6044d37d694890450f52ceaceb66277a36b1e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking NightProg/vkguide.rs against 49a6044d37d694890450f52ceaceb66277a36b1e for pr-161154 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNightProg%2Fvkguide.rs" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/NightProg/vkguide.rs [INFO] finished tweaking git repo https://github.com/NightProg/vkguide.rs [INFO] tweaked toml for git repo https://github.com/NightProg/vkguide.rs written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/NightProg/vkguide.rs on toolchain 49a6044d37d694890450f52ceaceb66277a36b1e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+49a6044d37d694890450f52ceaceb66277a36b1e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/NightProg/vkguide.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" "+49a6044d37d694890450f52ceaceb66277a36b1e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded vulkano-macros v0.35.0 [INFO] [stderr] Downloaded slabbin v1.2.0 [INFO] [stderr] Downloaded winnow v0.7.6 [INFO] [stderr] Downloaded vk-parse v0.15.0 [INFO] [stderr] Downloaded objc2-quartz-core v0.3.1 [INFO] [stderr] Downloaded objc2-metal v0.3.1 [INFO] [stderr] Downloaded sdl2 v0.37.0 [INFO] [stderr] Downloaded vulkano v0.35.1 [INFO] [stderr] Downloaded sdl2-sys v0.37.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] b8be8d2f8e38a62d0d8b0ba82ead76deb1bea7326d1e3641c5bfd18dd339dac0 [INFO] running `Command { std: "docker" "start" "b8be8d2f8e38a62d0d8b0ba82ead76deb1bea7326d1e3641c5bfd18dd339dac0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b8be8d2f8e38a62d0d8b0ba82ead76deb1bea7326d1e3641c5bfd18dd339dac0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b8be8d2f8e38a62d0d8b0ba82ead76deb1bea7326d1e3641c5bfd18dd339dac0" "/opt/rustwide/cargo-home/bin/cargo" "+49a6044d37d694890450f52ceaceb66277a36b1e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b8be8d2f8e38a62d0d8b0ba82ead76deb1bea7326d1e3641c5bfd18dd339dac0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b8be8d2f8e38a62d0d8b0ba82ead76deb1bea7326d1e3641c5bfd18dd339dac0" "/opt/rustwide/cargo-home/bin/cargo" "+49a6044d37d694890450f52ceaceb66277a36b1e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Compiling winnow v0.7.6 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling xml-rs v0.8.26 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling ash v0.38.0+1.3.281 [INFO] [stderr] Checking libloading v0.8.6 [INFO] [stderr] Compiling sdl2-sys v0.37.0 [INFO] [stderr] Checking as-raw-xcb-connection v1.0.1 [INFO] [stderr] Compiling sdl2 v0.37.0 [INFO] [stderr] Checking x11rb-protocol v0.13.1 [INFO] [stderr] Checking raw-window-handle v0.6.2 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking slabbin v1.2.0 [INFO] [stderr] Checking crossbeam-queue v0.3.12 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling vk-parse v0.15.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling bytemuck_derive v1.9.3 [INFO] [stderr] Compiling toml_edit v0.22.24 [INFO] [stderr] Checking bytemuck v1.22.0 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling vulkano-macros v0.35.0 [INFO] [stderr] Checking x11rb v0.13.1 [INFO] [stderr] Compiling vulkano v0.35.1 [INFO] [stderr] Checking vkguide v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/vkengine.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [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 import: `sdl2::video::WindowBuilder` [INFO] [stdout] --> src/vkengine.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use sdl2::video::WindowBuilder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vulkano::VulkanObject` [INFO] [stdout] --> src/vkengine.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use vulkano::VulkanObject; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/vkengine.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [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 import: `sdl2::video::WindowBuilder` [INFO] [stdout] --> src/vkengine.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use sdl2::video::WindowBuilder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vulkano::VulkanObject` [INFO] [stdout] --> src/vkengine.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use vulkano::VulkanObject; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/vkengine.rs:71:25 [INFO] [stdout] | [INFO] [stdout] 71 | let score = Self::rate_physical_device(&physical_device); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ---------------- argument #1 of type `&VkEngine` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/vkengine.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | fn rate_physical_device(&self, physical_device: &PhysicalDevice) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ----- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 71 | let score = Self::rate_physical_device(/* &VkEngine */, &physical_device); [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/vkengine.rs:71:25 [INFO] [stdout] | [INFO] [stdout] 71 | let score = Self::rate_physical_device(&physical_device); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ---------------- argument #1 of type `&VkEngine` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/vkengine.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | fn rate_physical_device(&self, physical_device: &PhysicalDevice) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ----- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 71 | let score = Self::rate_physical_device(/* &VkEngine */, &physical_device); [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `PhysicalDevice: Ord` is not satisfied [INFO] [stdout] --> src/vkengine.rs:75:35 [INFO] [stdout] | [INFO] [stdout] 75 | let max = map.into_iter().max().unwrap(); [INFO] [stdout] | ^^^ the trait `Ord` is not implemented for `PhysicalDevice` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Ord`: [INFO] [stdout] (T₁, T₂, …, Tₙ) up to tuples of arity 12 [INFO] [stdout] and 5 others [INFO] [stdout] = note: required for `Arc` to implement `Ord` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `(u32, Arc)` to implement `Ord` [INFO] [stdout] note: required by a bound in `std::iter::Iterator::max` [INFO] [stdout] --> /rustc/49a6044d37d694890450f52ceaceb66277a36b1e/library/core/src/iter/traits/iterator.rs:3246:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `PhysicalDevice: Ord` is not satisfied [INFO] [stdout] --> src/vkengine.rs:75:35 [INFO] [stdout] | [INFO] [stdout] 75 | let max = map.into_iter().max().unwrap(); [INFO] [stdout] | ^^^ the trait `Ord` is not implemented for `PhysicalDevice` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Ord`: [INFO] [stdout] (T₁, T₂, …, Tₙ) up to tuples of arity 12 [INFO] [stdout] and 5 others [INFO] [stdout] = note: required for `Arc` to implement `Ord` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `(u32, Arc)` to implement `Ord` [INFO] [stdout] note: required by a bound in `std::iter::Iterator::max` [INFO] [stdout] --> /rustc/49a6044d37d694890450f52ceaceb66277a36b1e/library/core/src/iter/traits/iterator.rs:3246:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queue` [INFO] [stdout] --> src/vkengine.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let queue = physical_device [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_queue` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queue` [INFO] [stdout] --> src/vkengine.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let queue = physical_device [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_queue` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `vkguide` (bin "vkguide") due to 2 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `vkguide` (bin "vkguide" test) due to 2 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b8be8d2f8e38a62d0d8b0ba82ead76deb1bea7326d1e3641c5bfd18dd339dac0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8be8d2f8e38a62d0d8b0ba82ead76deb1bea7326d1e3641c5bfd18dd339dac0", kill_on_drop: false }` [INFO] [stdout] b8be8d2f8e38a62d0d8b0ba82ead76deb1bea7326d1e3641c5bfd18dd339dac0