[INFO] fetching crate vulkanite 0.0.11... [INFO] testing vulkanite-0.0.11 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate vulkanite 0.0.11 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate vulkanite 0.0.11 [INFO] finished tweaking crates.io crate vulkanite 0.0.11 [INFO] tweaked toml for crates.io crate vulkanite 0.0.11 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate vulkanite 0.0.11 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate vulkanite 0.0.11 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0e8ff6d32f17a06d7fd06da0f027e4c88cd9846c07f0026c210e780c448010df [INFO] running `Command { std: "docker" "start" "-a" "0e8ff6d32f17a06d7fd06da0f027e4c88cd9846c07f0026c210e780c448010df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0e8ff6d32f17a06d7fd06da0f027e4c88cd9846c07f0026c210e780c448010df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e8ff6d32f17a06d7fd06da0f027e4c88cd9846c07f0026c210e780c448010df", kill_on_drop: false }` [INFO] [stdout] 0e8ff6d32f17a06d7fd06da0f027e4c88cd9846c07f0026c210e780c448010df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9aefaa0492e4c951f485c1de9fc95b04f489ebeae9e6c2c73306245d0b84ffbe [INFO] running `Command { std: "docker" "start" "-a" "9aefaa0492e4c951f485c1de9fc95b04f489ebeae9e6c2c73306245d0b84ffbe", kill_on_drop: false }` [INFO] [stderr] Compiling vulkanite v0.0.11 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.61s [INFO] running `Command { std: "docker" "inspect" "9aefaa0492e4c951f485c1de9fc95b04f489ebeae9e6c2c73306245d0b84ffbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9aefaa0492e4c951f485c1de9fc95b04f489ebeae9e6c2c73306245d0b84ffbe", kill_on_drop: false }` [INFO] [stdout] 9aefaa0492e4c951f485c1de9fc95b04f489ebeae9e6c2c73306245d0b84ffbe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 79cac142d459768991e58b5f100d626a6f7af92f13bcef4a408cd91f22344d4e [INFO] running `Command { std: "docker" "start" "-a" "79cac142d459768991e58b5f100d626a6f7af92f13bcef4a408cd91f22344d4e", kill_on_drop: false }` [INFO] [stderr] Compiling vulkanite v0.0.11 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.35s [INFO] running `Command { std: "docker" "inspect" "79cac142d459768991e58b5f100d626a6f7af92f13bcef4a408cd91f22344d4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79cac142d459768991e58b5f100d626a6f7af92f13bcef4a408cd91f22344d4e", kill_on_drop: false }` [INFO] [stdout] 79cac142d459768991e58b5f100d626a6f7af92f13bcef4a408cd91f22344d4e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 35735c58aa23df502eec3a2bffbeeccc2d7d5cdb25a07972cb0663ccd5e07d82 [INFO] running `Command { std: "docker" "start" "-a" "35735c58aa23df502eec3a2bffbeeccc2d7d5cdb25a07972cb0663ccd5e07d82", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/vulkanite-9ecf783df7bb3065) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests vulkanite [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test src/lib.rs - (line 36) ... FAILED [INFO] [stdout] test src/lib.rs - (line 110) ... FAILED [INFO] [stdout] test src/lib.rs - () (line 1293) ... FAILED [INFO] [stdout] test src/lib.rs - flagbits (line 355) ... FAILED [INFO] [stdout] test src/lib.rs - (line 49) ... FAILED [INFO] [stdout] test src/lib.rs - (line 72) ... FAILED [INFO] [stdout] test src/lib.rs - (line 53) ... FAILED [INFO] [stdout] test src/lib.rs - (line 92) ... FAILED [INFO] [stdout] test src/lib.rs - (line 105) ... FAILED [INFO] [stdout] test src/lib.rs - (line 117) ... FAILED [INFO] [stdout] test src/lib.rs - (line 126) ... FAILED [INFO] [stdout] test src/lib.rs - (line 24) ... FAILED [INFO] [stdout] test src/lib.rs - (line 96) ... FAILED [INFO] [stdout] test src/lib.rs - include_spirv (line 1080) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 36) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `cmd_buffer` in this scope [INFO] [stdout] --> src/lib.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | cmd_buffer.begin( [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `vk` [INFO] [stdout] --> src/lib.rs:38:6 [INFO] [stdout] | [INFO] [stdout] 38 | &vk::CommandBufferBeginInfo::default() [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `vk` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/vk.rs, use `mod vk` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 36 + mod vk; [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 36 + use vulkanite::vk::CommandBufferBeginInfo; [INFO] [stdout] | [INFO] [stdout] help: if you import `CommandBufferBeginInfo`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 38 - &vk::CommandBufferBeginInfo::default() [INFO] [stdout] 38 + &CommandBufferBeginInfo::default() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `vk` [INFO] [stdout] --> src/lib.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | .flags(vk::CommandBufferUsageFlags::OneTimeSubmit) [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `vk` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/vk.rs, use `mod vk` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 36 + mod vk; [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 36 + use vulkanite::vk::CommandBufferUsageFlags; [INFO] [stdout] | [INFO] [stdout] help: if you import `CommandBufferUsageFlags`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 39 - .flags(vk::CommandBufferUsageFlags::OneTimeSubmit) [INFO] [stdout] 39 + .flags(CommandBufferUsageFlags::OneTimeSubmit) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `queue` in this scope [INFO] [stdout] --> src/lib.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | queue.present_khr(&present_info)?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `present_info` in this scope [INFO] [stdout] --> src/lib.rs:42:20 [INFO] [stdout] | [INFO] [stdout] 42 | queue.present_khr(&present_info)?; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 110) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `physical_device` in this scope [INFO] [stdout] --> src/lib.rs:111:47 [INFO] [stdout] | [INFO] [stdout] 111 | let vk_props: vk::PhysicalDeviceProperties2 = physical_device.get_properties2(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `physical_device` in this scope [INFO] [stdout] --> src/lib.rs:112:19 [INFO] [stdout] | [INFO] [stdout] 112 | let (vk_props,) = physical_device.get_properties2(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `vk` [INFO] [stdout] --> src/lib.rs:111:15 [INFO] [stdout] | [INFO] [stdout] 111 | let vk_props: vk::PhysicalDeviceProperties2 = physical_device.get_properties2(); [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `vk` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/vk.rs, use `mod vk` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 110 + mod vk; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - () (line 1293) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `vk` [INFO] [stdout] --> src/lib.rs:1294:15 [INFO] [stdout] | [INFO] [stdout] 1294 | let subpass = vk::SubpassDescription::default() [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `vk` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/vk.rs, use `mod vk` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 1293 + mod vk; [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1293 + use vulkanite::vk::SubpassDescription; [INFO] [stdout] | [INFO] [stdout] help: if you import `SubpassDescription`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1294 - let subpass = vk::SubpassDescription::default() [INFO] [stdout] 1294 + let subpass = SubpassDescription::default() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `vk` [INFO] [stdout] --> src/lib.rs:1295:26 [INFO] [stdout] | [INFO] [stdout] 1295 | .pipeline_bind_point(vk::PipelineBindPoint::Graphics) [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `vk` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/vk.rs, use `mod vk` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 1293 + mod vk; [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1293 + use vulkanite::vk::PipelineBindPoint; [INFO] [stdout] | [INFO] [stdout] help: if you import `PipelineBindPoint`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1295 - .pipeline_bind_point(vk::PipelineBindPoint::Graphics) [INFO] [stdout] 1295 + .pipeline_bind_point(PipelineBindPoint::Graphics) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `color_ref` in this scope [INFO] [stdout] --> src/lib.rs:1296:24 [INFO] [stdout] | [INFO] [stdout] 1296 | .color_attachment(&color_ref, None::<()>); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - flagbits (line 355) stdout ---- [INFO] [stdout] error: cannot find macro `flagbits` in this scope [INFO] [stdout] --> src/lib.rs:358:9 [INFO] [stdout] | [INFO] [stdout] 358 | flagbits!(vk::DebugUtilsMessageSeverityFlagsEXT::{Info | Warning | Error}), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 355 + use vulkanite::flagbits; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `vk` [INFO] [stdout] --> src/lib.rs:356:18 [INFO] [stdout] | [INFO] [stdout] 356 | let debug_info = vk::DebugUtilsMessengerCreateInfoEXT::default() [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `vk` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `vulkanite::vk::StructureType::DebugUtilsMessengerCreateInfoEXT`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 356 - let debug_info = vk::DebugUtilsMessengerCreateInfoEXT::default() [INFO] [stdout] 356 + let debug_info = vulkanite::vk::StructureType::default() [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/vk.rs, use `mod vk` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 355 + mod vk; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 49) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `instance` in this scope [INFO] [stdout] --> src/lib.rs:50:14 [INFO] [stdout] | [INFO] [stdout] 50 | let device = instance.create_device(&device_info)?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `device_info` in this scope [INFO] [stdout] --> src/lib.rs:50:38 [INFO] [stdout] | [INFO] [stdout] 50 | let device = instance.create_device(&device_info)?; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 72) stdout ---- [INFO] [stdout] error: expected one of `!` or `::`, found `.` [INFO] [stdout] --> src/lib.rs:77:11 [INFO] [stdout] | [INFO] [stdout] 77 | cmd_buffer.set_viewport(0, &[vk::Viewport{..}, vk::Viewport{..}]) [INFO] [stdout] | ^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 53) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/lib.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | ... [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 61 - ... [INFO] [stdout] 61 + .. [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 61 - ... [INFO] [stdout] 61 + ..= [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/lib.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | ... [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 61 - ... [INFO] [stdout] 61 + .. [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/lib.rs:54:27 [INFO] [stdout] | [INFO] [stdout] 53 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_53_0() { [INFO] [stdout] | ----------------------------- this function can't have a `self` parameter [INFO] [stdout] 54 | let (status, image_idx) = self.device.acquire_next_image_khr( [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/lib.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 53 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_53_0() { [INFO] [stdout] | ----------------------------- this function can't have a `self` parameter [INFO] [stdout] 54 | let (status, image_idx) = self.device.acquire_next_image_khr( [INFO] [stdout] 55 | &self.swapchain_objects.swapchain, [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `semaphore` in this scope [INFO] [stdout] --> src/lib.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | Some(semaphore), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `vk` [INFO] [stdout] --> src/lib.rs:60:14 [INFO] [stdout] | [INFO] [stdout] 60 | if status == vk::Status::SuboptimalKHR { [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `vk` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/vk.rs, use `mod vk` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 53 + mod vk; [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 53 + use vulkanite::vk::Status; [INFO] [stdout] | [INFO] [stdout] help: if you import `Status`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 60 - if status == vk::Status::SuboptimalKHR { [INFO] [stdout] 60 + if status == Status::SuboptimalKHR { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0424, E0425, E0433, E0586. [INFO] [stdout] For more information about an error, try `rustc --explain E0424`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 92) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `physical_device` in this scope [INFO] [stdout] --> src/lib.rs:93:32 [INFO] [stdout] | [INFO] [stdout] 93 | let surface_formats : Vec<_> = physical_device.get_surface_formats_khr(Some(surface))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `surface` in this scope [INFO] [stdout] --> src/lib.rs:93:77 [INFO] [stdout] | [INFO] [stdout] 93 | let surface_formats : Vec<_> = physical_device.get_surface_formats_khr(Some(surface))?; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 105) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `physical_device` in this scope [INFO] [stdout] --> src/lib.rs:106:74 [INFO] [stdout] | [INFO] [stdout] 106 | let (vk_props, vk11_props) : (_, vk::PhysicalDeviceVulkan11Properties) = physical_device.get_properties2(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `vk` [INFO] [stdout] --> src/lib.rs:106:34 [INFO] [stdout] | [INFO] [stdout] 106 | let (vk_props, vk11_props) : (_, vk::PhysicalDeviceVulkan11Properties) = physical_device.get_properties2(); [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `vk` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/vk.rs, use `mod vk` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 105 + mod vk; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 117) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `physical_device` in this scope [INFO] [stdout] --> src/lib.rs:118:56 [INFO] [stdout] | [INFO] [stdout] 118 | let (_, _) : (_, vk::PhysicalDeviceVulkan11Features) = physical_device.get_properties2(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `vk` [INFO] [stdout] --> src/lib.rs:118:18 [INFO] [stdout] | [INFO] [stdout] 118 | let (_, _) : (_, vk::PhysicalDeviceVulkan11Features) = physical_device.get_properties2(); [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `vk` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/vk.rs, use `mod vk` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 117 + mod vk; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 126) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `vk_headers` [INFO] [stdout] --> src/lib.rs:127:23 [INFO] [stdout] | [INFO] [stdout] 127 | let mut device_info = vk_headers::structure_chain!( [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `vk_headers` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `does_not_support_extension` in this scope [INFO] [stdout] --> src/lib.rs:135:4 [INFO] [stdout] | [INFO] [stdout] 135 | if does_not_support_extension { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `does_not_support_feature` in this scope [INFO] [stdout] --> src/lib.rs:139:4 [INFO] [stdout] | [INFO] [stdout] 139 | if does_not_support_feature { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `physical_device` in this scope [INFO] [stdout] --> src/lib.rs:143:14 [INFO] [stdout] | [INFO] [stdout] 143 | let device = physical_device.create_device(device_info.as_ref())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `vk` [INFO] [stdout] --> src/lib.rs:136:26 [INFO] [stdout] | [INFO] [stdout] 136 | device_info.unlink::() [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `vk` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/vk.rs, use `mod vk` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 126 + mod vk; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `vk` [INFO] [stdout] --> src/lib.rs:140:27 [INFO] [stdout] | [INFO] [stdout] 140 | device_info.get_mut::().shader_object(false); [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `vk` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/vk.rs, use `mod vk` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 126 + mod vk; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 24) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/lib.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | ... [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 31 - ... [INFO] [stdout] 31 + .. [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 31 - ... [INFO] [stdout] 31 + ..= [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `device` in this scope [INFO] [stdout] --> src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | device.begin_command_buffer( [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `cmd_buffer` in this scope [INFO] [stdout] --> src/lib.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | cmd_buffer, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `vk` [INFO] [stdout] --> src/lib.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | &vk::CommandBufferBeginInfo::default() [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `vk` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/vk.rs, use `mod vk` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 24 + mod vk; [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 24 + use vulkanite::vk::CommandBufferBeginInfo; [INFO] [stdout] | [INFO] [stdout] help: if you import `CommandBufferBeginInfo`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 28 - &vk::CommandBufferBeginInfo::default() [INFO] [stdout] 28 + &CommandBufferBeginInfo::default() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `vk` [INFO] [stdout] --> src/lib.rs:29:20 [INFO] [stdout] | [INFO] [stdout] 29 | .flags(vk::CommandBufferUsageFlags::ONE_TIME_SUBMIT) [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `vk` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/vk.rs, use `mod vk` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 24 + mod vk; [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 24 + use vulkanite::vk::CommandBufferUsageFlags; [INFO] [stdout] | [INFO] [stdout] help: if you import `CommandBufferUsageFlags`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 29 - .flags(vk::CommandBufferUsageFlags::ONE_TIME_SUBMIT) [INFO] [stdout] 29 + .flags(CommandBufferUsageFlags::ONE_TIME_SUBMIT) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `swapchain_khr` in this scope [INFO] [stdout] --> src/lib.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | swapchain_khr.queue_present_khr(queue, &present_info)?; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `queue` in this scope [INFO] [stdout] --> src/lib.rs:32:37 [INFO] [stdout] | [INFO] [stdout] 32 | swapchain_khr.queue_present_khr(queue, &present_info)?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `present_info` in this scope [INFO] [stdout] --> src/lib.rs:32:45 [INFO] [stdout] | [INFO] [stdout] 32 | swapchain_khr.queue_present_khr(queue, &present_info)?; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 96) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `SmallVec` in this scope [INFO] [stdout] --> src/lib.rs:98:23 [INFO] [stdout] | [INFO] [stdout] 98 | let physical_devices: SmallVec<[_; 3]> = instance.enumerate_physical_devices()?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `instance` in this scope [INFO] [stdout] --> src/lib.rs:98:42 [INFO] [stdout] | [INFO] [stdout] 98 | let physical_devices: SmallVec<[_; 3]> = instance.enumerate_physical_devices()?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - include_spirv (line 1080) stdout ---- [INFO] [stdout] error: cannot find macro `include_spirv` in this scope [INFO] [stdout] --> src/lib.rs:1081:21 [INFO] [stdout] | [INFO] [stdout] 1081 | let vertex_shader = include_spirv!("vert.spirv"); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/macros/mod.rs:1320:4 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `include_str` defined here [INFO] [stdout] help: a macro with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1081 - let vertex_shader = include_spirv!("vert.spirv"); [INFO] [stdout] 1081 + let vertex_shader = include_str!("vert.spirv"); [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1080 + use vulkanite::include_spirv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `device` in this scope [INFO] [stdout] --> src/lib.rs:1082:21 [INFO] [stdout] | [INFO] [stdout] 1082 | let vertex_module = device.create_shader_module( [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `vk` [INFO] [stdout] --> src/lib.rs:1083:6 [INFO] [stdout] | [INFO] [stdout] 1083 | &vk::ShaderModuleCreateInfo::default().code(vertex_shader), [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `vk` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/vk.rs, use `mod vk` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 1080 + mod vk; [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1080 + use vulkanite::vk::ShaderModuleCreateInfo; [INFO] [stdout] | [INFO] [stdout] help: if you import `ShaderModuleCreateInfo`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1083 - &vk::ShaderModuleCreateInfo::default().code(vertex_shader), [INFO] [stdout] 1083 + &ShaderModuleCreateInfo::default().code(vertex_shader), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - () (line 1293) [INFO] [stdout] src/lib.rs - (line 105) [INFO] [stdout] src/lib.rs - (line 110) [INFO] [stdout] src/lib.rs - (line 117) [INFO] [stdout] src/lib.rs - (line 126) [INFO] [stdout] src/lib.rs - (line 24) [INFO] [stdout] src/lib.rs - (line 36) [INFO] [stdout] src/lib.rs - (line 49) [INFO] [stdout] src/lib.rs - (line 53) [INFO] [stdout] src/lib.rs - (line 72) [INFO] [stdout] src/lib.rs - (line 92) [INFO] [stdout] src/lib.rs - (line 96) [INFO] [stdout] src/lib.rs - flagbits (line 355) [INFO] [stdout] src/lib.rs - include_spirv (line 1080) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 14 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.50s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "35735c58aa23df502eec3a2bffbeeccc2d7d5cdb25a07972cb0663ccd5e07d82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35735c58aa23df502eec3a2bffbeeccc2d7d5cdb25a07972cb0663ccd5e07d82", kill_on_drop: false }` [INFO] [stdout] 35735c58aa23df502eec3a2bffbeeccc2d7d5cdb25a07972cb0663ccd5e07d82