[INFO] cloning repository https://github.com/hasenbanck/asche [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hasenbanck/asche" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhasenbanck%2Fasche", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhasenbanck%2Fasche'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7811b33661c533cb3a02a8ed5e31c1735841ebd3 [INFO] checking hasenbanck/asche against master#36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 for pr-81863 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhasenbanck%2Fasche" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hasenbanck/asche on toolchain 36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hasenbanck/asche [INFO] finished tweaking git repo https://github.com/hasenbanck/asche [INFO] tweaked toml for git repo https://github.com/hasenbanck/asche written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/hasenbanck/asche already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4084e8ed0568ae35c1501f3d2dad091967b97c48f1d0ed7a3d93d8b9f113ebf9 [INFO] running `Command { std: "docker" "start" "-a" "4084e8ed0568ae35c1501f3d2dad091967b97c48f1d0ed7a3d93d8b9f113ebf9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4084e8ed0568ae35c1501f3d2dad091967b97c48f1d0ed7a3d93d8b9f113ebf9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4084e8ed0568ae35c1501f3d2dad091967b97c48f1d0ed7a3d93d8b9f113ebf9", kill_on_drop: false }` [INFO] [stdout] 4084e8ed0568ae35c1501f3d2dad091967b97c48f1d0ed7a3d93d8b9f113ebf9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e396d6b5708c549f836cfb1796ab94d5e0e38a4422bfe3e59fa2c41ff7d82e71 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e396d6b5708c549f836cfb1796ab94d5e0e38a4422bfe3e59fa2c41ff7d82e71", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking pin-project-lite v0.2.4 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking libloading v0.6.7 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking sharded-slab v0.1.1 [INFO] [stderr] Checking thread_local v1.1.0 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking memmap2 v0.1.0 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Checking ash v0.31.0 [INFO] [stderr] Checking parking_lot_core v0.8.2 [INFO] [stderr] Compiling nom v6.1.0 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking andrew v0.3.1 [INFO] [stderr] Checking tracing v0.1.22 [INFO] [stderr] Compiling wayland-sys v0.28.3 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking tracing-subscriber v0.2.15 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Compiling wayland-scanner v0.28.3 [INFO] [stderr] Checking xcursor v0.3.3 [INFO] [stderr] Compiling wayland-client v0.28.3 [INFO] [stderr] Compiling wayland-protocols v0.28.3 [INFO] [stderr] Checking wayland-commons v0.28.3 [INFO] [stderr] Checking calloop v0.6.5 [INFO] [stderr] Checking wayland-cursor v0.28.3 [INFO] [stderr] Checking asche v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type alias is never used: `Result` [INFO] [stdout] --> src/allocator/mod.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | type Result = std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `align_down` [INFO] [stdout] --> src/allocator/best_fit_allocator.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn align_down(val: u64, alignment: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `align_up` [INFO] [stdout] --> src/allocator/best_fit_allocator.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn align_up(val: u64, alignment: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/allocator/best_fit_allocator.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 39 | pub(crate) fn new(size: u64) -> BestFitAllocator { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_new_chunk_id` [INFO] [stdout] --> src/allocator/best_fit_allocator.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | fn get_new_chunk_id(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_id_from_free_list` [INFO] [stdout] --> src/allocator/best_fit_allocator.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 82 | fn remove_id_from_free_list(&mut self, chunk_id: NonZeroU64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `merge_free_chunks` [INFO] [stdout] --> src/allocator/best_fit_allocator.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | fn merge_free_chunks(&mut self, chunk_left: NonZeroU64, chunk_right: NonZeroU64) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `allocate` [INFO] [stdout] --> src/allocator/best_fit_allocator.rs:128:19 [INFO] [stdout] | [INFO] [stdout] 128 | pub(crate) fn allocate( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `free` [INFO] [stdout] --> src/allocator/best_fit_allocator.rs:228:19 [INFO] [stdout] | [INFO] [stdout] 228 | pub(crate) fn free(&mut self, chunk_id: NonZeroU64) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `size` [INFO] [stdout] --> src/allocator/best_fit_allocator.rs:283:19 [INFO] [stdout] | [INFO] [stdout] 283 | pub(crate) fn size(&self) -> u64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `allocated` [INFO] [stdout] --> src/allocator/best_fit_allocator.rs:287:19 [INFO] [stdout] | [INFO] [stdout] 287 | pub(crate) fn allocated(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/allocator/dedicated_allocator.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) fn new(size: u64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `allocate` [INFO] [stdout] --> src/allocator/dedicated_allocator.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | pub(crate) fn allocate(&mut self, size: u64, name: &'static str) -> Result<(u64, NonZeroU64)> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `size` [INFO] [stdout] --> src/allocator/dedicated_allocator.rs:51:19 [INFO] [stdout] | [INFO] [stdout] 51 | pub(crate) fn size(&self) -> u64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `GpuOnly` [INFO] [stdout] --> src/allocator/mod.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | GpuOnly, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CpuToGpu` [INFO] [stdout] --> src/allocator/mod.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | CpuToGpu, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `GpuToCpu` [INFO] [stdout] --> src/allocator/mod.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | GpuToCpu, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Dedicated` [INFO] [stdout] --> src/allocator/mod.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | Dedicated, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Linear` [INFO] [stdout] --> src/allocator/mod.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | Linear, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Optimal` [INFO] [stdout] --> src/allocator/mod.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | Optimal, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `physical_memory_properties` [INFO] [stdout] --> src/allocator/mod.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | physical_memory_properties: vk::PhysicalDeviceMemoryProperties2, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `buffer_image_granularity` [INFO] [stdout] --> src/allocator/mod.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | buffer_image_granularity: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `allocate_memory_for_buffer` [INFO] [stdout] --> src/allocator/mod.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 170 | pub fn allocate_memory_for_buffer( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `allocate_memory_for_image` [INFO] [stdout] --> src/allocator/mod.rs:208:12 [INFO] [stdout] | [INFO] [stdout] 208 | pub fn allocate_memory_for_image( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `allocate_memory` [INFO] [stdout] --> src/allocator/mod.rs:242:12 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn allocate_memory( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `free` [INFO] [stdout] --> src/allocator/mod.rs:331:12 [INFO] [stdout] | [INFO] [stdout] 331 | pub fn free(&mut self, allocation: Allocation) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `memory` [INFO] [stdout] --> src/allocator/mod.rs:395:19 [INFO] [stdout] | [INFO] [stdout] 395 | pub unsafe fn memory(&self) -> vk::DeviceMemory { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `offset` [INFO] [stdout] --> src/allocator/mod.rs:401:12 [INFO] [stdout] | [INFO] [stdout] 401 | pub fn offset(&self) -> u64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `size` [INFO] [stdout] --> src/allocator/mod.rs:406:12 [INFO] [stdout] | [INFO] [stdout] 406 | pub fn size(&self) -> u64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mapped_ptr` [INFO] [stdout] --> src/allocator/mod.rs:412:12 [INFO] [stdout] | [INFO] [stdout] 412 | pub fn mapped_ptr(&self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mapped_slice` [INFO] [stdout] --> src/allocator/mod.rs:418:12 [INFO] [stdout] | [INFO] [stdout] 418 | pub fn mapped_slice(&self) -> Option<&[u8]> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mapped_slice_mut` [INFO] [stdout] --> src/allocator/mod.rs:433:12 [INFO] [stdout] | [INFO] [stdout] 433 | pub fn mapped_slice_mut(&mut self) -> Option<&mut [u8]> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Dedicated` [INFO] [stdout] --> src/allocator/mod.rs:449:5 [INFO] [stdout] | [INFO] [stdout] 449 | Dedicated(DedicatedAllocator), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BestFit` [INFO] [stdout] --> src/allocator/mod.rs:450:5 [INFO] [stdout] | [INFO] [stdout] 450 | BestFit(BestFitAllocator), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/allocator/mod.rs:464:8 [INFO] [stdout] | [INFO] [stdout] 464 | fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `allocate` [INFO] [stdout] --> src/allocator/mod.rs:536:8 [INFO] [stdout] | [INFO] [stdout] 536 | fn allocate( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `free` [INFO] [stdout] --> src/allocator/mod.rs:656:8 [INFO] [stdout] | [INFO] [stdout] 656 | fn free(&mut self, allocation: Allocation, device: &ash::Device) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_mapped_ptr` [INFO] [stdout] --> src/allocator/mod.rs:680:4 [INFO] [stdout] | [INFO] [stdout] 680 | fn get_mapped_ptr(mem_block: &mut MemoryBlock, offset: u64) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_memory_type_index` [INFO] [stdout] --> src/allocator/mod.rs:689:4 [INFO] [stdout] | [INFO] [stdout] 689 | fn find_memory_type_index( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `allocator` [INFO] [stdout] --> src/lib.rs:914:5 [INFO] [stdout] | [INFO] [stdout] 914 | allocator: allocator::Allocator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking smithay-client-toolkit v0.12.2 [INFO] [stderr] Checking winit v0.24.0 [INFO] [stdout] warning: type alias is never used: `Result` [INFO] [stdout] --> src/allocator/mod.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | type Result = std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `align_down` [INFO] [stdout] --> src/allocator/best_fit_allocator.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn align_down(val: u64, alignment: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `align_up` [INFO] [stdout] --> src/allocator/best_fit_allocator.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn align_up(val: u64, alignment: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/allocator/best_fit_allocator.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 39 | pub(crate) fn new(size: u64) -> BestFitAllocator { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_new_chunk_id` [INFO] [stdout] --> src/allocator/best_fit_allocator.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | fn get_new_chunk_id(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_id_from_free_list` [INFO] [stdout] --> src/allocator/best_fit_allocator.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 82 | fn remove_id_from_free_list(&mut self, chunk_id: NonZeroU64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `merge_free_chunks` [INFO] [stdout] --> src/allocator/best_fit_allocator.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | fn merge_free_chunks(&mut self, chunk_left: NonZeroU64, chunk_right: NonZeroU64) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `allocate` [INFO] [stdout] --> src/allocator/best_fit_allocator.rs:128:19 [INFO] [stdout] | [INFO] [stdout] 128 | pub(crate) fn allocate( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `free` [INFO] [stdout] --> src/allocator/best_fit_allocator.rs:228:19 [INFO] [stdout] | [INFO] [stdout] 228 | pub(crate) fn free(&mut self, chunk_id: NonZeroU64) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `size` [INFO] [stdout] --> src/allocator/best_fit_allocator.rs:283:19 [INFO] [stdout] | [INFO] [stdout] 283 | pub(crate) fn size(&self) -> u64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `allocated` [INFO] [stdout] --> src/allocator/best_fit_allocator.rs:287:19 [INFO] [stdout] | [INFO] [stdout] 287 | pub(crate) fn allocated(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/allocator/dedicated_allocator.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) fn new(size: u64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `allocate` [INFO] [stdout] --> src/allocator/dedicated_allocator.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | pub(crate) fn allocate(&mut self, size: u64, name: &'static str) -> Result<(u64, NonZeroU64)> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `size` [INFO] [stdout] --> src/allocator/dedicated_allocator.rs:51:19 [INFO] [stdout] | [INFO] [stdout] 51 | pub(crate) fn size(&self) -> u64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `GpuOnly` [INFO] [stdout] --> src/allocator/mod.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | GpuOnly, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CpuToGpu` [INFO] [stdout] --> src/allocator/mod.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | CpuToGpu, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `GpuToCpu` [INFO] [stdout] --> src/allocator/mod.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | GpuToCpu, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Dedicated` [INFO] [stdout] --> src/allocator/mod.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | Dedicated, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Linear` [INFO] [stdout] --> src/allocator/mod.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | Linear, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Optimal` [INFO] [stdout] --> src/allocator/mod.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | Optimal, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `physical_memory_properties` [INFO] [stdout] --> src/allocator/mod.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | physical_memory_properties: vk::PhysicalDeviceMemoryProperties2, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `buffer_image_granularity` [INFO] [stdout] --> src/allocator/mod.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | buffer_image_granularity: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `allocate_memory_for_buffer` [INFO] [stdout] --> src/allocator/mod.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 170 | pub fn allocate_memory_for_buffer( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `allocate_memory_for_image` [INFO] [stdout] --> src/allocator/mod.rs:208:12 [INFO] [stdout] | [INFO] [stdout] 208 | pub fn allocate_memory_for_image( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `allocate_memory` [INFO] [stdout] --> src/allocator/mod.rs:242:12 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn allocate_memory( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `free` [INFO] [stdout] --> src/allocator/mod.rs:331:12 [INFO] [stdout] | [INFO] [stdout] 331 | pub fn free(&mut self, allocation: Allocation) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `memory` [INFO] [stdout] --> src/allocator/mod.rs:395:19 [INFO] [stdout] | [INFO] [stdout] 395 | pub unsafe fn memory(&self) -> vk::DeviceMemory { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `offset` [INFO] [stdout] --> src/allocator/mod.rs:401:12 [INFO] [stdout] | [INFO] [stdout] 401 | pub fn offset(&self) -> u64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `size` [INFO] [stdout] --> src/allocator/mod.rs:406:12 [INFO] [stdout] | [INFO] [stdout] 406 | pub fn size(&self) -> u64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mapped_ptr` [INFO] [stdout] --> src/allocator/mod.rs:412:12 [INFO] [stdout] | [INFO] [stdout] 412 | pub fn mapped_ptr(&self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mapped_slice` [INFO] [stdout] --> src/allocator/mod.rs:418:12 [INFO] [stdout] | [INFO] [stdout] 418 | pub fn mapped_slice(&self) -> Option<&[u8]> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mapped_slice_mut` [INFO] [stdout] --> src/allocator/mod.rs:433:12 [INFO] [stdout] | [INFO] [stdout] 433 | pub fn mapped_slice_mut(&mut self) -> Option<&mut [u8]> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Dedicated` [INFO] [stdout] --> src/allocator/mod.rs:449:5 [INFO] [stdout] | [INFO] [stdout] 449 | Dedicated(DedicatedAllocator), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BestFit` [INFO] [stdout] --> src/allocator/mod.rs:450:5 [INFO] [stdout] | [INFO] [stdout] 450 | BestFit(BestFitAllocator), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/allocator/mod.rs:464:8 [INFO] [stdout] | [INFO] [stdout] 464 | fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `allocate` [INFO] [stdout] --> src/allocator/mod.rs:536:8 [INFO] [stdout] | [INFO] [stdout] 536 | fn allocate( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `free` [INFO] [stdout] --> src/allocator/mod.rs:656:8 [INFO] [stdout] | [INFO] [stdout] 656 | fn free(&mut self, allocation: Allocation, device: &ash::Device) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_mapped_ptr` [INFO] [stdout] --> src/allocator/mod.rs:680:4 [INFO] [stdout] | [INFO] [stdout] 680 | fn get_mapped_ptr(mem_block: &mut MemoryBlock, offset: u64) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_memory_type_index` [INFO] [stdout] --> src/allocator/mod.rs:689:4 [INFO] [stdout] | [INFO] [stdout] 689 | fn find_memory_type_index( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `allocator` [INFO] [stdout] --> src/lib.rs:914:5 [INFO] [stdout] | [INFO] [stdout] 914 | allocator: allocator::Allocator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 57.26s [INFO] running `Command { std: "docker" "inspect" "e396d6b5708c549f836cfb1796ab94d5e0e38a4422bfe3e59fa2c41ff7d82e71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e396d6b5708c549f836cfb1796ab94d5e0e38a4422bfe3e59fa2c41ff7d82e71", kill_on_drop: false }` [INFO] [stdout] e396d6b5708c549f836cfb1796ab94d5e0e38a4422bfe3e59fa2c41ff7d82e71