[INFO] fetching crate kronos-compute 0.1.0... [INFO] checking kronos-compute-0.1.0 against master#35d55b34bffd51384ac430cc20852b7d16dd5a90 for pr-145108 [INFO] extracting crate kronos-compute 0.1.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate kronos-compute 0.1.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate kronos-compute 0.1.0 [INFO] tweaked toml for crates.io crate kronos-compute 0.1.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate kronos-compute 0.1.0 on toolchain 35d55b34bffd51384ac430cc20852b7d16dd5a90 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35d55b34bffd51384ac430cc20852b7d16dd5a90" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate kronos-compute 0.1.0 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" "+35d55b34bffd51384ac430cc20852b7d16dd5a90" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+35d55b34bffd51384ac430cc20852b7d16dd5a90" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7331eed61f243f9f7706dc5155dc1ccea465c994e5ea9a073c84f5c0e14a1833 [INFO] running `Command { std: "docker" "start" "-a" "7331eed61f243f9f7706dc5155dc1ccea465c994e5ea9a073c84f5c0e14a1833", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7331eed61f243f9f7706dc5155dc1ccea465c994e5ea9a073c84f5c0e14a1833", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7331eed61f243f9f7706dc5155dc1ccea465c994e5ea9a073c84f5c0e14a1833", kill_on_drop: false }` [INFO] [stdout] 7331eed61f243f9f7706dc5155dc1ccea465c994e5ea9a073c84f5c0e14a1833 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+35d55b34bffd51384ac430cc20852b7d16dd5a90" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 621ac37e6b5414afcba6886f507bd31c58dc2201025822cde8bff49ec869302f [INFO] running `Command { std: "docker" "start" "-a" "621ac37e6b5414afcba6886f507bd31c58dc2201025822cde8bff49ec869302f", kill_on_drop: false }` [INFO] [stderr] Checking half v2.4.0 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking clap_builder v4.5.44 [INFO] [stderr] Compiling kronos-compute v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking bitflags v2.9.3 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking clap v4.5.45 [INFO] [stderr] Checking serde_json v1.0.143 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stdout] error[E0432]: unresolved import `kronos` [INFO] [stdout] --> examples/rust_implementation_test.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use kronos::*; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `kronos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `kronos`, use `cargo add kronos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `kronos` [INFO] [stdout] --> benches/dispatch_throughput.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use kronos::*; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `kronos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `kronos`, use `cargo add kronos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `kronos` [INFO] [stdout] --> benches/api_overhead.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use kronos::*; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `kronos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `kronos`, use `cargo add kronos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `kronos` [INFO] [stdout] --> examples/descriptor_test.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use kronos::ffi::*; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `kronos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `kronos`, use `cargo add kronos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `kronos` [INFO] [stdout] --> examples/descriptor_test.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use kronos::*; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `kronos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `kronos`, use `cargo add kronos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `kronos` [INFO] [stdout] --> examples/compute_optimized.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use kronos::sys::*; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `kronos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `kronos`, use `cargo add kronos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `kronos` [INFO] [stdout] --> examples/compute_optimized.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use kronos::core::*; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `kronos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `kronos`, use `cargo add kronos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `kronos` [INFO] [stdout] --> examples/compute_optimized.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use kronos::core::compute::*; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `kronos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `kronos`, use `cargo add kronos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `kronos` [INFO] [stdout] --> examples/compute_optimized.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use kronos::ffi::*; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `kronos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `kronos`, use `cargo add kronos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `kronos` [INFO] [stdout] --> examples/benchmark_quick.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use kronos::*; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `kronos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `kronos`, use `cargo add kronos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `kronos` [INFO] [stdout] --> tests/icd_forwarding.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use kronos::sys::*; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `kronos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `kronos`, use `cargo add kronos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `kronos` [INFO] [stdout] --> tests/icd_forwarding.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use kronos::core::*; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `kronos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `kronos`, use `cargo add kronos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `kronos` [INFO] [stdout] --> examples/compute_optimized.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use kronos::implementation; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `kronos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `kronos`, use `cargo add kronos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `kronos` [INFO] [stdout] --> benches/optimization_test.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use kronos::*; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `kronos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `kronos`, use `cargo add kronos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `kronos` [INFO] [stdout] --> tests/icd_forwarding.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use kronos::implementation; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `kronos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `kronos`, use `cargo add kronos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Throughput` [INFO] [stdout] --> benches/optimization_test.rs:3:61 [INFO] [stdout] | [INFO] [stdout] 3 | use criterion::{criterion_group, criterion_main, Criterion, Throughput}; [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: `std::ptr` [INFO] [stdout] --> benches/optimization_test.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ptr; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `batch_size` [INFO] [stdout] --> benches/optimization_test.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | let batch_size = 16; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_batch_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `elapsed` [INFO] [stdout] --> benches/optimization_test.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | let elapsed = start.elapsed(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_elapsed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kronos-compute` (bench "optimization_test") due to 1 previous error; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kronos-compute` (bench "dispatch_throughput") due to 1 previous error [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kronos-compute` (example "descriptor_test") due to 2 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kronos-compute` (example "benchmark_quick") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kronos-compute` (bench "api_overhead") due to 1 previous error [INFO] [stdout] error[E0282]: type annotations needed for `*mut _` [INFO] [stdout] --> examples/rust_implementation_test.rs:185:13 [INFO] [stdout] | [INFO] [stdout] 185 | let mut data_ptr = ptr::null_mut(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 197 | if result == VkResult::Success && !data_ptr.is_null() { [INFO] [stdout] | ------- cannot call a method on a raw pointer with an unknown pointee type [INFO] [stdout] | [INFO] [stdout] help: consider giving `data_ptr` an explicit type, where the type for type parameter `T` is specified [INFO] [stdout] | [INFO] [stdout] 185 | let mut data_ptr: *mut T = ptr::null_mut(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kronos-compute` (example "rust_implementation_test") due to 2 previous errors [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `VkApplicationInfo` in this scope [INFO] [stdout] --> tests/icd_forwarding.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 31 | let app_info = VkApplicationInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use kronos_compute::VkApplicationInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VkStructureType` [INFO] [stdout] --> tests/icd_forwarding.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | sType: VkStructureType::ApplicationInfo, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `VkStructureType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use kronos_compute::VkStructureType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VK_MAKE_VERSION` in this scope [INFO] [stdout] --> tests/icd_forwarding.rs:35:33 [INFO] [stdout] | [INFO] [stdout] 35 | applicationVersion: VK_MAKE_VERSION(1, 0, 0), [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 3 + use kronos_compute::VK_MAKE_VERSION; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VK_MAKE_VERSION` in this scope [INFO] [stdout] --> tests/icd_forwarding.rs:37:28 [INFO] [stdout] | [INFO] [stdout] 37 | engineVersion: VK_MAKE_VERSION(1, 0, 0), [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 3 + use kronos_compute::VK_MAKE_VERSION; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_API_VERSION_1_0` in this scope [INFO] [stdout] --> tests/icd_forwarding.rs:38:25 [INFO] [stdout] | [INFO] [stdout] 38 | apiVersion: VK_API_VERSION_1_0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 3 + use kronos_compute::VK_API_VERSION_1_0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `VkInstanceCreateInfo` in this scope [INFO] [stdout] --> tests/icd_forwarding.rs:41:27 [INFO] [stdout] | [INFO] [stdout] 41 | let create_info = VkInstanceCreateInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use kronos_compute::VkInstanceCreateInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VkStructureType` [INFO] [stdout] --> tests/icd_forwarding.rs:42:20 [INFO] [stdout] | [INFO] [stdout] 42 | sType: VkStructureType::InstanceCreateInfo, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `VkStructureType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use kronos_compute::VkStructureType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VkInstance` [INFO] [stdout] --> tests/icd_forwarding.rs:52:28 [INFO] [stdout] | [INFO] [stdout] 52 | let mut instance = VkInstance::NULL; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `VkInstance` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 3 + use kronos_compute::VkInstance; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VkResult` [INFO] [stdout] --> tests/icd_forwarding.rs:54:28 [INFO] [stdout] | [INFO] [stdout] 54 | assert_eq!(result, VkResult::Success, "Failed to create instance"); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `VkResult` [INFO] [stdout] | [INFO] [stdout] help: an enum with a similar name exists [INFO] [stdout] | [INFO] [stdout] 54 - assert_eq!(result, VkResult::Success, "Failed to create instance"); [INFO] [stdout] 54 + assert_eq!(result, Result::Success, "Failed to create instance"); [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use kronos_compute::VkResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VkPhysicalDevice` [INFO] [stdout] --> tests/icd_forwarding.rs:62:32 [INFO] [stdout] | [INFO] [stdout] 62 | let mut devices = vec![VkPhysicalDevice::NULL; device_count as usize]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `VkPhysicalDevice` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 3 + use kronos_compute::VkPhysicalDevice; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VkPhysicalDeviceProperties` in this scope [INFO] [stdout] --> tests/icd_forwarding.rs:69:24 [INFO] [stdout] | [INFO] [stdout] 69 | let mut props: VkPhysicalDeviceProperties = std::mem::zeroed(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use kronos_compute::VkPhysicalDeviceProperties; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VkQueueFamilyProperties` in this scope [INFO] [stdout] --> tests/icd_forwarding.rs:85:58 [INFO] [stdout] | [INFO] [stdout] 85 | let mut queue_families = vec![std::mem::zeroed::(); queue_family_count as usize]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use kronos_compute::VkQueueFamilyProperties; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VkQueueFlags` [INFO] [stdout] --> tests/icd_forwarding.rs:89:49 [INFO] [stdout] | [INFO] [stdout] 89 | .position(|f| f.queueFlags.contains(VkQueueFlags::COMPUTE)) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `VkQueueFlags` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use kronos_compute::VkQueueFlags; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `VkDeviceQueueCreateInfo` in this scope [INFO] [stdout] --> tests/icd_forwarding.rs:94:26 [INFO] [stdout] | [INFO] [stdout] 94 | let queue_info = VkDeviceQueueCreateInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use kronos_compute::VkDeviceQueueCreateInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VkStructureType` [INFO] [stdout] --> tests/icd_forwarding.rs:95:20 [INFO] [stdout] | [INFO] [stdout] 95 | sType: VkStructureType::DeviceQueueCreateInfo, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `VkStructureType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use kronos_compute::VkStructureType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `VkDeviceCreateInfo` in this scope [INFO] [stdout] --> tests/icd_forwarding.rs:103:27 [INFO] [stdout] | [INFO] [stdout] 103 | let device_info = VkDeviceCreateInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use kronos_compute::VkDeviceCreateInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VkStructureType` [INFO] [stdout] --> tests/icd_forwarding.rs:104:20 [INFO] [stdout] | [INFO] [stdout] 104 | sType: VkStructureType::DeviceCreateInfo, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `VkStructureType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use kronos_compute::VkStructureType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VkDevice` [INFO] [stdout] --> tests/icd_forwarding.rs:116:26 [INFO] [stdout] | [INFO] [stdout] 116 | let mut device = VkDevice::NULL; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `VkDevice` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 3 + use kronos_compute::VkDevice; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VkResult` [INFO] [stdout] --> tests/icd_forwarding.rs:118:28 [INFO] [stdout] | [INFO] [stdout] 118 | assert_eq!(result, VkResult::Success, "Failed to create device"); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `VkResult` [INFO] [stdout] | [INFO] [stdout] help: an enum with a similar name exists [INFO] [stdout] | [INFO] [stdout] 118 - assert_eq!(result, VkResult::Success, "Failed to create device"); [INFO] [stdout] 118 + assert_eq!(result, Result::Success, "Failed to create device"); [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use kronos_compute::VkResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VkQueue` [INFO] [stdout] --> tests/icd_forwarding.rs:121:25 [INFO] [stdout] | [INFO] [stdout] 121 | let mut queue = VkQueue::NULL; [INFO] [stdout] | ^^^^^^^ use of undeclared type `VkQueue` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 3 + use kronos_compute::VkQueue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `VkCommandPoolCreateInfo` in this scope [INFO] [stdout] --> tests/icd_forwarding.rs:126:25 [INFO] [stdout] | [INFO] [stdout] 126 | let pool_info = VkCommandPoolCreateInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use kronos_compute::VkCommandPoolCreateInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VkStructureType` [INFO] [stdout] --> tests/icd_forwarding.rs:127:20 [INFO] [stdout] | [INFO] [stdout] 127 | sType: VkStructureType::CommandPoolCreateInfo, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `VkStructureType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use kronos_compute::VkStructureType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VkCommandPool` [INFO] [stdout] --> tests/icd_forwarding.rs:133:32 [INFO] [stdout] | [INFO] [stdout] 133 | let mut command_pool = VkCommandPool::NULL; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `VkCommandPool` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 3 + use kronos_compute::VkCommandPool; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `VkCommandBufferAllocateInfo` in this scope [INFO] [stdout] --> tests/icd_forwarding.rs:137:26 [INFO] [stdout] | [INFO] [stdout] 137 | let alloc_info = VkCommandBufferAllocateInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use kronos_compute::VkCommandBufferAllocateInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VkStructureType` [INFO] [stdout] --> tests/icd_forwarding.rs:138:20 [INFO] [stdout] | [INFO] [stdout] 138 | sType: VkStructureType::CommandBufferAllocateInfo, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `VkStructureType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use kronos_compute::VkStructureType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VkCommandBufferLevel` [INFO] [stdout] --> tests/icd_forwarding.rs:141:20 [INFO] [stdout] | [INFO] [stdout] 141 | level: VkCommandBufferLevel::Primary, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `VkCommandBufferLevel` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use kronos_compute::VkCommandBufferLevel; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VkCommandBuffer` [INFO] [stdout] --> tests/icd_forwarding.rs:145:30 [INFO] [stdout] | [INFO] [stdout] 145 | let mut cmd_buffer = VkCommandBuffer::NULL; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `VkCommandBuffer` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 3 + use kronos_compute::VkCommandBuffer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `VkCommandBufferBeginInfo` in this scope [INFO] [stdout] --> tests/icd_forwarding.rs:149:26 [INFO] [stdout] | [INFO] [stdout] 149 | let begin_info = VkCommandBufferBeginInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use kronos_compute::VkCommandBufferBeginInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VkStructureType` [INFO] [stdout] --> tests/icd_forwarding.rs:150:20 [INFO] [stdout] | [INFO] [stdout] 150 | sType: VkStructureType::CommandBufferBeginInfo, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `VkStructureType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use kronos_compute::VkStructureType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VkCommandBufferUsageFlags` [INFO] [stdout] --> tests/icd_forwarding.rs:152:20 [INFO] [stdout] | [INFO] [stdout] 152 | flags: VkCommandBufferUsageFlags::ONE_TIME_SUBMIT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `VkCommandBufferUsageFlags` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use kronos_compute::VkCommandBufferUsageFlags; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `VkSubmitInfo` in this scope [INFO] [stdout] --> tests/icd_forwarding.rs:161:27 [INFO] [stdout] | [INFO] [stdout] 161 | let submit_info = VkSubmitInfo { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use kronos_compute::VkSubmitInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VkStructureType` [INFO] [stdout] --> tests/icd_forwarding.rs:162:20 [INFO] [stdout] | [INFO] [stdout] 162 | sType: VkStructureType::SubmitInfo, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `VkStructureType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use kronos_compute::VkStructureType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VkFence` [INFO] [stdout] --> tests/icd_forwarding.rs:173:68 [INFO] [stdout] | [INFO] [stdout] 173 | let result = kronos::vkQueueSubmit(queue, 1, &submit_info, VkFence::NULL); [INFO] [stdout] | ^^^^^^^ use of undeclared type `VkFence` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 3 + use kronos_compute::VkFence; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VkResult` [INFO] [stdout] --> tests/icd_forwarding.rs:174:28 [INFO] [stdout] | [INFO] [stdout] 174 | assert_eq!(result, VkResult::Success, "Failed to submit"); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `VkResult` [INFO] [stdout] | [INFO] [stdout] help: an enum with a similar name exists [INFO] [stdout] | [INFO] [stdout] 174 - assert_eq!(result, VkResult::Success, "Failed to submit"); [INFO] [stdout] 174 + assert_eq!(result, Result::Success, "Failed to submit"); [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use kronos_compute::VkResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `VkApplicationInfo` in this scope [INFO] [stdout] --> tests/icd_forwarding.rs:193:24 [INFO] [stdout] | [INFO] [stdout] 193 | let app_info = VkApplicationInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use kronos_compute::VkApplicationInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VkStructureType` [INFO] [stdout] --> tests/icd_forwarding.rs:194:20 [INFO] [stdout] | [INFO] [stdout] 194 | sType: VkStructureType::ApplicationInfo, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `VkStructureType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use kronos_compute::VkStructureType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VK_MAKE_VERSION` in this scope [INFO] [stdout] --> tests/icd_forwarding.rs:197:33 [INFO] [stdout] | [INFO] [stdout] 197 | applicationVersion: VK_MAKE_VERSION(1, 0, 0), [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 3 + use kronos_compute::VK_MAKE_VERSION; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VK_MAKE_VERSION` in this scope [INFO] [stdout] --> tests/icd_forwarding.rs:199:28 [INFO] [stdout] | [INFO] [stdout] 199 | engineVersion: VK_MAKE_VERSION(1, 0, 0), [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 3 + use kronos_compute::VK_MAKE_VERSION; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_API_VERSION_1_0` in this scope [INFO] [stdout] --> tests/icd_forwarding.rs:200:25 [INFO] [stdout] | [INFO] [stdout] 200 | apiVersion: VK_API_VERSION_1_0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 3 + use kronos_compute::VK_API_VERSION_1_0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `VkInstanceCreateInfo` in this scope [INFO] [stdout] --> tests/icd_forwarding.rs:203:27 [INFO] [stdout] | [INFO] [stdout] 203 | let create_info = VkInstanceCreateInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use kronos_compute::VkInstanceCreateInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VkStructureType` [INFO] [stdout] --> tests/icd_forwarding.rs:204:20 [INFO] [stdout] | [INFO] [stdout] 204 | sType: VkStructureType::InstanceCreateInfo, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `VkStructureType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use kronos_compute::VkStructureType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VkInstance` [INFO] [stdout] --> tests/icd_forwarding.rs:214:28 [INFO] [stdout] | [INFO] [stdout] 214 | let mut instance = VkInstance::NULL; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `VkInstance` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 3 + use kronos_compute::VkInstance; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VkPhysicalDevice` [INFO] [stdout] --> tests/icd_forwarding.rs:221:36 [INFO] [stdout] | [INFO] [stdout] 221 | let mut devices = vec![VkPhysicalDevice::NULL; device_count as usize]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `VkPhysicalDevice` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 3 + use kronos_compute::VkPhysicalDevice; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VkPhysicalDeviceProperties` in this scope [INFO] [stdout] --> tests/icd_forwarding.rs:225:32 [INFO] [stdout] | [INFO] [stdout] 225 | let mut props: VkPhysicalDeviceProperties = std::mem::zeroed(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use kronos_compute::VkPhysicalDeviceProperties; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `kronos` [INFO] [stdout] --> tests/icd_forwarding.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | let result = kronos::initialize_kronos(); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `kronos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `kronos`, use `cargo add kronos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `kronos` [INFO] [stdout] --> tests/icd_forwarding.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | kronos::initialize_kronos().expect("Failed to initialize Kronos"); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `kronos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `kronos`, use `cargo add kronos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `kronos` [INFO] [stdout] --> tests/icd_forwarding.rs:53:22 [INFO] [stdout] | [INFO] [stdout] 53 | let result = kronos::vkCreateInstance(&create_info, ptr::null(), &mut instance); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `kronos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `kronos`, use `cargo add kronos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `kronos` [INFO] [stdout] --> tests/icd_forwarding.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | kronos::vkEnumeratePhysicalDevices(instance, &mut device_count, ptr::null_mut()); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `kronos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `kronos`, use `cargo add kronos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `VkApplicationInfo` in this scope [INFO] [stdout] --> examples/compute_optimized.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 35 | let app_info = VkApplicationInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 + use kronos_compute::VkApplicationInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `kronos` [INFO] [stdout] --> tests/icd_forwarding.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | kronos::vkEnumeratePhysicalDevices(instance, &mut device_count, devices.as_mut_ptr()); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `kronos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `kronos`, use `cargo add kronos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `kronos` [INFO] [stdout] --> tests/icd_forwarding.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | kronos::vkGetPhysicalDeviceProperties(physical_device, &mut props); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `kronos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `kronos`, use `cargo add kronos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `kronos` [INFO] [stdout] --> tests/icd_forwarding.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | kronos::vkGetPhysicalDeviceQueueFamilyProperties(physical_device, &mut queue_family_count, ptr::null_mut()); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `kronos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `kronos`, use `cargo add kronos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `kronos` [INFO] [stdout] --> tests/icd_forwarding.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | kronos::vkGetPhysicalDeviceQueueFamilyProperties(physical_device, &mut queue_family_count, queue_families.as_mut_ptr()); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `kronos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `kronos`, use `cargo add kronos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `kronos` [INFO] [stdout] --> tests/icd_forwarding.rs:117:22 [INFO] [stdout] | [INFO] [stdout] 117 | let result = kronos::vkCreateDevice(physical_device, &device_info, ptr::null(), &mut device); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `kronos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `kronos`, use `cargo add kronos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `kronos` [INFO] [stdout] --> tests/icd_forwarding.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | kronos::vkGetDeviceQueue(device, compute_queue_family, 0, &mut queue); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `kronos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `kronos`, use `cargo add kronos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `kronos` [INFO] [stdout] --> tests/icd_forwarding.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | kronos::vkCreateCommandPool(device, &pool_info, ptr::null(), &mut command_pool); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `kronos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `kronos`, use `cargo add kronos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `kronos` [INFO] [stdout] --> tests/icd_forwarding.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | kronos::vkAllocateCommandBuffers(device, &alloc_info, &mut cmd_buffer); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `kronos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `kronos`, use `cargo add kronos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `kronos` [INFO] [stdout] --> tests/icd_forwarding.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | kronos::vkBeginCommandBuffer(cmd_buffer, &begin_info); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `kronos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `kronos`, use `cargo add kronos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `kronos` [INFO] [stdout] --> tests/icd_forwarding.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | kronos::vkEndCommandBuffer(cmd_buffer); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `kronos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `kronos`, use `cargo add kronos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `kronos` [INFO] [stdout] --> tests/icd_forwarding.rs:173:22 [INFO] [stdout] | [INFO] [stdout] 173 | let result = kronos::vkQueueSubmit(queue, 1, &submit_info, VkFence::NULL); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `kronos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `kronos`, use `cargo add kronos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `kronos` [INFO] [stdout] --> tests/icd_forwarding.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | kronos::vkQueueWaitIdle(queue); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `kronos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `kronos`, use `cargo add kronos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `kronos` [INFO] [stdout] --> tests/icd_forwarding.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | kronos::vkDestroyCommandPool(device, command_pool, ptr::null()); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `kronos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `kronos`, use `cargo add kronos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `kronos` [INFO] [stdout] --> tests/icd_forwarding.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | kronos::vkDestroyDevice(device, ptr::null()); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `kronos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `kronos`, use `cargo add kronos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `kronos` [INFO] [stdout] --> tests/icd_forwarding.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | kronos::vkDestroyInstance(instance, ptr::null()); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `kronos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `kronos`, use `cargo add kronos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VkStructureType` [INFO] [stdout] --> examples/compute_optimized.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 36 | sType: VkStructureType::ApplicationInfo, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `VkStructureType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 9 + use kronos_compute::VkStructureType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VK_MAKE_VERSION` in this scope [INFO] [stdout] --> examples/compute_optimized.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 39 | applicationVersion: VK_MAKE_VERSION(1, 0, 0), [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 9 + use kronos_compute::VK_MAKE_VERSION; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VK_MAKE_VERSION` in this scope [INFO] [stdout] --> examples/compute_optimized.rs:41:28 [INFO] [stdout] | [INFO] [stdout] 41 | engineVersion: VK_MAKE_VERSION(1, 0, 0), [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 9 + use kronos_compute::VK_MAKE_VERSION; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_API_VERSION_1_3` in this scope [INFO] [stdout] --> examples/compute_optimized.rs:42:25 [INFO] [stdout] | [INFO] [stdout] 42 | apiVersion: VK_API_VERSION_1_3, // For timeline semaphores [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 9 + use kronos_compute::VK_API_VERSION_1_3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `VkInstanceCreateInfo` in this scope [INFO] [stdout] --> examples/compute_optimized.rs:45:27 [INFO] [stdout] | [INFO] [stdout] 45 | let create_info = VkInstanceCreateInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 + use kronos_compute::VkInstanceCreateInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VkStructureType` [INFO] [stdout] --> examples/compute_optimized.rs:46:20 [INFO] [stdout] | [INFO] [stdout] 46 | sType: VkStructureType::InstanceCreateInfo, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `VkStructureType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 9 + use kronos_compute::VkStructureType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VkInstanceCreateFlags` [INFO] [stdout] --> examples/compute_optimized.rs:48:20 [INFO] [stdout] | [INFO] [stdout] 48 | flags: VkInstanceCreateFlags::empty(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `VkInstanceCreateFlags` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 9 + use kronos_compute::VkInstanceCreateFlags; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VkInstance` [INFO] [stdout] --> examples/compute_optimized.rs:56:28 [INFO] [stdout] | [INFO] [stdout] 56 | let mut instance = VkInstance::NULL; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `VkInstance` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 9 + use kronos_compute::VkInstance; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VkResult` [INFO] [stdout] --> examples/compute_optimized.rs:58:22 [INFO] [stdout] | [INFO] [stdout] 58 | if result != VkResult::Success { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `VkResult` [INFO] [stdout] | [INFO] [stdout] help: an enum with a similar name exists [INFO] [stdout] | [INFO] [stdout] 58 - if result != VkResult::Success { [INFO] [stdout] 58 + if result != Result::Success { [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 9 + use kronos_compute::VkResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VkPhysicalDevice` [INFO] [stdout] --> examples/compute_optimized.rs:68:32 [INFO] [stdout] | [INFO] [stdout] 68 | let mut devices = vec![VkPhysicalDevice::NULL; device_count as usize]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `VkPhysicalDevice` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 9 + use kronos_compute::VkPhysicalDevice; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VkPhysicalDevice` [INFO] [stdout] --> examples/compute_optimized.rs:71:35 [INFO] [stdout] | [INFO] [stdout] 71 | let mut physical_device = VkPhysicalDevice::NULL; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `VkPhysicalDevice` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 9 + use kronos_compute::VkPhysicalDevice; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VkQueueFamilyProperties` [INFO] [stdout] --> examples/compute_optimized.rs:78:43 [INFO] [stdout] | [INFO] [stdout] 78 | let mut queue_families = vec![VkQueueFamilyProperties::default(); queue_family_count as usize]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `VkQueueFamilyProperties` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 + use kronos_compute::VkQueueFamilyProperties; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VkQueueFlags` [INFO] [stdout] --> examples/compute_optimized.rs:82:47 [INFO] [stdout] | [INFO] [stdout] 82 | if family.queueFlags.contains(VkQueueFlags::COMPUTE) { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `VkQueueFlags` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 + use kronos_compute::VkQueueFlags; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VkPhysicalDevice` [INFO] [stdout] --> examples/compute_optimized.rs:89:35 [INFO] [stdout] | [INFO] [stdout] 89 | if physical_device != VkPhysicalDevice::NULL { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `VkPhysicalDevice` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 9 + use kronos_compute::VkPhysicalDevice; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VkPhysicalDeviceProperties` [INFO] [stdout] --> examples/compute_optimized.rs:95:25 [INFO] [stdout] | [INFO] [stdout] 95 | let mut props = VkPhysicalDeviceProperties::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `VkPhysicalDeviceProperties` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 + use kronos_compute::VkPhysicalDeviceProperties; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `VkDeviceQueueCreateInfo` in this scope [INFO] [stdout] --> examples/compute_optimized.rs:107:26 [INFO] [stdout] | [INFO] [stdout] 107 | let queue_info = VkDeviceQueueCreateInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 + use kronos_compute::VkDeviceQueueCreateInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VkStructureType` [INFO] [stdout] --> examples/compute_optimized.rs:108:20 [INFO] [stdout] | [INFO] [stdout] 108 | sType: VkStructureType::DeviceQueueCreateInfo, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `VkStructureType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 9 + use kronos_compute::VkStructureType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VkDeviceQueueCreateFlags` [INFO] [stdout] --> examples/compute_optimized.rs:110:20 [INFO] [stdout] | [INFO] [stdout] 110 | flags: VkDeviceQueueCreateFlags::empty(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `VkDeviceQueueCreateFlags` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 9 + use kronos_compute::VkDeviceQueueCreateFlags; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `VkDeviceCreateInfo` in this scope [INFO] [stdout] --> examples/compute_optimized.rs:116:27 [INFO] [stdout] | [INFO] [stdout] 116 | let device_info = VkDeviceCreateInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 + use kronos_compute::VkDeviceCreateInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `kronos` [INFO] [stdout] --> tests/icd_forwarding.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | kronos::initialize_kronos().expect("Failed to initialize"); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `kronos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `kronos`, use `cargo add kronos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VkStructureType` [INFO] [stdout] --> examples/compute_optimized.rs:117:20 [INFO] [stdout] | [INFO] [stdout] 117 | sType: VkStructureType::DeviceCreateInfo, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `VkStructureType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 9 + use kronos_compute::VkStructureType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `kronos` [INFO] [stdout] --> tests/icd_forwarding.rs:215:9 [INFO] [stdout] | [INFO] [stdout] 215 | kronos::vkCreateInstance(&create_info, ptr::null(), &mut instance); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `kronos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `kronos`, use `cargo add kronos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VkDeviceCreateFlags` [INFO] [stdout] --> examples/compute_optimized.rs:119:20 [INFO] [stdout] | [INFO] [stdout] 119 | flags: VkDeviceCreateFlags::empty(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `VkDeviceCreateFlags` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 9 + use kronos_compute::VkDeviceCreateFlags; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `kronos` [INFO] [stdout] --> tests/icd_forwarding.rs:218:9 [INFO] [stdout] | [INFO] [stdout] 218 | kronos::vkEnumeratePhysicalDevices(instance, &mut device_count, ptr::null_mut()); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `kronos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `kronos`, use `cargo add kronos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `kronos` [INFO] [stdout] --> tests/icd_forwarding.rs:222:13 [INFO] [stdout] | [INFO] [stdout] 222 | kronos::vkEnumeratePhysicalDevices(instance, &mut device_count, devices.as_mut_ptr()); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `kronos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `kronos`, use `cargo add kronos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `kronos` [INFO] [stdout] --> tests/icd_forwarding.rs:226:17 [INFO] [stdout] | [INFO] [stdout] 226 | kronos::vkGetPhysicalDeviceProperties(device, &mut props); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `kronos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `kronos`, use `cargo add kronos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VkDevice` [INFO] [stdout] --> examples/compute_optimized.rs:129:26 [INFO] [stdout] | [INFO] [stdout] 129 | let mut device = VkDevice::NULL; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `VkDevice` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 9 + use kronos_compute::VkDevice; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VkQueue` [INFO] [stdout] --> examples/compute_optimized.rs:134:33 [INFO] [stdout] | [INFO] [stdout] 134 | let mut compute_queue = VkQueue::NULL; [INFO] [stdout] | ^^^^^^^ use of undeclared type `VkQueue` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 9 + use kronos_compute::VkQueue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `kronos` [INFO] [stdout] --> tests/icd_forwarding.rs:244:9 [INFO] [stdout] | [INFO] [stdout] 244 | kronos::vkDestroyInstance(instance, ptr::null()); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `kronos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `kronos`, use `cargo add kronos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VkDeviceSize` in this scope [INFO] [stdout] --> examples/compute_optimized.rs:146:72 [INFO] [stdout] | [INFO] [stdout] 146 | let buffer_size = (ARRAY_SIZE * std::mem::size_of::()) as VkDeviceSize; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 9 + use kronos_compute::VkDeviceSize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `VkBufferCreateInfo` in this scope [INFO] [stdout] --> examples/compute_optimized.rs:148:27 [INFO] [stdout] | [INFO] [stdout] 148 | let buffer_info = VkBufferCreateInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 + use kronos_compute::VkBufferCreateInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VkStructureType` [INFO] [stdout] --> examples/compute_optimized.rs:149:20 [INFO] [stdout] | [INFO] [stdout] 149 | sType: VkStructureType::BufferCreateInfo, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `VkStructureType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 9 + use kronos_compute::VkStructureType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VkBufferCreateFlags` [INFO] [stdout] --> examples/compute_optimized.rs:151:20 [INFO] [stdout] | [INFO] [stdout] 151 | flags: VkBufferCreateFlags::empty(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `VkBufferCreateFlags` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 + use kronos_compute::VkBufferCreateFlags; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VkBufferUsageFlags` [INFO] [stdout] --> examples/compute_optimized.rs:153:20 [INFO] [stdout] | [INFO] [stdout] 153 | usage: VkBufferUsageFlags::STORAGE_BUFFER | VkBufferUsageFlags::TRANSFER_DST, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `VkBufferUsageFlags` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 + use kronos_compute::VkBufferUsageFlags; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VkBufferUsageFlags` [INFO] [stdout] --> examples/compute_optimized.rs:153:57 [INFO] [stdout] | [INFO] [stdout] 153 | usage: VkBufferUsageFlags::STORAGE_BUFFER | VkBufferUsageFlags::TRANSFER_DST, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `VkBufferUsageFlags` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 + use kronos_compute::VkBufferUsageFlags; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VkSharingMode` [INFO] [stdout] --> examples/compute_optimized.rs:154:26 [INFO] [stdout] | [INFO] [stdout] 154 | sharingMode: VkSharingMode::Exclusive, [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `VkSharingMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 9 + use kronos_compute::VkSharingMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VkBuffer` [INFO] [stdout] --> examples/compute_optimized.rs:159:35 [INFO] [stdout] | [INFO] [stdout] 159 | let mut device_buffer_a = VkBuffer::NULL; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `VkBuffer` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 9 + use kronos_compute::VkBuffer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VkBuffer` [INFO] [stdout] --> examples/compute_optimized.rs:160:35 [INFO] [stdout] | [INFO] [stdout] 160 | let mut device_buffer_b = VkBuffer::NULL; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `VkBuffer` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 9 + use kronos_compute::VkBuffer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VkBuffer` [INFO] [stdout] --> examples/compute_optimized.rs:161:35 [INFO] [stdout] | [INFO] [stdout] 161 | let mut device_buffer_c = VkBuffer::NULL; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `VkBuffer` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 9 + use kronos_compute::VkBuffer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VkBuffer` [INFO] [stdout] --> examples/compute_optimized.rs:162:34 [INFO] [stdout] | [INFO] [stdout] 162 | let mut staging_buffer = VkBuffer::NULL; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `VkBuffer` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 9 + use kronos_compute::VkBuffer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `VkPushConstantRange` in this scope [INFO] [stdout] --> examples/compute_optimized.rs:196:35 [INFO] [stdout] | [INFO] [stdout] 196 | let push_constant_range = VkPushConstantRange { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 + use kronos_compute::VkPushConstantRange; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VkShaderStageFlags` [INFO] [stdout] --> examples/compute_optimized.rs:197:25 [INFO] [stdout] | [INFO] [stdout] 197 | stageFlags: VkShaderStageFlags::COMPUTE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `VkShaderStageFlags` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 + use kronos_compute::VkShaderStageFlags; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `VkPipelineLayoutCreateInfo` in this scope [INFO] [stdout] --> examples/compute_optimized.rs:202:34 [INFO] [stdout] | [INFO] [stdout] 202 | let layout_create_info = VkPipelineLayoutCreateInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 + use kronos_compute::VkPipelineLayoutCreateInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VkStructureType` [INFO] [stdout] --> examples/compute_optimized.rs:203:20 [INFO] [stdout] | [INFO] [stdout] 203 | sType: VkStructureType::PipelineLayoutCreateInfo, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `VkStructureType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 9 + use kronos_compute::VkStructureType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VkPipelineLayoutCreateFlags` [INFO] [stdout] --> examples/compute_optimized.rs:205:20 [INFO] [stdout] | [INFO] [stdout] 205 | flags: VkPipelineLayoutCreateFlags::empty(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `VkPipelineLayoutCreateFlags` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 9 + use kronos_compute::VkPipelineLayoutCreateFlags; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VkPipelineLayout` [INFO] [stdout] --> examples/compute_optimized.rs:212:35 [INFO] [stdout] | [INFO] [stdout] 212 | let mut pipeline_layout = VkPipelineLayout::NULL; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `VkPipelineLayout` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 9 + use kronos_compute::VkPipelineLayout; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `VkShaderModuleCreateInfo` in this scope [INFO] [stdout] --> examples/compute_optimized.rs:223:34 [INFO] [stdout] | [INFO] [stdout] 223 | let shader_create_info = VkShaderModuleCreateInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 + use kronos_compute::VkShaderModuleCreateInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VkStructureType` [INFO] [stdout] --> examples/compute_optimized.rs:224:20 [INFO] [stdout] | [INFO] [stdout] 224 | sType: VkStructureType::ShaderModuleCreateInfo, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `VkStructureType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 9 + use kronos_compute::VkStructureType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VkShaderModule` [INFO] [stdout] --> examples/compute_optimized.rs:231:33 [INFO] [stdout] | [INFO] [stdout] 231 | let mut shader_module = VkShaderModule::NULL; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `VkShaderModule` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 9 + use kronos_compute::VkShaderModule; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `VkPipelineShaderStageCreateInfo` in this scope [INFO] [stdout] --> examples/compute_optimized.rs:235:26 [INFO] [stdout] | [INFO] [stdout] 235 | let stage_info = VkPipelineShaderStageCreateInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 + use kronos_compute::VkPipelineShaderStageCreateInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VkStructureType` [INFO] [stdout] --> examples/compute_optimized.rs:236:20 [INFO] [stdout] | [INFO] [stdout] 236 | sType: VkStructureType::PipelineShaderStageCreateInfo, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `VkStructureType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 9 + use kronos_compute::VkStructureType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VkPipelineShaderStageCreateFlags` [INFO] [stdout] --> examples/compute_optimized.rs:238:20 [INFO] [stdout] | [INFO] [stdout] 238 | flags: VkPipelineShaderStageCreateFlags::empty(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `VkPipelineShaderStageCreateFlags` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 + use kronos_compute::VkPipelineShaderStageCreateFlags; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VkShaderStageFlagBits` [INFO] [stdout] --> examples/compute_optimized.rs:239:20 [INFO] [stdout] | [INFO] [stdout] 239 | stage: VkShaderStageFlagBits::Compute, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `VkShaderStageFlagBits` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 9 + use kronos_compute::VkShaderStageFlagBits; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `VkComputePipelineCreateInfo` in this scope [INFO] [stdout] --> examples/compute_optimized.rs:245:29 [INFO] [stdout] | [INFO] [stdout] 245 | let pipeline_info = VkComputePipelineCreateInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 + use kronos_compute::VkComputePipelineCreateInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VkStructureType` [INFO] [stdout] --> examples/compute_optimized.rs:246:20 [INFO] [stdout] | [INFO] [stdout] 246 | sType: VkStructureType::ComputePipelineCreateInfo, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `VkStructureType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 9 + use kronos_compute::VkStructureType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VkPipelineCreateFlags` [INFO] [stdout] --> examples/compute_optimized.rs:248:20 [INFO] [stdout] | [INFO] [stdout] 248 | flags: VkPipelineCreateFlags::empty(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `VkPipelineCreateFlags` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 + use kronos_compute::VkPipelineCreateFlags; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VkPipeline` [INFO] [stdout] --> examples/compute_optimized.rs:251:33 [INFO] [stdout] | [INFO] [stdout] 251 | basePipelineHandle: VkPipeline::NULL, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `VkPipeline` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 9 + use kronos_compute::VkPipeline; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VkPipeline` [INFO] [stdout] --> examples/compute_optimized.rs:255:36 [INFO] [stdout] | [INFO] [stdout] 255 | let mut compute_pipeline = VkPipeline::NULL; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `VkPipeline` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 9 + use kronos_compute::VkPipeline; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VkPipelineCache` [INFO] [stdout] --> examples/compute_optimized.rs:256:50 [INFO] [stdout] | [INFO] [stdout] 256 | kronos::vkCreateComputePipelines(device, VkPipelineCache::NULL, 1, &pipeline_info, ptr::null(), &mut compute_pipeline); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `VkPipelineCache` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 9 + use kronos_compute::VkPipelineCache; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `VkCommandPoolCreateInfo` in this scope [INFO] [stdout] --> examples/compute_optimized.rs:271:32 [INFO] [stdout] | [INFO] [stdout] 271 | let pool_create_info = VkCommandPoolCreateInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 + use kronos_compute::VkCommandPoolCreateInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kronos-compute` (test "icd_forwarding") due to 72 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VkStructureType` [INFO] [stdout] --> examples/compute_optimized.rs:272:20 [INFO] [stdout] | [INFO] [stdout] 272 | sType: VkStructureType::CommandPoolCreateInfo, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `VkStructureType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 9 + use kronos_compute::VkStructureType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VkCommandPoolCreateFlags` [INFO] [stdout] --> examples/compute_optimized.rs:274:20 [INFO] [stdout] | [INFO] [stdout] 274 | flags: VkCommandPoolCreateFlags::empty(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `VkCommandPoolCreateFlags` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 + use kronos_compute::VkCommandPoolCreateFlags; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VkCommandPool` [INFO] [stdout] --> examples/compute_optimized.rs:278:32 [INFO] [stdout] | [INFO] [stdout] 278 | let mut command_pool = VkCommandPool::NULL; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `VkCommandPool` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 9 + use kronos_compute::VkCommandPool; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `VkCommandBufferAllocateInfo` in this scope [INFO] [stdout] --> examples/compute_optimized.rs:290:34 [INFO] [stdout] | [INFO] [stdout] 290 | let cmd_alloc_info = VkCommandBufferAllocateInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 + use kronos_compute::VkCommandBufferAllocateInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VkStructureType` [INFO] [stdout] --> examples/compute_optimized.rs:291:24 [INFO] [stdout] | [INFO] [stdout] 291 | sType: VkStructureType::CommandBufferAllocateInfo, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `VkStructureType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 9 + use kronos_compute::VkStructureType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VkCommandBufferLevel` [INFO] [stdout] --> examples/compute_optimized.rs:294:24 [INFO] [stdout] | [INFO] [stdout] 294 | level: VkCommandBufferLevel::Primary, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `VkCommandBufferLevel` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 9 + use kronos_compute::VkCommandBufferLevel; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VkCommandBuffer` [INFO] [stdout] --> examples/compute_optimized.rs:298:34 [INFO] [stdout] | [INFO] [stdout] 298 | let mut cmd_buffer = VkCommandBuffer::NULL; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `VkCommandBuffer` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 9 + use kronos_compute::VkCommandBuffer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `VkCommandBufferBeginInfo` in this scope [INFO] [stdout] --> examples/compute_optimized.rs:302:30 [INFO] [stdout] | [INFO] [stdout] 302 | let begin_info = VkCommandBufferBeginInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 + use kronos_compute::VkCommandBufferBeginInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VkStructureType` [INFO] [stdout] --> examples/compute_optimized.rs:303:24 [INFO] [stdout] | [INFO] [stdout] 303 | sType: VkStructureType::CommandBufferBeginInfo, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `VkStructureType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 9 + use kronos_compute::VkStructureType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VkCommandBufferUsageFlags` [INFO] [stdout] --> examples/compute_optimized.rs:305:24 [INFO] [stdout] | [INFO] [stdout] 305 | flags: VkCommandBufferUsageFlags::ONE_TIME_SUBMIT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `VkCommandBufferUsageFlags` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 + use kronos_compute::VkCommandBufferUsageFlags; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VkPipelineBindPoint` [INFO] [stdout] --> examples/compute_optimized.rs:312:51 [INFO] [stdout] | [INFO] [stdout] 312 | kronos::vkCmdBindPipeline(cmd_buffer, VkPipelineBindPoint::Compute, compute_pipeline); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `VkPipelineBindPoint` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 9 + use kronos_compute::VkPipelineBindPoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VkPipelineBindPoint` [INFO] [stdout] --> examples/compute_optimized.rs:315:17 [INFO] [stdout] | [INFO] [stdout] 315 | VkPipelineBindPoint::Compute, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `VkPipelineBindPoint` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 9 + use kronos_compute::VkPipelineBindPoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VkShaderStageFlags` [INFO] [stdout] --> examples/compute_optimized.rs:340:17 [INFO] [stdout] | [INFO] [stdout] 340 | VkShaderStageFlags::COMPUTE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `VkShaderStageFlags` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 + use kronos_compute::VkShaderStageFlags; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `VkBufferMemoryBarrier` in this scope [INFO] [stdout] --> examples/compute_optimized.rs:349:31 [INFO] [stdout] | [INFO] [stdout] 349 | let barrier = VkBufferMemoryBarrier { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 + use kronos_compute::VkBufferMemoryBarrier; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VkStructureType` [INFO] [stdout] --> examples/compute_optimized.rs:350:28 [INFO] [stdout] | [INFO] [stdout] 350 | sType: VkStructureType::BufferMemoryBarrier, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `VkStructureType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 9 + use kronos_compute::VkStructureType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VkAccessFlags` [INFO] [stdout] --> examples/compute_optimized.rs:352:36 [INFO] [stdout] | [INFO] [stdout] 352 | srcAccessMask: VkAccessFlags::TRANSFER_WRITE, [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `VkAccessFlags` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 + use kronos_compute::VkAccessFlags; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VkAccessFlags` [INFO] [stdout] --> examples/compute_optimized.rs:353:36 [INFO] [stdout] | [INFO] [stdout] 353 | dstAccessMask: VkAccessFlags::SHADER_READ, [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `VkAccessFlags` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 + use kronos_compute::VkAccessFlags; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_QUEUE_FAMILY_IGNORED` in this scope [INFO] [stdout] --> examples/compute_optimized.rs:354:42 [INFO] [stdout] | [INFO] [stdout] 354 | srcQueueFamilyIndex: VK_QUEUE_FAMILY_IGNORED, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 9 + use kronos_compute::VK_QUEUE_FAMILY_IGNORED; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_QUEUE_FAMILY_IGNORED` in this scope [INFO] [stdout] --> examples/compute_optimized.rs:355:42 [INFO] [stdout] | [INFO] [stdout] 355 | dstQueueFamilyIndex: VK_QUEUE_FAMILY_IGNORED, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 9 + use kronos_compute::VK_QUEUE_FAMILY_IGNORED; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VkDeviceSize` [INFO] [stdout] --> examples/compute_optimized.rs:358:27 [INFO] [stdout] | [INFO] [stdout] 358 | size: VkDeviceSize::MAX, [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `VkDeviceSize` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 9 + use kronos_compute::VkDeviceSize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VkPipelineStageFlags` [INFO] [stdout] --> examples/compute_optimized.rs:363:21 [INFO] [stdout] | [INFO] [stdout] 363 | VkPipelineStageFlags::TRANSFER, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `VkPipelineStageFlags` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 + use kronos_compute::VkPipelineStageFlags; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VkPipelineStageFlags` [INFO] [stdout] --> examples/compute_optimized.rs:364:21 [INFO] [stdout] | [INFO] [stdout] 364 | VkPipelineStageFlags::COMPUTE_SHADER, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `VkPipelineStageFlags` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 + use kronos_compute::VkPipelineStageFlags; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VkDependencyFlags` [INFO] [stdout] --> examples/compute_optimized.rs:365:21 [INFO] [stdout] | [INFO] [stdout] 365 | VkDependencyFlags::empty(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `VkDependencyFlags` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 + use kronos_compute::VkDependencyFlags; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `kronos` [INFO] [stdout] --> examples/compute_optimized.rs:25:25 [INFO] [stdout] | [INFO] [stdout] 25 | if let Err(e) = kronos::initialize_kronos() { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `kronos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `kronos`, use `cargo add kronos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `kronos` [INFO] [stdout] --> examples/compute_optimized.rs:57:22 [INFO] [stdout] | [INFO] [stdout] 57 | let result = kronos::vkCreateInstance(&create_info, ptr::null(), &mut instance); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `kronos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `kronos`, use `cargo add kronos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `kronos` [INFO] [stdout] --> examples/compute_optimized.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | kronos::vkEnumeratePhysicalDevices(instance, &mut device_count, ptr::null_mut()); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `kronos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `kronos`, use `cargo add kronos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `kronos` [INFO] [stdout] --> examples/compute_optimized.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | kronos::vkEnumeratePhysicalDevices(instance, &mut device_count, devices.as_mut_ptr()); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `kronos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `kronos`, use `cargo add kronos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `kronos` [INFO] [stdout] --> examples/compute_optimized.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | kronos::vkGetPhysicalDeviceQueueFamilyProperties(*device, &mut queue_family_count, ptr::null_mut()); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `kronos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `kronos`, use `cargo add kronos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `kronos` [INFO] [stdout] --> examples/compute_optimized.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | kronos::vkGetPhysicalDeviceQueueFamilyProperties(*device, &mut queue_family_count, queue_families.as_mut_ptr()); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `kronos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `kronos`, use `cargo add kronos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `kronos` [INFO] [stdout] --> examples/compute_optimized.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | kronos::vkGetPhysicalDeviceProperties(physical_device, &mut props); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `kronos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `kronos`, use `cargo add kronos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `kronos` [INFO] [stdout] --> examples/compute_optimized.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | kronos::vkCreateDevice(physical_device, &device_info, ptr::null(), &mut device); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `kronos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `kronos`, use `cargo add kronos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `kronos` [INFO] [stdout] --> examples/compute_optimized.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | kronos::vkGetDeviceQueue(device, compute_queue_family, 0, &mut compute_queue); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `kronos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `kronos`, use `cargo add kronos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `kronos` [INFO] [stdout] --> examples/compute_optimized.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | kronos::vkCreateBuffer(device, &buffer_info, ptr::null(), &mut device_buffer_a); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `kronos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `kronos`, use `cargo add kronos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `kronos` [INFO] [stdout] --> examples/compute_optimized.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | kronos::vkCreateBuffer(device, &buffer_info, ptr::null(), &mut device_buffer_b); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `kronos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `kronos`, use `cargo add kronos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `kronos` [INFO] [stdout] --> examples/compute_optimized.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | kronos::vkCreateBuffer(device, &buffer_info, ptr::null(), &mut device_buffer_c); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `kronos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `kronos`, use `cargo add kronos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `kronos` [INFO] [stdout] --> examples/compute_optimized.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | kronos::vkCreateBuffer(device, &buffer_info, ptr::null(), &mut staging_buffer); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `kronos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `kronos`, use `cargo add kronos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `kronos` [INFO] [stdout] --> examples/compute_optimized.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | kronos::vkCreatePipelineLayout(device, &layout_create_info, ptr::null(), &mut pipeline_layout); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `kronos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `kronos`, use `cargo add kronos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `kronos` [INFO] [stdout] --> examples/compute_optimized.rs:232:9 [INFO] [stdout] | [INFO] [stdout] 232 | kronos::vkCreateShaderModule(device, &shader_create_info, ptr::null(), &mut shader_module); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `kronos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `kronos`, use `cargo add kronos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `kronos` [INFO] [stdout] --> examples/compute_optimized.rs:256:9 [INFO] [stdout] | [INFO] [stdout] 256 | kronos::vkCreateComputePipelines(device, VkPipelineCache::NULL, 1, &pipeline_info, ptr::null(), &mut compute_pipeline); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `kronos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `kronos`, use `cargo add kronos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `kronos` [INFO] [stdout] --> examples/compute_optimized.rs:279:9 [INFO] [stdout] | [INFO] [stdout] 279 | kronos::vkCreateCommandPool(device, &pool_create_info, ptr::null(), &mut command_pool); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `kronos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `kronos`, use `cargo add kronos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `kronos` [INFO] [stdout] --> examples/compute_optimized.rs:299:13 [INFO] [stdout] | [INFO] [stdout] 299 | kronos::vkAllocateCommandBuffers(device, &cmd_alloc_info, &mut cmd_buffer); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `kronos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `kronos`, use `cargo add kronos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `kronos` [INFO] [stdout] --> examples/compute_optimized.rs:309:13 [INFO] [stdout] | [INFO] [stdout] 309 | kronos::vkBeginCommandBuffer(cmd_buffer, &begin_info); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `kronos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `kronos`, use `cargo add kronos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `kronos` [INFO] [stdout] --> examples/compute_optimized.rs:312:13 [INFO] [stdout] | [INFO] [stdout] 312 | kronos::vkCmdBindPipeline(cmd_buffer, VkPipelineBindPoint::Compute, compute_pipeline); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `kronos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `kronos`, use `cargo add kronos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `kronos` [INFO] [stdout] --> examples/compute_optimized.rs:313:13 [INFO] [stdout] | [INFO] [stdout] 313 | kronos::vkCmdBindDescriptorSets( [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `kronos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `kronos`, use `cargo add kronos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `kronos` [INFO] [stdout] --> examples/compute_optimized.rs:337:13 [INFO] [stdout] | [INFO] [stdout] 337 | kronos::vkCmdPushConstants( [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `kronos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `kronos`, use `cargo add kronos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `kronos` [INFO] [stdout] --> examples/compute_optimized.rs:361:17 [INFO] [stdout] | [INFO] [stdout] 361 | kronos::vkCmdPipelineBarrier( [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `kronos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `kronos`, use `cargo add kronos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `kronos` [INFO] [stdout] --> examples/compute_optimized.rs:374:13 [INFO] [stdout] | [INFO] [stdout] 374 | kronos::vkCmdDispatch(cmd_buffer, (ARRAY_SIZE as u32 + 255) / 256, 1, 1); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `kronos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `kronos`, use `cargo add kronos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `kronos` [INFO] [stdout] --> examples/compute_optimized.rs:376:13 [INFO] [stdout] | [INFO] [stdout] 376 | kronos::vkEndCommandBuffer(cmd_buffer); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `kronos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `kronos`, use `cargo add kronos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `kronos` [INFO] [stdout] --> examples/compute_optimized.rs:395:9 [INFO] [stdout] | [INFO] [stdout] 395 | kronos::vkQueueWaitIdle(compute_queue); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `kronos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `kronos`, use `cargo add kronos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `kronos` [INFO] [stdout] --> examples/compute_optimized.rs:407:9 [INFO] [stdout] | [INFO] [stdout] 407 | kronos::vkDestroyCommandPool(device, command_pool, ptr::null()); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `kronos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `kronos`, use `cargo add kronos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `kronos` [INFO] [stdout] --> examples/compute_optimized.rs:408:9 [INFO] [stdout] | [INFO] [stdout] 408 | kronos::vkDestroyPipeline(device, compute_pipeline, ptr::null()); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `kronos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `kronos`, use `cargo add kronos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `kronos` [INFO] [stdout] --> examples/compute_optimized.rs:409:9 [INFO] [stdout] | [INFO] [stdout] 409 | kronos::vkDestroyPipelineLayout(device, pipeline_layout, ptr::null()); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `kronos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `kronos`, use `cargo add kronos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `kronos` [INFO] [stdout] --> examples/compute_optimized.rs:410:9 [INFO] [stdout] | [INFO] [stdout] 410 | kronos::vkDestroyShaderModule(device, shader_module, ptr::null()); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `kronos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `kronos`, use `cargo add kronos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `kronos` [INFO] [stdout] --> examples/compute_optimized.rs:413:9 [INFO] [stdout] | [INFO] [stdout] 413 | kronos::vkDestroyBuffer(device, device_buffer_a, ptr::null()); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `kronos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `kronos`, use `cargo add kronos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `kronos` [INFO] [stdout] --> examples/compute_optimized.rs:414:9 [INFO] [stdout] | [INFO] [stdout] 414 | kronos::vkDestroyBuffer(device, device_buffer_b, ptr::null()); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `kronos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `kronos`, use `cargo add kronos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `kronos` [INFO] [stdout] --> examples/compute_optimized.rs:415:9 [INFO] [stdout] | [INFO] [stdout] 415 | kronos::vkDestroyBuffer(device, device_buffer_c, ptr::null()); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `kronos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `kronos`, use `cargo add kronos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `kronos` [INFO] [stdout] --> examples/compute_optimized.rs:416:9 [INFO] [stdout] | [INFO] [stdout] 416 | kronos::vkDestroyBuffer(device, staging_buffer, ptr::null()); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `kronos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `kronos`, use `cargo add kronos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `kronos` [INFO] [stdout] --> examples/compute_optimized.rs:418:9 [INFO] [stdout] | [INFO] [stdout] 418 | kronos::vkDestroyDevice(device, ptr::null()); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `kronos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `kronos`, use `cargo add kronos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `kronos` [INFO] [stdout] --> examples/compute_optimized.rs:419:9 [INFO] [stdout] | [INFO] [stdout] 419 | kronos::vkDestroyInstance(instance, ptr::null()); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `kronos` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `kronos`, use `cargo add kronos` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kronos-compute` (example "compute_optimized") due to 119 previous errors [INFO] running `Command { std: "docker" "inspect" "621ac37e6b5414afcba6886f507bd31c58dc2201025822cde8bff49ec869302f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "621ac37e6b5414afcba6886f507bd31c58dc2201025822cde8bff49ec869302f", kill_on_drop: false }` [INFO] [stdout] 621ac37e6b5414afcba6886f507bd31c58dc2201025822cde8bff49ec869302f