Closed buzmeg closed 3 years ago
cargo update -p ash:0.32.0 --precise 0.31 is a temporary fix for this problem. Caused by a couple dependencies (rafx and vk-mem) relying on ash >= * Also started hitting another compile error from a new Skia update. Looking at that too
I committed a fix for this and published it as 0.12
It looks like ash updated something:
entry::ash::Instance: ash::instance::InstanceV1_0
is not satisfied --> C:\Users\andrewl.cargo\registry\src\github.com-1ecc6299db9ec823\rafx-api-0.0.7\src\backends\vulkan\swapchain.rs:130:13ash::instance::InstanceV1_0
is not implemented forentry::ash::Instance
::: C:\Users\andrewl.cargo\registry\src\github.com-1ecc6299db9ec823\ash-window-0.5.0\src\lib.rs:30:8 | 30 | I: InstanceV1_0, | ------------ required by this bound in
create_surface
?
couldn't convert the error toerror::RafxError
--> C:\Users\andrewl.cargo\registry\src\github.com-1ecc6299db9ec823\rafx-api-0.0.7\src\backends\vulkan\swapchain.rs:135:14From<ash::vk::enums::Result>
is not implemented forerror::RafxError
SurfaceKHR
, found structash::vk::definitions::SurfaceKHR
SurfaceKHR
, found structash::vk::definitions::SurfaceKHR
?
couldn't convert the error toinstance::VkCreateInstanceError
--> C:\Users\andrewl.cargo\registry\src\github.com-1ecc6299db9ec823\rafx-api-0.0.7\src\backends\vulkan\internal\instance.rs:112:84From<ash::vk::enums::Result>
is not implemented forinstance::VkCreateInstanceError
error: aborting due to 6 previous errors
Some errors have detailed explanations: E0277, E0308. For more information about an error, try
rustc --explain E0277
. error: could not compilerafx-api
Caused by: process didn't exit successfully:
rustc --crate-name rafx_api --edition=2018 C:\Users\andrewl\.cargo\registry\src\github.com-1ecc6299db9ec823\rafx-api-0.0.7\src\lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg "feature=\"ash\"" --cfg "feature=\"ash-window\"" --cfg "feature=\"default\"" --cfg "feature=\"rafx-vulkan\"" --cfg "feature=\"serde\"" --cfg "feature=\"serde-support\"" --cfg "feature=\"serde_bytes\"" --cfg "feature=\"vk-mem\"" -C metadata=5f3ab8c91baabd80 -C extra-filename=-5f3ab8c91baabd80 --out-dir C:\Users\andrewl\Desktop\rust_projects\skulpin\target\debug\deps -L dependency=C:\Users\andrewl\Desktop\rust_projects\skulpin\target\debug\deps --extern ash=C:\Users\andrewl\Desktop\rust_projects\skulpin\target\debug\deps\libash-b861ae952ec91cde.rmeta --extern ash_window=C:\Users\andrewl\Desktop\rust_projects\skulpin\target\debug\deps\libash_window-1686fbde239bf558.rmeta --extern bitflags=C:\Users\andrewl\Desktop\rust_projects\skulpin\target\debug\deps\libbitflags-82fb5b4d1ff6ce3a.rmeta --extern crossbeam_channel=C:\Users\andrewl\Desktop\rust_projects\skulpin\target\debug\deps\libcrossbeam_channel-65bf3c0801dee260.rmeta --extern fnv=C:\Users\andrewl\Desktop\rust_projects\skulpin\target\debug\deps\libfnv-a297a229b504ad4a.rmeta --extern log=C:\Users\andrewl\Desktop\rust_projects\skulpin\target\debug\deps\liblog-63efc7b73bb752d4.rmeta --extern profiling=C:\Users\andrewl\Desktop\rust_projects\skulpin\target\debug\deps\libprofiling-1888b142bb75012d.rmeta --extern rafx_base=C:\Users\andrewl\Desktop\rust_projects\skulpin\target\debug\deps\librafx_base-d5cddd35ca9c1282.rmeta --extern raw_window_handle=C:\Users\andrewl\Desktop\rust_projects\skulpin\target\debug\deps\libraw_window_handle-c7f2feb1409b2a95.rmeta --extern serde=C:\Users\andrewl\Desktop\rust_projects\skulpin\target\debug\deps\libserde-36cccc299401de57.rmeta --extern serde_bytes=C:\Users\andrewl\Desktop\rust_projects\skulpin\target\debug\deps\libserde_bytes-716c77d5b3fdbed0.rmeta --extern vk_mem=C:\Users\andrewl\Desktop\rust_projects\skulpin\target\debug\deps\libvk_mem-b7407264abc0d240.rmeta --cap-lints allow -L native=C:\Users\andrewl\Desktop\rust_projects\skulpin\target\debug\build\vk-mem-6a98c805860abba6\out
(exit code: 1) warning: build failed, waiting for other jobs to finish... error: build failed