[INFO] cloning repository https://github.com/smuthbudda/Vulkan_Rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/smuthbudda/Vulkan_Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsmuthbudda%2FVulkan_Rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsmuthbudda%2FVulkan_Rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bbcd40f450cc181a25254d9e123a00bc3d2ed57a [INFO] testing smuthbudda/Vulkan_Rust against master#e9385f9eea0221ef295a188d49d16f8f5189abf1 for pr-146098 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsmuthbudda%2FVulkan_Rust" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/smuthbudda/Vulkan_Rust [INFO] finished tweaking git repo https://github.com/smuthbudda/Vulkan_Rust [INFO] tweaked toml for git repo https://github.com/smuthbudda/Vulkan_Rust written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/smuthbudda/Vulkan_Rust on toolchain e9385f9eea0221ef295a188d49d16f8f5189abf1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e9385f9eea0221ef295a188d49d16f8f5189abf1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/smuthbudda/Vulkan_Rust 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" "+e9385f9eea0221ef295a188d49d16f8f5189abf1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gethostname v1.0.2 [INFO] [stderr] Downloaded wayland-cursor v0.31.11 [INFO] [stderr] Downloaded wayland-client v0.31.11 [INFO] [stderr] Downloaded cursor-icon v1.2.0 [INFO] [stderr] Downloaded ab_glyph_rasterizer v0.1.10 [INFO] [stderr] Downloaded tobj v3.2.5 [INFO] [stderr] Downloaded memmap2 v0.9.8 [INFO] [stderr] Downloaded wayland-scanner v0.31.7 [INFO] [stderr] Downloaded wayland-backend v0.3.11 [INFO] [stderr] Downloaded wayland-sys v0.31.7 [INFO] [stderr] Downloaded x11rb v0.13.2 [INFO] [stderr] Downloaded vulkanalia v0.29.0 [INFO] [stderr] Downloaded vulkanalia-sys v0.29.0 [INFO] [stderr] Downloaded x11rb-protocol v0.13.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+e9385f9eea0221ef295a188d49d16f8f5189abf1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] de7fdac4a8e43940c171617b36627104a3bb40995a9db6a740798f5cf6973cc4 [INFO] running `Command { std: "docker" "start" "-a" "de7fdac4a8e43940c171617b36627104a3bb40995a9db6a740798f5cf6973cc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "de7fdac4a8e43940c171617b36627104a3bb40995a9db6a740798f5cf6973cc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de7fdac4a8e43940c171617b36627104a3bb40995a9db6a740798f5cf6973cc4", kill_on_drop: false }` [INFO] [stdout] de7fdac4a8e43940c171617b36627104a3bb40995a9db6a740798f5cf6973cc4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+e9385f9eea0221ef295a188d49d16f8f5189abf1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8de56afeb3712b6f172039fcccc46caff03299420e725c96731b5f44a49733d1 [INFO] running `Command { std: "docker" "start" "-a" "8de56afeb3712b6f172039fcccc46caff03299420e725c96731b5f44a49733d1", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling find-msvc-tools v0.1.0 [INFO] [stderr] Compiling wayland-sys v0.31.7 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling downcast-rs v1.2.1 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling wayland-client v0.31.11 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling cc v1.2.35 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling quick-xml v0.37.5 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling cursor-icon v1.2.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.18.1 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling xkeysym v0.2.1 [INFO] [stderr] Compiling ttf-parser v0.25.1 [INFO] [stderr] Compiling wayland-scanner v0.31.7 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling wayland-backend v0.3.11 [INFO] [stderr] Compiling strict-num v0.1.1 [INFO] [stderr] Compiling xcursor v0.3.10 [INFO] [stderr] Compiling tiny-skia-path v0.11.4 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling memmap2 v0.9.8 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.10 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling tiny-skia v0.11.4 [INFO] [stderr] Compiling owned_ttf_parser v0.25.1 [INFO] [stderr] Compiling ab_glyph v0.2.31 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling winit v0.29.15 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Compiling raw-window-handle v0.6.2 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling x11rb-protocol v0.13.2 [INFO] [stderr] Compiling as-raw-xcb-connection v1.0.1 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling approx v0.4.0 [INFO] [stderr] Compiling vulkanalia-sys v0.29.0 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling xkbcommon-dl v0.4.2 [INFO] [stderr] Compiling smol_str v0.2.2 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling pretty_env_logger v0.5.0 [INFO] [stderr] Compiling polling v3.10.0 [INFO] [stderr] Compiling calloop v0.12.4 [INFO] [stderr] Compiling wayland-csd-frame v0.3.0 [INFO] [stderr] Compiling gethostname v1.0.2 [INFO] [stderr] Compiling tobj v3.2.5 [INFO] [stderr] Compiling wayland-protocols v0.31.2 [INFO] [stderr] Compiling calloop-wayland-source v0.2.0 [INFO] [stderr] Compiling wayland-cursor v0.31.11 [INFO] [stderr] Compiling wayland-protocols-wlr v0.2.0 [INFO] [stderr] Compiling wayland-protocols-plasma v0.2.0 [INFO] [stderr] Compiling sctk-adwaita v0.8.3 [INFO] [stderr] Compiling x11rb v0.13.2 [INFO] [stderr] Compiling vulkanalia v0.29.0 [INFO] [stderr] Compiling VulkanSim v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::collections::HashSet; [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::ffi::CStr` [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use std::ffi::CStr; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::os::raw::c_void` [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use std::os::raw::c_void; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vulkanalia::vk::ExtDebugUtilsExtension` [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use vulkanalia::vk::ExtDebugUtilsExtension; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `vulkanalia::Entry::create_instance` is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 100 | Ok(entry.create_instance(&info, None)?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/main.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | unsafe fn create_instance(window: &Window, entry: &Entry) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `vulkanalia::loader::LibloadingLoader::new` is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:113:22 [INFO] [stdout] | [INFO] [stdout] 113 | let loader = LibloadingLoader::new(LIBRARY)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/main.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | unsafe fn create(window: &Window) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `vulkanalia::Entry::new` is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:114:21 [INFO] [stdout] | [INFO] [stdout] 114 | let entry = Entry::new(loader).map_err(|b| anyhow!("{}", b))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `create_instance` is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:115:24 [INFO] [stdout] | [INFO] [stdout] 115 | let instance = create_instance(window, &entry)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `vulkanalia::vk::InstanceV1_0::destroy_instance` is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | self.instance.destroy_instance(None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/main.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | unsafe fn destroy(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 58s [INFO] running `Command { std: "docker" "inspect" "8de56afeb3712b6f172039fcccc46caff03299420e725c96731b5f44a49733d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8de56afeb3712b6f172039fcccc46caff03299420e725c96731b5f44a49733d1", kill_on_drop: false }` [INFO] [stdout] 8de56afeb3712b6f172039fcccc46caff03299420e725c96731b5f44a49733d1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+e9385f9eea0221ef295a188d49d16f8f5189abf1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d28bde4d411c65be65b699a5d2474361f77e199d27133bdab4d4aa0df5f73729 [INFO] running `Command { std: "docker" "start" "-a" "d28bde4d411c65be65b699a5d2474361f77e199d27133bdab4d4aa0df5f73729", kill_on_drop: false }` [INFO] [stderr] Compiling VulkanSim v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::collections::HashSet; [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::ffi::CStr` [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use std::ffi::CStr; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::os::raw::c_void` [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use std::os::raw::c_void; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vulkanalia::vk::ExtDebugUtilsExtension` [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use vulkanalia::vk::ExtDebugUtilsExtension; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `vulkanalia::Entry::create_instance` is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 100 | Ok(entry.create_instance(&info, None)?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/main.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | unsafe fn create_instance(window: &Window, entry: &Entry) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `vulkanalia::loader::LibloadingLoader::new` is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:113:22 [INFO] [stdout] | [INFO] [stdout] 113 | let loader = LibloadingLoader::new(LIBRARY)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/main.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | unsafe fn create(window: &Window) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `vulkanalia::Entry::new` is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:114:21 [INFO] [stdout] | [INFO] [stdout] 114 | let entry = Entry::new(loader).map_err(|b| anyhow!("{}", b))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `create_instance` is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:115:24 [INFO] [stdout] | [INFO] [stdout] 115 | let instance = create_instance(window, &entry)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `vulkanalia::vk::InstanceV1_0::destroy_instance` is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | self.instance.destroy_instance(None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/main.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | unsafe fn destroy(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.59s [INFO] running `Command { std: "docker" "inspect" "d28bde4d411c65be65b699a5d2474361f77e199d27133bdab4d4aa0df5f73729", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d28bde4d411c65be65b699a5d2474361f77e199d27133bdab4d4aa0df5f73729", kill_on_drop: false }` [INFO] [stdout] d28bde4d411c65be65b699a5d2474361f77e199d27133bdab4d4aa0df5f73729 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+e9385f9eea0221ef295a188d49d16f8f5189abf1" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9f19e385126ae48d4b8e59b00d4a42883a0ecdef8f9e07e39e97ac48530b2cfb [INFO] running `Command { std: "docker" "start" "-a" "9f19e385126ae48d4b8e59b00d4a42883a0ecdef8f9e07e39e97ac48530b2cfb", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::collections::HashSet` [INFO] [stderr] --> src/main.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | use std::collections::HashSet; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ffi::CStr` [INFO] [stderr] --> src/main.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | use std::ffi::CStr; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::os::raw::c_void` [INFO] [stderr] --> src/main.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | use std::os::raw::c_void; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `vulkanalia::vk::ExtDebugUtilsExtension` [INFO] [stderr] --> src/main.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | use vulkanalia::vk::ExtDebugUtilsExtension; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `vulkanalia::Entry::create_instance` is unsafe and requires unsafe block [INFO] [stderr] --> src/main.rs:100:8 [INFO] [stderr] | [INFO] [stderr] 100 | Ok(entry.create_instance(&info, None)?) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stderr] --> src/main.rs:69:1 [INFO] [stderr] | [INFO] [stderr] 69 | unsafe fn create_instance(window: &Window, entry: &Entry) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `vulkanalia::loader::LibloadingLoader::new` is unsafe and requires unsafe block [INFO] [stderr] --> src/main.rs:113:22 [INFO] [stderr] | [INFO] [stderr] 113 | let loader = LibloadingLoader::new(LIBRARY)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stderr] --> src/main.rs:112:5 [INFO] [stderr] | [INFO] [stderr] 112 | unsafe fn create(window: &Window) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `vulkanalia::Entry::new` is unsafe and requires unsafe block [INFO] [stderr] --> src/main.rs:114:21 [INFO] [stderr] | [INFO] [stderr] 114 | let entry = Entry::new(loader).map_err(|b| anyhow!("{}", b))?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `create_instance` is unsafe and requires unsafe block [INFO] [stderr] --> src/main.rs:115:24 [INFO] [stderr] | [INFO] [stderr] 115 | let instance = create_instance(window, &entry)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `vulkanalia::vk::InstanceV1_0::destroy_instance` is unsafe and requires unsafe block [INFO] [stderr] --> src/main.rs:126:9 [INFO] [stderr] | [INFO] [stderr] 126 | self.instance.destroy_instance(None); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stderr] --> src/main.rs:125:5 [INFO] [stderr] | [INFO] [stderr] 125 | unsafe fn destroy(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0133`. [INFO] [stderr] warning: `VulkanSim` (bin "VulkanSim" test) generated 9 warnings (run `cargo fix --bin "VulkanSim" --tests` to apply 7 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/VulkanSim-813865f14cca2e8f) [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] running `Command { std: "docker" "inspect" "9f19e385126ae48d4b8e59b00d4a42883a0ecdef8f9e07e39e97ac48530b2cfb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f19e385126ae48d4b8e59b00d4a42883a0ecdef8f9e07e39e97ac48530b2cfb", kill_on_drop: false }` [INFO] [stdout] 9f19e385126ae48d4b8e59b00d4a42883a0ecdef8f9e07e39e97ac48530b2cfb