[INFO] fetching crate vulkanite 0.0.11... [INFO] testing vulkanite-0.0.11 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate vulkanite 0.0.11 into /workspace/builds/worker-3-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-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate vulkanite 0.0.11 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a2759fb4c2873be57c01f860d6c69ace155e4bb248a58e1e5528970e07f3719f [INFO] running `Command { std: "docker" "start" "-a" "a2759fb4c2873be57c01f860d6c69ace155e4bb248a58e1e5528970e07f3719f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a2759fb4c2873be57c01f860d6c69ace155e4bb248a58e1e5528970e07f3719f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2759fb4c2873be57c01f860d6c69ace155e4bb248a58e1e5528970e07f3719f", kill_on_drop: false }` [INFO] [stdout] a2759fb4c2873be57c01f860d6c69ace155e4bb248a58e1e5528970e07f3719f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 588e96eda361234b65bdb11fb59b3780298be040eb021fb45664ed5e2678a42d [INFO] running `Command { std: "docker" "start" "-a" "588e96eda361234b65bdb11fb59b3780298be040eb021fb45664ed5e2678a42d", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling vulkanite v0.0.11 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.56s [INFO] running `Command { std: "docker" "inspect" "588e96eda361234b65bdb11fb59b3780298be040eb021fb45664ed5e2678a42d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "588e96eda361234b65bdb11fb59b3780298be040eb021fb45664ed5e2678a42d", kill_on_drop: false }` [INFO] [stdout] 588e96eda361234b65bdb11fb59b3780298be040eb021fb45664ed5e2678a42d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3a902d2e3ef88ac7f6de867e03eb79e267699892795166934cc21131ed5bba74 [INFO] running `Command { std: "docker" "start" "-a" "3a902d2e3ef88ac7f6de867e03eb79e267699892795166934cc21131ed5bba74", 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.46s [INFO] running `Command { std: "docker" "inspect" "3a902d2e3ef88ac7f6de867e03eb79e267699892795166934cc21131ed5bba74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a902d2e3ef88ac7f6de867e03eb79e267699892795166934cc21131ed5bba74", kill_on_drop: false }` [INFO] [stdout] 3a902d2e3ef88ac7f6de867e03eb79e267699892795166934cc21131ed5bba74 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7726b6e1cb55c45cf015a34afaf207fe568701518c67797f6c25725585902110 [INFO] running `Command { std: "docker" "start" "-a" "7726b6e1cb55c45cf015a34afaf207fe568701518c67797f6c25725585902110", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/vulkanite-9ecf783df7bb3065) [INFO] [stdout] [INFO] [stderr] Doc-tests vulkanite [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] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test src/lib.rs - (line 72) ... FAILED [INFO] [stdout] test src/lib.rs - (line 105) ... FAILED [INFO] [stdout] test src/lib.rs - (line 126) ... FAILED [INFO] [stdout] test src/lib.rs - () (line 1293) ... FAILED [INFO] [stdout] test src/lib.rs - (line 110) ... FAILED [INFO] [stdout] test src/lib.rs - (line 36) ... FAILED [INFO] [stdout] test src/lib.rs - flagbits (line 355) ... FAILED [INFO] [stdout] test src/lib.rs - (line 53) ... FAILED [INFO] [stdout] test src/lib.rs - (line 24) ... FAILED [INFO] [stdout] test src/lib.rs - include_spirv (line 1080) ... FAILED [INFO] [stdout] test src/lib.rs - (line 49) ... FAILED [INFO] [stdout] test src/lib.rs - (line 117) ... FAILED [INFO] [stdout] test src/lib.rs - (line 96) ... FAILED [INFO] [stdout] test src/lib.rs - (line 92) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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] 5 | 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 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] 3 | 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] 3 | 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] 2 + 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] 3 | 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] 11 | 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] 15 | 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] 19 | 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] 12 | 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] 2 + 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] 16 | 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] 2 + 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 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] 3 | 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] 2 + mod vk; [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use vulkanite::vk::SubpassDescription; [INFO] [stdout] | [INFO] [stdout] help: if you import `SubpassDescription`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3 - let subpass = vk::SubpassDescription::default() [INFO] [stdout] 3 + 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] 4 | .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] 2 + mod vk; [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use vulkanite::vk::PipelineBindPoint; [INFO] [stdout] | [INFO] [stdout] help: if you import `PipelineBindPoint`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 4 - .pipeline_bind_point(vk::PipelineBindPoint::Graphics) [INFO] [stdout] 4 + .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] 5 | .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 - (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] 3 | 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] 4 | 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] 3 | 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] 2 + 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 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] 3 | 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] 4 | &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] 2 + mod vk; [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use vulkanite::vk::CommandBufferBeginInfo; [INFO] [stdout] | [INFO] [stdout] help: if you import `CommandBufferBeginInfo`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 4 - &vk::CommandBufferBeginInfo::default() [INFO] [stdout] 4 + &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] 5 | .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] 2 + mod vk; [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use vulkanite::vk::CommandBufferUsageFlags; [INFO] [stdout] | [INFO] [stdout] help: if you import `CommandBufferUsageFlags`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 5 - .flags(vk::CommandBufferUsageFlags::OneTimeSubmit) [INFO] [stdout] 5 + .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] 8 | 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] 8 | 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 - 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] 5 | flagbits!(vk::DebugUtilsMessageSeverityFlagsEXT::{Info | Warning | Error}), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + 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] 3 | 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] 3 - let debug_info = vk::DebugUtilsMessengerCreateInfoEXT::default() [INFO] [stdout] 3 + 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] 2 + 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 53) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/lib.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 10 | ... [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 10 - ... [INFO] [stdout] 10 + .. [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 10 - ... [INFO] [stdout] 10 + ..= [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/lib.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 10 | ... [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] 10 - ... [INFO] [stdout] 10 + .. [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/lib.rs:54:27 [INFO] [stdout] | [INFO] [stdout] 2 | 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] 3 | 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] 2 | 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] 3 | let (status, image_idx) = self.device.acquire_next_image_khr( [INFO] [stdout] 4 | &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] 6 | 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] 9 | 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] 2 + mod vk; [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use vulkanite::vk::Status; [INFO] [stdout] | [INFO] [stdout] help: if you import `Status`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 9 - if status == vk::Status::SuboptimalKHR { [INFO] [stdout] 9 + 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 24) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/lib.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 9 | ... [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 9 - ... [INFO] [stdout] 9 + .. [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 9 - ... [INFO] [stdout] 9 + ..= [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] 4 | 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] 5 | 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] 6 | &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] 2 + mod vk; [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use vulkanite::vk::CommandBufferBeginInfo; [INFO] [stdout] | [INFO] [stdout] help: if you import `CommandBufferBeginInfo`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 6 - &vk::CommandBufferBeginInfo::default() [INFO] [stdout] 6 + &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] 7 | .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] 2 + mod vk; [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use vulkanite::vk::CommandBufferUsageFlags; [INFO] [stdout] | [INFO] [stdout] help: if you import `CommandBufferUsageFlags`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 7 - .flags(vk::CommandBufferUsageFlags::ONE_TIME_SUBMIT) [INFO] [stdout] 7 + .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] 10 | 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] 10 | 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] 10 | 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 - 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] 3 | let vertex_shader = include_spirv!("vert.spirv"); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/macros/mod.rs:1314:5 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `include_str` defined here [INFO] [stdout] | [INFO] [stdout] help: a macro with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 - let vertex_shader = include_spirv!("vert.spirv"); [INFO] [stdout] 3 + let vertex_shader = include_str!("vert.spirv"); [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + 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] 4 | 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] 5 | &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] 2 + mod vk; [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use vulkanite::vk::ShaderModuleCreateInfo; [INFO] [stdout] | [INFO] [stdout] help: if you import `ShaderModuleCreateInfo`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 5 - &vk::ShaderModuleCreateInfo::default().code(vertex_shader), [INFO] [stdout] 5 + &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] ---- 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] 3 | 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] 3 | 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 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] 3 | 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] 3 | 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] 2 + 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 96) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `SmallVec` in this scope [INFO] [stdout] --> src/lib.rs:98:23 [INFO] [stdout] | [INFO] [stdout] 4 | 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] 4 | 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 - (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] 3 | 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] 3 | 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] [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.37s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "7726b6e1cb55c45cf015a34afaf207fe568701518c67797f6c25725585902110", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7726b6e1cb55c45cf015a34afaf207fe568701518c67797f6c25725585902110", kill_on_drop: false }` [INFO] [stdout] 7726b6e1cb55c45cf015a34afaf207fe568701518c67797f6c25725585902110