vk-mem-alloc 0.2.0

A very lightweight wrapper around the Vulkan Memory Allocator
Build #708969 2022-12-25T21:43:47.692263+00:00
# rustc version
rustc 1.68.0-nightly (46160e6fa 2022-12-24)
# docs.rs version
docsrs 0.6.0 (6c24e02a 2022-12-25)

# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/vk-mem-alloc-0.2.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/vk-mem-alloc-0.2.0/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "3221225472" "--cpus" "3" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:9db6adea6fe108e8475f2314ed6ea91319efc655499b550640da2809d69ffe6a" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "-Z" "unstable-options" "--config" "build.rustdocflags=[\"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20221224-1.68.0-nightly-46160e6fa\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--disable-per-crate-search\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j3" "--target" "x86_64-unknown-linux-gnu", kill_on_drop: false }`
[INFO] [stdout] e81ea9e364eeae7ff7c8e3e66494afaedba388a8e0dccbb2852e08875b34d50d
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "e81ea9e364eeae7ff7c8e3e66494afaedba388a8e0dccbb2852e08875b34d50d", kill_on_drop: false }`
[INFO] [stderr] warning: version requirement `0.37.1+1.3.235` for dependency `ash` includes semver metadata which will be ignored, removing the metadata is recommended to avoid confusion
[INFO] [stderr] warning: Target filter specified, but no targets matched. This is a no-op
[INFO] [stderr]    Compiling vk-mem-alloc-sys v0.2.0
[INFO] [stderr] The following warnings were emitted during compilation:
[INFO] [stderr] 
[INFO] [stderr] warning: In file included from /usr/include/c++/9/cassert:44,
[INFO] [stderr] warning:                  from ./vendor/VulkanMemoryAllocator/include/vk_mem_alloc.h:2684,
[INFO] [stderr] warning:                  from wrapper/vk_mem_alloc.cpp:2:
[INFO] [stderr] warning: ./vendor/VulkanMemoryAllocator/include/vk_mem_alloc.h: In member function 'bool VmaDefragmentationContext_T::IncrementCounters(VkDeviceSize)':
[INFO] [stderr] warning: ./vendor/VulkanMemoryAllocator/include/vk_mem_alloc.h:13364:54: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
[INFO] [stderr] warning: 13364 |             m_PassStats.bytesMoved == m_MaxPassBytes && "Exceeded maximal pass threshold!");
[INFO] [stderr] warning:       |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: ./vendor/VulkanMemoryAllocator/include/vk_mem_alloc.h:13363:9: note: in expansion of macro 'VMA_ASSERT'
[INFO] [stderr] warning: 13363 |         VMA_ASSERT(m_PassStats.allocationsMoved == m_MaxPassAllocations ||
[INFO] [stderr] warning:       |         ^~~~~~~~~~
[INFO] [stderr] warning: In file included from wrapper/vk_mem_alloc.cpp:2:
[INFO] [stderr] warning: ./vendor/VulkanMemoryAllocator/include/vk_mem_alloc.h: In member function 'bool VmaDefragmentationContext_T::ComputeDefragmentation_Extensive(VmaBlockVector&, size_t)':
[INFO] [stderr] warning: ./vendor/VulkanMemoryAllocator/include/vk_mem_alloc.h:13761:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
[INFO] [stderr] warning: 13761 |         if (MoveDataToFreeBlocks(VMA_SUBALLOCATION_TYPE_IMAGE_OPTIMAL, vector,
[INFO] [stderr] warning:       |         ^~
[INFO] [stderr] warning: ./vendor/VulkanMemoryAllocator/include/vk_mem_alloc.h:13784:5: note: here
[INFO] [stderr] warning: 13784 |     case StateExtensive::Operation::MoveBuffers:
[INFO] [stderr] warning:       |     ^~~~
[INFO] [stderr] warning: ./vendor/VulkanMemoryAllocator/include/vk_mem_alloc.h:13786:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
[INFO] [stderr] warning: 13786 |         if (MoveDataToFreeBlocks(VMA_SUBALLOCATION_TYPE_BUFFER, vector,
[INFO] [stderr] warning:       |         ^~
[INFO] [stderr] warning: ./vendor/VulkanMemoryAllocator/include/vk_mem_alloc.h:13808:5: note: here
[INFO] [stderr] warning: 13808 |     case StateExtensive::Operation::MoveAll:
[INFO] [stderr] warning:       |     ^~~~
[INFO] [stderr] warning: At global scope:
[INFO] [stderr] warning: cc1plus: warning: unrecognized command line option '-Wno-nullability-completeness'
[INFO] [stderr] 
[INFO] [stderr] error: failed to run custom build command for `vk-mem-alloc-sys v0.2.0`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/target/debug/build/vk-mem-alloc-sys-3bd603ee3e23ad80/build-script-build` (exit status: 101)
[INFO] [stderr]   --- stdout
[INFO] [stderr]   TARGET = Some("x86_64-unknown-linux-gnu")
[INFO] [stderr]   OPT_LEVEL = Some("0")
[INFO] [stderr]   HOST = Some("x86_64-unknown-linux-gnu")
[INFO] [stderr]   cargo:rerun-if-env-changed=CXX_x86_64-unknown-linux-gnu
[INFO] [stderr]   CXX_x86_64-unknown-linux-gnu = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CXX_x86_64_unknown_linux_gnu
[INFO] [stderr]   CXX_x86_64_unknown_linux_gnu = None
[INFO] [stderr]   cargo:rerun-if-env-changed=HOST_CXX
[INFO] [stderr]   HOST_CXX = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CXX
[INFO] [stderr]   CXX = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CXXFLAGS_x86_64-unknown-linux-gnu
[INFO] [stderr]   CXXFLAGS_x86_64-unknown-linux-gnu = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CXXFLAGS_x86_64_unknown_linux_gnu
[INFO] [stderr]   CXXFLAGS_x86_64_unknown_linux_gnu = None
[INFO] [stderr]   cargo:rerun-if-env-changed=HOST_CXXFLAGS
[INFO] [stderr]   HOST_CXXFLAGS = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CXXFLAGS
[INFO] [stderr]   CXXFLAGS = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
[INFO] [stderr]   CRATE_CC_NO_DEFAULTS = None
[INFO] [stderr]   DEBUG = Some("true")
[INFO] [stderr]   CARGO_CFG_TARGET_FEATURE = Some("fxsr,llvm14-builtins-abi,sse,sse2")
[INFO] [stderr]   running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-4" "-fno-omit-frame-pointer" "-m64" "-Wall" "-Wextra" "-I./vendor/VulkanMemoryAllocator/include" "-Wno-missing-field-initializers" "-Wno-nullability-completeness" "-Wno-unused-parameter" "-Wno-unused-variable" "-std=c++17" "-DVMA_STATIC_VULKAN_FUNCTIONS=0" "-DVMA_DYNAMIC_VULKAN_FUNCTIONS=0" "-o" "/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/vk-mem-alloc-sys-4580cb6d8105b77f/out/wrapper/vk_mem_alloc.o" "-c" "wrapper/vk_mem_alloc.cpp"
[INFO] [stderr]   cargo:warning=In file included from /usr/include/c++/9/cassert:44,
[INFO] [stderr]   cargo:warning=                 from ./vendor/VulkanMemoryAllocator/include/vk_mem_alloc.h:2684,
[INFO] [stderr]   cargo:warning=                 from wrapper/vk_mem_alloc.cpp:2:
[INFO] [stderr]   cargo:warning=./vendor/VulkanMemoryAllocator/include/vk_mem_alloc.h: In member function 'bool VmaDefragmentationContext_T::IncrementCounters(VkDeviceSize)':
[INFO] [stderr]   cargo:warning=./vendor/VulkanMemoryAllocator/include/vk_mem_alloc.h:13364:54: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
[INFO] [stderr]   cargo:warning=13364 |             m_PassStats.bytesMoved == m_MaxPassBytes && "Exceeded maximal pass threshold!");
[INFO] [stderr]   cargo:warning=      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr]   cargo:warning=./vendor/VulkanMemoryAllocator/include/vk_mem_alloc.h:13363:9: note: in expansion of macro 'VMA_ASSERT'
[INFO] [stderr]   cargo:warning=13363 |         VMA_ASSERT(m_PassStats.allocationsMoved == m_MaxPassAllocations ||
[INFO] [stderr]   cargo:warning=      |         ^~~~~~~~~~
[INFO] [stderr]   cargo:warning=In file included from wrapper/vk_mem_alloc.cpp:2:
[INFO] [stderr]   cargo:warning=./vendor/VulkanMemoryAllocator/include/vk_mem_alloc.h: In member function 'bool VmaDefragmentationContext_T::ComputeDefragmentation_Extensive(VmaBlockVector&, size_t)':
[INFO] [stderr]   cargo:warning=./vendor/VulkanMemoryAllocator/include/vk_mem_alloc.h:13761:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
[INFO] [stderr]   cargo:warning=13761 |         if (MoveDataToFreeBlocks(VMA_SUBALLOCATION_TYPE_IMAGE_OPTIMAL, vector,
[INFO] [stderr]   cargo:warning=      |         ^~
[INFO] [stderr]   cargo:warning=./vendor/VulkanMemoryAllocator/include/vk_mem_alloc.h:13784:5: note: here
[INFO] [stderr]   cargo:warning=13784 |     case StateExtensive::Operation::MoveBuffers:
[INFO] [stderr]   cargo:warning=      |     ^~~~
[INFO] [stderr]   cargo:warning=./vendor/VulkanMemoryAllocator/include/vk_mem_alloc.h:13786:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
[INFO] [stderr]   cargo:warning=13786 |         if (MoveDataToFreeBlocks(VMA_SUBALLOCATION_TYPE_BUFFER, vector,
[INFO] [stderr]   cargo:warning=      |         ^~
[INFO] [stderr]   cargo:warning=./vendor/VulkanMemoryAllocator/include/vk_mem_alloc.h:13808:5: note: here
[INFO] [stderr]   cargo:warning=13808 |     case StateExtensive::Operation::MoveAll:
[INFO] [stderr]   cargo:warning=      |     ^~~~
[INFO] [stderr]   cargo:warning=At global scope:
[INFO] [stderr]   cargo:warning=cc1plus: warning: unrecognized command line option '-Wno-nullability-completeness'
[INFO] [stderr]   exit status: 0
[INFO] [stderr]   cargo:rerun-if-env-changed=AR_x86_64-unknown-linux-gnu
[INFO] [stderr]   AR_x86_64-unknown-linux-gnu = None
[INFO] [stderr]   cargo:rerun-if-env-changed=AR_x86_64_unknown_linux_gnu
[INFO] [stderr]   AR_x86_64_unknown_linux_gnu = None
[INFO] [stderr]   cargo:rerun-if-env-changed=HOST_AR
[INFO] [stderr]   HOST_AR = None
[INFO] [stderr]   cargo:rerun-if-env-changed=AR
[INFO] [stderr]   AR = None
[INFO] [stderr]   running: "ar" "cq" "/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/vk-mem-alloc-sys-4580cb6d8105b77f/out/libvk_mem_alloc_sys_cc.a" "/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/vk-mem-alloc-sys-4580cb6d8105b77f/out/wrapper/vk_mem_alloc.o"
[INFO] [stderr]   exit status: 0
[INFO] [stderr]   running: "ar" "s" "/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/vk-mem-alloc-sys-4580cb6d8105b77f/out/libvk_mem_alloc_sys_cc.a"
[INFO] [stderr]   exit status: 0
[INFO] [stderr]   cargo:rustc-link-lib=static=vk_mem_alloc_sys_cc
[INFO] [stderr]   cargo:rustc-link-search=native=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/vk-mem-alloc-sys-4580cb6d8105b77f/out
[INFO] [stderr]   cargo:rerun-if-env-changed=CXXSTDLIB_x86_64-unknown-linux-gnu
[INFO] [stderr]   CXXSTDLIB_x86_64-unknown-linux-gnu = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CXXSTDLIB_x86_64_unknown_linux_gnu
[INFO] [stderr]   CXXSTDLIB_x86_64_unknown_linux_gnu = None
[INFO] [stderr]   cargo:rerun-if-env-changed=HOST_CXXSTDLIB
[INFO] [stderr]   HOST_CXXSTDLIB = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CXXSTDLIB
[INFO] [stderr]   CXXSTDLIB = None
[INFO] [stderr]   cargo:rustc-link-lib=stdc++
[INFO] [stderr] 
[INFO] [stderr]   --- stderr
[INFO] [stderr]   clang diag: warning: I./wrapper: 'linker' input unused [-Wunused-command-line-argument]
[INFO] [stderr]   thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }', /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/vk-mem-alloc-sys-0.2.0/build.rs:40:31
[INFO] [stderr]   note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[INFO] running `Command { std: "docker" "inspect" "e81ea9e364eeae7ff7c8e3e66494afaedba388a8e0dccbb2852e08875b34d50d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e81ea9e364eeae7ff7c8e3e66494afaedba388a8e0dccbb2852e08875b34d50d", kill_on_drop: false }`
[INFO] [stdout] e81ea9e364eeae7ff7c8e3e66494afaedba388a8e0dccbb2852e08875b34d50d