[INFO] cloning repository https://github.com/krakow10/triangle-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/krakow10/triangle-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkrakow10%2Ftriangle-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkrakow10%2Ftriangle-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ca39e1a1e1259d93b4f0543c6c42f495cce8b014 [INFO] checking krakow10/triangle-rs against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkrakow10%2Ftriangle-rs" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/krakow10/triangle-rs on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/krakow10/triangle-rs [INFO] finished tweaking git repo https://github.com/krakow10/triangle-rs [INFO] tweaked toml for git repo https://github.com/krakow10/triangle-rs written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/krakow10/triangle-rs 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: version requirement `0.37.2+1.3.238` for dependency `ash` includes semver metadata which will be ignored, removing the metadata is recommended to avoid confusion [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking krakow10/triangle-rs against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkrakow10%2Ftriangle-rs" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/krakow10/triangle-rs on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/krakow10/triangle-rs [INFO] finished tweaking git repo https://github.com/krakow10/triangle-rs [INFO] tweaked toml for git repo https://github.com/krakow10/triangle-rs written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/krakow10/triangle-rs 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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: version requirement `0.37.2+1.3.238` for dependency `ash` includes semver metadata which will be ignored, removing the metadata is recommended to avoid confusion [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking krakow10/triangle-rs against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkrakow10%2Ftriangle-rs" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/krakow10/triangle-rs on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/krakow10/triangle-rs [INFO] finished tweaking git repo https://github.com/krakow10/triangle-rs [INFO] tweaked toml for git repo https://github.com/krakow10/triangle-rs written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/krakow10/triangle-rs 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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: version requirement `0.37.2+1.3.238` for dependency `ash` includes semver metadata which will be ignored, removing the metadata is recommended to avoid confusion [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bda556314f41430e8b7539736e26bd4aabfccde89952ee1e7181a1a3c7e565a1 [INFO] running `Command { std: "docker" "start" "-a" "bda556314f41430e8b7539736e26bd4aabfccde89952ee1e7181a1a3c7e565a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bda556314f41430e8b7539736e26bd4aabfccde89952ee1e7181a1a3c7e565a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bda556314f41430e8b7539736e26bd4aabfccde89952ee1e7181a1a3c7e565a1", kill_on_drop: false }` [INFO] [stdout] bda556314f41430e8b7539736e26bd4aabfccde89952ee1e7181a1a3c7e565a1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f9c977fc48984a59ba20c27d91a6980b195fd846ba2bc9c952c11baa64ab496e [INFO] running `Command { std: "docker" "start" "-a" "f9c977fc48984a59ba20c27d91a6980b195fd846ba2bc9c952c11baa64ab496e", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] warning: version requirement `0.37.2+1.3.238` for dependency `ash` includes semver metadata which will be ignored, removing the metadata is recommended to avoid confusion [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling ash v0.37.2+1.3.238 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Checking triangle-rs v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stdout] error[E0425]: cannot find value `image_views` in this scope [INFO] [stdout] --> src/main.rs:162:24 [INFO] [stdout] | [INFO] [stdout] 162 | .attachments(&[image_views[image_index as usize]]) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `image_index` in this scope [INFO] [stdout] --> src/main.rs:162:36 [INFO] [stdout] | [INFO] [stdout] 162 | .attachments(&[image_views[image_index as usize]]) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `swapchain_extent` in this scope [INFO] [stdout] --> src/main.rs:163:16 [INFO] [stdout] | [INFO] [stdout] 163 | .width(swapchain_extent.width) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `swapchain_extent` in this scope [INFO] [stdout] --> src/main.rs:164:17 [INFO] [stdout] | [INFO] [stdout] 164 | .height(swapchain_extent.height) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `swapchain_extent` in this scope [INFO] [stdout] --> src/main.rs:182:83 [INFO] [stdout] | [INFO] [stdout] 182 | .render_area(vk::Rect2D::builder().offset(vk::Offset2D::default()).extent(swapchain_extent).build()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `vertex_buffer` in this scope [INFO] [stdout] --> src/main.rs:187:61 [INFO] [stdout] | [INFO] [stdout] 187 | device.cmd_bind_vertex_buffers(command_buffer, 0, &[vertex_buffer], &[0]); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `vertex_buffer` in this scope [INFO] [stdout] --> src/main.rs:212:31 [INFO] [stdout] | [INFO] [stdout] 212 | device.destroy_buffer(vertex_buffer, None); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `vertex_buffer_memory` in this scope [INFO] [stdout] --> src/main.rs:213:28 [INFO] [stdout] | [INFO] [stdout] 213 | device.free_memory(vertex_buffer_memory, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `render_finished_semaphore` in this scope [INFO] [stdout] --> src/main.rs:214:34 [INFO] [stdout] | [INFO] [stdout] 214 | device.destroy_semaphore(render_finished_semaphore, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `image_available_semaphore` in this scope [INFO] [stdout] --> src/main.rs:215:34 [INFO] [stdout] | [INFO] [stdout] 215 | device.destroy_semaphore(image_available_semaphore, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:21:30 [INFO] [stdout] | [INFO] [stdout] 21 | .color_attachments(&[color_attachment_ref]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ expected `AttachmentReference`, found `AttachmentReferenceBuilder<'_>` [INFO] [stdout] | [INFO] [stdout] help: consider dereferencing the type [INFO] [stdout] | [INFO] [stdout] 21 | .color_attachments(&[*color_attachment_ref]); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | .attachments(&[color_attachment]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected `AttachmentDescription`, found `AttachmentDescriptionBuilder<'_>` [INFO] [stdout] | [INFO] [stdout] help: consider dereferencing the type [INFO] [stdout] | [INFO] [stdout] 24 | .attachments(&[*color_attachment]) [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:25:22 [INFO] [stdout] | [INFO] [stdout] 25 | .subpasses(&[subpass]); [INFO] [stdout] | ^^^^^^^ expected `SubpassDescription`, found `SubpassDescriptionBuilder<'_>` [INFO] [stdout] | [INFO] [stdout] help: consider dereferencing the type [INFO] [stdout] | [INFO] [stdout] 25 | .subpasses(&[*subpass]); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `ash::Entry` in the current scope [INFO] [stdout] --> src/main.rs:37:29 [INFO] [stdout] | [INFO] [stdout] 37 | let entry = ash::Entry::new().unwrap(); [INFO] [stdout] | ^^^ function or associated item not found in `ash::Entry` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `ash::Entry` consider using one of the following associated functions: [INFO] [stdout] ash::Entry::load [INFO] [stdout] ash::Entry::load_from [INFO] [stdout] ash::Entry::from_static_fn [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ash-0.37.2+1.3.238/src/entry.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | pub unsafe fn load() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub unsafe fn load_from(path: impl AsRef) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | pub unsafe fn from_static_fn(static_fn: vk::StaticFn) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:86:15 [INFO] [stdout] | [INFO] [stdout] 86 | .code(&vertex_shader_code[..]); [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^^^^ expected `&[u32]`, found `&[u8]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u32]` [INFO] [stdout] found reference `&[u8]` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ash-0.37.2+1.3.238/src/vk/definitions.rs:4826:12 [INFO] [stdout] | [INFO] [stdout] 4826 | pub fn code(mut self, code: &'a [u32]) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:90:15 [INFO] [stdout] | [INFO] [stdout] 90 | .code(&fragment_shader_code[..]); [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&[u32]`, found `&[u8]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u32]` [INFO] [stdout] found reference `&[u8]` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ash-0.37.2+1.3.238/src/vk/definitions.rs:4826:12 [INFO] [stdout] | [INFO] [stdout] 4826 | pub fn code(mut self, code: &'a [u32]) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:118:19 [INFO] [stdout] | [INFO] [stdout] 118 | .name(std::ffi::CString::new("main").unwrap().as_ptr()) [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&CStr`, found `*const i8` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&CStr` [INFO] [stdout] found raw pointer `*const i8` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ash-0.37.2+1.3.238/src/vk/definitions.rs:5435:12 [INFO] [stdout] | [INFO] [stdout] 5435 | pub fn name(mut self, name: &'a ::std::ffi::CStr) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:123:19 [INFO] [stdout] | [INFO] [stdout] 123 | .name(std::ffi::CString::new("main").unwrap().as_ptr()) [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&CStr`, found `*const i8` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&CStr` [INFO] [stdout] found raw pointer `*const i8` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ash-0.37.2+1.3.238/src/vk/definitions.rs:5435:12 [INFO] [stdout] | [INFO] [stdout] 5435 | pub fn name(mut self, name: &'a ::std::ffi::CStr) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `ColorComponentFlags` is not an iterator [INFO] [stdout] --> src/main.rs:142:52 [INFO] [stdout] | [INFO] [stdout] 142 | .color_write_mask(vk::ColorComponentFlags::all()) [INFO] [stdout] | ^^^ `ColorComponentFlags` is not an iterator [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ash-0.37.2+1.3.238/src/vk/bitflags.rs:237:1 [INFO] [stdout] | [INFO] [stdout] 237 | pub struct ColorComponentFlags(pub(crate) Flags); [INFO] [stdout] | ------------------------------ doesn't satisfy `ColorComponentFlags: Iterator` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `ColorComponentFlags` consider using one of the following associated functions: [INFO] [stdout] ColorComponentFlags::empty [INFO] [stdout] ColorComponentFlags::from_raw [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ash-0.37.2+1.3.238/src/vk/bitflags.rs:238:1 [INFO] [stdout] | [INFO] [stdout] 238 | vk_bitflags_wrapped!(ColorComponentFlags, Flags); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `ColorComponentFlags: Iterator` [INFO] [stdout] which is required by `&mut ColorComponentFlags: Iterator` [INFO] [stdout] = note: this error originates in the macro `vk_bitflags_wrapped` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `triangle-rs` (bin "triangle-rs") due to 20 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0425]: cannot find value `image_views` in this scope [INFO] [stdout] --> src/main.rs:162:24 [INFO] [stdout] | [INFO] [stdout] 162 | .attachments(&[image_views[image_index as usize]]) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `image_index` in this scope [INFO] [stdout] --> src/main.rs:162:36 [INFO] [stdout] | [INFO] [stdout] 162 | .attachments(&[image_views[image_index as usize]]) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `swapchain_extent` in this scope [INFO] [stdout] --> src/main.rs:163:16 [INFO] [stdout] | [INFO] [stdout] 163 | .width(swapchain_extent.width) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `swapchain_extent` in this scope [INFO] [stdout] --> src/main.rs:164:17 [INFO] [stdout] | [INFO] [stdout] 164 | .height(swapchain_extent.height) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `swapchain_extent` in this scope [INFO] [stdout] --> src/main.rs:182:83 [INFO] [stdout] | [INFO] [stdout] 182 | .render_area(vk::Rect2D::builder().offset(vk::Offset2D::default()).extent(swapchain_extent).build()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `vertex_buffer` in this scope [INFO] [stdout] --> src/main.rs:187:61 [INFO] [stdout] | [INFO] [stdout] 187 | device.cmd_bind_vertex_buffers(command_buffer, 0, &[vertex_buffer], &[0]); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `vertex_buffer` in this scope [INFO] [stdout] --> src/main.rs:212:31 [INFO] [stdout] | [INFO] [stdout] 212 | device.destroy_buffer(vertex_buffer, None); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `vertex_buffer_memory` in this scope [INFO] [stdout] --> src/main.rs:213:28 [INFO] [stdout] | [INFO] [stdout] 213 | device.free_memory(vertex_buffer_memory, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `render_finished_semaphore` in this scope [INFO] [stdout] --> src/main.rs:214:34 [INFO] [stdout] | [INFO] [stdout] 214 | device.destroy_semaphore(render_finished_semaphore, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `image_available_semaphore` in this scope [INFO] [stdout] --> src/main.rs:215:34 [INFO] [stdout] | [INFO] [stdout] 215 | device.destroy_semaphore(image_available_semaphore, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:21:30 [INFO] [stdout] | [INFO] [stdout] 21 | .color_attachments(&[color_attachment_ref]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ expected `AttachmentReference`, found `AttachmentReferenceBuilder<'_>` [INFO] [stdout] | [INFO] [stdout] help: consider dereferencing the type [INFO] [stdout] | [INFO] [stdout] 21 | .color_attachments(&[*color_attachment_ref]); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | .attachments(&[color_attachment]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected `AttachmentDescription`, found `AttachmentDescriptionBuilder<'_>` [INFO] [stdout] | [INFO] [stdout] help: consider dereferencing the type [INFO] [stdout] | [INFO] [stdout] 24 | .attachments(&[*color_attachment]) [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:25:22 [INFO] [stdout] | [INFO] [stdout] 25 | .subpasses(&[subpass]); [INFO] [stdout] | ^^^^^^^ expected `SubpassDescription`, found `SubpassDescriptionBuilder<'_>` [INFO] [stdout] | [INFO] [stdout] help: consider dereferencing the type [INFO] [stdout] | [INFO] [stdout] 25 | .subpasses(&[*subpass]); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `ash::Entry` in the current scope [INFO] [stdout] --> src/main.rs:37:29 [INFO] [stdout] | [INFO] [stdout] 37 | let entry = ash::Entry::new().unwrap(); [INFO] [stdout] | ^^^ function or associated item not found in `ash::Entry` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `ash::Entry` consider using one of the following associated functions: [INFO] [stdout] ash::Entry::load [INFO] [stdout] ash::Entry::load_from [INFO] [stdout] ash::Entry::from_static_fn [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ash-0.37.2+1.3.238/src/entry.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | pub unsafe fn load() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub unsafe fn load_from(path: impl AsRef) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | pub unsafe fn from_static_fn(static_fn: vk::StaticFn) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:86:15 [INFO] [stdout] | [INFO] [stdout] 86 | .code(&vertex_shader_code[..]); [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^^^^ expected `&[u32]`, found `&[u8]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u32]` [INFO] [stdout] found reference `&[u8]` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ash-0.37.2+1.3.238/src/vk/definitions.rs:4826:12 [INFO] [stdout] | [INFO] [stdout] 4826 | pub fn code(mut self, code: &'a [u32]) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:90:15 [INFO] [stdout] | [INFO] [stdout] 90 | .code(&fragment_shader_code[..]); [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&[u32]`, found `&[u8]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u32]` [INFO] [stdout] found reference `&[u8]` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ash-0.37.2+1.3.238/src/vk/definitions.rs:4826:12 [INFO] [stdout] | [INFO] [stdout] 4826 | pub fn code(mut self, code: &'a [u32]) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:118:19 [INFO] [stdout] | [INFO] [stdout] 118 | .name(std::ffi::CString::new("main").unwrap().as_ptr()) [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&CStr`, found `*const i8` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&CStr` [INFO] [stdout] found raw pointer `*const i8` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ash-0.37.2+1.3.238/src/vk/definitions.rs:5435:12 [INFO] [stdout] | [INFO] [stdout] 5435 | pub fn name(mut self, name: &'a ::std::ffi::CStr) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:123:19 [INFO] [stdout] | [INFO] [stdout] 123 | .name(std::ffi::CString::new("main").unwrap().as_ptr()) [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&CStr`, found `*const i8` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&CStr` [INFO] [stdout] found raw pointer `*const i8` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ash-0.37.2+1.3.238/src/vk/definitions.rs:5435:12 [INFO] [stdout] | [INFO] [stdout] 5435 | pub fn name(mut self, name: &'a ::std::ffi::CStr) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `ColorComponentFlags` is not an iterator [INFO] [stdout] --> src/main.rs:142:52 [INFO] [stdout] | [INFO] [stdout] 142 | .color_write_mask(vk::ColorComponentFlags::all()) [INFO] [stdout] | ^^^ `ColorComponentFlags` is not an iterator [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ash-0.37.2+1.3.238/src/vk/bitflags.rs:237:1 [INFO] [stdout] | [INFO] [stdout] 237 | pub struct ColorComponentFlags(pub(crate) Flags); [INFO] [stdout] | ------------------------------ doesn't satisfy `ColorComponentFlags: Iterator` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `ColorComponentFlags` consider using one of the following associated functions: [INFO] [stdout] ColorComponentFlags::empty [INFO] [stdout] ColorComponentFlags::from_raw [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ash-0.37.2+1.3.238/src/vk/bitflags.rs:238:1 [INFO] [stdout] | [INFO] [stdout] 238 | vk_bitflags_wrapped!(ColorComponentFlags, Flags); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `ColorComponentFlags: Iterator` [INFO] [stdout] which is required by `&mut ColorComponentFlags: Iterator` [INFO] [stdout] = note: this error originates in the macro `vk_bitflags_wrapped` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `triangle-rs` (bin "triangle-rs" test) due to 20 previous errors [INFO] [stdout] error: aborting due to 19 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "f9c977fc48984a59ba20c27d91a6980b195fd846ba2bc9c952c11baa64ab496e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9c977fc48984a59ba20c27d91a6980b195fd846ba2bc9c952c11baa64ab496e", kill_on_drop: false }` [INFO] [stdout] f9c977fc48984a59ba20c27d91a6980b195fd846ba2bc9c952c11baa64ab496e