[INFO] fetching crate phobos 0.10.0... [INFO] testing phobos-0.10.0 against beta-2024-10-19 for beta-1.83-1 [INFO] extracting crate phobos 0.10.0 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate phobos 0.10.0 on toolchain beta-2024-10-19 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-10-19" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate phobos 0.10.0 [INFO] finished tweaking crates.io crate phobos 0.10.0 [INFO] tweaked toml for crates.io crate phobos 0.10.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate crates.io crate phobos 0.10.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-10-19" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `multimap` dependency) [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-10-19" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d318d9306bbdc6705aad8c4c1f7ff531e098060dc3337896699ba2e6174cf63b [INFO] running `Command { std: "docker" "start" "-a" "d318d9306bbdc6705aad8c4c1f7ff531e098060dc3337896699ba2e6174cf63b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d318d9306bbdc6705aad8c4c1f7ff531e098060dc3337896699ba2e6174cf63b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d318d9306bbdc6705aad8c4c1f7ff531e098060dc3337896699ba2e6174cf63b", kill_on_drop: false }` [INFO] [stdout] d318d9306bbdc6705aad8c4c1f7ff531e098060dc3337896699ba2e6174cf63b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-10-19" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 890ff2102621045801044f20c444c1bdc40c10d8f333b43f877347bd05a6bfb9 [INFO] running `Command { std: "docker" "start" "-a" "890ff2102621045801044f20c444c1bdc40c10d8f333b43f877347bd05a6bfb9", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `multimap` dependency) [INFO] [stderr] Compiling proc-macro2 v1.0.56 [INFO] [stderr] Compiling quote v1.0.26 [INFO] [stderr] Compiling unicode-ident v1.0.8 [INFO] [stderr] Compiling libc v0.2.142 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling once_cell v1.17.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling thiserror v1.0.40 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling syn v2.0.15 [INFO] [stderr] Compiling jobserver v0.1.26 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling slotmap v1.0.6 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling simd-adler32 v0.3.5 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling flate2 v1.0.25 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling fdeflate v0.3.0 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling backtrace v0.3.67 [INFO] [stderr] Compiling nix v0.25.1 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.0 [INFO] [stderr] Compiling arrayref v0.3.7 [INFO] [stderr] Compiling ash v0.37.2+1.3.238 [INFO] [stderr] Compiling ttf-parser v0.19.0 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling bytemuck v1.13.1 [INFO] [stderr] Compiling gimli v0.27.2 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling strict-num v0.1.0 [INFO] [stderr] Compiling tiny-skia-path v0.8.3 [INFO] [stderr] Compiling png v0.17.8 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling object v0.30.3 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling owned_ttf_parser v0.19.0 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling wayland-cursor v0.29.5 [INFO] [stderr] Compiling addr2line v0.19.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling futures-io v0.3.28 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling tiny-skia v0.8.3 [INFO] [stderr] Compiling winit v0.28.3 [INFO] [stderr] Compiling calloop v0.10.5 [INFO] [stderr] Compiling ab_glyph v0.2.21 [INFO] [stderr] Compiling spv-cross v0.23.5 [INFO] [stderr] Compiling anyhow v1.0.70 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling raw-window-handle v0.5.2 [INFO] [stderr] Compiling futures-executor v0.3.28 [INFO] [stderr] Compiling mio v0.8.6 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling phobos v0.10.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling petgraph v0.6.3 [INFO] [stderr] Compiling futures v0.3.28 [INFO] [stderr] Compiling multimap v0.9.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling gpu-allocator v0.22.0 [INFO] [stderr] Compiling ash-window v0.12.0 [INFO] [stderr] Compiling sctk-adwaita v0.5.4 [INFO] [stdout] warning: unused import: `crate::pipeline::hash::*` [INFO] [stdout] --> src/prelude.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub use crate::pipeline::hash::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 10s [INFO] running `Command { std: "docker" "inspect" "890ff2102621045801044f20c444c1bdc40c10d8f333b43f877347bd05a6bfb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "890ff2102621045801044f20c444c1bdc40c10d8f333b43f877347bd05a6bfb9", kill_on_drop: false }` [INFO] [stdout] 890ff2102621045801044f20c444c1bdc40c10d8f333b43f877347bd05a6bfb9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-10-19" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 008f971964799ab2ac5bdd1de273bdae87e5bd8043cb8c777d699cbf7db3a409 [INFO] running `Command { std: "docker" "start" "-a" "008f971964799ab2ac5bdd1de273bdae87e5bd8043cb8c777d699cbf7db3a409", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `multimap` dependency) [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling aho-corasick v1.0.1 [INFO] [stderr] Compiling regex-syntax v0.7.1 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling glam v0.23.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling calloop v0.10.5 [INFO] [stderr] Compiling mio v0.8.6 [INFO] [stderr] Compiling gpu-allocator v0.22.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.0 [INFO] [stderr] Compiling regex v1.8.1 [INFO] [stderr] Compiling sctk-adwaita v0.5.4 [INFO] [stderr] Compiling winit v0.28.3 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling pretty_env_logger v0.4.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling concat-idents v1.1.4 [INFO] [stderr] Compiling phobos v0.10.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::pipeline::hash::*` [INFO] [stdout] --> src/prelude.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub use crate::pipeline::hash::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::pipeline::hash::*` [INFO] [stdout] --> src/prelude.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub use crate::pipeline::hash::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 14.97s [INFO] running `Command { std: "docker" "inspect" "008f971964799ab2ac5bdd1de273bdae87e5bd8043cb8c777d699cbf7db3a409", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "008f971964799ab2ac5bdd1de273bdae87e5bd8043cb8c777d699cbf7db3a409", kill_on_drop: false }` [INFO] [stdout] 008f971964799ab2ac5bdd1de273bdae87e5bd8043cb8c777d699cbf7db3a409 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-10-19" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4adb26441fb1530e1539dba99a5c32f0413e0cb884f69fcfd507a8577cac9b86 [INFO] running `Command { std: "docker" "start" "-a" "4adb26441fb1530e1539dba99a5c32f0413e0cb884f69fcfd507a8577cac9b86", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `multimap` dependency) [INFO] [stderr] warning: unused import: `crate::pipeline::hash::*` [INFO] [stderr] --> src/prelude.rs:31:9 [INFO] [stderr] | [INFO] [stderr] 31 | pub use crate::pipeline::hash::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `phobos` (lib) generated 1 warning (run `cargo fix --lib -p phobos` to apply 1 suggestion) [INFO] [stderr] warning: `phobos` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/phobos-2e2a27d3571f1e69) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests phobos [INFO] [stdout] [INFO] [stdout] running 76 tests [INFO] [stdout] test src/allocator/default_allocator.rs - allocator::default_allocator::DefaultAllocator::free (line 168) ... FAILED [INFO] [stdout] test src/allocator/default_allocator.rs - allocator::default_allocator::DefaultAllocator::new (line 76) ... FAILED [INFO] [stdout] test src/allocator/default_allocator.rs - allocator::default_allocator::Allocation (line 56) ... FAILED [INFO] [stdout] test src/allocator/default_allocator.rs - allocator::default_allocator::DefaultAllocator::allocate (line 126) ... FAILED [INFO] [stdout] test src/allocator/scratch_allocator.rs - allocator::scratch_allocator (line 9) ... FAILED [INFO] [stdout] test src/allocator/scratch_allocator.rs - allocator::scratch_allocator::ScratchAllocator (line 49) ... FAILED [INFO] [stdout] test src/allocator/scratch_allocator.rs - allocator::scratch_allocator::ScratchAllocator::allocate (line 121) ... FAILED [INFO] [stdout] test src/allocator/scratch_allocator.rs - allocator::scratch_allocator::ScratchAllocator::new (line 86) ... FAILED [INFO] [stdout] test src/allocator/default_allocator.rs - allocator::default_allocator::Allocation::mapped_ptr (line 235) ... ok [INFO] [stdout] test src/allocator/default_allocator.rs - allocator::default_allocator::Allocation::offset (line 210) ... ok [INFO] [stdout] test src/allocator/default_allocator.rs - allocator::default_allocator::Allocation::memory (line 188) ... ok [INFO] [stdout] test src/allocator/default_allocator.rs - allocator::default_allocator::DefaultAllocator (line 23) ... ok [INFO] [stdout] test src/allocator/scratch_allocator.rs - allocator::scratch_allocator::ScratchAllocator::reset (line 152) ... ok [INFO] [stdout] test src/allocator/traits.rs - allocator::traits::Allocator::free (line 46) ... ok [INFO] [stdout] test src/allocator/traits.rs - allocator::traits::Allocation::mapped_ptr (line 107) ... ok [INFO] [stdout] test src/allocator/traits.rs - allocator::traits::Allocation::offset (line 87) ... ok [INFO] [stdout] test src/allocator/traits.rs - allocator::traits::Allocation::memory (line 67) ... ok [INFO] [stdout] test src/command_buffer/compute.rs - command_buffer::compute::IncompleteCommandBuffer<'_,D,A>::bind_compute_pipeline (line 20) ... ok [INFO] [stdout] test src/command_buffer/compute.rs - command_buffer::compute::IncompleteCommandBuffer<'_,D,A>::dispatch (line 56) ... ok [INFO] [stdout] test src/allocator/traits.rs - allocator::traits::Allocator::allocate (line 23) ... ok [INFO] [stdout] test src/command_buffer/graphics.rs - command_buffer::graphics::IncompleteCommandBuffer<'_,D,A>::draw (line 92) ... ok [INFO] [stdout] test src/command_buffer/graphics.rs - command_buffer::graphics::IncompleteCommandBuffer<'_,D,A>::full_viewport_scissor (line 16) ... ok [INFO] [stdout] test src/command_buffer/graphics.rs - command_buffer::graphics::IncompleteCommandBuffer<'_,D,A>::bind_index_buffer (line 266) ... ok [INFO] [stdout] test src/command_buffer/graphics.rs - command_buffer::graphics::IncompleteCommandBuffer<'_,D,A>::bind_graphics_pipeline (line 190) ... ok [INFO] [stdout] test src/command_buffer/graphics.rs - command_buffer::graphics::IncompleteCommandBuffer<'_,D,A>::draw_indexed (line 128) ... ok [INFO] [stdout] test src/command_buffer/graphics.rs - command_buffer::graphics::IncompleteCommandBuffer<'_,D,A>::bind_vertex_buffer (line 238) ... ok [INFO] [stdout] test src/command_buffer/graphics.rs - command_buffer::graphics::IncompleteCommandBuffer<'_,D,A>::scissor (line 65) ... ok [INFO] [stdout] test src/command_buffer/incomplete.rs - command_buffer::incomplete::IncompleteCommandBuffer<'_,D,A>::bind_acceleration_structure (line 404) ... FAILED [INFO] [stdout] test src/command_buffer/graphics.rs - command_buffer::graphics::IncompleteCommandBuffer<'_,D,A>::viewport (line 40) ... ok [INFO] [stdout] test src/command_buffer/graphics.rs - command_buffer::graphics::IncompleteCommandBuffer<'_,D,A>::set_polygon_mode (line 333) ... ok [INFO] [stdout] test src/command_buffer/incomplete.rs - command_buffer::incomplete::IncompleteCommandBuffer<'_,D,A>::bind_sampled_image (line 263) ... ok [INFO] [stdout] test src/command_buffer/incomplete.rs - command_buffer::incomplete::IncompleteCommandBuffer<'_,D,A>::bind_storage_buffer (line 320) ... ok [INFO] [stdout] test src/command_buffer/incomplete.rs - command_buffer::incomplete::IncompleteCommandBuffer<'_,D,A>::bind_uniform_buffer (line 292) ... ok [INFO] [stdout] test src/command_buffer/incomplete.rs - command_buffer::incomplete::IncompleteCommandBuffer<'_,D,A>::forget_descriptor_state (line 204) ... ok [INFO] [stdout] test src/command_buffer/incomplete.rs - command_buffer::incomplete::IncompleteCommandBuffer<'_,D,A>::bind_storage_image (line 350) ... ok [INFO] [stdout] test src/command_buffer/incomplete.rs - command_buffer::incomplete::IncompleteCommandBuffer<'_,D,A>::push_constant (line 515) ... ok [INFO] [stdout] test src/command_buffer/incomplete.rs - command_buffer::incomplete::IncompleteCommandBuffer<'_,D,A>::push_constants (line 535) ... ok [INFO] [stdout] test src/command_buffer/mod.rs - command_buffer::CommandBuffer (line 43) ... FAILED [INFO] [stdout] test src/command_buffer/incomplete.rs - command_buffer::incomplete::IncompleteCommandBuffer<'_,D,A>::resolve_and_bind_sampled_image (line 230) ... ok [INFO] [stdout] test src/command_buffer/incomplete.rs - command_buffer::incomplete::IncompleteCommandBuffer<'q,D,A>::finish (line 76) ... ok [INFO] [stdout] test src/core/app_info.rs - core::app_info::AppBuilder (line 173) ... FAILED [INFO] [stdout] test src/command_buffer/incomplete.rs - command_buffer::incomplete::IncompleteCommandBuffer<'_,D,A>::resolve_and_bind_storage_image (line 376) ... ok [INFO] [stdout] test src/command_buffer/transfer.rs - command_buffer::transfer::IncompleteCommandBuffer<'_,D,A>::copy_buffer (line 17) ... ok [INFO] [stdout] test src/command_buffer/transfer.rs - command_buffer::transfer::IncompleteCommandBuffer<'_,D,A>::copy_buffer_to_image (line 50) ... ok [INFO] [stdout] test src/command_buffer/mod.rs - command_buffer::IncompleteCommandBuffer (line 66) ... ok [INFO] [stdout] test src/core/app_info.rs - core::app_info::QueueRequest (line 15) ... ok [INFO] [stdout] test src/core/device.rs - core::device::Device::properties (line 441) ... ok [INFO] [stdout] test src/core/device.rs - core::device::Device::is_extension_enabled (line 492) ... ok [INFO] [stdout] test src/core/device.rs - core::device::Device::wait_idle (line 407) ... ok [INFO] [stdout] test src/core/device.rs - core::device::ExtensionID (line 28) ... ok [INFO] [stdout] test src/core/device.rs - core::device::Device::dynamic_state3 (line 516) ... ok [INFO] [stdout] test src/descriptor/builder.rs - descriptor::builder::DescriptorSetBuilder (line 20) ... FAILED [INFO] [stdout] test src/graph/mod.rs - graph (line 15) ... FAILED [INFO] [stdout] test src/graph/mod.rs - graph (line 41) ... FAILED [INFO] [stdout] test src/core/physical_device.rs - core::physical_device::PhysicalDevice::memory_properties (line 248) ... ok [INFO] [stdout] test src/graph/pass.rs - graph::pass (line 29) ... FAILED [INFO] [stdout] test src/core/physical_device.rs - core::physical_device::PhysicalDevice::queues (line 219) ... ok [INFO] [stdout] test src/descriptor/mod.rs - descriptor (line 11) ... ok [INFO] [stdout] test src/graph/physical_resource.rs - graph::physical_resource::PhysicalResourceBindings (line 20) ... FAILED [INFO] [stdout] test src/graph/pass.rs - graph::pass (line 46) ... FAILED [INFO] [stdout] test src/lib.rs - (line 34) ... FAILED [INFO] [stdout] test src/pipeline/cache.rs - pipeline::cache::PipelineCache (line 56) ... FAILED [INFO] [stdout] test src/lib.rs - (line 58) ... FAILED [INFO] [stdout] test src/pipeline/mod.rs - pipeline (line 11) ... FAILED [INFO] [stdout] test src/sync/execution_manager.rs - sync::execution_manager::ExecutionManager::start_submit_batch (line 145) ... FAILED [INFO] [stdout] test src/resource/buffer.rs - resource::buffer (line 11) ... FAILED [INFO] [stdout] test src/sync/execution_manager.rs - sync::execution_manager::ExecutionManager (line 31) ... FAILED [INFO] [stdout] test src/lib.rs - (line 8) ... ok [INFO] [stdout] test src/sync/fence.rs - sync::fence::Fence (line 32) ... FAILED [INFO] [stdout] test src/wsi/frame.rs - wsi::frame (line 10) ... FAILED [INFO] [stdout] test src/sync/fence.rs - sync::fence::Fence (line 81) ... FAILED [INFO] [stdout] test src/sync/fence.rs - sync::fence::Fence (line 51) ... FAILED [INFO] [stdout] test src/wsi/frame.rs - wsi::frame::InFlightContext (line 105) ... FAILED [INFO] [stdout] test src/core/app_info.rs - core::app_info::GPURequirements (line 48) ... ok [INFO] [stdout] test src/lib.rs - (line 22) ... FAILED [INFO] [stdout] test src/graph/pass.rs - graph::pass (line 18) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/allocator/default_allocator.rs - allocator::default_allocator::DefaultAllocator::free (line 168) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `instance` in this scope [INFO] [stdout] --> src/allocator/default_allocator.rs:171:44 [INFO] [stdout] | [INFO] [stdout] 6 | let mut allocator = DefaultAllocator::new(&instance, &device, &physical_device)?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `device` in this scope [INFO] [stdout] --> src/allocator/default_allocator.rs:171:55 [INFO] [stdout] | [INFO] [stdout] 6 | let mut allocator = DefaultAllocator::new(&instance, &device, &physical_device)?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `physical_device` in this scope [INFO] [stdout] --> src/allocator/default_allocator.rs:171:64 [INFO] [stdout] | [INFO] [stdout] 6 | let mut allocator = DefaultAllocator::new(&instance, &device, &physical_device)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found module `buffer` [INFO] [stdout] --> src/allocator/default_allocator.rs:172:79 [INFO] [stdout] | [INFO] [stdout] 7 | let allocation = allocator.allocate("buffer_memory", &get_memory_requirements(buffer), MemoryType::GpuOnly)?; [INFO] [stdout] | ^^^^^^ not a value [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/allocator/default_allocator.rs:171:80 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_allocator_default_allocator_rs_168_0() { [INFO] [stdout] | ----------------------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 5 | use phobos::*; [INFO] [stdout] 6 | let mut allocator = DefaultAllocator::new(&instance, &device, &physical_device)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `()` [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_allocator_default_allocator_rs_168_0() -> Result<(), Box> { [INFO] [stdout] 5 | use phobos::*; [INFO] [stdout] ... [INFO] [stdout] 11| allocator.free(allocation)?; [INFO] [stdout] 12+ Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_memory_requirements` in this scope [INFO] [stdout] --> src/allocator/default_allocator.rs:172:55 [INFO] [stdout] | [INFO] [stdout] 7 | let allocation = allocator.allocate("buffer_memory", &get_memory_requirements(buffer), MemoryType::GpuOnly)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/allocator/default_allocator.rs:172:108 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_allocator_default_allocator_rs_168_0() { [INFO] [stdout] | ----------------------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 7 | let allocation = allocator.allocate("buffer_memory", &get_memory_requirements(buffer), MemoryType::GpuOnly)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `()` [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_allocator_default_allocator_rs_168_0() -> Result<(), Box> { [INFO] [stdout] 5 | use phobos::*; [INFO] [stdout] ... [INFO] [stdout] 11| allocator.free(allocation)?; [INFO] [stdout] 12+ Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/allocator/default_allocator.rs:176:27 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_allocator_default_allocator_rs_168_0() { [INFO] [stdout] | ----------------------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 11 | allocator.free(allocation)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `()` [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_allocator_default_allocator_rs_168_0() -> Result<(), Box> { [INFO] [stdout] 5 | use phobos::*; [INFO] [stdout] ... [INFO] [stdout] 11 | allocator.free(allocation)?; [INFO] [stdout] 12 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0423, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/allocator/default_allocator.rs - allocator::default_allocator::DefaultAllocator::new (line 76) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `instance` in this scope [INFO] [stdout] --> src/allocator/default_allocator.rs:79:44 [INFO] [stdout] | [INFO] [stdout] 6 | let mut allocator = DefaultAllocator::new(&instance, &device, &physical_device)?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `device` in this scope [INFO] [stdout] --> src/allocator/default_allocator.rs:79:55 [INFO] [stdout] | [INFO] [stdout] 6 | let mut allocator = DefaultAllocator::new(&instance, &device, &physical_device)?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `physical_device` in this scope [INFO] [stdout] --> src/allocator/default_allocator.rs:79:64 [INFO] [stdout] | [INFO] [stdout] 6 | let mut allocator = DefaultAllocator::new(&instance, &device, &physical_device)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/allocator/default_allocator.rs:79:80 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_allocator_default_allocator_rs_76_0() { [INFO] [stdout] | ---------------------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 5 | use phobos::*; [INFO] [stdout] 6 | let mut allocator = DefaultAllocator::new(&instance, &device, &physical_device)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `()` [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_allocator_default_allocator_rs_76_0() -> Result<(), Box> { [INFO] [stdout] 5 | use phobos::*; [INFO] [stdout] 6 | let mut allocator = DefaultAllocator::new(&instance, &device, &physical_device)?; [INFO] [stdout] 7 | // Use allocator. [INFO] [stdout] 8 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/allocator/default_allocator.rs - allocator::default_allocator::Allocation (line 56) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `instance` in this scope [INFO] [stdout] --> src/allocator/default_allocator.rs:59:44 [INFO] [stdout] | [INFO] [stdout] 6 | let mut allocator = DefaultAllocator::new(&instance, &device, &physical_device)?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `device` in this scope [INFO] [stdout] --> src/allocator/default_allocator.rs:59:55 [INFO] [stdout] | [INFO] [stdout] 6 | let mut allocator = DefaultAllocator::new(&instance, &device, &physical_device)?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `physical_device` in this scope [INFO] [stdout] --> src/allocator/default_allocator.rs:59:64 [INFO] [stdout] | [INFO] [stdout] 6 | let mut allocator = DefaultAllocator::new(&instance, &device, &physical_device)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `memory_requirements` in this scope [INFO] [stdout] --> src/allocator/default_allocator.rs:61:55 [INFO] [stdout] | [INFO] [stdout] 8 | let allocation = allocator.allocate("buffer_memory", &memory_requirements, MemoryType::GpuOnly)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/allocator/default_allocator.rs:59:80 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_allocator_default_allocator_rs_56_0() { [INFO] [stdout] | ---------------------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 5 | use phobos::*; [INFO] [stdout] 6 | let mut allocator = DefaultAllocator::new(&instance, &device, &physical_device)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `()` [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_allocator_default_allocator_rs_56_0() -> Result<(), Box> { [INFO] [stdout] 5 | use phobos::*; [INFO] [stdout] ... [INFO] [stdout] 8 | let allocation = allocator.allocate("buffer_memory", &memory_requirements, MemoryType::GpuOnly)?; [INFO] [stdout] 9 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/allocator/default_allocator.rs:61:96 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_allocator_default_allocator_rs_56_0() { [INFO] [stdout] | ---------------------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 8 | let allocation = allocator.allocate("buffer_memory", &memory_requirements, MemoryType::GpuOnly)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `()` [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_allocator_default_allocator_rs_56_0() -> Result<(), Box> { [INFO] [stdout] 5 | use phobos::*; [INFO] [stdout] ... [INFO] [stdout] 8 | let allocation = allocator.allocate("buffer_memory", &memory_requirements, MemoryType::GpuOnly)?; [INFO] [stdout] 9 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/allocator/default_allocator.rs - allocator::default_allocator::DefaultAllocator::allocate (line 126) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `instance` in this scope [INFO] [stdout] --> src/allocator/default_allocator.rs:133:48 [INFO] [stdout] | [INFO] [stdout] 10 | let mut allocator = DefaultAllocator::new(&instance, &device, &physical_device)?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `physical_device` in this scope [INFO] [stdout] --> src/allocator/default_allocator.rs:133:68 [INFO] [stdout] | [INFO] [stdout] 10 | let mut allocator = DefaultAllocator::new(&instance, &device, &physical_device)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0573]: expected type, found function `vk_get_memory_requirements` [INFO] [stdout] --> src/allocator/default_allocator.rs:134:23 [INFO] [stdout] | [INFO] [stdout] 11 | let requirements: vk_get_memory_requirements(&device, &buffer); [INFO] [stdout] | --^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not a type [INFO] [stdout] | | [INFO] [stdout] | help: use `=` if you meant to assign [INFO] [stdout] [INFO] [stdout] error[E0573]: expected type, found local variable `device` [INFO] [stdout] --> src/allocator/default_allocator.rs:134:51 [INFO] [stdout] | [INFO] [stdout] 11 | let requirements: vk_get_memory_requirements(&device, &buffer); [INFO] [stdout] | ^^^^^^ help: a struct with a similar name exists: `Device` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/core/device.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct Device { [INFO] [stdout] | ----------------- similarly named struct `Device` defined here [INFO] [stdout] [INFO] [stdout] error[E0573]: expected type, found module `buffer` [INFO] [stdout] --> src/allocator/default_allocator.rs:134:60 [INFO] [stdout] | [INFO] [stdout] 11 | let requirements: vk_get_memory_requirements(&device, &buffer); [INFO] [stdout] | ^^^^^^ help: a struct with a similar name exists: `Buffer` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/resource/buffer.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Buffer { [INFO] [stdout] | -------------------------------------------------- similarly named struct `Buffer` defined here [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0573. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/allocator/scratch_allocator.rs - allocator::scratch_allocator (line 9) stdout ---- [INFO] [stdout] error[E0061]: this function takes 3 arguments but 4 arguments were supplied [INFO] [stdout] --> src/allocator/scratch_allocator.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 14 | let mut allocator = ScratchAllocator::new(device.clone(), alloc, 128 as u64, vk::BufferUsageFlags::UNIFORM_BUFFER)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ------------------------------------ unexpected argument #4 of type `BufferUsageFlags` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/allocator/scratch_allocator.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 14 - let mut allocator = ScratchAllocator::new(device.clone(), alloc, 128 as u64, vk::BufferUsageFlags::UNIFORM_BUFFER)?; [INFO] [stdout] 14 + let mut allocator = ScratchAllocator::new(device.clone(), alloc, 128 as u64)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/allocator/scratch_allocator.rs - allocator::scratch_allocator::ScratchAllocator (line 49) stdout ---- [INFO] [stdout] error[E0061]: this function takes 3 arguments but 4 arguments were supplied [INFO] [stdout] --> src/allocator/scratch_allocator.rs:60:25 [INFO] [stdout] | [INFO] [stdout] 14 | let mut allocator = ScratchAllocator::new(device.clone(), alloc, 128 as u64, vk::BufferUsageFlags::UNIFORM_BUFFER)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ------------------------------------ unexpected argument #4 of type `BufferUsageFlags` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/allocator/scratch_allocator.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 14 - let mut allocator = ScratchAllocator::new(device.clone(), alloc, 128 as u64, vk::BufferUsageFlags::UNIFORM_BUFFER)?; [INFO] [stdout] 14 + let mut allocator = ScratchAllocator::new(device.clone(), alloc, 128 as u64)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/allocator/scratch_allocator.rs - allocator::scratch_allocator::ScratchAllocator::allocate (line 121) stdout ---- [INFO] [stdout] error[E0061]: this function takes 3 arguments but 4 arguments were supplied [INFO] [stdout] --> src/allocator/scratch_allocator.rs:126:25 [INFO] [stdout] | [INFO] [stdout] 8 | let mut allocator = ScratchAllocator::new(device.clone(), alloc, 1 * 1024u64, vk::BufferUsageFlags::UNIFORM_BUFFER)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ------------------------------------ unexpected argument #4 of type `BufferUsageFlags` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/allocator/scratch_allocator.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 8 - let mut allocator = ScratchAllocator::new(device.clone(), alloc, 1 * 1024u64, vk::BufferUsageFlags::UNIFORM_BUFFER)?; [INFO] [stdout] 8 + let mut allocator = ScratchAllocator::new(device.clone(), alloc, 1 * 1024u64)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/allocator/scratch_allocator.rs - allocator::scratch_allocator::ScratchAllocator::new (line 86) stdout ---- [INFO] [stdout] error[E0277]: the trait bound `u64: From` is not satisfied [INFO] [stdout] --> src/allocator/scratch_allocator.rs:91:42 [INFO] [stdout] | [INFO] [stdout] 8 | ScratchAllocator::new(device, alloc, 1024 as usize) [INFO] [stdout] | --------------------- ^^^^^^^^^^^^^ the trait `From` is not implemented for `u64`, which is required by `usize: Into` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `u64` implements `From` [INFO] [stdout] `u64` implements `From` [INFO] [stdout] `u64` implements `From` [INFO] [stdout] `u64` implements `From` [INFO] [stdout] `u64` implements `From` [INFO] [stdout] `u64` implements `From` [INFO] [stdout] `u64` implements `From` [INFO] [stdout] `u64` implements `From` [INFO] [stdout] `u64` implements `From` [INFO] [stdout] = note: required for `usize` to implement `Into` [INFO] [stdout] note: required by a bound in `phobos::ScratchAllocator::::new` [INFO] [stdout] --> /opt/rustwide/workdir/src/allocator/scratch_allocator.rs:96:24 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn new( [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 96 | max_size: impl Into, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `ScratchAllocator::::new` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/command_buffer/incomplete.rs - command_buffer::incomplete::IncompleteCommandBuffer<'_,D,A>::bind_acceleration_structure (line 404) stdout ---- [INFO] [stdout] error[E0599]: no method named `use_bind_acceleration_structure` found for struct `phobos::IncompleteCommandBuffer` in the current scope [INFO] [stdout] --> src/command_buffer/incomplete.rs:410:9 [INFO] [stdout] | [INFO] [stdout] 9 | cmd.use_bind_acceleration_structure(0, 0, accel)? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `bind_acceleration_structure` with a similar name [INFO] [stdout] | [INFO] [stdout] 9 | cmd.bind_acceleration_structure(0, 0, accel)? [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/command_buffer/mod.rs - command_buffer::CommandBuffer (line 43) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/command_buffer/mod.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 9 | fn finish_and_wait(exec: ExecutionManager, cmd: IncompleteCommandBuffer) -> Result<()> { [INFO] [stdout] | ---------- expected `std::result::Result<(), anyhow::Error>` because of return type [INFO] [stdout] ... [INFO] [stdout] 12 | fence.wait() [INFO] [stdout] | ^^^^^^^^^^^^ expected `Result<(), Error>`, found `Result, Error>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<(), _>` [INFO] [stdout] found enum `std::result::Result, _>` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/core/app_info.rs - core::app_info::AppBuilder (line 173) stdout ---- [INFO] [stdout] error[E0277]: the trait bound `u64: From` is not satisfied [INFO] [stdout] --> src/core/app_info.rs:182:19 [INFO] [stdout] | [INFO] [stdout] 12 | .scratch_size(1024) [INFO] [stdout] | ------------ ^^^^ the trait `From` is not implemented for `u64`, which is required by `{integer}: Into` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `u64` implements `From` [INFO] [stdout] `u64` implements `From` [INFO] [stdout] `u64` implements `From` [INFO] [stdout] `u64` implements `From` [INFO] [stdout] `u64` implements `From` [INFO] [stdout] `u64` implements `From` [INFO] [stdout] `u64` implements `From` [INFO] [stdout] `u64` implements `From` [INFO] [stdout] `u64` implements `From` [INFO] [stdout] = note: required for `i32` to implement `Into` [INFO] [stdout] note: required by a bound in `phobos::AppBuilder::<'a, Window>::scratch_size` [INFO] [stdout] --> /opt/rustwide/workdir/src/core/app_info.rs:249:46 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn scratch_size(mut self, size: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `AppBuilder::<'a, Window>::scratch_size` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/descriptor/builder.rs - descriptor::builder::DescriptorSetBuilder (line 20) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DescriptorSetBuilder` [INFO] [stdout] --> src/descriptor/builder.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 8 | DescriptorSetBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `DescriptorSetBuilder` [INFO] [stdout] | help: a struct with a similar name exists: `DescriptorSetBinding` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/graph/mod.rs - graph (line 15) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/graph/mod.rs:27:29 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_graph_mod_rs_15_0() { [INFO] [stdout] | ---------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 15 | graph.add_pass(present_pass)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `()` [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_graph_mod_rs_15_0() -> Result<(), Box> { [INFO] [stdout] 5 | use phobos::prelude::*; [INFO] [stdout] ... [INFO] [stdout] 18 | // To record, check the next example. [INFO] [stdout] 19 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/graph/mod.rs:29:30 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_graph_mod_rs_15_0() { [INFO] [stdout] | ---------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 17 | let mut graph = graph.build()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `()` [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_graph_mod_rs_15_0() -> Result<(), Box> { [INFO] [stdout] 5 | use phobos::prelude::*; [INFO] [stdout] ... [INFO] [stdout] 18 | // To record, check the next example. [INFO] [stdout] 19 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/graph/mod.rs - graph (line 41) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `ifc` in this scope [INFO] [stdout] --> src/graph/mod.rs:47:35 [INFO] [stdout] | [INFO] [stdout] 9 | bindings.bind_image("swapchain", &ifc.swapchain_image); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `exec` in this scope [INFO] [stdout] --> src/graph/mod.rs:48:11 [INFO] [stdout] | [INFO] [stdout] 10 | let cmd = exec.on_domain::()?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `graph` in this scope [INFO] [stdout] --> src/graph/mod.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 12 | let final_cmd = graph.record(cmd, &bindings, &mut pool, Some(debug_messenger))? [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found module `pool` [INFO] [stdout] --> src/graph/mod.rs:50:51 [INFO] [stdout] | [INFO] [stdout] 12 | let final_cmd = graph.record(cmd, &bindings, &mut pool, Some(debug_messenger))? [INFO] [stdout] | ^^^^ not a value [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `debug_messenger` in this scope [INFO] [stdout] --> src/graph/mod.rs:50:62 [INFO] [stdout] | [INFO] [stdout] 12 | let final_cmd = graph.record(cmd, &bindings, &mut pool, Some(debug_messenger))? [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0423, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0423`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/graph/pass.rs - graph::pass (line 29) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `offscreen` in this scope [INFO] [stdout] --> src/graph/pass.rs:38:30 [INFO] [stdout] | [INFO] [stdout] 12 | .clear_color_attachment(&offscreen, ClearColor::Float([1.0, 0.0, 0.0, 0.0]))? [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/graph/pass.rs:38:81 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_graph_pass_rs_29_0() { [INFO] [stdout] | ----------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 12 | .clear_color_attachment(&offscreen, ClearColor::Float([1.0, 0.0, 0.0, 0.0]))? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `()` [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_graph_pass_rs_29_0() -> Result<(), Box> { [INFO] [stdout] 5 | use phobos::prelude::*; [INFO] [stdout] ... [INFO] [stdout] 13 | .build(); [INFO] [stdout] 14 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/graph/physical_resource.rs - graph::physical_resource::PhysicalResourceBindings (line 20) stdout ---- [INFO] [stdout] error[E0061]: this function takes 7 arguments but 0 arguments were supplied [INFO] [stdout] --> src/graph/physical_resource.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 8 | let image = Image::new(/*...*/); [INFO] [stdout] | ^^^^^^^^^^--------- multiple arguments are missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/resource/image.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 8 | let image = Image::new(/* phobos::Device */, /* alloc */, /* u32 */, /* u32 */, /* ImageUsageFlags */, /* Format */, /* SampleCountFlags */); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `view` found for enum `std::result::Result` in the current scope [INFO] [stdout] --> src/graph/physical_resource.rs:26:18 [INFO] [stdout] | [INFO] [stdout] 9 | let view = image.view(vk::ImageAspectFlags::COLOR)?; [INFO] [stdout] | ^^^^ method not found in `Result, Error>` [INFO] [stdout] | [INFO] [stdout] note: the method `view` exists on the type `phobos::Image<_>` [INFO] [stdout] --> /opt/rustwide/workdir/src/resource/image.rs:218:5 [INFO] [stdout] | [INFO] [stdout] 218 | pub fn view(&self, aspect: vk::ImageAspectFlags) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `phobos::Image<_>` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 9 | let view = image.expect("REASON").view(vk::ImageAspectFlags::COLOR)?; [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/graph/physical_resource.rs:31:77 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_graph_physical_resource_rs_20_0() { [INFO] [stdout] | ------------------------------------------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 14 | let view = bindings.resolve(&resource).ok_or_else(|| Error::NoResourceBound)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual phobos::Error {NoResourceBound}>>` is not implemented for `()` [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_graph_physical_resource_rs_20_0() -> Result<(), Box> { [INFO] [stdout] 5 | use phobos::prelude::*; [INFO] [stdout] ... [INFO] [stdout] 14 | let view = bindings.resolve(&resource).ok_or_else(|| Error::NoResourceBound)?; [INFO] [stdout] 15 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/graph/pass.rs - graph::pass (line 46) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `offscreen_pass` in this scope [INFO] [stdout] --> src/graph/pass.rs:52:22 [INFO] [stdout] | [INFO] [stdout] 9 | let input_resource = offscreen_pass.output(&offscreen).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `offscreen` in this scope [INFO] [stdout] --> src/graph/pass.rs:52:45 [INFO] [stdout] | [INFO] [stdout] 9 | let input_resource = offscreen_pass.output(&offscreen).unwrap(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `swapchain` in this scope [INFO] [stdout] --> src/graph/pass.rs:58:30 [INFO] [stdout] | [INFO] [stdout] 15 | .clear_color_attachment(&swapchain, ClearColor::Float([0.0, 0.0, 0.0, 0.0]))? [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found module `sampler` [INFO] [stdout] --> src/graph/pass.rs:66:74 [INFO] [stdout] | [INFO] [stdout] 23 | .resolve_and_bind_sampled_image(0, 0, &input_resource, &sampler, &bindings)? [INFO] [stdout] | ^^^^^^^ not a value [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/graph/pass.rs:58:81 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_graph_pass_rs_46_0() { [INFO] [stdout] | ----------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 15 | .clear_color_attachment(&swapchain, ClearColor::Float([0.0, 0.0, 0.0, 0.0]))? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `()` [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_graph_pass_rs_46_0() -> Result<(), Box> { [INFO] [stdout] 5 | use phobos::prelude::*; [INFO] [stdout] ... [INFO] [stdout] 27 | .build(); [INFO] [stdout] 28 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0423, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 34) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `window` in this scope [INFO] [stdout] --> src/lib.rs:42:18 [INFO] [stdout] | [INFO] [stdout] 11 | .window(&window) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/pipeline/cache.rs - pipeline::cache::PipelineCache (line 56) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `device` in this scope [INFO] [stdout] --> src/pipeline/cache.rs:59:36 [INFO] [stdout] | [INFO] [stdout] 6 | let mut cache = PipelineCache::new(device.clone(), allocator.clone())?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `allocator` in this scope [INFO] [stdout] --> src/pipeline/cache.rs:59:52 [INFO] [stdout] | [INFO] [stdout] 6 | let mut cache = PipelineCache::new(device.clone(), allocator.clone())?; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 58) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `settings` in this scope [INFO] [stdout] --> src/lib.rs:70:28 [INFO] [stdout] | [INFO] [stdout] 15 | ) = WindowedContext::init(&settings)? else { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/lib.rs:70:37 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_58_0() { [INFO] [stdout] | ---------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 15 | ) = WindowedContext::init(&settings)? else { [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `()` [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_58_0() -> Result<(), Box> { [INFO] [stdout] 5 | use phobos::prelude::*; [INFO] [stdout] ... [INFO] [stdout] 17 | }; [INFO] [stdout] 18 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 6 | let ( [INFO] [stdout] | _____^ [INFO] [stdout] 7 | | instance, [INFO] [stdout] 8 | | physical_device, [INFO] [stdout] 9 | | surface, [INFO] [stdout] ... | [INFO] [stdout] 14 | | Some(debug_messenger) [INFO] [stdout] 15 | | ) = WindowedContext::init(&settings)? else { [INFO] [stdout] | | ^ --------------------------------- this expression has type `(phobos::Instance, phobos::PhysicalDevice, Surface, phobos::Device, DefaultAllocator, ResourcePool, ExecutionManager, FrameManager, Option)` [INFO] [stdout] | |_| [INFO] [stdout] | expected a tuple with 9 elements, found one with 8 elements [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(phobos::Instance, phobos::PhysicalDevice, Surface, phobos::Device, DefaultAllocator, ResourcePool, ExecutionManager, FrameManager, Option)` [INFO] [stdout] found tuple `(_, _, _, _, _, _, _, _)` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/pipeline/mod.rs - pipeline (line 11) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `device` in this scope [INFO] [stdout] --> src/pipeline/mod.rs:16:36 [INFO] [stdout] | [INFO] [stdout] 8 | let mut cache = PipelineCache::new(device.clone(), allocator.clone())?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `allocator` in this scope [INFO] [stdout] --> src/pipeline/mod.rs:16:52 [INFO] [stdout] | [INFO] [stdout] 8 | let mut cache = PipelineCache::new(device.clone(), allocator.clone())?; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `load_spirv_binary` in this scope [INFO] [stdout] --> src/pipeline/mod.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 12 | let vtx_code = load_spirv_binary(Path::new("path/to/vertex.glsl")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `load_spirv_binary` in this scope [INFO] [stdout] --> src/pipeline/mod.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 13 | let frag_code = load_spirv_binary(Path::new("path/to/fragment.glsl")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/pipeline/mod.rs:34:55 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_pipeline_mod_rs_11_0() { [INFO] [stdout] | ------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 26 | .vertex_attribute(0, 0, vk::Format::R32G32_SFLOAT)? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `()` [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_pipeline_mod_rs_11_0() -> Result<(), Box> { [INFO] [stdout] 5 | use std::path::Path; [INFO] [stdout] ... [INFO] [stdout] 41 | cache.create_named_pipeline(pci)?; [INFO] [stdout] 42 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/pipeline/mod.rs:36:55 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_pipeline_mod_rs_11_0() { [INFO] [stdout] | ------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 28 | .vertex_attribute(0, 1, vk::Format::R32G32_SFLOAT)? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `()` [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_pipeline_mod_rs_11_0() -> Result<(), Box> { [INFO] [stdout] 5 | use std::path::Path; [INFO] [stdout] ... [INFO] [stdout] 41 | cache.create_named_pipeline(pci)?; [INFO] [stdout] 42 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/sync/execution_manager.rs - sync::execution_manager::ExecutionManager::start_submit_batch (line 145) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `device` in this scope [INFO] [stdout] --> src/sync/execution_manager.rs:148:34 [INFO] [stdout] | [INFO] [stdout] 6 | let exec = ExecutionManager::new(device.clone(), &physical_device, pool)?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `physical_device` in this scope [INFO] [stdout] --> src/sync/execution_manager.rs:148:51 [INFO] [stdout] | [INFO] [stdout] 6 | let exec = ExecutionManager::new(device.clone(), &physical_device, pool)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found module `pool` [INFO] [stdout] --> src/sync/execution_manager.rs:148:68 [INFO] [stdout] | [INFO] [stdout] 6 | let exec = ExecutionManager::new(device.clone(), &physical_device, pool)?; [INFO] [stdout] | ^^^^ not a value [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sync/execution_manager.rs:148:73 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sync_execution_manager_rs_145_0() { [INFO] [stdout] | ------------------------------------------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 5 | use phobos::prelude::*; [INFO] [stdout] 6 | let exec = ExecutionManager::new(device.clone(), &physical_device, pool)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `()` [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sync_execution_manager_rs_145_0() -> Result<(), Box> { [INFO] [stdout] 5 | use phobos::prelude::*; [INFO] [stdout] ... [INFO] [stdout] 14| batch.finish()?.wait()?; [INFO] [stdout] 15+ Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sync/execution_manager.rs:149:43 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sync_execution_manager_rs_145_0() { [INFO] [stdout] | ------------------------------------------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 7 | let cmd1 = exec.on_domain::()?.finish()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `()` [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sync_execution_manager_rs_145_0() -> Result<(), Box> { [INFO] [stdout] 5 | use phobos::prelude::*; [INFO] [stdout] ... [INFO] [stdout] 14| batch.finish()?.wait()?; [INFO] [stdout] 15+ Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sync/execution_manager.rs:149:53 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sync_execution_manager_rs_145_0() { [INFO] [stdout] | ------------------------------------------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 7 | let cmd1 = exec.on_domain::()?.finish()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `()` [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sync_execution_manager_rs_145_0() -> Result<(), Box> { [INFO] [stdout] 5 | use phobos::prelude::*; [INFO] [stdout] ... [INFO] [stdout] 14| batch.finish()?.wait()?; [INFO] [stdout] 15+ Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sync/execution_manager.rs:150:43 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sync_execution_manager_rs_145_0() { [INFO] [stdout] | ------------------------------------------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 8 | let cmd2 = exec.on_domain::()?.finish()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `()` [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sync_execution_manager_rs_145_0() -> Result<(), Box> { [INFO] [stdout] 5 | use phobos::prelude::*; [INFO] [stdout] ... [INFO] [stdout] 14| batch.finish()?.wait()?; [INFO] [stdout] 15+ Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sync/execution_manager.rs:150:53 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sync_execution_manager_rs_145_0() { [INFO] [stdout] | ------------------------------------------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 8 | let cmd2 = exec.on_domain::()?.finish()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `()` [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sync_execution_manager_rs_145_0() -> Result<(), Box> { [INFO] [stdout] 5 | use phobos::prelude::*; [INFO] [stdout] ... [INFO] [stdout] 14| batch.finish()?.wait()?; [INFO] [stdout] 15+ Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sync/execution_manager.rs:151:42 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sync_execution_manager_rs_145_0() { [INFO] [stdout] | ------------------------------------------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 9 | let mut batch = exec.start_submit_batch()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `()` [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sync_execution_manager_rs_145_0() -> Result<(), Box> { [INFO] [stdout] 5 | use phobos::prelude::*; [INFO] [stdout] ... [INFO] [stdout] 14| batch.finish()?.wait()?; [INFO] [stdout] 15+ Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sync/execution_manager.rs:153:19 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sync_execution_manager_rs_145_0() { [INFO] [stdout] | ------------------------------------------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 11 | batch.submit(cmd1)? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `()` [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sync_execution_manager_rs_145_0() -> Result<(), Box> { [INFO] [stdout] 5 | use phobos::prelude::*; [INFO] [stdout] ... [INFO] [stdout] 14 | batch.finish()?.wait()?; [INFO] [stdout] 15 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sync/execution_manager.rs:155:69 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sync_execution_manager_rs_145_0() { [INFO] [stdout] | ------------------------------------------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 13 | .then(PipelineStage::COLOR_ATTACHMENT_OUTPUT, cmd2, &mut batch)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `()` [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sync_execution_manager_rs_145_0() -> Result<(), Box> { [INFO] [stdout] 5 | use phobos::prelude::*; [INFO] [stdout] ... [INFO] [stdout] 14 | batch.finish()?.wait()?; [INFO] [stdout] 15 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sync/execution_manager.rs:156:15 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sync_execution_manager_rs_145_0() { [INFO] [stdout] | ------------------------------------------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 14 | batch.finish()?.wait()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `()` [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sync_execution_manager_rs_145_0() -> Result<(), Box> { [INFO] [stdout] 5 | use phobos::prelude::*; [INFO] [stdout] ... [INFO] [stdout] 14 | batch.finish()?.wait()?; [INFO] [stdout] 15 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sync/execution_manager.rs:156:23 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sync_execution_manager_rs_145_0() { [INFO] [stdout] | ------------------------------------------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 14 | batch.finish()?.wait()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `()` [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sync_execution_manager_rs_145_0() -> Result<(), Box> { [INFO] [stdout] 5 | use phobos::prelude::*; [INFO] [stdout] ... [INFO] [stdout] 14 | batch.finish()?.wait()?; [INFO] [stdout] 15 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0423, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/resource/buffer.rs - resource::buffer (line 11) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `device` in this scope [INFO] [stdout] --> src/resource/buffer.rs:16:23 [INFO] [stdout] | [INFO] [stdout] 8 | let buf = Buffer::new(device.clone(), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `alloc` in this scope [INFO] [stdout] --> src/resource/buffer.rs:17:23 [INFO] [stdout] | [INFO] [stdout] 9 | alloc.clone(), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use std::alloc::alloc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `view_full` found for enum `std::result::Result` in the current scope [INFO] [stdout] --> src/resource/buffer.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 16 | let mut view = buf.view_full(); [INFO] [stdout] | ^^^^^^^^^ method not found in `Result, Error>` [INFO] [stdout] | [INFO] [stdout] note: the method `view_full` exists on the type `phobos::Buffer<_>` [INFO] [stdout] --> /opt/rustwide/workdir/src/resource/buffer.rs:273:5 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn view_full(&self) -> BufferView { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `phobos::Buffer<_>` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 16 | let mut view = buf.expect("REASON").view_full(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/sync/execution_manager.rs - sync::execution_manager::ExecutionManager (line 31) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `device` in this scope [INFO] [stdout] --> src/sync/execution_manager.rs:35:34 [INFO] [stdout] | [INFO] [stdout] 7 | let exec = ExecutionManager::new(device.clone(), &physical_device, pool); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `physical_device` in this scope [INFO] [stdout] --> src/sync/execution_manager.rs:35:51 [INFO] [stdout] | [INFO] [stdout] 7 | let exec = ExecutionManager::new(device.clone(), &physical_device, pool); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found module `pool` [INFO] [stdout] --> src/sync/execution_manager.rs:35:68 [INFO] [stdout] | [INFO] [stdout] 7 | let exec = ExecutionManager::new(device.clone(), &physical_device, pool); [INFO] [stdout] | ^^^^ not a value [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `on_domain` found for enum `std::result::Result` in the current scope [INFO] [stdout] --> src/sync/execution_manager.rs:37:16 [INFO] [stdout] | [INFO] [stdout] 9 | let cmd = exec.on_domain::()? [INFO] [stdout] | ^^^^^^^^^ method not found in `Result, Error>` [INFO] [stdout] | [INFO] [stdout] note: the method `on_domain` exists on the type `phobos::ExecutionManager<_>` [INFO] [stdout] --> /opt/rustwide/workdir/src/sync/execution_manager.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn on_domain<'q, D: ExecutionDomain>(&'q self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `phobos::ExecutionManager<_>` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 9 | let cmd = exec.expect("REASON").on_domain::()? [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0423, E0425, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0423`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/sync/fence.rs - sync::fence::Fence (line 32) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `device` in this scope [INFO] [stdout] --> src/sync/fence.rs:36:34 [INFO] [stdout] | [INFO] [stdout] 7 | let exec = ExecutionManager::new(device, &physical_device, pool)?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `physical_device` in this scope [INFO] [stdout] --> src/sync/fence.rs:36:43 [INFO] [stdout] | [INFO] [stdout] 7 | let exec = ExecutionManager::new(device, &physical_device, pool)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found module `pool` [INFO] [stdout] --> src/sync/fence.rs:36:60 [INFO] [stdout] | [INFO] [stdout] 7 | let exec = ExecutionManager::new(device, &physical_device, pool)?; [INFO] [stdout] | ^^^^ not a value [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sync/fence.rs:36:65 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sync_fence_rs_32_0() { [INFO] [stdout] | ----------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 7 | let exec = ExecutionManager::new(device, &physical_device, pool)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `()` [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sync_fence_rs_32_0() -> Result<(), Box> { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sync/fence.rs:38:42 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sync_fence_rs_32_0() { [INFO] [stdout] | ----------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 9 | let cmd = exec.on_domain::()?.finish()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `()` [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sync_fence_rs_32_0() -> Result<(), Box> { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sync/fence.rs:38:52 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sync_fence_rs_32_0() { [INFO] [stdout] | ----------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 9 | let cmd = exec.on_domain::()?.finish()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `()` [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sync_fence_rs_32_0() -> Result<(), Box> { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sync/fence.rs:39:29 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sync_fence_rs_32_0() { [INFO] [stdout] | ----------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 10 | let fence = exec.submit(cmd)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `()` [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sync_fence_rs_32_0() -> Result<(), Box> { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in an async block that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sync/fence.rs:44:16 [INFO] [stdout] | [INFO] [stdout] 13 | async { [INFO] [stdout] | ----- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 14 | fence.attach_value(5) // This would usually be some kind of GPU resource, like an image that was just written to [INFO] [stdout] 15 | .await?; [INFO] [stdout] | ^ cannot use the `?` operator in an async block that returns `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `()` [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/sync/fence.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sync_fence_rs_32_0() { [INFO] [stdout] | - help: try adding a return type: `-> impl Future` [INFO] [stdout] ... [INFO] [stdout] 13 | / async { [INFO] [stdout] 14 | | fence.attach_value(5) // This would usually be some kind of GPU resource, like an image that was just written to [INFO] [stdout] 15 | | .await?; [INFO] [stdout] 16 | | } [INFO] [stdout] | |_^ expected `()`, found `async` block [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found `async` block `{async block@src/sync/fence.rs:13:1: 13:6}` [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0423, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/wsi/frame.rs - wsi::frame (line 10) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `instance` in this scope [INFO] [stdout] --> src/wsi/frame.rs:16:36 [INFO] [stdout] | [INFO] [stdout] 9 | let alloc = DefaultAllocator::new(&instance, &device, &physical_device)?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `device` in this scope [INFO] [stdout] --> src/wsi/frame.rs:16:47 [INFO] [stdout] | [INFO] [stdout] 9 | let alloc = DefaultAllocator::new(&instance, &device, &physical_device)?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `physical_device` in this scope [INFO] [stdout] --> src/wsi/frame.rs:16:56 [INFO] [stdout] | [INFO] [stdout] 9 | let alloc = DefaultAllocator::new(&instance, &device, &physical_device)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `instance` in this scope [INFO] [stdout] --> src/wsi/frame.rs:18:41 [INFO] [stdout] | [INFO] [stdout] 11 | let swapchain = Swapchain::new(&instance, device.clone(), &settings, &surface)?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `device` in this scope [INFO] [stdout] --> src/wsi/frame.rs:18:51 [INFO] [stdout] | [INFO] [stdout] 11 | let swapchain = Swapchain::new(&instance, device.clone(), &settings, &surface)?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `settings` in this scope [INFO] [stdout] --> src/wsi/frame.rs:18:68 [INFO] [stdout] | [INFO] [stdout] 11 | let swapchain = Swapchain::new(&instance, device.clone(), &settings, &surface)?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `surface` in this scope [INFO] [stdout] --> src/wsi/frame.rs:18:79 [INFO] [stdout] | [INFO] [stdout] 11 | let swapchain = Swapchain::new(&instance, device.clone(), &settings, &surface)?; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `device` in this scope [INFO] [stdout] --> src/wsi/frame.rs:19:27 [INFO] [stdout] | [INFO] [stdout] 12 | FrameManager::new(device.clone(), alloc.clone(), &settings, swapchain)? [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `settings` in this scope [INFO] [stdout] --> src/wsi/frame.rs:19:59 [INFO] [stdout] | [INFO] [stdout] 12 | FrameManager::new(device.clone(), alloc.clone(), &settings, swapchain)? [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `event_loop` in this scope [INFO] [stdout] --> src/wsi/frame.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 15 | event_loop.run(move |event, _, control_flow| { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `pipeline_cache` in this scope [INFO] [stdout] --> src/wsi/frame.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 23 | pipeline_cache.next_frame(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `descriptor_cache` in this scope [INFO] [stdout] --> src/wsi/frame.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 24 | descriptor_cache.next_frame(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `window` in this scope [INFO] [stdout] --> src/wsi/frame.rs:40:31 [INFO] [stdout] | [INFO] [stdout] 33 | } if window_id == window.id() => { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `device` in this scope [INFO] [stdout] --> src/wsi/frame.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 35 | device.wait_idle().unwrap(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `window` in this scope [INFO] [stdout] --> src/wsi/frame.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 38 | window.request_redraw(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `exec` in this scope [INFO] [stdout] --> src/wsi/frame.rs:49:61 [INFO] [stdout] | [INFO] [stdout] 42 | futures::executor::block_on(frame.new_frame(exec.clone(), window, &surface, |mut ifc| { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `window` in this scope [INFO] [stdout] --> src/wsi/frame.rs:49:75 [INFO] [stdout] | [INFO] [stdout] 42 | futures::executor::block_on(frame.new_frame(exec.clone(), window, &surface, |mut ifc| { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `surface` in this scope [INFO] [stdout] --> src/wsi/frame.rs:49:84 [INFO] [stdout] | [INFO] [stdout] 42 | futures::executor::block_on(frame.new_frame(exec.clone(), window, &surface, |mut ifc| { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `exec` in this scope [INFO] [stdout] --> src/wsi/frame.rs:54:31 [INFO] [stdout] | [INFO] [stdout] 47 | let cmd = exec.on_domain::()? [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/wsi/frame.rs:16:72 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_wsi_frame_rs_10_0() { [INFO] [stdout] | ---------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 9 | let alloc = DefaultAllocator::new(&instance, &device, &physical_device)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `()` [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_wsi_frame_rs_10_0() -> Result<(), Box> { [INFO] [stdout] 5 | use winit::event_loop::ControlFlow; [INFO] [stdout] ... [INFO] [stdout] 58| }); [INFO] [stdout] 59+ Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/wsi/frame.rs:18:87 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_wsi_frame_rs_10_0() { [INFO] [stdout] | ---------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 11 | let swapchain = Swapchain::new(&instance, device.clone(), &settings, &surface)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `()` [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_wsi_frame_rs_10_0() -> Result<(), Box> { [INFO] [stdout] 5 | use winit::event_loop::ControlFlow; [INFO] [stdout] ... [INFO] [stdout] 58 | }); [INFO] [stdout] 59 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 4 arguments were supplied [INFO] [stdout] --> src/wsi/frame.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 12 | FrameManager::new(device.clone(), alloc.clone(), &settings, swapchain)? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ --------- unexpected argument #4 of type `phobos::Swapchain` [INFO] [stdout] | [INFO] [stdout] note: expected `ResourcePool<_>`, found `DefaultAllocator` [INFO] [stdout] --> src/wsi/frame.rs:19:43 [INFO] [stdout] | [INFO] [stdout] 12 | FrameManager::new(device.clone(), alloc.clone(), &settings, swapchain)? [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: expected struct `ResourcePool<_>` [INFO] [stdout] found struct `phobos::DefaultAllocator` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/wsi/frame.rs:297:12 [INFO] [stdout] | [INFO] [stdout] 297 | pub fn new(device: Device, pool: ResourcePool, swapchain: Swapchain) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 12 - FrameManager::new(device.clone(), alloc.clone(), &settings, swapchain)? [INFO] [stdout] 12 + FrameManager::new(device.clone(), /* pool */, &settings)? [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/wsi/frame.rs:19:79 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_wsi_frame_rs_10_0() { [INFO] [stdout] | ---------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 12 | FrameManager::new(device.clone(), alloc.clone(), &settings, swapchain)? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `()` [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_wsi_frame_rs_10_0() -> Result<(), Box> { [INFO] [stdout] 5 | use winit::event_loop::ControlFlow; [INFO] [stdout] ... [INFO] [stdout] 58 | }); [INFO] [stdout] 59 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a closure that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/wsi/frame.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 15 | event_loop.run(move |event, _, control_flow| { [INFO] [stdout] | ----------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 54 | }))?; [INFO] [stdout] | ^ cannot use the `?` operator in a closure that returns `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `()` [INFO] [stdout] [INFO] [stdout] error: aborting due to 24 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/sync/fence.rs - sync::fence::Fence (line 81) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `cmd` in this scope [INFO] [stdout] --> src/sync/fence.rs:93:33 [INFO] [stdout] | [INFO] [stdout] 15 | let mut fence = exec.submit(cmd)?; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `staging` in this scope [INFO] [stdout] --> src/sync/fence.rs:102:22 [INFO] [stdout] | [INFO] [stdout] 24 | drop(staging); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found module `buffer` [INFO] [stdout] --> src/sync/fence.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 27 | Ok(buffer) [INFO] [stdout] | ^^^^^^ not a value [INFO] [stdout] [INFO] [stdout] error[E0277]: `()` is not a future [INFO] [stdout] --> src/sync/fence.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 26 | }).await?; [INFO] [stdout] | -^^^^^ [INFO] [stdout] | || [INFO] [stdout] | |`()` is not a future [INFO] [stdout] | help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `()`, which is required by `(): IntoFuture` [INFO] [stdout] = note: () must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `()` to implement `IntoFuture` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0423, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/sync/fence.rs - sync::fence::Fence (line 51) stdout ---- [INFO] [stdout] error[E0061]: this function takes 3 arguments but 4 arguments were supplied [INFO] [stdout] --> src/sync/fence.rs:62:18 [INFO] [stdout] | [INFO] [stdout] 14 | let buffer = Buffer::new_device_local(device.clone(), &mut allocator, size, vk::BufferUsageFlags::TRANSFER_DST)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ---------------------------------- unexpected argument #4 of type `BufferUsageFlags` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/resource/buffer.rs:234:12 [INFO] [stdout] | [INFO] [stdout] 234 | pub fn new_device_local( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 14 - let buffer = Buffer::new_device_local(device.clone(), &mut allocator, size, vk::BufferUsageFlags::TRANSFER_DST)?; [INFO] [stdout] 14 + let buffer = Buffer::new_device_local(device.clone(), &mut allocator, size)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 5 arguments were supplied [INFO] [stdout] --> src/sync/fence.rs:65:19 [INFO] [stdout] | [INFO] [stdout] 17 | let staging = Buffer::new(device.clone(), &mut allocator, size, vk::BufferUsageFlags::TRANSFER_SRC, MemoryType::CpuToGpu)?; [INFO] [stdout] | ^^^^^^^^^^^ ---------------------------------- unexpected argument #4 of type `BufferUsageFlags` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/resource/buffer.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 17 - let staging = Buffer::new(device.clone(), &mut allocator, size, vk::BufferUsageFlags::TRANSFER_SRC, MemoryType::CpuToGpu)?; [INFO] [stdout] 17 + let staging = Buffer::new(device.clone(), &mut allocator, size, MemoryType::CpuToGpu)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/sync/fence.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 28 | fence.attach_value(Ok(buffer)).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result`, found `Option>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, anyhow::Error>` [INFO] [stdout] found enum `Option>` [INFO] [stdout] help: consider using `Option::expect` to unwrap the `Option>` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 28 | fence.attach_value(Ok(buffer)).await.expect("REASON") [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308. [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/wsi/frame.rs - wsi::frame::InFlightContext (line 105) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `frame` in this scope [INFO] [stdout] --> src/wsi/frame.rs:106:1 [INFO] [stdout] | [INFO] [stdout] 3 | frame.new_frame(&exec, window, &surface, |mut ifc| { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `exec` in this scope [INFO] [stdout] --> src/wsi/frame.rs:106:18 [INFO] [stdout] | [INFO] [stdout] 3 | frame.new_frame(&exec, window, &surface, |mut ifc| { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `window` in this scope [INFO] [stdout] --> src/wsi/frame.rs:106:24 [INFO] [stdout] | [INFO] [stdout] 3 | frame.new_frame(&exec, window, &surface, |mut ifc| { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `surface` in this scope [INFO] [stdout] --> src/wsi/frame.rs:106:33 [INFO] [stdout] | [INFO] [stdout] 3 | frame.new_frame(&exec, window, &surface, |mut ifc| { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 22) stdout ---- [INFO] [stdout] Test executable failed (exit status: 101). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] thread 'main' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/winit-0.28.3/src/platform_impl/linux/mod.rs:757:9: [INFO] [stdout] Failed to initialize any backend! Wayland status: XdgRuntimeDirNotSet X11 status: XOpenDisplayFailed [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5b76d2bf92ea - std::backtrace_rs::backtrace::libunwind::trace::h4d70d1fc3f387ba0 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 [INFO] [stdout] 1: 0x5b76d2bf92ea - std::backtrace_rs::backtrace::trace_unsynchronized::h36ec8598f89aa10d [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5b76d2bf92ea - std::sys::backtrace::_print_fmt::h28554e34eddafd0e [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5b76d2bf92ea - ::fmt::hcfddd6c618da2362 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5b76d2c1ee63 - core::fmt::rt::Argument::fmt::h61c6663ef797a8d8 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/core/src/fmt/rt.rs:177:76 [INFO] [stdout] 5: 0x5b76d2c1ee63 - core::fmt::write::hd107f06dbaee3bcd [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/core/src/fmt/mod.rs:1186:21 [INFO] [stdout] 6: 0x5b76d2bf6533 - std::io::Write::write_fmt::h9780feef4837c450 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/io/mod.rs:1839:15 [INFO] [stdout] 7: 0x5b76d2bf9132 - std::sys::backtrace::BacktraceLock::print::h0aaa3c788fc54962 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 8: 0x5b76d2bfa0dc - std::panicking::default_hook::{{closure}}::ha21be3bf10424d59 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/panicking.rs:268:22 [INFO] [stdout] 9: 0x5b76d2bf9f22 - std::panicking::default_hook::h7c625ca31e6655f8 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/panicking.rs:295:9 [INFO] [stdout] 10: 0x5b76d2bfa6b7 - std::panicking::rust_panic_with_hook::h4dfaea2b0d4c7530 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/panicking.rs:801:13 [INFO] [stdout] 11: 0x5b76d2bfa54a - std::panicking::begin_panic_handler::{{closure}}::hb745add2af2f30cf [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/panicking.rs:674:13 [INFO] [stdout] 12: 0x5b76d2bf97c9 - std::sys::backtrace::__rust_end_short_backtrace::h06673da104b2a94d [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/sys/backtrace.rs:170:18 [INFO] [stdout] 13: 0x5b76d2bfa1dc - rust_begin_unwind [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/panicking.rs:665:5 [INFO] [stdout] 14: 0x5b76d279bcb0 - core::panicking::panic_fmt::h7e8d81c8d715d530 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/core/src/panicking.rs:74:14 [INFO] [stdout] 15: 0x5b76d284e20d - winit::platform_impl::platform::EventLoop::new::he0c1b4cb077364d1 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/winit-0.28.3/src/platform_impl/linux/mod.rs:757:9 [INFO] [stdout] 16: 0x5b76d285cd60 - winit::event_loop::EventLoopBuilder::build::hadb5a2c4e693e914 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/winit-0.28.3/src/event_loop.rs:121:25 [INFO] [stdout] 17: 0x5b76d27d260a - rust_out::main::_doctest_main_src_lib_rs_22_0::h92713938113f0787 [INFO] [stdout] 18: 0x5b76d27d25c6 - rust_out::main::hf80af9805937976b [INFO] [stdout] 19: 0x5b76d27b4923 - core::ops::function::FnOnce::call_once::hb6d067d49fca2144 [INFO] [stdout] 20: 0x5b76d27ae436 - std::sys::backtrace::__rust_begin_short_backtrace::h7d6791fab0350f9e [INFO] [stdout] 21: 0x5b76d27ae3b9 - std::rt::lang_start::{{closure}}::h9efa5e37c31af8f8 [INFO] [stdout] 22: 0x5b76d2bf2a2e - core::ops::function::impls:: for &F>::call_once::h6a459d09dd94c3a9 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/core/src/ops/function.rs:284:13 [INFO] [stdout] 23: 0x5b76d2bf2a2e - std::panicking::try::do_call::h8ca42cd65fa86061 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/panicking.rs:557:40 [INFO] [stdout] 24: 0x5b76d2bf2a2e - std::panicking::try::hf345318762caed98 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/panicking.rs:520:19 [INFO] [stdout] 25: 0x5b76d2bf2a2e - std::panic::catch_unwind::hb3c86f0f05c3b672 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/panic.rs:358:14 [INFO] [stdout] 26: 0x5b76d2bf2a2e - std::rt::lang_start_internal::{{closure}}::h45c33da7fb9d3f44 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/rt.rs:174:48 [INFO] [stdout] 27: 0x5b76d2bf2a2e - std::panicking::try::do_call::h8c6d09a33c45c7d9 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/panicking.rs:557:40 [INFO] [stdout] 28: 0x5b76d2bf2a2e - std::panicking::try::h3169966ca94bafab [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/panicking.rs:520:19 [INFO] [stdout] 29: 0x5b76d2bf2a2e - std::panic::catch_unwind::hd04f936bc02d645b [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/panic.rs:358:14 [INFO] [stdout] 30: 0x5b76d2bf2a2e - std::rt::lang_start_internal::hc07b7f0cfe6cf97a [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/rt.rs:174:20 [INFO] [stdout] 31: 0x5b76d27ae397 - std::rt::lang_start::h2055d38fabd3fb0b [INFO] [stdout] 32: 0x5b76d27d2835 - main [INFO] [stdout] 33: 0x7e155ee8dd90 - [INFO] [stdout] 34: 0x7e155ee8de40 - __libc_start_main [INFO] [stdout] 35: 0x5b76d279c675 - _start [INFO] [stdout] 36: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/allocator/default_allocator.rs - allocator::default_allocator::Allocation (line 56) [INFO] [stdout] src/allocator/default_allocator.rs - allocator::default_allocator::DefaultAllocator::allocate (line 126) [INFO] [stdout] src/allocator/default_allocator.rs - allocator::default_allocator::DefaultAllocator::free (line 168) [INFO] [stdout] src/allocator/default_allocator.rs - allocator::default_allocator::DefaultAllocator::new (line 76) [INFO] [stdout] src/allocator/scratch_allocator.rs - allocator::scratch_allocator (line 9) [INFO] [stdout] src/allocator/scratch_allocator.rs - allocator::scratch_allocator::ScratchAllocator (line 49) [INFO] [stdout] src/allocator/scratch_allocator.rs - allocator::scratch_allocator::ScratchAllocator::allocate (line 121) [INFO] [stdout] src/allocator/scratch_allocator.rs - allocator::scratch_allocator::ScratchAllocator::new (line 86) [INFO] [stdout] src/command_buffer/incomplete.rs - command_buffer::incomplete::IncompleteCommandBuffer<'_,D,A>::bind_acceleration_structure (line 404) [INFO] [stdout] src/command_buffer/mod.rs - command_buffer::CommandBuffer (line 43) [INFO] [stdout] src/core/app_info.rs - core::app_info::AppBuilder (line 173) [INFO] [stdout] src/descriptor/builder.rs - descriptor::builder::DescriptorSetBuilder (line 20) [INFO] [stdout] src/graph/mod.rs - graph (line 15) [INFO] [stdout] src/graph/mod.rs - graph (line 41) [INFO] [stdout] src/graph/pass.rs - graph::pass (line 29) [INFO] [stdout] src/graph/pass.rs - graph::pass (line 46) [INFO] [stdout] src/graph/physical_resource.rs - graph::physical_resource::PhysicalResourceBindings (line 20) [INFO] [stdout] src/lib.rs - (line 22) [INFO] [stdout] src/lib.rs - (line 34) [INFO] [stdout] src/lib.rs - (line 58) [INFO] [stdout] src/pipeline/cache.rs - pipeline::cache::PipelineCache (line 56) [INFO] [stdout] src/pipeline/mod.rs - pipeline (line 11) [INFO] [stdout] src/resource/buffer.rs - resource::buffer (line 11) [INFO] [stdout] src/sync/execution_manager.rs - sync::execution_manager::ExecutionManager (line 31) [INFO] [stdout] src/sync/execution_manager.rs - sync::execution_manager::ExecutionManager::start_submit_batch (line 145) [INFO] [stdout] src/sync/fence.rs - sync::fence::Fence (line 32) [INFO] [stdout] src/sync/fence.rs - sync::fence::Fence (line 51) [INFO] [stdout] src/sync/fence.rs - sync::fence::Fence (line 81) [INFO] [stdout] src/wsi/frame.rs - wsi::frame (line 10) [INFO] [stdout] src/wsi/frame.rs - wsi::frame::InFlightContext (line 105) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 46 passed; 30 failed; 0 ignored; 0 measured; 0 filtered out; finished in 11.60s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "4adb26441fb1530e1539dba99a5c32f0413e0cb884f69fcfd507a8577cac9b86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4adb26441fb1530e1539dba99a5c32f0413e0cb884f69fcfd507a8577cac9b86", kill_on_drop: false }` [INFO] [stdout] 4adb26441fb1530e1539dba99a5c32f0413e0cb884f69fcfd507a8577cac9b86