[INFO] fetching crate kronos-compute 0.1.6-rc3... [INFO] testing kronos-compute-0.1.6-rc3 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate kronos-compute 0.1.6-rc3 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate kronos-compute 0.1.6-rc3 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate kronos-compute 0.1.6-rc3 [INFO] tweaked toml for crates.io crate kronos-compute 0.1.6-rc3 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate kronos-compute 0.1.6-rc3 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate kronos-compute 0.1.6-rc3 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 06f9054dcca6fb83cff356cac9b78070bd0f9d5087593975e77eb9af42ed18bf [INFO] running `Command { std: "docker" "start" "-a" "06f9054dcca6fb83cff356cac9b78070bd0f9d5087593975e77eb9af42ed18bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "06f9054dcca6fb83cff356cac9b78070bd0f9d5087593975e77eb9af42ed18bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06f9054dcca6fb83cff356cac9b78070bd0f9d5087593975e77eb9af42ed18bf", kill_on_drop: false }` [INFO] [stdout] 06f9054dcca6fb83cff356cac9b78070bd0f9d5087593975e77eb9af42ed18bf [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=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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ee37f13d1866136b34510be3dbda4cccc102a258e4d5c98a02e7c341e69a698e [INFO] running `Command { std: "docker" "start" "-a" "ee37f13d1866136b34510be3dbda4cccc102a258e4d5c98a02e7c341e69a698e", kill_on_drop: false }` [INFO] [stderr] Compiling kronos-compute v0.1.6-rc3 (/opt/rustwide/workdir) [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/api/context.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | _ => 5, [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/api/context.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 186 | VkPhysicalDeviceType::DiscreteGpu => 0, [INFO] [stdout] | --------------------------------- matches some of the same values [INFO] [stdout] 187 | VkPhysicalDeviceType::IntegratedGpu => 1, [INFO] [stdout] | ----------------------------------- matches some of the same values [INFO] [stdout] 188 | VkPhysicalDeviceType::VirtualGpu => 2, [INFO] [stdout] | -------------------------------- matches some of the same values [INFO] [stdout] 189 | VkPhysicalDeviceType::Cpu => 3, [INFO] [stdout] | ------------------------- matches some of the same values [INFO] [stdout] 190 | VkPhysicalDeviceType::Other => 4, [INFO] [stdout] 191 | _ => 5, [INFO] [stdout] | ^ ...and 1 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `physical_device` and `queue_family_index` are never read [INFO] [stdout] --> src/api/context.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 11 | pub(super) struct ContextInner { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 12 | pub(super) instance: VkInstance, [INFO] [stdout] 13 | pub(super) physical_device: VkPhysicalDevice, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub(super) queue_family_index: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `flags::VkShaderStageFlags`, which is not FFI-safe [INFO] [stdout] --> src/implementation/pipeline.rs:408:17 [INFO] [stdout] | [INFO] [stdout] 408 | stageFlags: VkShaderStageFlags, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/core/flags.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | / bitflags! { [INFO] [stdout] 64 | | #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)] [INFO] [stdout] 65 | | pub struct VkShaderStageFlags: VkFlags { [INFO] [stdout] 66 | | const COMPUTE = 0x00000020; [INFO] [stdout] ... | [INFO] [stdout] 69 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::__declare_public_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `flags::VkDescriptorPoolResetFlags`, which is not FFI-safe [INFO] [stdout] --> src/implementation/descriptor.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 128 | flags: VkDescriptorPoolResetFlags, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/core/flags.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | / bitflags! { [INFO] [stdout] 118 | | #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)] [INFO] [stdout] 119 | | pub struct VkDescriptorPoolResetFlags: VkFlags { [INFO] [stdout] ... | [INFO] [stdout] 123 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the macro `$crate::__declare_public_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `flags::VkDescriptorPoolResetFlags`, which is not FFI-safe [INFO] [stdout] --> src/implementation/icd_loader.rs:119:39 [INFO] [stdout] | [INFO] [stdout] 119 | pub reset_descriptor_pool: Option VkResult>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/core/flags.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | / bitflags! { [INFO] [stdout] 118 | | #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)] [INFO] [stdout] 119 | | pub struct VkDescriptorPoolResetFlags: VkFlags { [INFO] [stdout] ... | [INFO] [stdout] 123 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the macro `$crate::__declare_public_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `flags::VkShaderStageFlags`, which is not FFI-safe [INFO] [stdout] --> src/implementation/icd_loader.rs:147:36 [INFO] [stdout] | [INFO] [stdout] 147 | pub cmd_push_constants: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/core/flags.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | / bitflags! { [INFO] [stdout] 64 | | #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)] [INFO] [stdout] 65 | | pub struct VkShaderStageFlags: VkFlags { [INFO] [stdout] 66 | | const COMPUTE = 0x00000020; [INFO] [stdout] ... | [INFO] [stdout] 69 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the macro `$crate::__declare_public_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.17s [INFO] running `Command { std: "docker" "inspect" "ee37f13d1866136b34510be3dbda4cccc102a258e4d5c98a02e7c341e69a698e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee37f13d1866136b34510be3dbda4cccc102a258e4d5c98a02e7c341e69a698e", kill_on_drop: false }` [INFO] [stdout] ee37f13d1866136b34510be3dbda4cccc102a258e4d5c98a02e7c341e69a698e [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=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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b87da841bb8f8c16e63f6c5a6eb1d6052133a3ba7845997380384f3048ef499a [INFO] running `Command { std: "docker" "start" "-a" "b87da841bb8f8c16e63f6c5a6eb1d6052133a3ba7845997380384f3048ef499a", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling kronos-compute v0.1.6-rc3 (/opt/rustwide/workdir) [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling half v2.2.0 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling clap_builder v4.5.44 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling rayon v1.8.0 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling clap v4.5.45 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/api/context.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | _ => 5, [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/api/context.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 186 | VkPhysicalDeviceType::DiscreteGpu => 0, [INFO] [stdout] | --------------------------------- matches some of the same values [INFO] [stdout] 187 | VkPhysicalDeviceType::IntegratedGpu => 1, [INFO] [stdout] | ----------------------------------- matches some of the same values [INFO] [stdout] 188 | VkPhysicalDeviceType::VirtualGpu => 2, [INFO] [stdout] | -------------------------------- matches some of the same values [INFO] [stdout] 189 | VkPhysicalDeviceType::Cpu => 3, [INFO] [stdout] | ------------------------- matches some of the same values [INFO] [stdout] 190 | VkPhysicalDeviceType::Other => 4, [INFO] [stdout] 191 | _ => 5, [INFO] [stdout] | ^ ...and 1 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `physical_device` and `queue_family_index` are never read [INFO] [stdout] --> src/api/context.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 11 | pub(super) struct ContextInner { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 12 | pub(super) instance: VkInstance, [INFO] [stdout] 13 | pub(super) physical_device: VkPhysicalDevice, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub(super) queue_family_index: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `flags::VkShaderStageFlags`, which is not FFI-safe [INFO] [stdout] --> src/implementation/pipeline.rs:408:17 [INFO] [stdout] | [INFO] [stdout] 408 | stageFlags: VkShaderStageFlags, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/core/flags.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | / bitflags! { [INFO] [stdout] 64 | | #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)] [INFO] [stdout] 65 | | pub struct VkShaderStageFlags: VkFlags { [INFO] [stdout] 66 | | const COMPUTE = 0x00000020; [INFO] [stdout] ... | [INFO] [stdout] 69 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::__declare_public_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `flags::VkDescriptorPoolResetFlags`, which is not FFI-safe [INFO] [stdout] --> src/implementation/descriptor.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 128 | flags: VkDescriptorPoolResetFlags, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/core/flags.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | / bitflags! { [INFO] [stdout] 118 | | #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)] [INFO] [stdout] 119 | | pub struct VkDescriptorPoolResetFlags: VkFlags { [INFO] [stdout] ... | [INFO] [stdout] 123 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the macro `$crate::__declare_public_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `flags::VkDescriptorPoolResetFlags`, which is not FFI-safe [INFO] [stdout] --> src/implementation/icd_loader.rs:119:39 [INFO] [stdout] | [INFO] [stdout] 119 | pub reset_descriptor_pool: Option VkResult>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/core/flags.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | / bitflags! { [INFO] [stdout] 118 | | #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)] [INFO] [stdout] 119 | | pub struct VkDescriptorPoolResetFlags: VkFlags { [INFO] [stdout] ... | [INFO] [stdout] 123 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the macro `$crate::__declare_public_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `flags::VkShaderStageFlags`, which is not FFI-safe [INFO] [stdout] --> src/implementation/icd_loader.rs:147:36 [INFO] [stdout] | [INFO] [stdout] 147 | pub cmd_push_constants: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/core/flags.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | / bitflags! { [INFO] [stdout] 64 | | #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)] [INFO] [stdout] 65 | | pub struct VkShaderStageFlags: VkFlags { [INFO] [stdout] 66 | | const COMPUTE = 0x00000020; [INFO] [stdout] ... | [INFO] [stdout] 69 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the macro `$crate::__declare_public_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `kronos_compute::implementation` [INFO] [stdout] --> examples/amd_perf.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use kronos_compute::implementation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `physical_device` [INFO] [stdout] --> examples/amd_perf.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | let physical_device = match amd_device { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_physical_device` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `kronos_compute::implementation::*` [INFO] [stdout] --> tests/integration_tests.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | use kronos_compute::implementation::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `kronos_compute::implementation::*` [INFO] [stdout] --> examples/test_icd.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use kronos_compute::implementation::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a dangling pointer will be produced because the temporary `CString` will be dropped [INFO] [stdout] --> examples/test_icd.rs:27:65 [INFO] [stdout] | [INFO] [stdout] 27 | pApplicationName: CString::new("ICD Test").unwrap().as_ptr(), [INFO] [stdout] | --------------------------------- ^^^^^^ this pointer will immediately be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: you must make sure that the variable you bind the `CString` to lives at least as long as the pointer returned by the call to `as_ptr` [INFO] [stdout] = help: in particular, if this pointer is returned from the current function, binding the `CString` inside the function will not suffice [INFO] [stdout] = help: for more information, see [INFO] [stdout] = note: `#[warn(dangling_pointers_from_temporaries)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `command_buffers` of struct `BatchBuilder` is private [INFO] [stdout] --> tests/integration_tests.rs:67:28 [INFO] [stdout] | [INFO] [stdout] 67 | assert_eq!(builder.command_buffers.len(), 2); [INFO] [stdout] | ^^^^^^^^^^^^^^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a dangling pointer will be produced because the temporary `CString` will be dropped [INFO] [stdout] --> examples/test_icd.rs:29:58 [INFO] [stdout] | [INFO] [stdout] 29 | pEngineName: CString::new("Kronos").unwrap().as_ptr(), [INFO] [stdout] | ------------------------------- ^^^^^^ this pointer will immediately be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: you must make sure that the variable you bind the `CString` to lives at least as long as the pointer returned by the call to `as_ptr` [INFO] [stdout] = help: in particular, if this pointer is returned from the current function, binding the `CString` inside the function will not suffice [INFO] [stdout] = help: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0616`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kronos-compute` (test "integration_tests") due to 1 previous error; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "b87da841bb8f8c16e63f6c5a6eb1d6052133a3ba7845997380384f3048ef499a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b87da841bb8f8c16e63f6c5a6eb1d6052133a3ba7845997380384f3048ef499a", kill_on_drop: false }` [INFO] [stdout] b87da841bb8f8c16e63f6c5a6eb1d6052133a3ba7845997380384f3048ef499a