[INFO] fetching crate vulkano 0.34.1... [INFO] checking vulkano-0.34.1 against master#35936c4839dd272646394779d151e060d0f6b3ac for pr-122960-1 [INFO] extracting crate vulkano 0.34.1 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate vulkano 0.34.1 on toolchain 35936c4839dd272646394779d151e060d0f6b3ac [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate vulkano 0.34.1 [INFO] finished tweaking crates.io crate vulkano 0.34.1 [INFO] tweaked toml for crates.io crate vulkano 0.34.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded vk-parse v0.12.0 [INFO] [stderr] Downloaded raw-window-handle v0.5.2 [INFO] [stderr] Downloaded vulkano-macros v0.34.0 [INFO] [stderr] Downloaded ash v0.37.3+1.3.251 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1213dbe21442d7e927a976fbb9e14b9007f319eafbcc0146896ebeb59a1dcbdc [INFO] running `Command { std: "docker" "start" "-a" "1213dbe21442d7e927a976fbb9e14b9007f319eafbcc0146896ebeb59a1dcbdc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1213dbe21442d7e927a976fbb9e14b9007f319eafbcc0146896ebeb59a1dcbdc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1213dbe21442d7e927a976fbb9e14b9007f319eafbcc0146896ebeb59a1dcbdc", kill_on_drop: false }` [INFO] [stdout] 1213dbe21442d7e927a976fbb9e14b9007f319eafbcc0146896ebeb59a1dcbdc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cfc59983129b591fe36796422988a0051ccbd3ff0db065cdbe3a42b66333ef82 [INFO] running `Command { std: "docker" "start" "-a" "cfc59983129b591fe36796422988a0051ccbd3ff0db065cdbe3a42b66333ef82", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Compiling xml-rs v0.8.19 [INFO] [stderr] Compiling zerocopy v0.7.32 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling bytemuck_derive v1.6.0 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling ash v0.37.3+1.3.251 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Compiling nalgebra-macros v0.2.1 [INFO] [stderr] Checking libloading v0.8.3 [INFO] [stderr] Checking raw-window-handle v0.5.2 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling vk-parse v0.12.0 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Checking crossbeam-queue v0.3.11 [INFO] [stderr] Checking bytemuck v1.15.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking num-complex v0.4.5 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Checking safe_arch v0.7.1 [INFO] [stderr] Checking half v2.4.0 [INFO] [stderr] Checking wide v0.7.15 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling vulkano-macros v0.34.0 [INFO] [stderr] Checking simba v0.8.1 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling vulkano v0.34.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `class`, `capabilities`, and `extensions` are never read [INFO] [stdout] --> autogen/spirv_grammar.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct SpirvInstruction { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 38 | pub opname: String, [INFO] [stdout] 39 | pub class: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub capabilities: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 45 | #[serde(default)] [INFO] [stdout] 46 | pub extensions: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SpirvInstruction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `capabilities` is never read [INFO] [stdout] --> autogen/spirv_grammar.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct SpirvKindEnumerant { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 71 | pub capabilities: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SpirvKindEnumerant` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking nalgebra v0.32.5 [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `acceleration_structure::*`, `debug::*`, `dynamic_state::*`, `pipeline::*`, `query::*`, `secondary::*`, `sync::*` [INFO] [stdout] --> src/command_buffer/mod.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | acceleration_structure::*, clear::*, copy::*, debug::*, dynamic_state::*, pipeline::*, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 115 | query::*, render_pass::*, secondary::*, sync::*, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromIterator` is imported redundantly [INFO] [stdout] --> src/range_map.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | iter::{FromIterator, FusedIterator}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `FromIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `DeviceLayout` is imported redundantly [INFO] [stdout] --> src/buffer/subbuffer.rs:1142:55 [INFO] [stdout] | [INFO] [stdout] 1134 | use super::*; [INFO] [stdout] | -------- the item `DeviceLayout` is already imported here [INFO] [stdout] ... [INFO] [stdout] 1142 | AllocationCreateInfo, AllocationType, DeviceLayout, MemoryAllocator, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `acceleration_structure::*`, `debug::*`, `dynamic_state::*`, `pipeline::*`, `query::*`, `secondary::*`, `sync::*` [INFO] [stdout] --> src/command_buffer/mod.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | acceleration_structure::*, clear::*, copy::*, debug::*, dynamic_state::*, pipeline::*, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 115 | query::*, render_pass::*, secondary::*, sync::*, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `thread` is imported redundantly [INFO] [stdout] --> src/command_buffer/allocator.rs:684:9 [INFO] [stdout] | [INFO] [stdout] 682 | use super::*; [INFO] [stdout] | -------- the item `thread` is already imported here [INFO] [stdout] 683 | use crate::VulkanObject; [INFO] [stdout] 684 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Format` is imported redundantly [INFO] [stdout] --> src/command_buffer/commands/copy.rs:6808:9 [INFO] [stdout] | [INFO] [stdout] 6807 | use super::*; [INFO] [stdout] | -------- the item `Format` is already imported here [INFO] [stdout] 6808 | use crate::format::Format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `DescriptorType` is imported redundantly [INFO] [stdout] --> src/descriptor_set/allocator.rs:591:72 [INFO] [stdout] | [INFO] [stdout] 588 | use super::*; [INFO] [stdout] | -------- the item `DescriptorType` is already imported here [INFO] [stdout] ... [INFO] [stdout] 591 | DescriptorSetLayoutBinding, DescriptorSetLayoutCreateInfo, DescriptorType, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `thread` is imported redundantly [INFO] [stdout] --> src/descriptor_set/allocator.rs:596:9 [INFO] [stdout] | [INFO] [stdout] 588 | use super::*; [INFO] [stdout] | -------- the item `thread` is already imported here [INFO] [stdout] ... [INFO] [stdout] 596 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `InstanceExtensions` is imported redundantly [INFO] [stdout] --> src/instance/debug.rs:612:40 [INFO] [stdout] | [INFO] [stdout] 610 | use super::*; [INFO] [stdout] | -------- the item `InstanceExtensions` is already imported here [INFO] [stdout] 611 | use crate::{ [INFO] [stdout] 612 | instance::{InstanceCreateInfo, InstanceExtensions}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromIterator` is imported redundantly [INFO] [stdout] --> src/range_map.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | iter::{FromIterator, FusedIterator}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `FromIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/range_map.rs:624:28 [INFO] [stdout] | [INFO] [stdout] 624 | use std::{format, vec, vec::Vec}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:125:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `vulkano` (lib); 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/35936c4839dd272646394779d151e060d0f6b3ac/bin/rustc --crate-name vulkano --edition=2021 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="macros"' --cfg 'feature="vulkano-macros"' -C metadata=41a751be7ac3f47a -C extra-filename=-41a751be7ac3f47a --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern ahash=/opt/rustwide/target/debug/deps/libahash-75912a5d916ed292.rmeta --extern ash=/opt/rustwide/target/debug/deps/libash-a20fabdf37b436a7.rmeta --extern bytemuck=/opt/rustwide/target/debug/deps/libbytemuck-ba3f516ef3304ba6.rmeta --extern crossbeam_queue=/opt/rustwide/target/debug/deps/libcrossbeam_queue-d346c0c362c67876.rmeta --extern half=/opt/rustwide/target/debug/deps/libhalf-82d6042299b0ed7d.rmeta --extern libloading=/opt/rustwide/target/debug/deps/liblibloading-5bcaf5559b21346b.rmeta --extern once_cell=/opt/rustwide/target/debug/deps/libonce_cell-545f3f5526de30f0.rmeta --extern parking_lot=/opt/rustwide/target/debug/deps/libparking_lot-249a8665df21610e.rmeta --extern raw_window_handle=/opt/rustwide/target/debug/deps/libraw_window_handle-86f246294b6dbe45.rmeta --extern smallvec=/opt/rustwide/target/debug/deps/libsmallvec-e1af8f293a626b97.rmeta --extern thread_local=/opt/rustwide/target/debug/deps/libthread_local-b51fd98f4492dc74.rmeta --extern vulkano_macros=/opt/rustwide/target/debug/deps/libvulkano_macros-a73d6b1e41c2b587.so --cap-lints=forbid` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/sync/semaphore.rs:1614:11 [INFO] [stdout] | [INFO] [stdout] 1614 | Queue(Weak), [INFO] [stdout] | ----- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 1614 | Queue(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "cfc59983129b591fe36796422988a0051ccbd3ff0db065cdbe3a42b66333ef82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfc59983129b591fe36796422988a0051ccbd3ff0db065cdbe3a42b66333ef82", kill_on_drop: false }` [INFO] [stdout] cfc59983129b591fe36796422988a0051ccbd3ff0db065cdbe3a42b66333ef82 [INFO] checking vulkano-0.34.1 against try#9ae1860851f3fbc1435a1698e572252c0076f413 for pr-122960-1 [INFO] extracting crate vulkano 0.34.1 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate vulkano 0.34.1 on toolchain 9ae1860851f3fbc1435a1698e572252c0076f413 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9ae1860851f3fbc1435a1698e572252c0076f413" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate vulkano 0.34.1 [INFO] finished tweaking crates.io crate vulkano 0.34.1 [INFO] tweaked toml for crates.io crate vulkano 0.34.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9ae1860851f3fbc1435a1698e572252c0076f413" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9ae1860851f3fbc1435a1698e572252c0076f413" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+9ae1860851f3fbc1435a1698e572252c0076f413" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 79b04b5c8af584f31d15623cb14c7afd9c3c210fa0f3793856bec658343d3d84 [INFO] running `Command { std: "docker" "start" "-a" "79b04b5c8af584f31d15623cb14c7afd9c3c210fa0f3793856bec658343d3d84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "79b04b5c8af584f31d15623cb14c7afd9c3c210fa0f3793856bec658343d3d84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79b04b5c8af584f31d15623cb14c7afd9c3c210fa0f3793856bec658343d3d84", kill_on_drop: false }` [INFO] [stdout] 79b04b5c8af584f31d15623cb14c7afd9c3c210fa0f3793856bec658343d3d84 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+9ae1860851f3fbc1435a1698e572252c0076f413" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f461824007879f22aee8c7519c800e9b91d66aa87938b82eccb75da237c900d0 [INFO] running `Command { std: "docker" "start" "-a" "f461824007879f22aee8c7519c800e9b91d66aa87938b82eccb75da237c900d0", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling zerocopy v0.7.32 [INFO] [stderr] Compiling xml-rs v0.8.19 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Compiling bytemuck_derive v1.6.0 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling ash v0.37.3+1.3.251 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Compiling nalgebra-macros v0.2.1 [INFO] [stderr] Checking libloading v0.8.3 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling vk-parse v0.12.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking raw-window-handle v0.5.2 [INFO] [stderr] Checking crossbeam-queue v0.3.11 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Checking bytemuck v1.15.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking num-complex v0.4.5 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking safe_arch v0.7.1 [INFO] [stderr] Checking half v2.4.0 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling vulkano-macros v0.34.0 [INFO] [stderr] Checking wide v0.7.15 [INFO] [stderr] Checking simba v0.8.1 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling vulkano v0.34.1 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Checking nalgebra v0.32.5 [INFO] [stdout] warning: fields `class`, `capabilities`, and `extensions` are never read [INFO] [stdout] --> autogen/spirv_grammar.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct SpirvInstruction { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 38 | pub opname: String, [INFO] [stdout] 39 | pub class: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub capabilities: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 45 | #[serde(default)] [INFO] [stdout] 46 | pub extensions: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SpirvInstruction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `capabilities` is never read [INFO] [stdout] --> autogen/spirv_grammar.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct SpirvKindEnumerant { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 71 | pub capabilities: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SpirvKindEnumerant` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/command_buffer/commands/bind_push.rs (21 fixes) [INFO] [stderr] Fixed src/swapchain/surface.rs (25 fixes) [INFO] [stderr] Fixed src/image/view.rs (3 fixes) [INFO] [stderr] Fixed src/instance/debug.rs (2 fixes) [INFO] [stderr] Fixed src/image/sampler/mod.rs (1 fix) [INFO] [stderr] Fixed src/swapchain/mod.rs (5 fixes) [INFO] [stderr] Fixed src/memory/allocator/mod.rs (3 fixes) [INFO] [stderr] Fixed src/memory/allocator/layout.rs (1 fix) [INFO] [stderr] Fixed src/display.rs (1 fix) [INFO] [stderr] Fixed src/descriptor_set/pool.rs (5 fixes) [INFO] [stderr] Fixed src/memory/allocator/suballocator.rs (7 fixes) [INFO] [stderr] Fixed src/library.rs (6 fixes) [INFO] [stderr] Fixed src/command_buffer/auto/builder.rs (3 fixes) [INFO] [stderr] Fixed src/command_buffer/commands/copy.rs (18 fixes) [INFO] [stderr] Fixed src/command_buffer/pool.rs (6 fixes) [INFO] [stderr] Fixed src/render_pass/create.rs (2 fixes) [INFO] [stderr] Fixed src/acceleration_structure.rs (2 fixes) [INFO] [stderr] Fixed src/command_buffer/commands/dynamic_state.rs (84 fixes) [INFO] [stderr] Fixed src/image/mod.rs (2 fixes) [INFO] [stderr] Fixed src/buffer/mod.rs (1 fix) [INFO] [stderr] Fixed src/pipeline/compute.rs (1 fix) [INFO] [stderr] Fixed src/memory/device_memory.rs (19 fixes) [INFO] [stderr] Fixed src/render_pass/framebuffer.rs (1 fix) [INFO] [stderr] Fixed src/instance/mod.rs (3 fixes) [INFO] [stderr] Fixed src/sync/semaphore.rs (16 fixes) [INFO] [stderr] Fixed src/image/sampler/ycbcr.rs (1 fix) [INFO] [stderr] Fixed src/buffer/view.rs (1 fix) [INFO] [stderr] Fixed src/sync/fence.rs (17 fixes) [INFO] [stderr] Fixed src/sync/event.rs (2 fixes) [INFO] [stderr] Fixed src/command_buffer/commands/acceleration_structure.rs (24 fixes) [INFO] [stderr] Fixed src/command_buffer/commands/query.rs (18 fixes) [INFO] [stderr] Fixed src/command_buffer/mod.rs (1 fix) [INFO] [stderr] Fixed src/sync/future/fence_signal.rs (3 fixes) [INFO] [stderr] Fixed src/image/sys.rs (6 fixes) [INFO] [stderr] Fixed src/pipeline/graphics/mod.rs (1 fix) [INFO] [stderr] Fixed src/command_buffer/commands/render_pass.rs (18 fixes) [INFO] [stderr] Fixed src/memory/mod.rs (4 fixes) [INFO] [stderr] Fixed src/command_buffer/commands/sync.rs (8 fixes) [INFO] [stderr] Fixed src/sync/future/join.rs (2 fixes) [INFO] [stderr] Fixed src/device/mod.rs (7 fixes) [INFO] [stderr] Fixed src/command_buffer/commands/debug.rs (10 fixes) [INFO] [stderr] Fixed src/sync/future/mod.rs (2 fixes) [INFO] [stderr] Fixed src/buffer/subbuffer.rs (6 fixes) [INFO] [stderr] Fixed src/command_buffer/sys.rs (1 fix) [INFO] [stderr] Fixed src/deferred.rs (1 fix) [INFO] [stderr] Fixed src/command_buffer/traits.rs (4 fixes) [INFO] [stderr] Fixed src/command_buffer/commands/clear.rs (12 fixes) [INFO] [stderr] Fixed src/render_pass/mod.rs (2 fixes) [INFO] [stderr] Fixed src/descriptor_set/layout.rs (1 fix) [INFO] [stderr] Fixed src/device/private_data.rs (2 fixes) [INFO] [stderr] Fixed src/pipeline/layout.rs (1 fix) [INFO] [stderr] Fixed src/buffer/sys.rs (2 fixes) [INFO] [stderr] Fixed src/swapchain/acquire_present.rs (3 fixes) [INFO] [stderr] Fixed src/device/physical.rs (38 fixes) [INFO] [stderr] Fixed src/descriptor_set/sys.rs (2 fixes) [INFO] [stderr] Fixed src/sync/future/semaphore_signal.rs (1 fix) [INFO] [stderr] Fixed src/pipeline/cache.rs (3 fixes) [INFO] [stderr] Fixed src/command_buffer/commands/pipeline.rs (18 fixes) [INFO] [stderr] Fixed src/command_buffer/commands/secondary.rs (5 fixes) [INFO] [stderr] Fixed src/device/queue.rs (13 fixes) [INFO] [stderr] Fixed src/query.rs (1 fix) [INFO] [stderr] Fixed src/shader/mod.rs (7 fixes) [INFO] [stdout] warning: the item `FromIterator` is imported redundantly [INFO] [stdout] --> src/range_map.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | iter::{FromIterator, FusedIterator}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `FromIterator` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/buffer/view.rs:312:22 [INFO] [stdout] | [INFO] [stdout] 298 | ) -> Result, VulkanError> { unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 312 | let handle = unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/device/physical.rs:521:51 [INFO] [stdout] | [INFO] [stdout] 521 | ) -> Result>, VulkanError> { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/device/physical.rs:529:33 [INFO] [stdout] | [INFO] [stdout] 521 | ) -> Result>, VulkanError> { unsafe { unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 529 | let properties_vk = unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/device/physical.rs:595:33 [INFO] [stdout] | [INFO] [stdout] 521 | ) -> Result>, VulkanError> { unsafe { unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 595 | let properties_vk = unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/device/physical.rs:886:27 [INFO] [stdout] | [INFO] [stdout] 883 | ) -> Result>, VulkanError> { unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 886 | let displays_vk = unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/device/mod.rs:386:22 [INFO] [stdout] | [INFO] [stdout] 227 | ) -> Result<(Arc, impl ExactSizeIterator>), VulkanError> { unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 386 | let handle = unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/render_pass/framebuffer.rs:281:22 [INFO] [stdout] | [INFO] [stdout] 256 | ) -> Result, VulkanError> { unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 281 | let handle = unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/image/sampler/ycbcr.rs:203:22 [INFO] [stdout] | [INFO] [stdout] 179 | ) -> Result, VulkanError> { unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 203 | let handle = unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/image/sampler/mod.rs:214:22 [INFO] [stdout] | [INFO] [stdout] 140 | ) -> Result, VulkanError> { unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 214 | let handle = unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/image/sys.rs:315:13 [INFO] [stdout] | [INFO] [stdout] 293 | ) -> Result { unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 315 | unsafe { device.physical_device().format_properties_unchecked(format) }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/memory/allocator/suballocator.rs:502:21 [INFO] [stdout] | [INFO] [stdout] 497 | unsafe fn deallocate(&self, suballocation: Suballocation) { unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 502 | let state = unsafe { &mut *self.state.get() }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/query.rs:81:22 [INFO] [stdout] | [INFO] [stdout] 60 | ) -> Result, VulkanError> { unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 81 | let handle = unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/swapchain/mod.rs:493:39 [INFO] [stdout] | [INFO] [stdout] 482 | ) -> Result<(Arc, Vec>), VulkanError> { unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 493 | let (handle, image_handles) = unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/sync/event.rs:100:22 [INFO] [stdout] | [INFO] [stdout] 92 | ) -> Result { unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 100 | let handle = unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/sync/semaphore.rs:1614:11 [INFO] [stdout] | [INFO] [stdout] 1614 | Queue(Weak), [INFO] [stdout] | ----- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 1614 | Queue(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `DeviceLayout` is imported redundantly [INFO] [stdout] --> src/buffer/subbuffer.rs:1142:55 [INFO] [stdout] | [INFO] [stdout] 1134 | use super::*; [INFO] [stdout] | -------- the item `DeviceLayout` is already imported here [INFO] [stdout] ... [INFO] [stdout] 1142 | AllocationCreateInfo, AllocationType, DeviceLayout, MemoryAllocator, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `thread` is imported redundantly [INFO] [stdout] --> src/command_buffer/allocator.rs:684:9 [INFO] [stdout] | [INFO] [stdout] 682 | use super::*; [INFO] [stdout] | -------- the item `thread` is already imported here [INFO] [stdout] 683 | use crate::VulkanObject; [INFO] [stdout] 684 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Format` is imported redundantly [INFO] [stdout] --> src/command_buffer/commands/copy.rs:6808:9 [INFO] [stdout] | [INFO] [stdout] 6807 | use super::*; [INFO] [stdout] | -------- the item `Format` is already imported here [INFO] [stdout] 6808 | use crate::format::Format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `DescriptorType` is imported redundantly [INFO] [stdout] --> src/descriptor_set/allocator.rs:591:72 [INFO] [stdout] | [INFO] [stdout] 588 | use super::*; [INFO] [stdout] | -------- the item `DescriptorType` is already imported here [INFO] [stdout] ... [INFO] [stdout] 591 | DescriptorSetLayoutBinding, DescriptorSetLayoutCreateInfo, DescriptorType, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `thread` is imported redundantly [INFO] [stdout] --> src/descriptor_set/allocator.rs:596:9 [INFO] [stdout] | [INFO] [stdout] 588 | use super::*; [INFO] [stdout] | -------- the item `thread` is already imported here [INFO] [stdout] ... [INFO] [stdout] 596 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `InstanceExtensions` is imported redundantly [INFO] [stdout] --> src/instance/debug.rs:612:40 [INFO] [stdout] | [INFO] [stdout] 610 | use super::*; [INFO] [stdout] | -------- the item `InstanceExtensions` is already imported here [INFO] [stdout] 611 | use crate::{ [INFO] [stdout] 612 | instance::{InstanceCreateInfo, InstanceExtensions}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromIterator` is imported redundantly [INFO] [stdout] --> src/range_map.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | iter::{FromIterator, FusedIterator}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `FromIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/range_map.rs:624:28 [INFO] [stdout] | [INFO] [stdout] 624 | use std::{format, vec, vec::Vec}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/std/src/prelude/mod.rs:125:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/buffer/view.rs:312:22 [INFO] [stdout] | [INFO] [stdout] 298 | ) -> Result, VulkanError> { unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 312 | let handle = unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/device/physical.rs:521:51 [INFO] [stdout] | [INFO] [stdout] 521 | ) -> Result>, VulkanError> { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/device/physical.rs:529:33 [INFO] [stdout] | [INFO] [stdout] 521 | ) -> Result>, VulkanError> { unsafe { unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 529 | let properties_vk = unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/device/physical.rs:595:33 [INFO] [stdout] | [INFO] [stdout] 521 | ) -> Result>, VulkanError> { unsafe { unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 595 | let properties_vk = unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/device/physical.rs:886:27 [INFO] [stdout] | [INFO] [stdout] 883 | ) -> Result>, VulkanError> { unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 886 | let displays_vk = unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/device/mod.rs:386:22 [INFO] [stdout] | [INFO] [stdout] 227 | ) -> Result<(Arc, impl ExactSizeIterator>), VulkanError> { unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 386 | let handle = unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/render_pass/framebuffer.rs:281:22 [INFO] [stdout] | [INFO] [stdout] 256 | ) -> Result, VulkanError> { unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 281 | let handle = unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/image/sampler/ycbcr.rs:203:22 [INFO] [stdout] | [INFO] [stdout] 179 | ) -> Result, VulkanError> { unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 203 | let handle = unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/image/sampler/mod.rs:214:22 [INFO] [stdout] | [INFO] [stdout] 140 | ) -> Result, VulkanError> { unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 214 | let handle = unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/image/sys.rs:315:13 [INFO] [stdout] | [INFO] [stdout] 293 | ) -> Result { unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 315 | unsafe { device.physical_device().format_properties_unchecked(format) }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/memory/allocator/suballocator.rs:502:21 [INFO] [stdout] | [INFO] [stdout] 497 | unsafe fn deallocate(&self, suballocation: Suballocation) { unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 502 | let state = unsafe { &mut *self.state.get() }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/query.rs:81:22 [INFO] [stdout] | [INFO] [stdout] 60 | ) -> Result, VulkanError> { unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 81 | let handle = unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/swapchain/mod.rs:493:39 [INFO] [stdout] | [INFO] [stdout] 482 | ) -> Result<(Arc, Vec>), VulkanError> { unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 493 | let (handle, image_handles) = unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/sync/event.rs:100:22 [INFO] [stdout] | [INFO] [stdout] 92 | ) -> Result { unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 100 | let handle = unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/sync/semaphore.rs:1614:11 [INFO] [stdout] | [INFO] [stdout] 1614 | Queue(Weak), [INFO] [stdout] | ----- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 1614 | Queue(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 50.23s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling vulkano v0.34.1 (/tmp/fixit) [INFO] [stdout] warning: fields `class`, `capabilities`, and `extensions` are never read [INFO] [stdout] --> autogen/spirv_grammar.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct SpirvInstruction { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 38 | pub opname: String, [INFO] [stdout] 39 | pub class: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub capabilities: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 45 | #[serde(default)] [INFO] [stdout] 46 | pub extensions: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SpirvInstruction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `capabilities` is never read [INFO] [stdout] --> autogen/spirv_grammar.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct SpirvKindEnumerant { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 71 | pub capabilities: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SpirvKindEnumerant` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromIterator` is imported redundantly [INFO] [stdout] --> src/range_map.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | iter::{FromIterator, FusedIterator}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/std/src/prelude/mod.rs:143:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `FromIterator` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `DeviceLayout` is imported redundantly [INFO] [stdout] --> src/buffer/subbuffer.rs:1142:55 [INFO] [stdout] | [INFO] [stdout] 1134 | use super::*; [INFO] [stdout] | -------- the item `DeviceLayout` is already imported here [INFO] [stdout] ... [INFO] [stdout] 1142 | AllocationCreateInfo, AllocationType, DeviceLayout, MemoryAllocator, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `thread` is imported redundantly [INFO] [stdout] --> src/command_buffer/allocator.rs:684:9 [INFO] [stdout] | [INFO] [stdout] 682 | use super::*; [INFO] [stdout] | -------- the item `thread` is already imported here [INFO] [stdout] 683 | use crate::VulkanObject; [INFO] [stdout] 684 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Future` is imported redundantly [INFO] [stdout] --> src/sync/fence.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | future::Future, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/std/src/prelude/mod.rs:143:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Future` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Format` is imported redundantly [INFO] [stdout] --> src/command_buffer/commands/copy.rs:6808:9 [INFO] [stdout] | [INFO] [stdout] 6807 | use super::*; [INFO] [stdout] | -------- the item `Format` is already imported here [INFO] [stdout] 6808 | use crate::format::Format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Future` is imported redundantly [INFO] [stdout] --> src/sync/future/fence_signal.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | future::Future, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/std/src/prelude/mod.rs:143:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Future` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `DescriptorType` is imported redundantly [INFO] [stdout] --> src/descriptor_set/allocator.rs:591:72 [INFO] [stdout] | [INFO] [stdout] 588 | use super::*; [INFO] [stdout] | -------- the item `DescriptorType` is already imported here [INFO] [stdout] ... [INFO] [stdout] 591 | DescriptorSetLayoutBinding, DescriptorSetLayoutCreateInfo, DescriptorType, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `thread` is imported redundantly [INFO] [stdout] --> src/descriptor_set/allocator.rs:596:9 [INFO] [stdout] | [INFO] [stdout] 588 | use super::*; [INFO] [stdout] | -------- the item `thread` is already imported here [INFO] [stdout] ... [INFO] [stdout] 596 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `InstanceExtensions` is imported redundantly [INFO] [stdout] --> src/instance/debug.rs:612:40 [INFO] [stdout] | [INFO] [stdout] 610 | use super::*; [INFO] [stdout] | -------- the item `InstanceExtensions` is already imported here [INFO] [stdout] 611 | use crate::{ [INFO] [stdout] 612 | instance::{InstanceCreateInfo, InstanceExtensions}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromIterator` is imported redundantly [INFO] [stdout] --> src/range_map.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | iter::{FromIterator, FusedIterator}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/std/src/prelude/mod.rs:143:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `FromIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/range_map.rs:624:28 [INFO] [stdout] | [INFO] [stdout] 624 | use std::{format, vec, vec::Vec}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/std/src/prelude/mod.rs:139:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Future` is imported redundantly [INFO] [stdout] --> src/sync/fence.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | future::Future, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/std/src/prelude/mod.rs:143:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Future` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Future` is imported redundantly [INFO] [stdout] --> src/sync/future/fence_signal.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | future::Future, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/std/src/prelude/mod.rs:143:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Future` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `present_info` does not live long enough [INFO] [stdout] --> src/device/queue.rs:522:52 [INFO] [stdout] | [INFO] [stdout] 519 | &mut self, [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] 520 | present_info: PresentInfo, [INFO] [stdout] | ------------ binding `present_info` declared here [INFO] [stdout] 521 | ) -> Result>, VulkanError> { unsafe { [INFO] [stdout] 522 | let mut states = States::from_present_info(&present_info); [INFO] [stdout] | ^^^^^^^^^^^^^ borrowed value does not live long enough [INFO] [stdout] 523 | self.present_unchecked_locked(&present_info, &mut states) [INFO] [stdout] | --------------------------------------------------------- argument requires that `present_info` is borrowed for `'1` [INFO] [stdout] 524 | }} [INFO] [stdout] | - `present_info` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `present_info` does not live long enough [INFO] [stdout] --> src/device/queue.rs:523:39 [INFO] [stdout] | [INFO] [stdout] 519 | &mut self, [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] 520 | present_info: PresentInfo, [INFO] [stdout] | ------------ binding `present_info` declared here [INFO] [stdout] ... [INFO] [stdout] 523 | self.present_unchecked_locked(&present_info, &mut states) [INFO] [stdout] | ------------------------------^^^^^^^^^^^^^-------------- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `present_info` is borrowed for `'1` [INFO] [stdout] 524 | }} [INFO] [stdout] | - `present_info` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `states` does not live long enough [INFO] [stdout] --> src/device/queue.rs:523:54 [INFO] [stdout] | [INFO] [stdout] 519 | &mut self, [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 522 | let mut states = States::from_present_info(&present_info); [INFO] [stdout] | ---------- binding `states` declared here [INFO] [stdout] 523 | self.present_unchecked_locked(&present_info, &mut states) [INFO] [stdout] | ---------------------------------------------^^^^^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `states` is borrowed for `'1` [INFO] [stdout] 524 | }} [INFO] [stdout] | - `states` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `present_info` does not live long enough [INFO] [stdout] --> src/device/queue.rs:522:52 [INFO] [stdout] | [INFO] [stdout] 519 | &mut self, [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] 520 | present_info: PresentInfo, [INFO] [stdout] | ------------ binding `present_info` declared here [INFO] [stdout] 521 | ) -> Result>, VulkanError> { unsafe { [INFO] [stdout] 522 | let mut states = States::from_present_info(&present_info); [INFO] [stdout] | ^^^^^^^^^^^^^ borrowed value does not live long enough [INFO] [stdout] 523 | self.present_unchecked_locked(&present_info, &mut states) [INFO] [stdout] | --------------------------------------------------------- argument requires that `present_info` is borrowed for `'1` [INFO] [stdout] 524 | }} [INFO] [stdout] | - `present_info` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `present_info` does not live long enough [INFO] [stdout] --> src/device/queue.rs:523:39 [INFO] [stdout] | [INFO] [stdout] 519 | &mut self, [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] 520 | present_info: PresentInfo, [INFO] [stdout] | ------------ binding `present_info` declared here [INFO] [stdout] ... [INFO] [stdout] 523 | self.present_unchecked_locked(&present_info, &mut states) [INFO] [stdout] | ------------------------------^^^^^^^^^^^^^-------------- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `present_info` is borrowed for `'1` [INFO] [stdout] 524 | }} [INFO] [stdout] | - `present_info` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `states` does not live long enough [INFO] [stdout] --> src/device/queue.rs:523:54 [INFO] [stdout] | [INFO] [stdout] 519 | &mut self, [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 522 | let mut states = States::from_present_info(&present_info); [INFO] [stdout] | ---------- binding `states` declared here [INFO] [stdout] 523 | self.present_unchecked_locked(&present_info, &mut states) [INFO] [stdout] | ---------------------------------------------^^^^^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `states` is borrowed for `'1` [INFO] [stdout] 524 | }} [INFO] [stdout] | - `states` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/buffer/view.rs:312:22 [INFO] [stdout] | [INFO] [stdout] 298 | ) -> Result, VulkanError> { unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 312 | let handle = unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/buffer/view.rs:312:22 [INFO] [stdout] | [INFO] [stdout] 298 | ) -> Result, VulkanError> { unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 312 | let handle = unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/device/physical.rs:521:51 [INFO] [stdout] | [INFO] [stdout] 521 | ) -> Result>, VulkanError> { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/device/physical.rs:529:33 [INFO] [stdout] | [INFO] [stdout] 521 | ) -> Result>, VulkanError> { unsafe { unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 529 | let properties_vk = unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/device/physical.rs:595:33 [INFO] [stdout] | [INFO] [stdout] 521 | ) -> Result>, VulkanError> { unsafe { unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 595 | let properties_vk = unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/device/physical.rs:886:27 [INFO] [stdout] | [INFO] [stdout] 883 | ) -> Result>, VulkanError> { unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 886 | let displays_vk = unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/device/physical.rs:521:51 [INFO] [stdout] | [INFO] [stdout] 521 | ) -> Result>, VulkanError> { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/device/physical.rs:529:33 [INFO] [stdout] | [INFO] [stdout] 521 | ) -> Result>, VulkanError> { unsafe { unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 529 | let properties_vk = unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/device/physical.rs:595:33 [INFO] [stdout] | [INFO] [stdout] 521 | ) -> Result>, VulkanError> { unsafe { unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 595 | let properties_vk = unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/device/physical.rs:886:27 [INFO] [stdout] | [INFO] [stdout] 883 | ) -> Result>, VulkanError> { unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 886 | let displays_vk = unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/device/mod.rs:386:22 [INFO] [stdout] | [INFO] [stdout] 227 | ) -> Result<(Arc, impl ExactSizeIterator>), VulkanError> { unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 386 | let handle = unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/render_pass/framebuffer.rs:281:22 [INFO] [stdout] | [INFO] [stdout] 256 | ) -> Result, VulkanError> { unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 281 | let handle = unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/device/mod.rs:386:22 [INFO] [stdout] | [INFO] [stdout] 227 | ) -> Result<(Arc, impl ExactSizeIterator>), VulkanError> { unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 386 | let handle = unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/render_pass/framebuffer.rs:281:22 [INFO] [stdout] | [INFO] [stdout] 256 | ) -> Result, VulkanError> { unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 281 | let handle = unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/image/sampler/ycbcr.rs:203:22 [INFO] [stdout] | [INFO] [stdout] 179 | ) -> Result, VulkanError> { unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 203 | let handle = unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/image/sampler/mod.rs:214:22 [INFO] [stdout] | [INFO] [stdout] 140 | ) -> Result, VulkanError> { unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 214 | let handle = unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/image/sys.rs:315:13 [INFO] [stdout] | [INFO] [stdout] 293 | ) -> Result { unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 315 | unsafe { device.physical_device().format_properties_unchecked(format) }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/image/sampler/ycbcr.rs:203:22 [INFO] [stdout] | [INFO] [stdout] 179 | ) -> Result, VulkanError> { unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 203 | let handle = unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/image/sampler/mod.rs:214:22 [INFO] [stdout] | [INFO] [stdout] 140 | ) -> Result, VulkanError> { unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 214 | let handle = unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/image/sys.rs:315:13 [INFO] [stdout] | [INFO] [stdout] 293 | ) -> Result { unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 315 | unsafe { device.physical_device().format_properties_unchecked(format) }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `vulkano` (lib test) due to 3 previous errors; 20 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/9ae1860851f3fbc1435a1698e572252c0076f413/bin/rustc --crate-name vulkano --edition=2024 -Z unstable-options src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,metadata -C embed-bitcode=no -C debuginfo=2 --test --cfg 'feature="default"' --cfg 'feature="macros"' --cfg 'feature="vulkano-macros"' -C metadata=a98fa76a30c4d562 -C extra-filename=-a98fa76a30c4d562 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern ahash=/opt/rustwide/target/debug/deps/libahash-75912a5d916ed292.rmeta --extern ash=/opt/rustwide/target/debug/deps/libash-a20fabdf37b436a7.rmeta --extern bytemuck=/opt/rustwide/target/debug/deps/libbytemuck-ba3f516ef3304ba6.rmeta --extern cgmath=/opt/rustwide/target/debug/deps/libcgmath-6bdf29cdc1ba63fc.rmeta --extern crossbeam_queue=/opt/rustwide/target/debug/deps/libcrossbeam_queue-d346c0c362c67876.rmeta --extern half=/opt/rustwide/target/debug/deps/libhalf-82d6042299b0ed7d.rmeta --extern libloading=/opt/rustwide/target/debug/deps/liblibloading-5bcaf5559b21346b.rmeta --extern nalgebra=/opt/rustwide/target/debug/deps/libnalgebra-e5973870579dbfb3.rmeta --extern once_cell=/opt/rustwide/target/debug/deps/libonce_cell-545f3f5526de30f0.rmeta --extern parking_lot=/opt/rustwide/target/debug/deps/libparking_lot-249a8665df21610e.rmeta --extern raw_window_handle=/opt/rustwide/target/debug/deps/libraw_window_handle-86f246294b6dbe45.rmeta --extern smallvec=/opt/rustwide/target/debug/deps/libsmallvec-e1af8f293a626b97.rmeta --extern thread_local=/opt/rustwide/target/debug/deps/libthread_local-b51fd98f4492dc74.rmeta --extern vulkano_macros=/opt/rustwide/target/debug/deps/libvulkano_macros-a73d6b1e41c2b587.so --cap-lints=forbid` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/memory/allocator/suballocator.rs:502:21 [INFO] [stdout] | [INFO] [stdout] 497 | unsafe fn deallocate(&self, suballocation: Suballocation) { unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 502 | let state = unsafe { &mut *self.state.get() }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/query.rs:81:22 [INFO] [stdout] | [INFO] [stdout] 60 | ) -> Result, VulkanError> { unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 81 | let handle = unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing function parameter `q` [INFO] [stdout] --> src/swapchain/acquire_present.rs:687:39 [INFO] [stdout] | [INFO] [stdout] 687 | .with(|mut q| q.present_unchecked(present_info))? [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] | `q` is borrowed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/swapchain/mod.rs:493:39 [INFO] [stdout] | [INFO] [stdout] 482 | ) -> Result<(Arc, Vec>), VulkanError> { unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 493 | let (handle, image_handles) = unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/sync/event.rs:100:22 [INFO] [stdout] | [INFO] [stdout] 92 | ) -> Result { unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 100 | let handle = unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing function parameter `q` [INFO] [stdout] --> src/sync/future/fence_signal.rs:350:43 [INFO] [stdout] | [INFO] [stdout] 350 | ... .with(|mut q| q.present_unchecked(present_info))? [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] | `q` is borrowed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0515, E0597. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0515`. [INFO] [stdout] [INFO] [stderr] error: could not compile `vulkano` (lib) due to 6 previous errors; 17 warnings emitted [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "f461824007879f22aee8c7519c800e9b91d66aa87938b82eccb75da237c900d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f461824007879f22aee8c7519c800e9b91d66aa87938b82eccb75da237c900d0", kill_on_drop: false }` [INFO] [stdout] f461824007879f22aee8c7519c800e9b91d66aa87938b82eccb75da237c900d0