[INFO] fetching crate mira 0.1.26... [INFO] testing mira-0.1.26 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate mira 0.1.26 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate mira 0.1.26 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate mira 0.1.26 [INFO] tweaked toml for crates.io crate mira 0.1.26 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate mira 0.1.26 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate mira 0.1.26 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c99a8c9f0fb03a4184435998174d7c1bb9a426f664a2bb7811444b3669659901 [INFO] running `Command { std: "docker" "start" "-a" "c99a8c9f0fb03a4184435998174d7c1bb9a426f664a2bb7811444b3669659901", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c99a8c9f0fb03a4184435998174d7c1bb9a426f664a2bb7811444b3669659901", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c99a8c9f0fb03a4184435998174d7c1bb9a426f664a2bb7811444b3669659901", kill_on_drop: false }` [INFO] [stdout] c99a8c9f0fb03a4184435998174d7c1bb9a426f664a2bb7811444b3669659901 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 97e50722f925f780c10c1d90a5742d47d9cccf923cbc06f8d63fe6259cd53930 [INFO] running `Command { std: "docker" "start" "-a" "97e50722f925f780c10c1d90a5742d47d9cccf923cbc06f8d63fe6259cd53930", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling thiserror v2.0.3 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling libloading v0.8.5 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.89 [INFO] [stderr] Compiling thiserror-impl v2.0.3 [INFO] [stderr] Compiling mira v0.1.26 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/loader.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn instance(&self) -> Result, MiraError> { [INFO] [stdout] | ^^^^^ --------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 49 | pub fn instance(&self) -> Result, MiraError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/loader.rs:64:19 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn device(&self) -> Result, MiraError> { [INFO] [stdout] | ^^^^^ ------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 64 | pub fn device(&self) -> Result, MiraError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.17s [INFO] running `Command { std: "docker" "inspect" "97e50722f925f780c10c1d90a5742d47d9cccf923cbc06f8d63fe6259cd53930", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97e50722f925f780c10c1d90a5742d47d9cccf923cbc06f8d63fe6259cd53930", kill_on_drop: false }` [INFO] [stdout] 97e50722f925f780c10c1d90a5742d47d9cccf923cbc06f8d63fe6259cd53930 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 583a6a235a7c6522fee7f86968b80f3a35e60a3d253f7e98b916a9ce3d9846cd [INFO] running `Command { std: "docker" "start" "-a" "583a6a235a7c6522fee7f86968b80f3a35e60a3d253f7e98b916a9ce3d9846cd", kill_on_drop: false }` [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/loader.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn instance(&self) -> Result, MiraError> { [INFO] [stdout] | ^^^^^ --------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 49 | pub fn instance(&self) -> Result, MiraError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/loader.rs:64:19 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn device(&self) -> Result, MiraError> { [INFO] [stdout] | ^^^^^ ------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 64 | pub fn device(&self) -> Result, MiraError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling mira v0.1.26 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fermium` [INFO] [stdout] --> examples/color.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use fermium::events::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fermium` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fermium`, use `cargo add fermium` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fermium` [INFO] [stdout] --> examples/color.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use fermium::stdinc::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fermium` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fermium`, use `cargo add fermium` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fermium` [INFO] [stdout] --> examples/color.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use fermium::video::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fermium` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fermium`, use `cargo add fermium` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fermium` [INFO] [stdout] --> examples/color.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use fermium::vulkan::{SDL_Vulkan_CreateSurface, SDL_Vulkan_GetInstanceExtensions}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fermium` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fermium`, use `cargo add fermium` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `const_cstr` [INFO] [stdout] --> examples/color.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use const_cstr::*; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `const_cstr` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `const_cstr`, use `cargo add const_cstr` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fermium` [INFO] [stdout] --> examples/color.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use fermium::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `fermium` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fermium`, use `cargo add fermium` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `const_cstr` in this scope [INFO] [stdout] --> examples/color.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | const_cstr!("mira/color").as_ptr(), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `const_cstr` in this scope [INFO] [stdout] --> examples/color.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | const_cstr!("VK_LAYER_KHRONOS_validation").as_ptr(), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `const_cstr` in this scope [INFO] [stdout] --> examples/color.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | const_cstr!("VK_LAYER_LUNARG_api_dump").as_ptr(), //too verbose [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `const_cstr` in this scope [INFO] [stdout] --> examples/color.rs:90:57 [INFO] [stdout] | [INFO] [stdout] 90 | unsafe { loader::instance(std::ptr::null_mut(), const_cstr!("vkCreateInstance"))? }; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `const_cstr` in this scope [INFO] [stdout] --> examples/color.rs:93:33 [INFO] [stdout] | [INFO] [stdout] 93 | app_info.pApplicationName = const_cstr!("mira/color").as_ptr(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `const_cstr` in this scope [INFO] [stdout] --> examples/color.rs:126:60 [INFO] [stdout] | [INFO] [stdout] 126 | destroy_instance = unsafe { loader::instance(instance, const_cstr!("vkDestroyInstance"))? }; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `const_cstr` in this scope [INFO] [stdout] --> examples/color.rs:128:59 [INFO] [stdout] | [INFO] [stdout] 128 | destroy_surface = unsafe { loader::instance(instance, const_cstr!("vkDestroySurfaceKHR"))? }; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `const_cstr` in this scope [INFO] [stdout] --> examples/color.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | const_cstr!("vkGetPhysicalDeviceSurfaceSupportKHR"), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `const_cstr` in this scope [INFO] [stdout] --> examples/color.rs:138:13 [INFO] [stdout] | [INFO] [stdout] 138 | const_cstr!("vkGetPhysicalDeviceSurfaceCapabilitiesKHR"), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `const_cstr` in this scope [INFO] [stdout] --> examples/color.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | const_cstr!("vkGetPhysicalDeviceSurfaceFormatsKHR"), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `const_cstr` in this scope [INFO] [stdout] --> examples/color.rs:149:45 [INFO] [stdout] | [INFO] [stdout] 149 | unsafe { loader::instance(instance, const_cstr!("vkEnumeratePhysicalDevices"))? }; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `const_cstr` in this scope [INFO] [stdout] --> examples/color.rs:151:45 [INFO] [stdout] | [INFO] [stdout] 151 | unsafe { loader::instance(instance, const_cstr!("vkGetPhysicalDeviceProperties"))? }; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `const_cstr` in this scope [INFO] [stdout] --> examples/color.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | const_cstr!("vkGetPhysicalDeviceQueueFamilyProperties"), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `const_cstr` in this scope [INFO] [stdout] --> examples/color.rs:158:57 [INFO] [stdout] | [INFO] [stdout] 158 | create_device = unsafe { loader::instance(instance, const_cstr!("vkCreateDevice"))? }; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `const_cstr` in this scope [INFO] [stdout] --> examples/color.rs:238:34 [INFO] [stdout] | [INFO] [stdout] 238 | let device_extensions = vec![const_cstr!("VK_KHR_swapchain").as_ptr()]; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `const_cstr` in this scope [INFO] [stdout] --> examples/color.rs:263:54 [INFO] [stdout] | [INFO] [stdout] 263 | destroy_device = unsafe { loader::device(device, const_cstr!("vkDestroyDevice"))? }; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `const_cstr` in this scope [INFO] [stdout] --> examples/color.rs:264:56 [INFO] [stdout] | [INFO] [stdout] 264 | device_wait_idle = unsafe { loader::device(device, const_cstr!("vkDeviceWaitIdle"))? }; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `const_cstr` in this scope [INFO] [stdout] --> examples/color.rs:265:49 [INFO] [stdout] | [INFO] [stdout] 265 | get_queue = unsafe { loader::device(device, const_cstr!("vkGetDeviceQueue"))? }; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `const_cstr` in this scope [INFO] [stdout] --> examples/color.rs:266:56 [INFO] [stdout] | [INFO] [stdout] 266 | create_swapchain = unsafe { loader::device(device, const_cstr!("vkCreateSwapchainKHR"))? }; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `const_cstr` in this scope [INFO] [stdout] --> examples/color.rs:267:57 [INFO] [stdout] | [INFO] [stdout] 267 | destroy_swapchain = unsafe { loader::device(device, const_cstr!("vkDestroySwapchainKHR"))? }; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `const_cstr` in this scope [INFO] [stdout] --> examples/color.rs:268:56 [INFO] [stdout] | [INFO] [stdout] 268 | create_semaphore = unsafe { loader::device(device, const_cstr!("vkCreateSemaphore"))? }; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `const_cstr` in this scope [INFO] [stdout] --> examples/color.rs:269:57 [INFO] [stdout] | [INFO] [stdout] 269 | destroy_semaphore = unsafe { loader::device(device, const_cstr!("vkDestroySemaphore"))? }; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `const_cstr` in this scope [INFO] [stdout] --> examples/color.rs:270:58 [INFO] [stdout] | [INFO] [stdout] 270 | acquire_next_image = unsafe { loader::device(device, const_cstr!("vkAcquireNextImageKHR"))? }; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `const_cstr` in this scope [INFO] [stdout] --> examples/color.rs:271:52 [INFO] [stdout] | [INFO] [stdout] 271 | queue_submit = unsafe { loader::device(device, const_cstr!("vkQueueSubmit"))? }; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `const_cstr` in this scope [INFO] [stdout] --> examples/color.rs:272:53 [INFO] [stdout] | [INFO] [stdout] 272 | queue_present = unsafe { loader::device(device, const_cstr!("vkQueuePresentKHR"))? }; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `const_cstr` in this scope [INFO] [stdout] --> examples/color.rs:274:41 [INFO] [stdout] | [INFO] [stdout] 274 | unsafe { loader::device(device, const_cstr!("vkGetSwapchainImagesKHR"))? }; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `const_cstr` in this scope [INFO] [stdout] --> examples/color.rs:275:59 [INFO] [stdout] | [INFO] [stdout] 275 | create_command_pool = unsafe { loader::device(device, const_cstr!("vkCreateCommandPool"))? }; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `const_cstr` in this scope [INFO] [stdout] --> examples/color.rs:276:60 [INFO] [stdout] | [INFO] [stdout] 276 | destroy_command_pool = unsafe { loader::device(device, const_cstr!("vkDestroyCommandPool"))? }; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `const_cstr` in this scope [INFO] [stdout] --> examples/color.rs:278:41 [INFO] [stdout] | [INFO] [stdout] 278 | unsafe { loader::device(device, const_cstr!("vkAllocateCommandBuffers"))? }; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `const_cstr` in this scope [INFO] [stdout] --> examples/color.rs:279:60 [INFO] [stdout] | [INFO] [stdout] 279 | free_command_buffers = unsafe { loader::device(device, const_cstr!("vkFreeCommandBuffers"))? }; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `const_cstr` in this scope [INFO] [stdout] --> examples/color.rs:280:60 [INFO] [stdout] | [INFO] [stdout] 280 | begin_command_buffer = unsafe { loader::device(device, const_cstr!("vkBeginCommandBuffer"))? }; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `const_cstr` in this scope [INFO] [stdout] --> examples/color.rs:281:58 [INFO] [stdout] | [INFO] [stdout] 281 | end_command_buffer = unsafe { loader::device(device, const_cstr!("vkEndCommandBuffer"))? }; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `const_cstr` in this scope [INFO] [stdout] --> examples/color.rs:282:60 [INFO] [stdout] | [INFO] [stdout] 282 | cmd_pipeline_barrier = unsafe { loader::device(device, const_cstr!("vkCmdPipelineBarrier"))? }; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `const_cstr` in this scope [INFO] [stdout] --> examples/color.rs:283:61 [INFO] [stdout] | [INFO] [stdout] 283 | cmd_clear_color_image = unsafe { loader::device(device, const_cstr!("vkCmdClearColorImage"))? }; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mira` (example "color") due to 40 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/loader.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn instance(&self) -> Result, MiraError> { [INFO] [stdout] | ^^^^^ --------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 49 | pub fn instance(&self) -> Result, MiraError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/loader.rs:64:19 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn device(&self) -> Result, MiraError> { [INFO] [stdout] | ^^^^^ ------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 64 | pub fn device(&self) -> Result, MiraError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "583a6a235a7c6522fee7f86968b80f3a35e60a3d253f7e98b916a9ce3d9846cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "583a6a235a7c6522fee7f86968b80f3a35e60a3d253f7e98b916a9ce3d9846cd", kill_on_drop: false }` [INFO] [stdout] 583a6a235a7c6522fee7f86968b80f3a35e60a3d253f7e98b916a9ce3d9846cd