[INFO] cloning repository https://github.com/cwgreene/vulkantutorial [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cwgreene/vulkantutorial" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcwgreene%2Fvulkantutorial", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcwgreene%2Fvulkantutorial'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 66543ed07d59ebab4c100bf6629692a22f14fd02 [INFO] testing cwgreene/vulkantutorial against master#d98a5da813da67eb189387b8ccfb73cf481275d8+rustflags=-Copt-level=3 for pr-138759 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcwgreene%2Fvulkantutorial" "/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/cwgreene/vulkantutorial [INFO] finished tweaking git repo https://github.com/cwgreene/vulkantutorial [INFO] tweaked toml for git repo https://github.com/cwgreene/vulkantutorial written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/cwgreene/vulkantutorial on toolchain d98a5da813da67eb189387b8ccfb73cf481275d8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/cwgreene/vulkantutorial 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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sctk-adwaita v0.8.3 [INFO] [stderr] Downloaded xcursor v0.3.9 [INFO] [stderr] Downloaded block-sys v0.2.1 [INFO] [stderr] Downloaded tobj v3.2.5 [INFO] [stderr] Downloaded objc2-encode v3.0.0 [INFO] [stderr] Downloaded block2 v0.3.0 [INFO] [stderr] Downloaded wayland-protocols-plasma v0.2.0 [INFO] [stderr] Downloaded objc2 v0.4.1 [INFO] [stderr] Downloaded vulkanalia-sys v0.28.0 [INFO] [stderr] Downloaded vulkanalia v0.28.0 [INFO] [stderr] Downloaded android-activity v0.5.2 [INFO] [stderr] Downloaded winit v0.29.15 [INFO] [stderr] Downloaded icrate v0.0.4 [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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5df80d3161c884bb09e9451aa2ba7c5f68dbf6f5ed6b93177cac947088f124ed [INFO] running `Command { std: "docker" "start" "-a" "5df80d3161c884bb09e9451aa2ba7c5f68dbf6f5ed6b93177cac947088f124ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5df80d3161c884bb09e9451aa2ba7c5f68dbf6f5ed6b93177cac947088f124ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5df80d3161c884bb09e9451aa2ba7c5f68dbf6f5ed6b93177cac947088f124ed", kill_on_drop: false }` [INFO] [stdout] 5df80d3161c884bb09e9451aa2ba7c5f68dbf6f5ed6b93177cac947088f124ed [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 -Copt-level=3" "-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ac6e13f409627a092946da67a4abe4e4471a5db2931dd73e4d0b2eaddd17e0a [INFO] running `Command { std: "docker" "start" "-a" "8ac6e13f409627a092946da67a4abe4e4471a5db2931dd73e4d0b2eaddd17e0a", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling wayland-sys v0.31.6 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling cursor-icon v1.2.0 [INFO] [stderr] Compiling strict-num v0.1.1 [INFO] [stderr] Compiling bytemuck v1.23.1 [INFO] [stderr] Compiling xcursor v0.3.9 [INFO] [stderr] Compiling owned_ttf_parser v0.25.0 [INFO] [stderr] Compiling memmap2 v0.9.5 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling winit v0.29.15 [INFO] [stderr] Compiling ab_glyph v0.2.29 [INFO] [stderr] Compiling tiny-skia-path v0.11.4 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling approx v0.4.0 [INFO] [stderr] Compiling vulkanalia-sys v0.28.0 [INFO] [stderr] Compiling xkbcommon-dl v0.4.2 [INFO] [stderr] Compiling pretty_env_logger v0.5.0 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Compiling quick-xml v0.37.5 [INFO] [stderr] Compiling tiny-skia v0.11.4 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling tobj v3.2.5 [INFO] [stderr] Compiling wayland-scanner v0.31.6 [INFO] [stderr] Compiling wayland-backend v0.3.10 [INFO] [stderr] Compiling polling v3.8.0 [INFO] [stderr] Compiling calloop v0.12.4 [INFO] [stderr] Compiling x11rb v0.13.1 [INFO] [stderr] Compiling wayland-client v0.31.10 [INFO] [stderr] Compiling wayland-csd-frame v0.3.0 [INFO] [stderr] Compiling wayland-protocols v0.31.2 [INFO] [stderr] Compiling calloop-wayland-source v0.2.0 [INFO] [stderr] Compiling wayland-cursor v0.31.10 [INFO] [stderr] Compiling wayland-protocols-wlr v0.2.0 [INFO] [stderr] Compiling wayland-protocols-plasma v0.2.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.18.1 [INFO] [stderr] Compiling vulkanalia v0.28.0 [INFO] [stderr] Compiling sctk-adwaita v0.8.3 [INFO] [stderr] Compiling vulkantutorial v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:87:70 [INFO] [stdout] | [INFO] [stdout] 87 | let mut extensions = vk_window::get_required_instance_extensions((window)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 87 - let mut extensions = vk_window::get_required_instance_extensions((window)) [INFO] [stdout] 87 + let mut extensions = vk_window::get_required_instance_extensions(window) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/main.rs:107:34 [INFO] [stdout] | [INFO] [stdout] 107 | .enabled_extension_names((&extensions)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 107 - .enabled_extension_names((&extensions)) [INFO] [stdout] 107 + .enabled_extension_names(&extensions) [INFO] [stdout] | [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:63:22 [INFO] [stdout] | [INFO] [stdout] 63 | 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:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | unsafe fn create( window : &Window) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [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:64:21 [INFO] [stdout] | [INFO] [stdout] 64 | let entry = Entry::new(loader).map_err(|b| anyhow!("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:65:24 [INFO] [stdout] | [INFO] [stdout] 65 | 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:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | 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:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | unsafe fn destroy(&mut self) { [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:109:8 [INFO] [stdout] | [INFO] [stdout] 109 | 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:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | unsafe fn create_instance(window: &Window, entry: &Entry) -> Result { [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 2m 18s [INFO] running `Command { std: "docker" "inspect" "8ac6e13f409627a092946da67a4abe4e4471a5db2931dd73e4d0b2eaddd17e0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ac6e13f409627a092946da67a4abe4e4471a5db2931dd73e4d0b2eaddd17e0a", kill_on_drop: false }` [INFO] [stdout] 8ac6e13f409627a092946da67a4abe4e4471a5db2931dd73e4d0b2eaddd17e0a [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 -Copt-level=3" "-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0a5f942b2e25cbdf83eacaf497e3120a21e73f432ba6ce2481b5eb8d9d7e580d [INFO] running `Command { std: "docker" "start" "-a" "0a5f942b2e25cbdf83eacaf497e3120a21e73f432ba6ce2481b5eb8d9d7e580d", kill_on_drop: false }` [INFO] [stderr] Compiling vulkantutorial v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:87:70 [INFO] [stdout] | [INFO] [stdout] 87 | let mut extensions = vk_window::get_required_instance_extensions((window)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 87 - let mut extensions = vk_window::get_required_instance_extensions((window)) [INFO] [stdout] 87 + let mut extensions = vk_window::get_required_instance_extensions(window) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/main.rs:107:34 [INFO] [stdout] | [INFO] [stdout] 107 | .enabled_extension_names((&extensions)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 107 - .enabled_extension_names((&extensions)) [INFO] [stdout] 107 + .enabled_extension_names(&extensions) [INFO] [stdout] | [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:63:22 [INFO] [stdout] | [INFO] [stdout] 63 | 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:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | unsafe fn create( window : &Window) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [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:64:21 [INFO] [stdout] | [INFO] [stdout] 64 | let entry = Entry::new(loader).map_err(|b| anyhow!("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:65:24 [INFO] [stdout] | [INFO] [stdout] 65 | 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:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | 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:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | unsafe fn destroy(&mut self) { [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:109:8 [INFO] [stdout] | [INFO] [stdout] 109 | 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:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | unsafe fn create_instance(window: &Window, entry: &Entry) -> Result { [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.72s [INFO] running `Command { std: "docker" "inspect" "0a5f942b2e25cbdf83eacaf497e3120a21e73f432ba6ce2481b5eb8d9d7e580d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a5f942b2e25cbdf83eacaf497e3120a21e73f432ba6ce2481b5eb8d9d7e580d", kill_on_drop: false }` [INFO] [stdout] 0a5f942b2e25cbdf83eacaf497e3120a21e73f432ba6ce2481b5eb8d9d7e580d [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 -Copt-level=3" "-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 038fbdb7b0c814f6720d165d5aa841d9afecf67501ca1fffbbc368a794df7029 [INFO] running `Command { std: "docker" "start" "-a" "038fbdb7b0c814f6720d165d5aa841d9afecf67501ca1fffbbc368a794df7029", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around function argument [INFO] [stderr] --> src/main.rs:87:70 [INFO] [stderr] | [INFO] [stderr] 87 | let mut extensions = vk_window::get_required_instance_extensions((window)) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 87 - let mut extensions = vk_window::get_required_instance_extensions((window)) [INFO] [stderr] 87 + let mut extensions = vk_window::get_required_instance_extensions(window) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around method argument [INFO] [stderr] --> src/main.rs:107:34 [INFO] [stderr] | [INFO] [stderr] 107 | .enabled_extension_names((&extensions)) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 107 - .enabled_extension_names((&extensions)) [INFO] [stderr] 107 + .enabled_extension_names(&extensions) [INFO] [stderr] | [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:63:22 [INFO] [stderr] | [INFO] [stderr] 63 | 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:62:5 [INFO] [stderr] | [INFO] [stderr] 62 | unsafe fn create( window : &Window) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `vulkanalia::Entry::new` is unsafe and requires unsafe block [INFO] [stderr] --> src/main.rs:64:21 [INFO] [stderr] | [INFO] [stderr] 64 | let entry = Entry::new(loader).map_err(|b| anyhow!("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:65:24 [INFO] [stderr] | [INFO] [stderr] 65 | 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:76:9 [INFO] [stderr] | [INFO] [stderr] 76 | 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:75:5 [INFO] [stderr] | [INFO] [stderr] 75 | unsafe fn destroy(&mut self) { [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:109:8 [INFO] [stderr] | [INFO] [stderr] 109 | 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:80:1 [INFO] [stderr] | [INFO] [stderr] 80 | unsafe fn create_instance(window: &Window, entry: &Entry) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0133`. [INFO] [stderr] warning: `vulkantutorial` (bin "vulkantutorial" test) generated 7 warnings (run `cargo fix --bin "vulkantutorial" --tests` to apply 5 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/vulkantutorial-73bbcc9ea6ca87b3) [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" "038fbdb7b0c814f6720d165d5aa841d9afecf67501ca1fffbbc368a794df7029", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "038fbdb7b0c814f6720d165d5aa841d9afecf67501ca1fffbbc368a794df7029", kill_on_drop: false }` [INFO] [stdout] 038fbdb7b0c814f6720d165d5aa841d9afecf67501ca1fffbbc368a794df7029