[INFO] fetching crate wgsl_bindgen 0.21.1... [INFO] testing wgsl_bindgen-0.21.1 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate wgsl_bindgen 0.21.1 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate wgsl_bindgen 0.21.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate wgsl_bindgen 0.21.1 [INFO] tweaked toml for crates.io crate wgsl_bindgen 0.21.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate wgsl_bindgen 0.21.1 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate wgsl_bindgen 0.21.1 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 69bff6f77ccb4ccf4d1b70d5ed239e03af30f7e194668f46b2073b07fffe3a83 [INFO] running `Command { std: "docker" "start" "-a" "69bff6f77ccb4ccf4d1b70d5ed239e03af30f7e194668f46b2073b07fffe3a83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "69bff6f77ccb4ccf4d1b70d5ed239e03af30f7e194668f46b2073b07fffe3a83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69bff6f77ccb4ccf4d1b70d5ed239e03af30f7e194668f46b2073b07fffe3a83", kill_on_drop: false }` [INFO] [stdout] 69bff6f77ccb4ccf4d1b70d5ed239e03af30f7e194668f46b2073b07fffe3a83 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 14cca45dd1a60cf3396a9ef9c4aa11ada17feef695d2d59a5d3154e07adb0bb3 [INFO] running `Command { std: "docker" "start" "-a" "14cca45dd1a60cf3396a9ef9c4aa11ada17feef695d2d59a5d3154e07adb0bb3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling naga v25.0.1 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling codespan-reporting v0.12.0 [INFO] [stderr] Compiling pp-rs v0.2.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling convert_case v0.7.1 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling hexf-parse v0.2.1 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling prettyplease v0.2.36 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling strum v0.27.2 [INFO] [stderr] Compiling smol_str v0.3.2 [INFO] [stderr] Compiling glam v0.30.5 [INFO] [stderr] Compiling case v1.0.0 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling colored v3.0.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling enum-ordinalize-derive v4.3.1 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling bytemuck_derive v1.10.1 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling enum-ordinalize v4.3.0 [INFO] [stderr] Compiling miette-derive v7.6.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling enumflags2_derive v0.7.12 [INFO] [stderr] Compiling educe v0.6.0 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling wgpu-types v25.0.0 [INFO] [stderr] Compiling enumflags2 v0.7.12 [INFO] [stderr] Compiling miette v7.6.0 [INFO] [stderr] Compiling strum_macros v0.27.2 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Compiling derive_builder v0.20.2 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling naga_oil v0.18.0 [INFO] [stderr] Compiling wgsl_bindgen v0.21.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 02s [INFO] running `Command { std: "docker" "inspect" "14cca45dd1a60cf3396a9ef9c4aa11ada17feef695d2d59a5d3154e07adb0bb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14cca45dd1a60cf3396a9ef9c4aa11ada17feef695d2d59a5d3154e07adb0bb3", kill_on_drop: false }` [INFO] [stdout] 14cca45dd1a60cf3396a9ef9c4aa11ada17feef695d2d59a5d3154e07adb0bb3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8bf51de274e6f8669a2edad8b94a1df3099cc7c92c407076ceb5c727b1c963de [INFO] running `Command { std: "docker" "start" "-a" "8bf51de274e6f8669a2edad8b94a1df3099cc7c92c407076ceb5c727b1c963de", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling owo-colors v4.2.2 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling is_ci v1.2.0 [INFO] [stderr] Compiling textwrap v0.16.2 [INFO] [stderr] Compiling supports-color v3.0.2 [INFO] [stderr] Compiling supports-hyperlinks v3.1.0 [INFO] [stderr] Compiling supports-unicode v3.0.0 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Compiling stdext v0.3.3 [INFO] [stderr] Compiling insta v1.43.1 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling naga v25.0.1 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling wgpu-types v25.0.0 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling backtrace-ext v0.2.1 [INFO] [stderr] Compiling terminal_size v0.4.2 [INFO] [stderr] Compiling miette v7.6.0 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling naga_oil v0.18.0 [INFO] [stderr] Compiling wgsl_bindgen v0.21.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 36.24s [INFO] running `Command { std: "docker" "inspect" "8bf51de274e6f8669a2edad8b94a1df3099cc7c92c407076ceb5c727b1c963de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8bf51de274e6f8669a2edad8b94a1df3099cc7c92c407076ceb5c727b1c963de", kill_on_drop: false }` [INFO] [stdout] 8bf51de274e6f8669a2edad8b94a1df3099cc7c92c407076ceb5c727b1c963de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 992b35641706a098e1f07225b6725ede47a5b9f7eef549cf5dd8817d8214311a [INFO] running `Command { std: "docker" "start" "-a" "992b35641706a098e1f07225b6725ede47a5b9f7eef549cf5dd8817d8214311a", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/wgsl_bindgen-0764d5e7f6289f64) [INFO] [stdout] [INFO] [stdout] running 78 tests [INFO] [stdout] test bevy_util::module_path_resolver::tests::should_generate_single_import_path ... ok [INFO] [stdout] test bevy_util::module_path_resolver::tests::should_generate_import_paths_with_correct_extensions ... ok [INFO] [stdout] test bevy_util::module_path_resolver::tests::should_generate_single_import_path_when_module_prefix_match ... ok [INFO] [stdout] test bevy_util::module_path_resolver::tests::should_return_smallvec_when_import_module ... ok [INFO] [stdout] test bevy_util::module_path_resolver::tests::should_return_valid_pbr_paths_back_to_current_dir ... ok [INFO] [stdout] test bevy_util::name_demangle::tests::test_make_valid_rust_import ... ok [INFO] [stdout] test bevy_util::module_path_resolver::tests::should_return_valid_pbr_paths_from_repeated_part ... ok [INFO] [stdout] test bevy_util::parse_imports::tests::test_parsing_imports_from_bevy_mesh_view_bindings ... ok [INFO] [stdout] test bevy_util::parse_imports::tests::test_parsing_from_contents ... ok [INFO] [stdout] test bevy_util::source_file::tests::test_parsing_imports_from_bevy_mesh_view_bindings ... ok [INFO] [stdout] test generate::bind_group::tests::bind_group_data_first_group_not_zero ... ok [INFO] [stdout] test generate::bind_group::tests::bind_group_data_non_consecutive_bind_groups ... ok [INFO] [stdout] test generate::bind_group::tests::bind_group_data_consecutive_bind_groups ... ok [INFO] [stdout] test bevy_util::name_demangle::tests::test_demangle_mod_names ... ok [INFO] [stdout] test bevy_util::module_path_resolver::tests::should_panic_when_import_module_is_empty - should panic ... ok [INFO] [stdout] test bevy_util::module_path_resolver::tests::should_return_empty_smallvec_when_import_module_has_only_module_prefix - should panic ... ok [INFO] [stdout] test generate::bind_group::tests::bind_groups_module_vertex ... FAILED [INFO] [stdout] test generate::consts::tests::write_pipeline_overrideable_constants ... FAILED [INFO] [stdout] test generate::bind_group::tests::bind_groups_module_acceleration_structure ... FAILED [INFO] [stdout] test generate::consts::tests::write_global_constants ... ok [INFO] [stdout] test generate::bind_group::tests::bind_groups_module_array_bindings ... FAILED [INFO] [stdout] test generate::bind_group::tests::bind_groups_module_compute ... FAILED [INFO] [stdout] test generate::bind_group::tests::bind_groups_module_fragment ... FAILED [INFO] [stdout] test generate::bind_group::tests::bind_groups_module_vertex_fragment ... FAILED [INFO] [stdout] test generate::consts::tests::write_pipeline_overrideable_constants_empty ... ok [INFO] [stdout] test generate::entry::test::write_entry_constants ... ok [INFO] [stdout] test generate::entry::test::write_fragment_states_single_entry ... FAILED [INFO] [stdout] test generate::entry::test::write_vertex_module_single_input_float64 ... FAILED [INFO] [stdout] test generate::entry::test::write_vertex_module_single_input_float32 ... FAILED [INFO] [stdout] test generate::shader_module::tests::test_create_canonical_variable_name ... ok [INFO] [stdout] test generate::entry::test::write_fragment_states_multiple_entries ... FAILED [INFO] [stdout] test generate::entry::test::write_vertex_module_single_input_uint32 ... FAILED [INFO] [stdout] test generate::entry::test::write_vertex_module_empty ... ok [INFO] [stdout] test generate::entry::test::write_vertex_states_no_entries ... ok [INFO] [stdout] test generate::entry::test::write_vertex_shader_multiple_entries ... FAILED [INFO] [stdout] test generate::entry::test::write_vertex_shader_entry_multiple_buffers ... FAILED [INFO] [stdout] test generate::entry::test::write_vertex_shader_entry_no_buffers ... FAILED [INFO] [stdout] test generate::shader_module::tests::write_compute_module_empty ... ok [INFO] [stdout] test quote_gen::rust_module_builder::tests::test_merge ... FAILED [INFO] [stdout] test quote_gen::tests::should_not_fully_qualify_non_mangled_string ... ok [INFO] [stdout] test quote_gen::token_utils::tests::test_generate_derive_attributes ... ok [INFO] [stdout] test quote_gen::token_utils::tests::test_generate_struct_definition ... ok [INFO] [stdout] test quote_gen::tests::should_fully_qualify_mangled_string ... ok [INFO] [stdout] test quote_gen::rust_module_builder::tests::test_include_relative_root_but_dont_generate_it ... FAILED [INFO] [stdout] test generate::shader_module::tests::write_compute_module_multiple_entries ... FAILED [INFO] [stdout] test quote_gen::rust_module_builder::tests::test_module_add_duplicates ... FAILED [INFO] [stdout] test quote_gen::rust_module_builder::tests::test_module_generation_works ... FAILED [INFO] [stdout] test quote_gen::rust_module_builder::tests::test_relative_root_feature ... FAILED [INFO] [stdout] test structs::tests::test_struct_visibility ... FAILED [INFO] [stdout] test structs::tests::write_all_structs_bytemuck_skip_input_layout_validation ... FAILED [INFO] [stdout] test structs::tests::write_all_structs_bytemuck_input_layout_validation ... FAILED [INFO] [stdout] test structs::tests::write_all_structs_encase ... FAILED [INFO] [stdout] test quote_gen::rust_module_builder::tests::test_module_add_duplicates_different_contents ... ok [INFO] [stdout] test structs::tests::write_all_structs_nalgebra ... FAILED [INFO] [stdout] test structs::tests::write_all_structs_glam ... FAILED [INFO] [stdout] test structs::tests::write_all_structs_serde_encase ... FAILED [INFO] [stdout] test structs::tests::write_atomic_types ... FAILED [INFO] [stdout] test structs::tests::write_runtime_sized_array_not_last_field - should panic ... ok [INFO] [stdout] test structs::tests::write_all_structs_skip_stage_outputs ... FAILED [INFO] [stdout] test structs::tests::write_all_structs_rust ... FAILED [INFO] [stdout] test structs::tests::write_nonpower_of_2_mats_for_bytemuck_glam_option ... FAILED [INFO] [stdout] test test::create_shader_module_non_consecutive_bind_groups ... ok [INFO] [stdout] test test::create_shader_module_repeated_bindings ... ok [INFO] [stdout] test test::test_sanitize_and_pascal_case ... ok [INFO] [stdout] test wgsl::tests::shader_stages_all ... ok [INFO] [stdout] test wgsl::tests::shader_stages_compute ... ok [INFO] [stdout] test wgsl::tests::shader_stages_fragment ... ok [INFO] [stdout] test wgsl::tests::shader_stages_none ... ok [INFO] [stdout] test wgsl::tests::shader_stages_vertex ... ok [INFO] [stdout] test wgsl::tests::shader_stages_vertex_fragment ... ok [INFO] [stdout] test wgsl::tests::vertex_input_structs_two_structs ... ok [INFO] [stdout] test structs::tests::write_nonpower_of_2_mats_for_bytemuck_option ... FAILED [INFO] [stdout] test structs::tests::write_runtime_sized_array ... FAILED [INFO] [stdout] test structs::tests::write_nonpower_of_2_mats ... FAILED [INFO] [stdout] test structs::tests::write_shorter_constructor ... FAILED [INFO] [stdout] test structs::tests::write_runtime_sized_array_bytemuck ... FAILED [INFO] [stdout] test test::create_shader_module_consecutive_bind_groups ... ok [INFO] [stdout] test test::create_shader_module_embed_source ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- generate::bind_group::tests::bind_groups_module_vertex stdout ---- [INFO] [stdout] Warning: rustfmt formatting failed (rustfmt failed: error: 'rustfmt' is not installed for the custom toolchain '2440211fe03bc45c89b6dc1a3df18382ce91e32b'. [INFO] [stdout] note: this is a custom toolchain, which cannot use `rustup component add` [INFO] [stdout] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py` [INFO] [stdout] ), falling back to prettyplease [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/generate/bind_group/snapshots/bind_groups_module_vertex.snap [INFO] [stdout] Snapshot: bind_groups_module_vertex [INFO] [stdout] Source: src/generate/bind_group/mod.rs:499 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 0 │ #[derive(Debug)] [INFO] [stdout] 1 1 │ pub struct WgpuBindGroup0EntriesParams<'a> { [INFO] [stdout] 2 │- pub transforms: wgpu::BufferBinding<'a>, [INFO] [stdout] 2 │+ pub transforms: wgpu::BufferBinding<'a>, [INFO] [stdout] 3 3 │ } [INFO] [stdout] 4 4 │ #[derive(Clone, Debug)] [INFO] [stdout] 5 5 │ pub struct WgpuBindGroup0Entries<'a> { [INFO] [stdout] 6 │- pub transforms: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 6 │+ pub transforms: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 7 7 │ } [INFO] [stdout] 8 8 │ impl<'a> WgpuBindGroup0Entries<'a> { [INFO] [stdout] 9 │- pub fn new(params: WgpuBindGroup0EntriesParams<'a>) -> Self { [INFO] [stdout] 10 │- Self { [INFO] [stdout] 11 │- transforms: wgpu::BindGroupEntry { [INFO] [stdout] 12 │- binding: 0, [INFO] [stdout] 13 │- resource: wgpu::BindingResource::Buffer(params.transforms), [INFO] [stdout] 14 │- }, [INFO] [stdout] 9 │+ pub fn new(params: WgpuBindGroup0EntriesParams<'a>) -> Self { [INFO] [stdout] 10 │+ Self { [INFO] [stdout] 11 │+ transforms: wgpu::BindGroupEntry { [INFO] [stdout] 12 │+ binding: 0, [INFO] [stdout] 13 │+ resource: wgpu::BindingResource::Buffer(params.transforms), [INFO] [stdout] 14 │+ }, [INFO] [stdout] 15 │+ } [INFO] [stdout] 16 │+ } [INFO] [stdout] 17 │+ pub fn into_array(self) -> [wgpu::BindGroupEntry<'a>; 1] { [INFO] [stdout] 18 │+ [self.transforms] [INFO] [stdout] 19 │+ } [INFO] [stdout] 20 │+ pub fn collect>>(self) -> B { [INFO] [stdout] 21 │+ self.into_array().into_iter().collect() [INFO] [stdout] 15 22 │ } [INFO] [stdout] 16 │- } [INFO] [stdout] 17 │- pub fn into_array(self) -> [wgpu::BindGroupEntry<'a>; 1] { [INFO] [stdout] 18 │- [self.transforms] [INFO] [stdout] 19 │- } [INFO] [stdout] 20 │- pub fn collect>>(self) -> B { [INFO] [stdout] 21 │- self.into_array().into_iter().collect() [INFO] [stdout] 22 │- } [INFO] [stdout] 23 23 │ } [INFO] [stdout] 24 24 │ #[derive(Debug)] [INFO] [stdout] 25 25 │ pub struct WgpuBindGroup0(wgpu::BindGroup); [INFO] [stdout] 26 26 │ impl WgpuBindGroup0 { [INFO] [stdout] 27 │- pub const LAYOUT_DESCRIPTOR: wgpu::BindGroupLayoutDescriptor<'static> = [INFO] [stdout] 28 │- wgpu::BindGroupLayoutDescriptor { [INFO] [stdout] 29 │- label: Some("Test::BindGroup0::LayoutDescriptor"), [INFO] [stdout] 30 │- entries: &[ [INFO] [stdout] 31 │- #[doc = " @binding(0): \"transforms\""] [INFO] [stdout] 32 │- wgpu::BindGroupLayoutEntry { [INFO] [stdout] 33 │- binding: 0, [INFO] [stdout] 34 │- visibility: wgpu::ShaderStages::VERTEX, [INFO] [stdout] 35 │- ty: wgpu::BindingType::Buffer { [INFO] [stdout] 36 │- ty: wgpu::BufferBindingType::Uniform, [INFO] [stdout] 37 │- has_dynamic_offset: false, [INFO] [stdout] 38 │- min_binding_size: std::num::NonZeroU64::new(std::mem::size_of::< [INFO] [stdout] 39 │- _root::test::Transforms, [INFO] [stdout] 40 │- >() as _), [INFO] [stdout] 41 │- }, [INFO] [stdout] 42 │- count: None, [INFO] [stdout] 43 │- }, [INFO] [stdout] 44 │- ], [INFO] [stdout] 27 │+ pub const LAYOUT_DESCRIPTOR: wgpu::BindGroupLayoutDescriptor<'static> = wgpu::BindGroupLayoutDescriptor { [INFO] [stdout] 28 │+ label: Some("Test::BindGroup0::LayoutDescriptor"), [INFO] [stdout] 29 │+ entries: &[ [INFO] [stdout] 30 │+ /// @binding(0): "transforms" [INFO] [stdout] 31 │+ wgpu::BindGroupLayoutEntry { [INFO] [stdout] 32 │+ binding: 0, [INFO] [stdout] 33 │+ visibility: wgpu::ShaderStages::VERTEX, [INFO] [stdout] 34 │+ ty: wgpu::BindingType::Buffer { [INFO] [stdout] 35 │+ ty: wgpu::BufferBindingType::Uniform, [INFO] [stdout] 36 │+ has_dynamic_offset: false, [INFO] [stdout] 37 │+ min_binding_size: std::num::NonZeroU64::new( [INFO] [stdout] 38 │+ std::mem::size_of::<_root::test::Transforms>() as _, [INFO] [stdout] 39 │+ ), [INFO] [stdout] 40 │+ }, [INFO] [stdout] 41 │+ count: None, [INFO] [stdout] 42 │+ }, [INFO] [stdout] 43 │+ ], [INFO] [stdout] 45 44 │ }; [INFO] [stdout] 46 │- pub fn get_bind_group_layout(device: &wgpu::Device) -> wgpu::BindGroupLayout { [INFO] [stdout] 47 │- device.create_bind_group_layout(&Self::LAYOUT_DESCRIPTOR) [INFO] [stdout] 48 │- } [INFO] [stdout] 49 │- pub fn from_bindings(device: &wgpu::Device, bindings: WgpuBindGroup0Entries) -> Self { [INFO] [stdout] 50 │- let bind_group_layout = Self::get_bind_group_layout(device); [INFO] [stdout] 51 │- let entries = bindings.into_array(); [INFO] [stdout] 52 │- let bind_group = device.create_bind_group(&wgpu::BindGroupDescriptor { [INFO] [stdout] 53 │- label: Some("Test::BindGroup0"), [INFO] [stdout] 54 │- layout: &bind_group_layout, [INFO] [stdout] 55 │- entries: &entries, [INFO] [stdout] 56 │- }); [INFO] [stdout] 57 │- Self(bind_group) [INFO] [stdout] 58 │- } [INFO] [stdout] 59 │- pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 60 │- pass.set_bind_group(0, &self.0, &[]); [INFO] [stdout] 61 │- } [INFO] [stdout] 45 │+ pub fn get_bind_group_layout(device: &wgpu::Device) -> wgpu::BindGroupLayout { [INFO] [stdout] 46 │+ device.create_bind_group_layout(&Self::LAYOUT_DESCRIPTOR) [INFO] [stdout] 47 │+ } [INFO] [stdout] 48 │+ pub fn from_bindings( [INFO] [stdout] 49 │+ device: &wgpu::Device, [INFO] [stdout] 50 │+ bindings: WgpuBindGroup0Entries, [INFO] [stdout] 51 │+ ) -> Self { [INFO] [stdout] 52 │+ let bind_group_layout = Self::get_bind_group_layout(device); [INFO] [stdout] 53 │+ let entries = bindings.into_array(); [INFO] [stdout] 54 │+ let bind_group = device [INFO] [stdout] 55 │+ .create_bind_group( [INFO] [stdout] 56 │+ &wgpu::BindGroupDescriptor { [INFO] [stdout] 57 │+ label: Some("Test::BindGroup0"), [INFO] [stdout] 58 │+ layout: &bind_group_layout, [INFO] [stdout] 59 │+ entries: &entries, [INFO] [stdout] 60 │+ }, [INFO] [stdout] 61 │+ ); [INFO] [stdout] 62 │+ Self(bind_group) [INFO] [stdout] 63 │+ } [INFO] [stdout] 64 │+ pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 65 │+ pass.set_bind_group(0, &self.0, &[]); [INFO] [stdout] 66 │+ } [INFO] [stdout] 62 67 │ } [INFO] [stdout] 63 │-#[doc = " Bind groups can be set individually using their set(render_pass) method, or all at once using `WgpuBindGroups::set`."] [INFO] [stdout] 64 │-#[doc = " For optimal performance with many draw calls, it's recommended to organize bindings into bind groups based on update frequency:"] [INFO] [stdout] 65 │-#[doc = " - Bind group 0: Least frequent updates (e.g. per frame resources)"] [INFO] [stdout] 66 │-#[doc = " - Bind group 1: More frequent updates"] [INFO] [stdout] 67 │-#[doc = " - Bind group 2: More frequent updates"] [INFO] [stdout] 68 │-#[doc = " - Bind group 3: Most frequent updates (e.g. per draw resources)"] [INFO] [stdout] 68 │+/// Bind groups can be set individually using their set(render_pass) method, or all at once using `WgpuBindGroups::set`. [INFO] [stdout] 69 │+/// For optimal performance with many draw calls, it's recommended to organize bindings into bind groups based on update frequency: [INFO] [stdout] 70 │+/// - Bind group 0: Least frequent updates (e.g. per frame resources) [INFO] [stdout] 71 │+/// - Bind group 1: More frequent updates [INFO] [stdout] 72 │+/// - Bind group 2: More frequent updates [INFO] [stdout] 73 │+/// - Bind group 3: Most frequent updates (e.g. per draw resources) [INFO] [stdout] 69 74 │ #[derive(Debug, Copy, Clone)] [INFO] [stdout] 70 75 │ pub struct WgpuBindGroups<'a> { [INFO] [stdout] 71 │- pub bind_group0: &'a WgpuBindGroup0, [INFO] [stdout] 76 │+ pub bind_group0: &'a WgpuBindGroup0, [INFO] [stdout] 72 77 │ } [INFO] [stdout] 73 78 │ impl<'a> WgpuBindGroups<'a> { [INFO] [stdout] 74 │- pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 75 │- self.bind_group0.set(pass); [INFO] [stdout] 76 │- } [INFO] [stdout] 79 │+ pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 80 │+ self.bind_group0.set(pass); [INFO] [stdout] 81 │+ } [INFO] [stdout] 77 82 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'generate::bind_group::tests::bind_groups_module_vertex' (38) panicked at src/generate/bind_group/mod.rs:499:5: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: FileIo(Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }, "/opt/rustwide/workdir/src/generate/bind_group/snapshots/bind_groups_module_vertex.snap.new") [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x60961ea1ab92 - std::backtrace_rs::backtrace::libunwind::trace::h22a6a535a50603c6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x60961ea1ab92 - std::backtrace_rs::backtrace::trace_unsynchronized::h2503a4f30dbfbaa2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x60961ea1ab92 - std::sys::backtrace::_print_fmt::hec54e31f36456895 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x60961ea1ab92 - ::fmt::hb1988e8b50fa5f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x60961ea2ee1f - core::fmt::rt::Argument::fmt::h3118a66e1a57a586 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x60961ea2ee1f - core::fmt::write::hcd056e06a609f600 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x60961e9e5671 - std::io::default_write_fmt::hdabc5d6505cb374b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x60961e9e5671 - std::io::Write::write_fmt::h18c82179fdc1f9d2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x60961e9f24d2 - std::sys::backtrace::BacktraceLock::print::h69f50ba7cfff8317 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x60961e9f820f - std::panicking::default_hook::{{closure}}::hfa978eb2255ab3ab [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x60961e9f80a1 - std::panicking::default_hook::h09da2eaf8f1deadd [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x60961e132d9e - as core::ops::function::Fn>::call::h1697e4d80f236ef6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x60961e132d9e - test::test_main_with_exit_callback::{{closure}}::h8f63929ca9fd483b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x60961e9f897f - as core::ops::function::Fn>::call::hba67e0dc3e3fc548 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x60961e9f897f - std::panicking::panic_with_hook::h13c40d280d130fd3 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x60961e9f872a - std::panicking::panic_handler::{{closure}}::hd79d22e8a1d3b951 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x60961e9f2609 - std::sys::backtrace::__rust_end_short_backtrace::h83414d1ec69cf3a6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x60961e9d8b4d - __rustc[b78aa6c7b08e5dc4]::rust_begin_unwind [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x60961ea39f00 - core::panicking::panic_fmt::h326b75cf8ee01b13 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x60961ea38be6 - core::result::unwrap_failed::h38baee32fdec5ac8 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x60961dea59c3 - core::result::Result::unwrap::h4e75d443417df354 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x60961dea59c3 - wgsl_bindgen::generate::bind_group::tests::bind_groups_module_vertex::{{closure}}::hc0bd13a9e93b105f [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x60961df8c7ef - insta::settings::Settings::bind::h7cd5d786521d021e [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.1/src/settings.rs:509:9 [INFO] [stdout] 23: 0x60961dea54c5 - wgsl_bindgen::generate::bind_group::tests::bind_groups_module_vertex::hed50a7cc2476a9e8 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x60961dea5597 - wgsl_bindgen::generate::bind_group::tests::bind_groups_module_vertex::{{closure}}::h98037a0ec81a4456 [INFO] [stdout] at /opt/rustwide/workdir/src/generate/bind_group/mod.rs:470:33 [INFO] [stdout] 25: 0x60961df3ba76 - core::ops::function::FnOnce::call_once::hb27ce3b89c17cc7f [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x60961e132b7b - core::ops::function::FnOnce::call_once::he420dad47d9aac14 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x60961e132b7b - test::__rust_begin_short_backtrace::h51976f55c263f7c2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x60961e1487a5 - test::run_test_in_process::{{closure}}::h6aa4339396d33320 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x60961e1487a5 - as core::ops::function::FnOnce<()>>::call_once::h5bd0ba3863a53529 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x60961e1487a5 - std::panicking::catch_unwind::do_call::h5c710722c40c5839 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x60961e1487a5 - std::panicking::catch_unwind::hf41b5be070ce0f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x60961e1487a5 - std::panic::catch_unwind::h4559aa103e6f16d6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x60961e1487a5 - test::run_test_in_process::he6fd763a772ff213 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x60961e1487a5 - test::run_test::{{closure}}::he46f5435849feb5b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x60961e11efb4 - test::run_test::{{closure}}::h12a66289c31b502a [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x60961e11efb4 - std::sys::backtrace::__rust_begin_short_backtrace::h614a7925ed7b2f5e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x60961e12295a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hbc654088c5dbff36 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x60961e12295a - as core::ops::function::FnOnce<()>>::call_once::h3f631d2ca531b61d [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x60961e12295a - std::panicking::catch_unwind::do_call::hd2548748db0aa717 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x60961e12295a - std::panicking::catch_unwind::hf7d8620d84df48e2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x60961e12295a - std::panic::catch_unwind::hdde75b8543fcb96b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x60961e12295a - std::thread::Builder::spawn_unchecked_::{{closure}}::h991e7d03b432cf3f [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x60961e12295a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hebddb40255441657 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x60961e9ed55f - as core::ops::function::FnOnce>::call_once::h55e8930dc7db99a5 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 45: 0x60961e9ed55f - std::sys::thread::unix::Thread::new::thread_start::he23d038ee4fa004e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 46: 0x70e7dc752aa4 - [INFO] [stdout] 47: 0x70e7dc7dfa34 - clone [INFO] [stdout] 48: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- generate::consts::tests::write_pipeline_overrideable_constants stdout ---- [INFO] [stdout] Warning: rustfmt formatting failed (rustfmt failed: error: 'rustfmt' is not installed for the custom toolchain '2440211fe03bc45c89b6dc1a3df18382ce91e32b'. [INFO] [stdout] note: this is a custom toolchain, which cannot use `rustup component add` [INFO] [stdout] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py` [INFO] [stdout] ), falling back to prettyplease [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/generate/snapshots/write_pipeline_overrideable_constants.snap [INFO] [stdout] Snapshot: write_pipeline_overrideable_constants [INFO] [stdout] Source: src/generate/consts.rs:228 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 0 │ pub struct OverrideConstants { [INFO] [stdout] 1 │- pub b1: Option, [INFO] [stdout] 2 │- pub b2: Option, [INFO] [stdout] 3 │- pub b3: bool, [INFO] [stdout] 4 │- pub f1: Option, [INFO] [stdout] 5 │- pub f2: f32, [INFO] [stdout] 6 │- pub i1: Option, [INFO] [stdout] 7 │- pub i2: i32, [INFO] [stdout] 8 │- pub i3: Option, [INFO] [stdout] 9 │- pub a: Option, [INFO] [stdout] 10 │- pub b: Option, [INFO] [stdout] 1 │+ pub b1: Option, [INFO] [stdout] 2 │+ pub b2: Option, [INFO] [stdout] 3 │+ pub b3: bool, [INFO] [stdout] 4 │+ pub f1: Option, [INFO] [stdout] 5 │+ pub f2: f32, [INFO] [stdout] 6 │+ pub i1: Option, [INFO] [stdout] 7 │+ pub i2: i32, [INFO] [stdout] 8 │+ pub i3: Option, [INFO] [stdout] 9 │+ pub a: Option, [INFO] [stdout] 10 │+ pub b: Option, [INFO] [stdout] 11 11 │ } [INFO] [stdout] 12 12 │ impl OverrideConstants { [INFO] [stdout] 13 │- pub fn constants(&self) -> Vec<(&'static str, f64)> { [INFO] [stdout] 14 │- let mut entries = vec![ [INFO] [stdout] 15 │- ("b3".to_owned(), if self.b3 { 1.0 } else { 0.0 }), [INFO] [stdout] 16 │- ("f2".to_owned(), self.f2 as f64), [INFO] [stdout] 17 │- ("i2".to_owned(), self.i2 as f64), [INFO] [stdout] 18 │- ]; [INFO] [stdout] 19 │- if let Some(value) = self.b1 { [INFO] [stdout] 20 │- entries.insert("b1".to_owned(), if value { 1.0 } else { 0.0 }); [INFO] [stdout] 21 │- }; [INFO] [stdout] 22 │- if let Some(value) = self.b2 { [INFO] [stdout] 23 │- entries.insert("b2".to_owned(), if value { 1.0 } else { 0.0 }); [INFO] [stdout] 24 │- }; [INFO] [stdout] 25 │- if let Some(value) = self.f1 { [INFO] [stdout] 26 │- entries.insert("f1".to_owned(), value as f64); [INFO] [stdout] 27 │- }; [INFO] [stdout] 28 │- if let Some(value) = self.i1 { [INFO] [stdout] 29 │- entries.insert("i1".to_owned(), value as f64); [INFO] [stdout] 30 │- }; [INFO] [stdout] 31 │- if let Some(value) = self.i3 { [INFO] [stdout] 32 │- entries.insert("i3".to_owned(), value as f64); [INFO] [stdout] 33 │- }; [INFO] [stdout] 34 │- if let Some(value) = self.a { [INFO] [stdout] 35 │- entries.insert("0".to_owned(), value as f64); [INFO] [stdout] 36 │- }; [INFO] [stdout] 37 │- if let Some(value) = self.b { [INFO] [stdout] 38 │- entries.insert("35".to_owned(), value as f64); [INFO] [stdout] 13 │+ pub fn constants(&self) -> Vec<(&'static str, f64)> { [INFO] [stdout] 14 │+ let mut entries = vec![ [INFO] [stdout] 15 │+ ("b3".to_owned(), if self.b3 { 1.0 } else { 0.0 }), ("f2".to_owned(), self.f2 [INFO] [stdout] 16 │+ as f64), ("i2".to_owned(), self.i2 as f64) [INFO] [stdout] 17 │+ ]; [INFO] [stdout] 18 │+ if let Some(value) = self.b1 { [INFO] [stdout] 19 │+ entries.insert("b1".to_owned(), if value { 1.0 } else { 0.0 }); [INFO] [stdout] 20 │+ } [INFO] [stdout] 21 │+ if let Some(value) = self.b2 { [INFO] [stdout] 22 │+ entries.insert("b2".to_owned(), if value { 1.0 } else { 0.0 }); [INFO] [stdout] 23 │+ } [INFO] [stdout] 24 │+ if let Some(value) = self.f1 { [INFO] [stdout] 25 │+ entries.insert("f1".to_owned(), value as f64); [INFO] [stdout] 26 │+ } [INFO] [stdout] 27 │+ if let Some(value) = self.i1 { [INFO] [stdout] 28 │+ entries.insert("i1".to_owned(), value as f64); [INFO] [stdout] 29 │+ } [INFO] [stdout] 30 │+ if let Some(value) = self.i3 { [INFO] [stdout] 31 │+ entries.insert("i3".to_owned(), value as f64); [INFO] [stdout] 32 │+ } [INFO] [stdout] 33 │+ if let Some(value) = self.a { [INFO] [stdout] 34 │+ entries.insert("0".to_owned(), value as f64); [INFO] [stdout] 35 │+ } [INFO] [stdout] 36 │+ if let Some(value) = self.b { [INFO] [stdout] 37 │+ entries.insert("35".to_owned(), value as f64); [INFO] [stdout] 38 │+ } [INFO] [stdout] 39 │+ entries [INFO] [stdout] 39 40 │ } [INFO] [stdout] 40 │- entries [INFO] [stdout] 41 │- } [INFO] [stdout] 42 41 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'generate::consts::tests::write_pipeline_overrideable_constants' (289) panicked at src/generate/consts.rs:228:5: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: FileIo(Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }, "/opt/rustwide/workdir/src/generate/snapshots/write_pipeline_overrideable_constants.snap.new") [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x60961ea1ab92 - std::backtrace_rs::backtrace::libunwind::trace::h22a6a535a50603c6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x60961ea1ab92 - std::backtrace_rs::backtrace::trace_unsynchronized::h2503a4f30dbfbaa2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x60961ea1ab92 - std::sys::backtrace::_print_fmt::hec54e31f36456895 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x60961ea1ab92 - ::fmt::hb1988e8b50fa5f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x60961ea2ee1f - core::fmt::rt::Argument::fmt::h3118a66e1a57a586 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x60961ea2ee1f - core::fmt::write::hcd056e06a609f600 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x60961e9e5671 - std::io::default_write_fmt::hdabc5d6505cb374b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x60961e9e5671 - std::io::Write::write_fmt::h18c82179fdc1f9d2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x60961e9f24d2 - std::sys::backtrace::BacktraceLock::print::h69f50ba7cfff8317 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x60961e9f820f - std::panicking::default_hook::{{closure}}::hfa978eb2255ab3ab [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x60961e9f80a1 - std::panicking::default_hook::h09da2eaf8f1deadd [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x60961e132d9e - as core::ops::function::Fn>::call::h1697e4d80f236ef6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x60961e132d9e - test::test_main_with_exit_callback::{{closure}}::h8f63929ca9fd483b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x60961e9f897f - as core::ops::function::Fn>::call::hba67e0dc3e3fc548 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x60961e9f897f - std::panicking::panic_with_hook::h13c40d280d130fd3 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x60961e9f872a - std::panicking::panic_handler::{{closure}}::hd79d22e8a1d3b951 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x60961e9f2609 - std::sys::backtrace::__rust_end_short_backtrace::h83414d1ec69cf3a6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x60961e9d8b4d - __rustc[b78aa6c7b08e5dc4]::rust_begin_unwind [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x60961ea39f00 - core::panicking::panic_fmt::h326b75cf8ee01b13 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x60961ea38be6 - core::result::unwrap_failed::h38baee32fdec5ac8 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x60961deb2b03 - core::result::Result::unwrap::h4e75d443417df354 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x60961deb2b03 - wgsl_bindgen::generate::consts::tests::write_pipeline_overrideable_constants::{{closure}}::h51d0de6fb6e327ef [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x60961df8c10f - insta::settings::Settings::bind::h3e9d5b4200d70d8e [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.1/src/settings.rs:509:9 [INFO] [stdout] 23: 0x60961deb2628 - wgsl_bindgen::generate::consts::tests::write_pipeline_overrideable_constants::hd5d46fdcec7893d7 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x60961deb26d7 - wgsl_bindgen::generate::consts::tests::write_pipeline_overrideable_constants::{{closure}}::h367068b586c0d4c9 [INFO] [stdout] at /opt/rustwide/workdir/src/generate/consts.rs:207:45 [INFO] [stdout] 25: 0x60961df3b286 - core::ops::function::FnOnce::call_once::h78816f120630b07a [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x60961e132b7b - core::ops::function::FnOnce::call_once::he420dad47d9aac14 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x60961e132b7b - test::__rust_begin_short_backtrace::h51976f55c263f7c2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x60961e1487a5 - test::run_test_in_process::{{closure}}::h6aa4339396d33320 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x60961e1487a5 - as core::ops::function::FnOnce<()>>::call_once::h5bd0ba3863a53529 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x60961e1487a5 - std::panicking::catch_unwind::do_call::h5c710722c40c5839 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x60961e1487a5 - std::panicking::catch_unwind::hf41b5be070ce0f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x60961e1487a5 - std::panic::catch_unwind::h4559aa103e6f16d6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x60961e1487a5 - test::run_test_in_process::he6fd763a772ff213 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x60961e1487a5 - test::run_test::{{closure}}::he46f5435849feb5b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x60961e11efb4 - test::run_test::{{closure}}::h12a66289c31b502a [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x60961e11efb4 - std::sys::backtrace::__rust_begin_short_backtrace::h614a7925ed7b2f5e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x60961e12295a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hbc654088c5dbff36 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x60961e12295a - as core::ops::function::FnOnce<()>>::call_once::h3f631d2ca531b61d [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x60961e12295a - std::panicking::catch_unwind::do_call::hd2548748db0aa717 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x60961e12295a - std::panicking::catch_unwind::hf7d8620d84df48e2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x60961e12295a - std::panic::catch_unwind::hdde75b8543fcb96b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x60961e12295a - std::thread::Builder::spawn_unchecked_::{{closure}}::h991e7d03b432cf3f [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x60961e12295a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hebddb40255441657 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x60961e9ed55f - as core::ops::function::FnOnce>::call_once::h55e8930dc7db99a5 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 45: 0x60961e9ed55f - std::sys::thread::unix::Thread::new::thread_start::he23d038ee4fa004e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 46: 0x70e7dc752aa4 - [INFO] [stdout] 47: 0x70e7dc7dfa34 - clone [INFO] [stdout] 48: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- generate::bind_group::tests::bind_groups_module_acceleration_structure stdout ---- [INFO] [stdout] Warning: rustfmt formatting failed (rustfmt failed: error: 'rustfmt' is not installed for the custom toolchain '2440211fe03bc45c89b6dc1a3df18382ce91e32b'. [INFO] [stdout] note: this is a custom toolchain, which cannot use `rustup component add` [INFO] [stdout] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py` [INFO] [stdout] ), falling back to prettyplease [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/generate/bind_group/snapshots/bind_groups_module_acceleration_structure.snap [INFO] [stdout] Snapshot: bind_groups_module_acceleration_structure [INFO] [stdout] Source: src/generate/bind_group/mod.rs:568 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 0 │ #[derive(Debug)] [INFO] [stdout] 1 1 │ pub struct WgpuBindGroup0EntriesParams<'a> { [INFO] [stdout] 2 │- pub transforms: wgpu::BufferBinding<'a>, [INFO] [stdout] 3 │- pub acc_struct: &'a wgpu::Tlas, [INFO] [stdout] 2 │+ pub transforms: wgpu::BufferBinding<'a>, [INFO] [stdout] 3 │+ pub acc_struct: &'a wgpu::Tlas, [INFO] [stdout] 4 4 │ } [INFO] [stdout] 5 5 │ #[derive(Clone, Debug)] [INFO] [stdout] 6 6 │ pub struct WgpuBindGroup0Entries<'a> { [INFO] [stdout] 7 │- pub transforms: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 8 │- pub acc_struct: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 7 │+ pub transforms: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 8 │+ pub acc_struct: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 9 9 │ } [INFO] [stdout] 10 10 │ impl<'a> WgpuBindGroup0Entries<'a> { [INFO] [stdout] 11 │- pub fn new(params: WgpuBindGroup0EntriesParams<'a>) -> Self { [INFO] [stdout] 12 │- Self { [INFO] [stdout] 13 │- transforms: wgpu::BindGroupEntry { [INFO] [stdout] 14 │- binding: 0, [INFO] [stdout] 15 │- resource: wgpu::BindingResource::Buffer(params.transforms), [INFO] [stdout] 16 │- }, [INFO] [stdout] 17 │- acc_struct: wgpu::BindGroupEntry { [INFO] [stdout] 18 │- binding: 1, [INFO] [stdout] 19 │- resource: wgpu::BindingResource::AccelerationStructure(params.acc_struct), [INFO] [stdout] 20 │- }, [INFO] [stdout] 11 │+ pub fn new(params: WgpuBindGroup0EntriesParams<'a>) -> Self { [INFO] [stdout] 12 │+ Self { [INFO] [stdout] 13 │+ transforms: wgpu::BindGroupEntry { [INFO] [stdout] 14 │+ binding: 0, [INFO] [stdout] 15 │+ resource: wgpu::BindingResource::Buffer(params.transforms), [INFO] [stdout] 16 │+ }, [INFO] [stdout] 17 │+ acc_struct: wgpu::BindGroupEntry { [INFO] [stdout] 18 │+ binding: 1, [INFO] [stdout] 19 │+ resource: wgpu::BindingResource::AccelerationStructure(params.acc_struct), [INFO] [stdout] 20 │+ }, [INFO] [stdout] 21 │+ } [INFO] [stdout] 22 │+ } [INFO] [stdout] 23 │+ pub fn into_array(self) -> [wgpu::BindGroupEntry<'a>; 2] { [INFO] [stdout] 24 │+ [self.transforms, self.acc_struct] [INFO] [stdout] 25 │+ } [INFO] [stdout] 26 │+ pub fn collect>>(self) -> B { [INFO] [stdout] 27 │+ self.into_array().into_iter().collect() [INFO] [stdout] 21 28 │ } [INFO] [stdout] 22 │- } [INFO] [stdout] 23 │- pub fn into_array(self) -> [wgpu::BindGroupEntry<'a>; 2] { [INFO] [stdout] 24 │- [self.transforms, self.acc_struct] [INFO] [stdout] 25 │- } [INFO] [stdout] 26 │- pub fn collect>>(self) -> B { [INFO] [stdout] 27 │- self.into_array().into_iter().collect() [INFO] [stdout] 28 │- } [INFO] [stdout] 29 29 │ } [INFO] [stdout] 30 30 │ #[derive(Debug)] [INFO] [stdout] 31 31 │ pub struct WgpuBindGroup0(wgpu::BindGroup); [INFO] [stdout] 32 32 │ impl WgpuBindGroup0 { [INFO] [stdout] 33 │- pub const LAYOUT_DESCRIPTOR: wgpu::BindGroupLayoutDescriptor<'static> = [INFO] [stdout] 34 │- wgpu::BindGroupLayoutDescriptor { [INFO] [stdout] 35 │- label: Some("Test::BindGroup0::LayoutDescriptor"), [INFO] [stdout] 36 │- entries: &[ [INFO] [stdout] 37 │- #[doc = " @binding(0): \"transforms\""] [INFO] [stdout] 38 │- wgpu::BindGroupLayoutEntry { [INFO] [stdout] 39 │- binding: 0, [INFO] [stdout] 40 │- visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 41 │- ty: wgpu::BindingType::Buffer { [INFO] [stdout] 42 │- ty: wgpu::BufferBindingType::Uniform, [INFO] [stdout] 43 │- has_dynamic_offset: false, [INFO] [stdout] 44 │- min_binding_size: std::num::NonZeroU64::new(std::mem::size_of::< [INFO] [stdout] 45 │- _root::test::Transforms, [INFO] [stdout] 46 │- >() as _), [INFO] [stdout] 47 │- }, [INFO] [stdout] 48 │- count: None, [INFO] [stdout] 49 │- }, [INFO] [stdout] 50 │- #[doc = " @binding(1): \"acc_struct\""] [INFO] [stdout] 51 │- wgpu::BindGroupLayoutEntry { [INFO] [stdout] 52 │- binding: 1, [INFO] [stdout] 53 │- visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 54 │- ty: wgpu::BindingType::AccelerationStructure { [INFO] [stdout] 55 │- vertex_return: false, [INFO] [stdout] 56 │- }, [INFO] [stdout] 57 │- count: None, [INFO] [stdout] 58 │- }, [INFO] [stdout] 59 │- ], [INFO] [stdout] 33 │+ pub const LAYOUT_DESCRIPTOR: wgpu::BindGroupLayoutDescriptor<'static> = wgpu::BindGroupLayoutDescriptor { [INFO] [stdout] 34 │+ label: Some("Test::BindGroup0::LayoutDescriptor"), [INFO] [stdout] 35 │+ entries: &[ [INFO] [stdout] 36 │+ /// @binding(0): "transforms" [INFO] [stdout] 37 │+ wgpu::BindGroupLayoutEntry { [INFO] [stdout] 38 │+ binding: 0, [INFO] [stdout] 39 │+ visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 40 │+ ty: wgpu::BindingType::Buffer { [INFO] [stdout] 41 │+ ty: wgpu::BufferBindingType::Uniform, [INFO] [stdout] 42 │+ has_dynamic_offset: false, [INFO] [stdout] 43 │+ min_binding_size: std::num::NonZeroU64::new( [INFO] [stdout] 44 │+ std::mem::size_of::<_root::test::Transforms>() as _, [INFO] [stdout] 45 │+ ), [INFO] [stdout] 46 │+ }, [INFO] [stdout] 47 │+ count: None, [INFO] [stdout] 48 │+ }, [INFO] [stdout] 49 │+ /// @binding(1): "acc_struct" [INFO] [stdout] 50 │+ wgpu::BindGroupLayoutEntry { [INFO] [stdout] 51 │+ binding: 1, [INFO] [stdout] 52 │+ visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 53 │+ ty: wgpu::BindingType::AccelerationStructure { [INFO] [stdout] 54 │+ vertex_return: false, [INFO] [stdout] 55 │+ }, [INFO] [stdout] 56 │+ count: None, [INFO] [stdout] 57 │+ }, [INFO] [stdout] 58 │+ ], [INFO] [stdout] 60 59 │ }; [INFO] [stdout] 61 │- pub fn get_bind_group_layout(device: &wgpu::Device) -> wgpu::BindGroupLayout { [INFO] [stdout] 62 │- device.create_bind_group_layout(&Self::LAYOUT_DESCRIPTOR) [INFO] [stdout] 63 │- } [INFO] [stdout] 64 │- pub fn from_bindings(device: &wgpu::Device, bindings: WgpuBindGroup0Entries) -> Self { [INFO] [stdout] 65 │- let bind_group_layout = Self::get_bind_group_layout(device); [INFO] [stdout] 66 │- let entries = bindings.into_array(); [INFO] [stdout] 67 │- let bind_group = device.create_bind_group(&wgpu::BindGroupDescriptor { [INFO] [stdout] 68 │- label: Some("Test::BindGroup0"), [INFO] [stdout] 69 │- layout: &bind_group_layout, [INFO] [stdout] 70 │- entries: &entries, [INFO] [stdout] 71 │- }); [INFO] [stdout] 72 │- Self(bind_group) [INFO] [stdout] 73 │- } [INFO] [stdout] 74 │- pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 75 │- pass.set_bind_group(0, &self.0, &[]); [INFO] [stdout] 76 │- } [INFO] [stdout] 60 │+ pub fn get_bind_group_layout(device: &wgpu::Device) -> wgpu::BindGroupLayout { [INFO] [stdout] 61 │+ device.create_bind_group_layout(&Self::LAYOUT_DESCRIPTOR) [INFO] [stdout] 62 │+ } [INFO] [stdout] 63 │+ pub fn from_bindings( [INFO] [stdout] 64 │+ device: &wgpu::Device, [INFO] [stdout] 65 │+ bindings: WgpuBindGroup0Entries, [INFO] [stdout] 66 │+ ) -> Self { [INFO] [stdout] 67 │+ let bind_group_layout = Self::get_bind_group_layout(device); [INFO] [stdout] 68 │+ let entries = bindings.into_array(); [INFO] [stdout] 69 │+ let bind_group = device [INFO] [stdout] 70 │+ .create_bind_group( [INFO] [stdout] 71 │+ &wgpu::BindGroupDescriptor { [INFO] [stdout] 72 │+ label: Some("Test::BindGroup0"), [INFO] [stdout] 73 │+ layout: &bind_group_layout, [INFO] [stdout] 74 │+ entries: &entries, [INFO] [stdout] 75 │+ }, [INFO] [stdout] 76 │+ ); [INFO] [stdout] 77 │+ Self(bind_group) [INFO] [stdout] 78 │+ } [INFO] [stdout] 79 │+ pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 80 │+ pass.set_bind_group(0, &self.0, &[]); [INFO] [stdout] 81 │+ } [INFO] [stdout] 77 82 │ } [INFO] [stdout] 78 │-#[doc = " Bind groups can be set individually using their set(render_pass) method, or all at once using `WgpuBindGroups::set`."] [INFO] [stdout] 79 │-#[doc = " For optimal performance with many draw calls, it's recommended to organize bindings into bind groups based on update frequency:"] [INFO] [stdout] 80 │-#[doc = " - Bind group 0: Least frequent updates (e.g. per frame resources)"] [INFO] [stdout] 81 │-#[doc = " - Bind group 1: More frequent updates"] [INFO] [stdout] 82 │-#[doc = " - Bind group 2: More frequent updates"] [INFO] [stdout] 83 │-#[doc = " - Bind group 3: Most frequent updates (e.g. per draw resources)"] [INFO] [stdout] 83 │+/// Bind groups can be set individually using their set(render_pass) method, or all at once using `WgpuBindGroups::set`. [INFO] [stdout] 84 │+/// For optimal performance with many draw calls, it's recommended to organize bindings into bind groups based on update frequency: [INFO] [stdout] 85 │+/// - Bind group 0: Least frequent updates (e.g. per frame resources) [INFO] [stdout] 86 │+/// - Bind group 1: More frequent updates [INFO] [stdout] 87 │+/// - Bind group 2: More frequent updates [INFO] [stdout] 88 │+/// - Bind group 3: Most frequent updates (e.g. per draw resources) [INFO] [stdout] 84 89 │ #[derive(Debug, Copy, Clone)] [INFO] [stdout] 85 90 │ pub struct WgpuBindGroups<'a> { [INFO] [stdout] 86 │- pub bind_group0: &'a WgpuBindGroup0, [INFO] [stdout] 91 │+ pub bind_group0: &'a WgpuBindGroup0, [INFO] [stdout] 87 92 │ } [INFO] [stdout] 88 93 │ impl<'a> WgpuBindGroups<'a> { [INFO] [stdout] 89 │- pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 90 │- self.bind_group0.set(pass); [INFO] [stdout] 91 │- } [INFO] [stdout] 94 │+ pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 95 │+ self.bind_group0.set(pass); [INFO] [stdout] 96 │+ } [INFO] [stdout] 92 97 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'generate::bind_group::tests::bind_groups_module_acceleration_structure' (33) panicked at src/generate/bind_group/mod.rs:568:5: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: FileIo(Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }, "/opt/rustwide/workdir/src/generate/bind_group/snapshots/bind_groups_module_acceleration_structure.snap.new") [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x60961ea1ab92 - std::backtrace_rs::backtrace::libunwind::trace::h22a6a535a50603c6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x60961ea1ab92 - std::backtrace_rs::backtrace::trace_unsynchronized::h2503a4f30dbfbaa2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x60961ea1ab92 - std::sys::backtrace::_print_fmt::hec54e31f36456895 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x60961ea1ab92 - ::fmt::hb1988e8b50fa5f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x60961ea2ee1f - core::fmt::rt::Argument::fmt::h3118a66e1a57a586 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x60961ea2ee1f - core::fmt::write::hcd056e06a609f600 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x60961e9e5671 - std::io::default_write_fmt::hdabc5d6505cb374b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x60961e9e5671 - std::io::Write::write_fmt::h18c82179fdc1f9d2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x60961e9f24d2 - std::sys::backtrace::BacktraceLock::print::h69f50ba7cfff8317 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x60961e9f820f - std::panicking::default_hook::{{closure}}::hfa978eb2255ab3ab [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x60961e9f80a1 - std::panicking::default_hook::h09da2eaf8f1deadd [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x60961e132d9e - as core::ops::function::Fn>::call::h1697e4d80f236ef6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x60961e132d9e - test::test_main_with_exit_callback::{{closure}}::h8f63929ca9fd483b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x60961e9f897f - as core::ops::function::Fn>::call::hba67e0dc3e3fc548 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x60961e9f897f - std::panicking::panic_with_hook::h13c40d280d130fd3 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x60961e9f872a - std::panicking::panic_handler::{{closure}}::hd79d22e8a1d3b951 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x60961e9f2609 - std::sys::backtrace::__rust_end_short_backtrace::h83414d1ec69cf3a6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x60961e9d8b4d - __rustc[b78aa6c7b08e5dc4]::rust_begin_unwind [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x60961ea39f00 - core::panicking::panic_fmt::h326b75cf8ee01b13 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x60961ea38be6 - core::result::unwrap_failed::h38baee32fdec5ac8 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x60961dea9b53 - core::result::Result::unwrap::h4e75d443417df354 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x60961dea9b53 - wgsl_bindgen::generate::bind_group::tests::bind_groups_module_acceleration_structure::{{closure}}::hf2b1cc981aac3b9f [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x60961df8cecf - insta::settings::Settings::bind::hcca09211f99e4ff0 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.1/src/settings.rs:509:9 [INFO] [stdout] 23: 0x60961dea9685 - wgsl_bindgen::generate::bind_group::tests::bind_groups_module_acceleration_structure::hb30d876151b93de4 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x60961dea9c47 - wgsl_bindgen::generate::bind_group::tests::bind_groups_module_acceleration_structure::{{closure}}::hf47fa873f9d35fe1 [INFO] [stdout] at /opt/rustwide/workdir/src/generate/bind_group/mod.rs:536:49 [INFO] [stdout] 25: 0x60961df3b106 - core::ops::function::FnOnce::call_once::h6eeb71d897641a45 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x60961e132b7b - core::ops::function::FnOnce::call_once::he420dad47d9aac14 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x60961e132b7b - test::__rust_begin_short_backtrace::h51976f55c263f7c2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x60961e1487a5 - test::run_test_in_process::{{closure}}::h6aa4339396d33320 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x60961e1487a5 - as core::ops::function::FnOnce<()>>::call_once::h5bd0ba3863a53529 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x60961e1487a5 - std::panicking::catch_unwind::do_call::h5c710722c40c5839 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x60961e1487a5 - std::panicking::catch_unwind::hf41b5be070ce0f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x60961e1487a5 - std::panic::catch_unwind::h4559aa103e6f16d6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x60961e1487a5 - test::run_test_in_process::he6fd763a772ff213 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x60961e1487a5 - test::run_test::{{closure}}::he46f5435849feb5b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x60961e11efb4 - test::run_test::{{closure}}::h12a66289c31b502a [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x60961e11efb4 - std::sys::backtrace::__rust_begin_short_backtrace::h614a7925ed7b2f5e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x60961e12295a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hbc654088c5dbff36 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x60961e12295a - as core::ops::function::FnOnce<()>>::call_once::h3f631d2ca531b61d [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x60961e12295a - std::panicking::catch_unwind::do_call::hd2548748db0aa717 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x60961e12295a - std::panicking::catch_unwind::hf7d8620d84df48e2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x60961e12295a - std::panic::catch_unwind::hdde75b8543fcb96b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x60961e12295a - std::thread::Builder::spawn_unchecked_::{{closure}}::h991e7d03b432cf3f [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x60961e12295a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hebddb40255441657 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x60961e9ed55f - as core::ops::function::FnOnce>::call_once::h55e8930dc7db99a5 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 45: 0x60961e9ed55f - std::sys::thread::unix::Thread::new::thread_start::he23d038ee4fa004e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 46: 0x70e7dc752aa4 - [INFO] [stdout] 47: 0x70e7dc7dfa34 - clone [INFO] [stdout] 48: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- generate::bind_group::tests::bind_groups_module_array_bindings stdout ---- [INFO] [stdout] Warning: rustfmt formatting failed (rustfmt failed: error: 'rustfmt' is not installed for the custom toolchain '2440211fe03bc45c89b6dc1a3df18382ce91e32b'. [INFO] [stdout] note: this is a custom toolchain, which cannot use `rustup component add` [INFO] [stdout] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py` [INFO] [stdout] ), falling back to prettyplease [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/generate/bind_group/snapshots/bind_groups_module_array_bindings.snap [INFO] [stdout] Snapshot: bind_groups_module_array_bindings [INFO] [stdout] Source: src/generate/bind_group/mod.rs:605 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 0 │ #[derive(Debug)] [INFO] [stdout] 1 1 │ pub struct WgpuBindGroup0EntriesParams<'a> { [INFO] [stdout] 2 │- pub transforms: wgpu::BufferBinding<'a>, [INFO] [stdout] 3 │- pub texture_array: &'a [&'a wgpu::TextureView], [INFO] [stdout] 4 │- pub sampler_array: &'a [&'a wgpu::Sampler], [INFO] [stdout] 2 │+ pub transforms: wgpu::BufferBinding<'a>, [INFO] [stdout] 3 │+ pub texture_array: &'a [&'a wgpu::TextureView], [INFO] [stdout] 4 │+ pub sampler_array: &'a [&'a wgpu::Sampler], [INFO] [stdout] 5 5 │ } [INFO] [stdout] 6 6 │ #[derive(Clone, Debug)] [INFO] [stdout] 7 7 │ pub struct WgpuBindGroup0Entries<'a> { [INFO] [stdout] 8 │- pub transforms: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 9 │- pub texture_array: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 10 │- pub sampler_array: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 8 │+ pub transforms: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 9 │+ pub texture_array: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 10 │+ pub sampler_array: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 11 11 │ } [INFO] [stdout] 12 12 │ impl<'a> WgpuBindGroup0Entries<'a> { [INFO] [stdout] 13 │- pub fn new(params: WgpuBindGroup0EntriesParams<'a>) -> Self { [INFO] [stdout] 14 │- Self { [INFO] [stdout] 15 │- transforms: wgpu::BindGroupEntry { [INFO] [stdout] 16 │- binding: 0, [INFO] [stdout] 17 │- resource: wgpu::BindingResource::Buffer(params.transforms), [INFO] [stdout] 18 │- }, [INFO] [stdout] 19 │- texture_array: wgpu::BindGroupEntry { [INFO] [stdout] 20 │- binding: 1, [INFO] [stdout] 21 │- resource: wgpu::BindingResource::TextureViewArray(params.texture_array), [INFO] [stdout] 22 │- }, [INFO] [stdout] 23 │- sampler_array: wgpu::BindGroupEntry { [INFO] [stdout] 24 │- binding: 2, [INFO] [stdout] 25 │- resource: wgpu::BindingResource::SamplerArray(params.sampler_array), [INFO] [stdout] 26 │- }, [INFO] [stdout] 13 │+ pub fn new(params: WgpuBindGroup0EntriesParams<'a>) -> Self { [INFO] [stdout] 14 │+ Self { [INFO] [stdout] 15 │+ transforms: wgpu::BindGroupEntry { [INFO] [stdout] 16 │+ binding: 0, [INFO] [stdout] 17 │+ resource: wgpu::BindingResource::Buffer(params.transforms), [INFO] [stdout] 18 │+ }, [INFO] [stdout] 19 │+ texture_array: wgpu::BindGroupEntry { [INFO] [stdout] 20 │+ binding: 1, [INFO] [stdout] 21 │+ resource: wgpu::BindingResource::TextureViewArray(params.texture_array), [INFO] [stdout] 22 │+ }, [INFO] [stdout] 23 │+ sampler_array: wgpu::BindGroupEntry { [INFO] [stdout] 24 │+ binding: 2, [INFO] [stdout] 25 │+ resource: wgpu::BindingResource::SamplerArray(params.sampler_array), [INFO] [stdout] 26 │+ }, [INFO] [stdout] 27 │+ } [INFO] [stdout] 28 │+ } [INFO] [stdout] 29 │+ pub fn into_array(self) -> [wgpu::BindGroupEntry<'a>; 3] { [INFO] [stdout] 30 │+ [self.transforms, self.texture_array, self.sampler_array] [INFO] [stdout] 31 │+ } [INFO] [stdout] 32 │+ pub fn collect>>(self) -> B { [INFO] [stdout] 33 │+ self.into_array().into_iter().collect() [INFO] [stdout] 27 34 │ } [INFO] [stdout] 28 │- } [INFO] [stdout] 29 │- pub fn into_array(self) -> [wgpu::BindGroupEntry<'a>; 3] { [INFO] [stdout] 30 │- [self.transforms, self.texture_array, self.sampler_array] [INFO] [stdout] 31 │- } [INFO] [stdout] 32 │- pub fn collect>>(self) -> B { [INFO] [stdout] 33 │- self.into_array().into_iter().collect() [INFO] [stdout] 34 │- } [INFO] [stdout] 35 35 │ } [INFO] [stdout] 36 36 │ #[derive(Debug)] [INFO] [stdout] 37 37 │ pub struct WgpuBindGroup0(wgpu::BindGroup); [INFO] [stdout] 38 38 │ impl WgpuBindGroup0 { [INFO] [stdout] 39 │- pub const LAYOUT_DESCRIPTOR: wgpu::BindGroupLayoutDescriptor<'static> = [INFO] [stdout] 40 │- wgpu::BindGroupLayoutDescriptor { [INFO] [stdout] 41 │- label: Some("Test::BindGroup0::LayoutDescriptor"), [INFO] [stdout] 42 │- entries: &[ [INFO] [stdout] 43 │- #[doc = " @binding(0): \"transforms\""] [INFO] [stdout] 44 │- wgpu::BindGroupLayoutEntry { [INFO] [stdout] 45 │- binding: 0, [INFO] [stdout] 46 │- visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 47 │- ty: wgpu::BindingType::Buffer { [INFO] [stdout] 48 │- ty: wgpu::BufferBindingType::Uniform, [INFO] [stdout] 49 │- has_dynamic_offset: false, [INFO] [stdout] 50 │- min_binding_size: std::num::NonZeroU64::new(std::mem::size_of::< [INFO] [stdout] 51 │- _root::test::Transforms, [INFO] [stdout] 52 │- >() as _), [INFO] [stdout] 53 │- }, [INFO] [stdout] 54 │- count: None, [INFO] [stdout] 55 │- }, [INFO] [stdout] 56 │- #[doc = " @binding(1): \"texture_array\""] [INFO] [stdout] 57 │- wgpu::BindGroupLayoutEntry { [INFO] [stdout] 58 │- binding: 1, [INFO] [stdout] 59 │- visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 60 │- ty: wgpu::BindingType::Texture { [INFO] [stdout] 61 │- sample_type: wgpu::TextureSampleType::Float { filterable: true }, [INFO] [stdout] 62 │- view_dimension: wgpu::TextureViewDimension::D2, [INFO] [stdout] 63 │- multisampled: false, [INFO] [stdout] 64 │- }, [INFO] [stdout] 65 │- count: Some(std::num::NonZeroU32::new(4u32).unwrap()), [INFO] [stdout] 66 │- }, [INFO] [stdout] 67 │- #[doc = " @binding(2): \"sampler_array\""] [INFO] [stdout] 68 │- wgpu::BindGroupLayoutEntry { [INFO] [stdout] 69 │- binding: 2, [INFO] [stdout] 70 │- visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 71 │- ty: wgpu::BindingType::Sampler(wgpu::SamplerBindingType::Filtering), [INFO] [stdout] 72 │- count: Some(std::num::NonZeroU32::new(3u32).unwrap()), [INFO] [stdout] 73 │- }, [INFO] [stdout] 74 │- ], [INFO] [stdout] 39 │+ pub const LAYOUT_DESCRIPTOR: wgpu::BindGroupLayoutDescriptor<'static> = wgpu::BindGroupLayoutDescriptor { [INFO] [stdout] 40 │+ label: Some("Test::BindGroup0::LayoutDescriptor"), [INFO] [stdout] 41 │+ entries: &[ [INFO] [stdout] 42 │+ /// @binding(0): "transforms" [INFO] [stdout] 43 │+ wgpu::BindGroupLayoutEntry { [INFO] [stdout] 44 │+ binding: 0, [INFO] [stdout] 45 │+ visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 46 │+ ty: wgpu::BindingType::Buffer { [INFO] [stdout] 47 │+ ty: wgpu::BufferBindingType::Uniform, [INFO] [stdout] 48 │+ has_dynamic_offset: false, [INFO] [stdout] 49 │+ min_binding_size: std::num::NonZeroU64::new( [INFO] [stdout] 50 │+ std::mem::size_of::<_root::test::Transforms>() as _, [INFO] [stdout] 51 │+ ), [INFO] [stdout] 52 │+ }, [INFO] [stdout] 53 │+ count: None, [INFO] [stdout] 54 │+ }, [INFO] [stdout] 55 │+ /// @binding(1): "texture_array" [INFO] [stdout] 56 │+ wgpu::BindGroupLayoutEntry { [INFO] [stdout] 57 │+ binding: 1, [INFO] [stdout] 58 │+ visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 59 │+ ty: wgpu::BindingType::Texture { [INFO] [stdout] 60 │+ sample_type: wgpu::TextureSampleType::Float { [INFO] [stdout] 61 │+ filterable: true, [INFO] [stdout] 62 │+ }, [INFO] [stdout] 63 │+ view_dimension: wgpu::TextureViewDimension::D2, [INFO] [stdout] 64 │+ multisampled: false, [INFO] [stdout] 65 │+ }, [INFO] [stdout] 66 │+ count: Some(std::num::NonZeroU32::new(4u32).unwrap()), [INFO] [stdout] 67 │+ }, [INFO] [stdout] 68 │+ /// @binding(2): "sampler_array" [INFO] [stdout] 69 │+ wgpu::BindGroupLayoutEntry { [INFO] [stdout] 70 │+ binding: 2, [INFO] [stdout] 71 │+ visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 72 │+ ty: wgpu::BindingType::Sampler(wgpu::SamplerBindingType::Filtering), [INFO] [stdout] 73 │+ count: Some(std::num::NonZeroU32::new(3u32).unwrap()), [INFO] [stdout] 74 │+ }, [INFO] [stdout] 75 │+ ], [INFO] [stdout] 75 76 │ }; [INFO] [stdout] 76 │- pub fn get_bind_group_layout(device: &wgpu::Device) -> wgpu::BindGroupLayout { [INFO] [stdout] 77 │- device.create_bind_group_layout(&Self::LAYOUT_DESCRIPTOR) [INFO] [stdout] 78 │- } [INFO] [stdout] 79 │- pub fn from_bindings(device: &wgpu::Device, bindings: WgpuBindGroup0Entries) -> Self { [INFO] [stdout] 80 │- let bind_group_layout = Self::get_bind_group_layout(device); [INFO] [stdout] 81 │- let entries = bindings.into_array(); [INFO] [stdout] 82 │- let bind_group = device.create_bind_group(&wgpu::BindGroupDescriptor { [INFO] [stdout] 83 │- label: Some("Test::BindGroup0"), [INFO] [stdout] 84 │- layout: &bind_group_layout, [INFO] [stdout] 85 │- entries: &entries, [INFO] [stdout] 86 │- }); [INFO] [stdout] 87 │- Self(bind_group) [INFO] [stdout] 88 │- } [INFO] [stdout] 89 │- pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 90 │- pass.set_bind_group(0, &self.0, &[]); [INFO] [stdout] 91 │- } [INFO] [stdout] 77 │+ pub fn get_bind_group_layout(device: &wgpu::Device) -> wgpu::BindGroupLayout { [INFO] [stdout] 78 │+ device.create_bind_group_layout(&Self::LAYOUT_DESCRIPTOR) [INFO] [stdout] 79 │+ } [INFO] [stdout] 80 │+ pub fn from_bindings( [INFO] [stdout] 81 │+ device: &wgpu::Device, [INFO] [stdout] 82 │+ bindings: WgpuBindGroup0Entries, [INFO] [stdout] 83 │+ ) -> Self { [INFO] [stdout] 84 │+ let bind_group_layout = Self::get_bind_group_layout(device); [INFO] [stdout] 85 │+ let entries = bindings.into_array(); [INFO] [stdout] 86 │+ let bind_group = device [INFO] [stdout] 87 │+ .create_bind_group( [INFO] [stdout] 88 │+ &wgpu::BindGroupDescriptor { [INFO] [stdout] 89 │+ label: Some("Test::BindGroup0"), [INFO] [stdout] 90 │+ layout: &bind_group_layout, [INFO] [stdout] 91 │+ entries: &entries, [INFO] [stdout] 92 │+ }, [INFO] [stdout] 93 │+ ); [INFO] [stdout] 94 │+ Self(bind_group) [INFO] [stdout] 95 │+ } [INFO] [stdout] 96 │+ pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 97 │+ pass.set_bind_group(0, &self.0, &[]); [INFO] [stdout] 98 │+ } [INFO] [stdout] 92 99 │ } [INFO] [stdout] 93 │-#[doc = " Bind groups can be set individually using their set(render_pass) method, or all at once using `WgpuBindGroups::set`."] [INFO] [stdout] 94 │-#[doc = " For optimal performance with many draw calls, it's recommended to organize bindings into bind groups based on update frequency:"] [INFO] [stdout] 95 │-#[doc = " - Bind group 0: Least frequent updates (e.g. per frame resources)"] [INFO] [stdout] 96 │-#[doc = " - Bind group 1: More frequent updates"] [INFO] [stdout] 97 │-#[doc = " - Bind group 2: More frequent updates"] [INFO] [stdout] 98 │-#[doc = " - Bind group 3: Most frequent updates (e.g. per draw resources)"] [INFO] [stdout] 100 │+/// Bind groups can be set individually using their set(render_pass) method, or all at once using `WgpuBindGroups::set`. [INFO] [stdout] 101 │+/// For optimal performance with many draw calls, it's recommended to organize bindings into bind groups based on update frequency: [INFO] [stdout] 102 │+/// - Bind group 0: Least frequent updates (e.g. per frame resources) [INFO] [stdout] 103 │+/// - Bind group 1: More frequent updates [INFO] [stdout] 104 │+/// - Bind group 2: More frequent updates [INFO] [stdout] 105 │+/// - Bind group 3: Most frequent updates (e.g. per draw resources) [INFO] [stdout] 99 106 │ #[derive(Debug, Copy, Clone)] [INFO] [stdout] 100 107 │ pub struct WgpuBindGroups<'a> { [INFO] [stdout] 101 │- pub bind_group0: &'a WgpuBindGroup0, [INFO] [stdout] 108 │+ pub bind_group0: &'a WgpuBindGroup0, [INFO] [stdout] 102 109 │ } [INFO] [stdout] 103 110 │ impl<'a> WgpuBindGroups<'a> { [INFO] [stdout] 104 │- pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 105 │- self.bind_group0.set(pass); [INFO] [stdout] 106 │- } [INFO] [stdout] 111 │+ pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 112 │+ self.bind_group0.set(pass); [INFO] [stdout] 113 │+ } [INFO] [stdout] 107 114 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'generate::bind_group::tests::bind_groups_module_array_bindings' (34) panicked at src/generate/bind_group/mod.rs:605:5: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: FileIo(Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }, "/opt/rustwide/workdir/src/generate/bind_group/snapshots/bind_groups_module_array_bindings.snap.new") [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x60961ea1ab92 - std::backtrace_rs::backtrace::libunwind::trace::h22a6a535a50603c6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x60961ea1ab92 - std::backtrace_rs::backtrace::trace_unsynchronized::h2503a4f30dbfbaa2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x60961ea1ab92 - std::sys::backtrace::_print_fmt::hec54e31f36456895 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x60961ea1ab92 - ::fmt::hb1988e8b50fa5f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x60961ea2ee1f - core::fmt::rt::Argument::fmt::h3118a66e1a57a586 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x60961ea2ee1f - core::fmt::write::hcd056e06a609f600 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x60961e9e5671 - std::io::default_write_fmt::hdabc5d6505cb374b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x60961e9e5671 - std::io::Write::write_fmt::h18c82179fdc1f9d2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x60961e9f24d2 - std::sys::backtrace::BacktraceLock::print::h69f50ba7cfff8317 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x60961e9f820f - std::panicking::default_hook::{{closure}}::hfa978eb2255ab3ab [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x60961e9f80a1 - std::panicking::default_hook::h09da2eaf8f1deadd [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x60961e132d9e - as core::ops::function::Fn>::call::h1697e4d80f236ef6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x60961e132d9e - test::test_main_with_exit_callback::{{closure}}::h8f63929ca9fd483b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x60961e9f897f - as core::ops::function::Fn>::call::hba67e0dc3e3fc548 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x60961e9f897f - std::panicking::panic_with_hook::h13c40d280d130fd3 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x60961e9f872a - std::panicking::panic_handler::{{closure}}::hd79d22e8a1d3b951 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x60961e9f2609 - std::sys::backtrace::__rust_end_short_backtrace::h83414d1ec69cf3a6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x60961e9d8b4d - __rustc[b78aa6c7b08e5dc4]::rust_begin_unwind [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x60961ea39f00 - core::panicking::panic_fmt::h326b75cf8ee01b13 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x60961ea38be6 - core::result::unwrap_failed::h38baee32fdec5ac8 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x60961dea7f13 - core::result::Result::unwrap::h4e75d443417df354 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x60961dea7f13 - wgsl_bindgen::generate::bind_group::tests::bind_groups_module_array_bindings::{{closure}}::h742b86a7c7898472 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x60961df8d3cf - insta::settings::Settings::bind::he4ed880f61c935bd [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.1/src/settings.rs:509:9 [INFO] [stdout] 23: 0x60961dea7a45 - wgsl_bindgen::generate::bind_group::tests::bind_groups_module_array_bindings::ha3d7774be9ecaea0 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x60961dea8007 - wgsl_bindgen::generate::bind_group::tests::bind_groups_module_array_bindings::{{closure}}::h75a80edf0983dbda [INFO] [stdout] at /opt/rustwide/workdir/src/generate/bind_group/mod.rs:572:41 [INFO] [stdout] 25: 0x60961df3bc26 - core::ops::function::FnOnce::call_once::hc010a9173766c055 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x60961e132b7b - core::ops::function::FnOnce::call_once::he420dad47d9aac14 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x60961e132b7b - test::__rust_begin_short_backtrace::h51976f55c263f7c2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x60961e1487a5 - test::run_test_in_process::{{closure}}::h6aa4339396d33320 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x60961e1487a5 - as core::ops::function::FnOnce<()>>::call_once::h5bd0ba3863a53529 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x60961e1487a5 - std::panicking::catch_unwind::do_call::h5c710722c40c5839 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x60961e1487a5 - std::panicking::catch_unwind::hf41b5be070ce0f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x60961e1487a5 - std::panic::catch_unwind::h4559aa103e6f16d6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x60961e1487a5 - test::run_test_in_process::he6fd763a772ff213 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x60961e1487a5 - test::run_test::{{closure}}::he46f5435849feb5b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x60961e11efb4 - test::run_test::{{closure}}::h12a66289c31b502a [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x60961e11efb4 - std::sys::backtrace::__rust_begin_short_backtrace::h614a7925ed7b2f5e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x60961e12295a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hbc654088c5dbff36 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x60961e12295a - as core::ops::function::FnOnce<()>>::call_once::h3f631d2ca531b61d [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x60961e12295a - std::panicking::catch_unwind::do_call::hd2548748db0aa717 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x60961e12295a - std::panicking::catch_unwind::hf7d8620d84df48e2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x60961e12295a - std::panic::catch_unwind::hdde75b8543fcb96b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x60961e12295a - std::thread::Builder::spawn_unchecked_::{{closure}}::h991e7d03b432cf3f [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x60961e12295a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hebddb40255441657 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x60961e9ed55f - as core::ops::function::FnOnce>::call_once::h55e8930dc7db99a5 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 45: 0x60961e9ed55f - std::sys::thread::unix::Thread::new::thread_start::he23d038ee4fa004e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 46: 0x70e7dc752aa4 - [INFO] [stdout] 47: 0x70e7dc7dfa34 - clone [INFO] [stdout] 48: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- generate::bind_group::tests::bind_groups_module_compute stdout ---- [INFO] [stdout] Warning: rustfmt formatting failed (rustfmt failed: error: 'rustfmt' is not installed for the custom toolchain '2440211fe03bc45c89b6dc1a3df18382ce91e32b'. [INFO] [stdout] note: this is a custom toolchain, which cannot use `rustup component add` [INFO] [stdout] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py` [INFO] [stdout] ), falling back to prettyplease [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/generate/bind_group/snapshots/bind_groups_module_compute.snap [INFO] [stdout] Snapshot: bind_groups_module_compute [INFO] [stdout] Source: src/generate/bind_group/mod.rs:403 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 0 │ #[derive(Debug)] [INFO] [stdout] 1 1 │ pub struct WgpuBindGroup0EntriesParams<'a> { [INFO] [stdout] 2 │- pub src: wgpu::BufferBinding<'a>, [INFO] [stdout] 3 │- pub vertex_weights: wgpu::BufferBinding<'a>, [INFO] [stdout] 4 │- pub dst: wgpu::BufferBinding<'a>, [INFO] [stdout] 2 │+ pub src: wgpu::BufferBinding<'a>, [INFO] [stdout] 3 │+ pub vertex_weights: wgpu::BufferBinding<'a>, [INFO] [stdout] 4 │+ pub dst: wgpu::BufferBinding<'a>, [INFO] [stdout] 5 5 │ } [INFO] [stdout] 6 6 │ #[derive(Clone, Debug)] [INFO] [stdout] 7 7 │ pub struct WgpuBindGroup0Entries<'a> { [INFO] [stdout] 8 │- pub src: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 9 │- pub vertex_weights: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 10 │- pub dst: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 8 │+ pub src: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 9 │+ pub vertex_weights: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 10 │+ pub dst: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 11 11 │ } [INFO] [stdout] 12 12 │ impl<'a> WgpuBindGroup0Entries<'a> { [INFO] [stdout] 13 │- pub fn new(params: WgpuBindGroup0EntriesParams<'a>) -> Self { [INFO] [stdout] 14 │- Self { [INFO] [stdout] 15 │- src: wgpu::BindGroupEntry { [INFO] [stdout] 16 │- binding: 0, [INFO] [stdout] 17 │- resource: wgpu::BindingResource::Buffer(params.src), [INFO] [stdout] 18 │- }, [INFO] [stdout] 19 │- vertex_weights: wgpu::BindGroupEntry { [INFO] [stdout] 20 │- binding: 1, [INFO] [stdout] 21 │- resource: wgpu::BindingResource::Buffer(params.vertex_weights), [INFO] [stdout] 22 │- }, [INFO] [stdout] 23 │- dst: wgpu::BindGroupEntry { [INFO] [stdout] 24 │- binding: 2, [INFO] [stdout] 25 │- resource: wgpu::BindingResource::Buffer(params.dst), [INFO] [stdout] 26 │- }, [INFO] [stdout] 13 │+ pub fn new(params: WgpuBindGroup0EntriesParams<'a>) -> Self { [INFO] [stdout] 14 │+ Self { [INFO] [stdout] 15 │+ src: wgpu::BindGroupEntry { [INFO] [stdout] 16 │+ binding: 0, [INFO] [stdout] 17 │+ resource: wgpu::BindingResource::Buffer(params.src), [INFO] [stdout] 18 │+ }, [INFO] [stdout] 19 │+ vertex_weights: wgpu::BindGroupEntry { [INFO] [stdout] 20 │+ binding: 1, [INFO] [stdout] 21 │+ resource: wgpu::BindingResource::Buffer(params.vertex_weights), [INFO] [stdout] 22 │+ }, [INFO] [stdout] 23 │+ dst: wgpu::BindGroupEntry { [INFO] [stdout] 24 │+ binding: 2, [INFO] [stdout] 25 │+ resource: wgpu::BindingResource::Buffer(params.dst), [INFO] [stdout] 26 │+ }, [INFO] [stdout] 27 │+ } [INFO] [stdout] 28 │+ } [INFO] [stdout] 29 │+ pub fn into_array(self) -> [wgpu::BindGroupEntry<'a>; 3] { [INFO] [stdout] 30 │+ [self.src, self.vertex_weights, self.dst] [INFO] [stdout] 31 │+ } [INFO] [stdout] 32 │+ pub fn collect>>(self) -> B { [INFO] [stdout] 33 │+ self.into_array().into_iter().collect() [INFO] [stdout] 27 34 │ } [INFO] [stdout] 28 │- } [INFO] [stdout] 29 │- pub fn into_array(self) -> [wgpu::BindGroupEntry<'a>; 3] { [INFO] [stdout] 30 │- [self.src, self.vertex_weights, self.dst] [INFO] [stdout] 31 │- } [INFO] [stdout] 32 │- pub fn collect>>(self) -> B { [INFO] [stdout] 33 │- self.into_array().into_iter().collect() [INFO] [stdout] 34 │- } [INFO] [stdout] 35 35 │ } [INFO] [stdout] 36 36 │ #[derive(Debug)] [INFO] [stdout] 37 37 │ pub struct WgpuBindGroup0(wgpu::BindGroup); [INFO] [stdout] 38 38 │ impl WgpuBindGroup0 { [INFO] [stdout] 39 │- pub const LAYOUT_DESCRIPTOR: wgpu::BindGroupLayoutDescriptor<'static> = [INFO] [stdout] 40 │- wgpu::BindGroupLayoutDescriptor { [INFO] [stdout] 41 │- label: Some("Test::BindGroup0::LayoutDescriptor"), [INFO] [stdout] 42 │- entries: &[ [INFO] [stdout] 43 │- #[doc = " @binding(0): \"src\""] [INFO] [stdout] 44 │- wgpu::BindGroupLayoutEntry { [INFO] [stdout] 45 │- binding: 0, [INFO] [stdout] 46 │- visibility: wgpu::ShaderStages::COMPUTE, [INFO] [stdout] 47 │- ty: wgpu::BindingType::Buffer { [INFO] [stdout] 48 │- ty: wgpu::BufferBindingType::Storage { read_only: true }, [INFO] [stdout] 49 │- has_dynamic_offset: false, [INFO] [stdout] 50 │- min_binding_size: None, [INFO] [stdout] 51 │- }, [INFO] [stdout] 52 │- count: None, [INFO] [stdout] 53 │- }, [INFO] [stdout] 54 │- #[doc = " @binding(1): \"vertex_weights\""] [INFO] [stdout] 55 │- wgpu::BindGroupLayoutEntry { [INFO] [stdout] 56 │- binding: 1, [INFO] [stdout] 57 │- visibility: wgpu::ShaderStages::COMPUTE, [INFO] [stdout] 58 │- ty: wgpu::BindingType::Buffer { [INFO] [stdout] 59 │- ty: wgpu::BufferBindingType::Storage { read_only: true }, [INFO] [stdout] 60 │- has_dynamic_offset: false, [INFO] [stdout] 61 │- min_binding_size: std::num::NonZeroU64::new(std::mem::size_of::< [INFO] [stdout] 62 │- _root::test::VertexWeights, [INFO] [stdout] 63 │- >() as _), [INFO] [stdout] 64 │- }, [INFO] [stdout] 65 │- count: None, [INFO] [stdout] 66 │- }, [INFO] [stdout] 67 │- #[doc = " @binding(2): \"dst\""] [INFO] [stdout] 68 │- wgpu::BindGroupLayoutEntry { [INFO] [stdout] 69 │- binding: 2, [INFO] [stdout] 70 │- visibility: wgpu::ShaderStages::COMPUTE, [INFO] [stdout] 71 │- ty: wgpu::BindingType::Buffer { [INFO] [stdout] 72 │- ty: wgpu::BufferBindingType::Storage { read_only: false }, [INFO] [stdout] 73 │- has_dynamic_offset: false, [INFO] [stdout] 74 │- min_binding_size: std::num::NonZeroU64::new(std::mem::size_of::< [INFO] [stdout] 75 │- _root::test::Vertices, [INFO] [stdout] 76 │- >() as _), [INFO] [stdout] 77 │- }, [INFO] [stdout] 78 │- count: None, [INFO] [stdout] 79 │- }, [INFO] [stdout] 80 │- ], [INFO] [stdout] 39 │+ pub const LAYOUT_DESCRIPTOR: wgpu::BindGroupLayoutDescriptor<'static> = wgpu::BindGroupLayoutDescriptor { [INFO] [stdout] 40 │+ label: Some("Test::BindGroup0::LayoutDescriptor"), [INFO] [stdout] 41 │+ entries: &[ [INFO] [stdout] 42 │+ /// @binding(0): "src" [INFO] [stdout] 43 │+ wgpu::BindGroupLayoutEntry { [INFO] [stdout] 44 │+ binding: 0, [INFO] [stdout] 45 │+ visibility: wgpu::ShaderStages::COMPUTE, [INFO] [stdout] 46 │+ ty: wgpu::BindingType::Buffer { [INFO] [stdout] 47 │+ ty: wgpu::BufferBindingType::Storage { [INFO] [stdout] 48 │+ read_only: true, [INFO] [stdout] 49 │+ }, [INFO] [stdout] 50 │+ has_dynamic_offset: false, [INFO] [stdout] 51 │+ min_binding_size: None, [INFO] [stdout] 52 │+ }, [INFO] [stdout] 53 │+ count: None, [INFO] [stdout] 54 │+ }, [INFO] [stdout] 55 │+ /// @binding(1): "vertex_weights" [INFO] [stdout] 56 │+ wgpu::BindGroupLayoutEntry { [INFO] [stdout] 57 │+ binding: 1, [INFO] [stdout] 58 │+ visibility: wgpu::ShaderStages::COMPUTE, [INFO] [stdout] 59 │+ ty: wgpu::BindingType::Buffer { [INFO] [stdout] 60 │+ ty: wgpu::BufferBindingType::Storage { [INFO] [stdout] 61 │+ read_only: true, [INFO] [stdout] 62 │+ }, [INFO] [stdout] 63 │+ has_dynamic_offset: false, [INFO] [stdout] 64 │+ min_binding_size: std::num::NonZeroU64::new( [INFO] [stdout] 65 │+ std::mem::size_of::<_root::test::VertexWeights>() as _, [INFO] [stdout] 66 │+ ), [INFO] [stdout] 67 │+ }, [INFO] [stdout] 68 │+ count: None, [INFO] [stdout] 69 │+ }, [INFO] [stdout] 70 │+ /// @binding(2): "dst" [INFO] [stdout] 71 │+ wgpu::BindGroupLayoutEntry { [INFO] [stdout] 72 │+ binding: 2, [INFO] [stdout] 73 │+ visibility: wgpu::ShaderStages::COMPUTE, [INFO] [stdout] 74 │+ ty: wgpu::BindingType::Buffer { [INFO] [stdout] 75 │+ ty: wgpu::BufferBindingType::Storage { [INFO] [stdout] 76 │+ read_only: false, [INFO] [stdout] 77 │+ }, [INFO] [stdout] 78 │+ has_dynamic_offset: false, [INFO] [stdout] 79 │+ min_binding_size: std::num::NonZeroU64::new( [INFO] [stdout] 80 │+ std::mem::size_of::<_root::test::Vertices>() as _, [INFO] [stdout] 81 │+ ), [INFO] [stdout] 82 │+ }, [INFO] [stdout] 83 │+ count: None, [INFO] [stdout] 84 │+ }, [INFO] [stdout] 85 │+ ], [INFO] [stdout] 81 86 │ }; [INFO] [stdout] 82 │- pub fn get_bind_group_layout(device: &wgpu::Device) -> wgpu::BindGroupLayout { [INFO] [stdout] 83 │- device.create_bind_group_layout(&Self::LAYOUT_DESCRIPTOR) [INFO] [stdout] 84 │- } [INFO] [stdout] 85 │- pub fn from_bindings(device: &wgpu::Device, bindings: WgpuBindGroup0Entries) -> Self { [INFO] [stdout] 86 │- let bind_group_layout = Self::get_bind_group_layout(device); [INFO] [stdout] 87 │- let entries = bindings.into_array(); [INFO] [stdout] 88 │- let bind_group = device.create_bind_group(&wgpu::BindGroupDescriptor { [INFO] [stdout] 89 │- label: Some("Test::BindGroup0"), [INFO] [stdout] 90 │- layout: &bind_group_layout, [INFO] [stdout] 91 │- entries: &entries, [INFO] [stdout] 92 │- }); [INFO] [stdout] 93 │- Self(bind_group) [INFO] [stdout] 94 │- } [INFO] [stdout] 95 │- pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 96 │- pass.set_bind_group(0, &self.0, &[]); [INFO] [stdout] 97 │- } [INFO] [stdout] 87 │+ pub fn get_bind_group_layout(device: &wgpu::Device) -> wgpu::BindGroupLayout { [INFO] [stdout] 88 │+ device.create_bind_group_layout(&Self::LAYOUT_DESCRIPTOR) [INFO] [stdout] 89 │+ } [INFO] [stdout] 90 │+ pub fn from_bindings( [INFO] [stdout] 91 │+ device: &wgpu::Device, [INFO] [stdout] 92 │+ bindings: WgpuBindGroup0Entries, [INFO] [stdout] 93 │+ ) -> Self { [INFO] [stdout] 94 │+ let bind_group_layout = Self::get_bind_group_layout(device); [INFO] [stdout] 95 │+ let entries = bindings.into_array(); [INFO] [stdout] 96 │+ let bind_group = device [INFO] [stdout] 97 │+ .create_bind_group( [INFO] [stdout] 98 │+ &wgpu::BindGroupDescriptor { [INFO] [stdout] 99 │+ label: Some("Test::BindGroup0"), [INFO] [stdout] 100 │+ layout: &bind_group_layout, [INFO] [stdout] 101 │+ entries: &entries, [INFO] [stdout] 102 │+ }, [INFO] [stdout] 103 │+ ); [INFO] [stdout] 104 │+ Self(bind_group) [INFO] [stdout] 105 │+ } [INFO] [stdout] 106 │+ pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 107 │+ pass.set_bind_group(0, &self.0, &[]); [INFO] [stdout] 108 │+ } [INFO] [stdout] 98 109 │ } [INFO] [stdout] 99 110 │ #[derive(Debug)] [INFO] [stdout] 100 111 │ pub struct WgpuBindGroup1EntriesParams<'a> { [INFO] [stdout] 101 │- pub transforms: wgpu::BufferBinding<'a>, [INFO] [stdout] 112 │+ pub transforms: wgpu::BufferBinding<'a>, [INFO] [stdout] 102 113 │ } [INFO] [stdout] 103 114 │ #[derive(Clone, Debug)] [INFO] [stdout] 104 115 │ pub struct WgpuBindGroup1Entries<'a> { [INFO] [stdout] 105 │- pub transforms: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 116 │+ pub transforms: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 106 117 │ } [INFO] [stdout] 107 118 │ impl<'a> WgpuBindGroup1Entries<'a> { [INFO] [stdout] 108 │- pub fn new(params: WgpuBindGroup1EntriesParams<'a>) -> Self { [INFO] [stdout] 109 │- Self { [INFO] [stdout] 110 │- transforms: wgpu::BindGroupEntry { [INFO] [stdout] 111 │- binding: 0, [INFO] [stdout] 112 │- resource: wgpu::BindingResource::Buffer(params.transforms), [INFO] [stdout] 113 │- }, [INFO] [stdout] 119 │+ pub fn new(params: WgpuBindGroup1EntriesParams<'a>) -> Self { [INFO] [stdout] 120 │+ Self { [INFO] [stdout] 121 │+ transforms: wgpu::BindGroupEntry { [INFO] [stdout] 122 │+ binding: 0, [INFO] [stdout] 123 │+ resource: wgpu::BindingResource::Buffer(params.transforms), [INFO] [stdout] 124 │+ }, [INFO] [stdout] 125 │+ } [INFO] [stdout] 126 │+ } [INFO] [stdout] 127 │+ pub fn into_array(self) -> [wgpu::BindGroupEntry<'a>; 1] { [INFO] [stdout] 128 │+ [self.transforms] [INFO] [stdout] 129 │+ } [INFO] [stdout] 130 │+ pub fn collect>>(self) -> B { [INFO] [stdout] 131 │+ self.into_array().into_iter().collect() [INFO] [stdout] 114 132 │ } [INFO] [stdout] 115 │- } [INFO] [stdout] 116 │- pub fn into_array(self) -> [wgpu::BindGroupEntry<'a>; 1] { [INFO] [stdout] 117 │- [self.transforms] [INFO] [stdout] 118 │- } [INFO] [stdout] 119 │- pub fn collect>>(self) -> B { [INFO] [stdout] 120 │- self.into_array().into_iter().collect() [INFO] [stdout] 121 │- } [INFO] [stdout] 122 133 │ } [INFO] [stdout] 123 134 │ #[derive(Debug)] [INFO] [stdout] 124 135 │ pub struct WgpuBindGroup1(wgpu::BindGroup); [INFO] [stdout] 125 136 │ impl WgpuBindGroup1 { [INFO] [stdout] 126 │- pub const LAYOUT_DESCRIPTOR: wgpu::BindGroupLayoutDescriptor<'static> = [INFO] [stdout] 127 │- wgpu::BindGroupLayoutDescriptor { [INFO] [stdout] 128 │- label: Some("Test::BindGroup1::LayoutDescriptor"), [INFO] [stdout] 129 │- entries: &[ [INFO] [stdout] 130 │- #[doc = " @binding(0): \"transforms\""] [INFO] [stdout] 131 │- wgpu::BindGroupLayoutEntry { [INFO] [stdout] 132 │- binding: 0, [INFO] [stdout] 133 │- visibility: wgpu::ShaderStages::COMPUTE, [INFO] [stdout] 134 │- ty: wgpu::BindingType::Buffer { [INFO] [stdout] 135 │- ty: wgpu::BufferBindingType::Uniform, [INFO] [stdout] 136 │- has_dynamic_offset: false, [INFO] [stdout] 137 │- min_binding_size: std::num::NonZeroU64::new(std::mem::size_of::< [INFO] [stdout] 138 │- _root::test::Transforms, [INFO] [stdout] 139 │- >() as _), [INFO] [stdout] 140 │- }, [INFO] [stdout] 141 │- count: None, [INFO] [stdout] 142 │- }, [INFO] [stdout] 143 │- ], [INFO] [stdout] 137 │+ pub const LAYOUT_DESCRIPTOR: wgpu::BindGroupLayoutDescriptor<'static> = wgpu::BindGroupLayoutDescriptor { [INFO] [stdout] 138 │+ label: Some("Test::BindGroup1::LayoutDescriptor"), [INFO] [stdout] 139 │+ entries: &[ [INFO] [stdout] 140 │+ /// @binding(0): "transforms" [INFO] [stdout] 141 │+ wgpu::BindGroupLayoutEntry { [INFO] [stdout] 142 │+ binding: 0, [INFO] [stdout] 143 │+ visibility: wgpu::ShaderStages::COMPUTE, [INFO] [stdout] 144 │+ ty: wgpu::BindingType::Buffer { [INFO] [stdout] 145 │+ ty: wgpu::BufferBindingType::Uniform, [INFO] [stdout] 146 │+ has_dynamic_offset: false, [INFO] [stdout] 147 │+ min_binding_size: std::num::NonZeroU64::new( [INFO] [stdout] 148 │+ std::mem::size_of::<_root::test::Transforms>() as _, [INFO] [stdout] 149 │+ ), [INFO] [stdout] 150 │+ }, [INFO] [stdout] 151 │+ count: None, [INFO] [stdout] 152 │+ }, [INFO] [stdout] 153 │+ ], [INFO] [stdout] 144 154 │ }; [INFO] [stdout] 145 │- pub fn get_bind_group_layout(device: &wgpu::Device) -> wgpu::BindGroupLayout { [INFO] [stdout] 146 │- device.create_bind_group_layout(&Self::LAYOUT_DESCRIPTOR) [INFO] [stdout] 147 │- } [INFO] [stdout] 148 │- pub fn from_bindings(device: &wgpu::Device, bindings: WgpuBindGroup1Entries) -> Self { [INFO] [stdout] 149 │- let bind_group_layout = Self::get_bind_group_layout(device); [INFO] [stdout] 150 │- let entries = bindings.into_array(); [INFO] [stdout] 151 │- let bind_group = device.create_bind_group(&wgpu::BindGroupDescriptor { [INFO] [stdout] 152 │- label: Some("Test::BindGroup1"), [INFO] [stdout] 153 │- layout: &bind_group_layout, [INFO] [stdout] 154 │- entries: &entries, [INFO] [stdout] 155 │- }); [INFO] [stdout] 156 │- Self(bind_group) [INFO] [stdout] 157 │- } [INFO] [stdout] 158 │- pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 159 │- pass.set_bind_group(1, &self.0, &[]); [INFO] [stdout] 160 │- } [INFO] [stdout] 155 │+ pub fn get_bind_group_layout(device: &wgpu::Device) -> wgpu::BindGroupLayout { [INFO] [stdout] 156 │+ device.create_bind_group_layout(&Self::LAYOUT_DESCRIPTOR) [INFO] [stdout] 157 │+ } [INFO] [stdout] 158 │+ pub fn from_bindings( [INFO] [stdout] 159 │+ device: &wgpu::Device, [INFO] [stdout] 160 │+ bindings: WgpuBindGroup1Entries, [INFO] [stdout] 161 │+ ) -> Self { [INFO] [stdout] 162 │+ let bind_group_layout = Self::get_bind_group_layout(device); [INFO] [stdout] 163 │+ let entries = bindings.into_array(); [INFO] [stdout] 164 │+ let bind_group = device [INFO] [stdout] 165 │+ .create_bind_group( [INFO] [stdout] 166 │+ &wgpu::BindGroupDescriptor { [INFO] [stdout] 167 │+ label: Some("Test::BindGroup1"), [INFO] [stdout] 168 │+ layout: &bind_group_layout, [INFO] [stdout] 169 │+ entries: &entries, [INFO] [stdout] 170 │+ }, [INFO] [stdout] 171 │+ ); [INFO] [stdout] 172 │+ Self(bind_group) [INFO] [stdout] 173 │+ } [INFO] [stdout] 174 │+ pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 175 │+ pass.set_bind_group(1, &self.0, &[]); [INFO] [stdout] 176 │+ } [INFO] [stdout] 161 177 │ } [INFO] [stdout] 162 │-#[doc = " Bind groups can be set individually using their set(render_pass) method, or all at once using `WgpuBindGroups::set`."] [INFO] [stdout] 163 │-#[doc = " For optimal performance with many draw calls, it's recommended to organize bindings into bind groups based on update frequency:"] [INFO] [stdout] 164 │-#[doc = " - Bind group 0: Least frequent updates (e.g. per frame resources)"] [INFO] [stdout] 165 │-#[doc = " - Bind group 1: More frequent updates"] [INFO] [stdout] 166 │-#[doc = " - Bind group 2: More frequent updates"] [INFO] [stdout] 167 │-#[doc = " - Bind group 3: Most frequent updates (e.g. per draw resources)"] [INFO] [stdout] 178 │+/// Bind groups can be set individually using their set(render_pass) method, or all at once using `WgpuBindGroups::set`. [INFO] [stdout] 179 │+/// For optimal performance with many draw calls, it's recommended to organize bindings into bind groups based on update frequency: [INFO] [stdout] 180 │+/// - Bind group 0: Least frequent updates (e.g. per frame resources) [INFO] [stdout] 181 │+/// - Bind group 1: More frequent updates [INFO] [stdout] 182 │+/// - Bind group 2: More frequent updates [INFO] [stdout] 183 │+/// - Bind group 3: Most frequent updates (e.g. per draw resources) [INFO] [stdout] 168 184 │ #[derive(Debug, Copy, Clone)] [INFO] [stdout] 169 185 │ pub struct WgpuBindGroups<'a> { [INFO] [stdout] 170 │- pub bind_group0: &'a WgpuBindGroup0, [INFO] [stdout] 171 │- pub bind_group1: &'a WgpuBindGroup1, [INFO] [stdout] 186 │+ pub bind_group0: &'a WgpuBindGroup0, [INFO] [stdout] 187 │+ pub bind_group1: &'a WgpuBindGroup1, [INFO] [stdout] 172 188 │ } [INFO] [stdout] 173 189 │ impl<'a> WgpuBindGroups<'a> { [INFO] [stdout] 174 │- pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 175 │- self.bind_group0.set(pass); [INFO] [stdout] 176 │- self.bind_group1.set(pass); [INFO] [stdout] 177 │- } [INFO] [stdout] 190 │+ pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 191 │+ self.bind_group0.set(pass); [INFO] [stdout] 192 │+ self.bind_group1.set(pass); [INFO] [stdout] 193 │+ } [INFO] [stdout] 178 194 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'generate::bind_group::tests::bind_groups_module_compute' (35) panicked at src/generate/bind_group/mod.rs:403:5: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: FileIo(Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }, "/opt/rustwide/workdir/src/generate/bind_group/snapshots/bind_groups_module_compute.snap.new") [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x60961ea1ab92 - std::backtrace_rs::backtrace::libunwind::trace::h22a6a535a50603c6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x60961ea1ab92 - std::backtrace_rs::backtrace::trace_unsynchronized::h2503a4f30dbfbaa2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x60961ea1ab92 - std::sys::backtrace::_print_fmt::hec54e31f36456895 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x60961ea1ab92 - ::fmt::hb1988e8b50fa5f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x60961ea2ee1f - core::fmt::rt::Argument::fmt::h3118a66e1a57a586 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x60961ea2ee1f - core::fmt::write::hcd056e06a609f600 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x60961e9e5671 - std::io::default_write_fmt::hdabc5d6505cb374b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x60961e9e5671 - std::io::Write::write_fmt::h18c82179fdc1f9d2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x60961e9f24d2 - std::sys::backtrace::BacktraceLock::print::h69f50ba7cfff8317 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x60961e9f820f - std::panicking::default_hook::{{closure}}::hfa978eb2255ab3ab [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x60961e9f80a1 - std::panicking::default_hook::h09da2eaf8f1deadd [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x60961e132d9e - as core::ops::function::Fn>::call::h1697e4d80f236ef6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x60961e132d9e - test::test_main_with_exit_callback::{{closure}}::h8f63929ca9fd483b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x60961e9f897f - as core::ops::function::Fn>::call::hba67e0dc3e3fc548 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x60961e9f897f - std::panicking::panic_with_hook::h13c40d280d130fd3 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x60961e9f872a - std::panicking::panic_handler::{{closure}}::hd79d22e8a1d3b951 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x60961e9f2609 - std::sys::backtrace::__rust_end_short_backtrace::h83414d1ec69cf3a6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x60961e9d8b4d - __rustc[b78aa6c7b08e5dc4]::rust_begin_unwind [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x60961ea39f00 - core::panicking::panic_fmt::h326b75cf8ee01b13 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x60961ea38be6 - core::result::unwrap_failed::h38baee32fdec5ac8 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x60961dea6453 - core::result::Result::unwrap::h4e75d443417df354 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x60961dea6453 - wgsl_bindgen::generate::bind_group::tests::bind_groups_module_compute::{{closure}}::hfd5c16e4c5fc4f65 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x60961df8c1af - insta::settings::Settings::bind::h42762fdca7817e38 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.1/src/settings.rs:509:9 [INFO] [stdout] 23: 0x60961dea5f55 - wgsl_bindgen::generate::bind_group::tests::bind_groups_module_compute::h625877125168f602 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x60961dea6027 - wgsl_bindgen::generate::bind_group::tests::bind_groups_module_compute::{{closure}}::hbd81a7f64108033b [INFO] [stdout] at /opt/rustwide/workdir/src/generate/bind_group/mod.rs:367:34 [INFO] [stdout] 25: 0x60961df3bb26 - core::ops::function::FnOnce::call_once::hb5ead9b4a9d59242 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x60961e132b7b - core::ops::function::FnOnce::call_once::he420dad47d9aac14 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x60961e132b7b - test::__rust_begin_short_backtrace::h51976f55c263f7c2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x60961e1487a5 - test::run_test_in_process::{{closure}}::h6aa4339396d33320 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x60961e1487a5 - as core::ops::function::FnOnce<()>>::call_once::h5bd0ba3863a53529 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x60961e1487a5 - std::panicking::catch_unwind::do_call::h5c710722c40c5839 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x60961e1487a5 - std::panicking::catch_unwind::hf41b5be070ce0f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x60961e1487a5 - std::panic::catch_unwind::h4559aa103e6f16d6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x60961e1487a5 - test::run_test_in_process::he6fd763a772ff213 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x60961e1487a5 - test::run_test::{{closure}}::he46f5435849feb5b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x60961e11efb4 - test::run_test::{{closure}}::h12a66289c31b502a [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x60961e11efb4 - std::sys::backtrace::__rust_begin_short_backtrace::h614a7925ed7b2f5e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x60961e12295a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hbc654088c5dbff36 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x60961e12295a - as core::ops::function::FnOnce<()>>::call_once::h3f631d2ca531b61d [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x60961e12295a - std::panicking::catch_unwind::do_call::hd2548748db0aa717 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x60961e12295a - std::panicking::catch_unwind::hf7d8620d84df48e2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x60961e12295a - std::panic::catch_unwind::hdde75b8543fcb96b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x60961e12295a - std::thread::Builder::spawn_unchecked_::{{closure}}::h991e7d03b432cf3f [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x60961e12295a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hebddb40255441657 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x60961e9ed55f - as core::ops::function::FnOnce>::call_once::h55e8930dc7db99a5 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 45: 0x60961e9ed55f - std::sys::thread::unix::Thread::new::thread_start::he23d038ee4fa004e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 46: 0x70e7dc752aa4 - [INFO] [stdout] 47: 0x70e7dc7dfa34 - clone [INFO] [stdout] 48: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- generate::bind_group::tests::bind_groups_module_fragment stdout ---- [INFO] [stdout] Warning: rustfmt formatting failed (rustfmt failed: error: 'rustfmt' is not installed for the custom toolchain '2440211fe03bc45c89b6dc1a3df18382ce91e32b'. [INFO] [stdout] note: this is a custom toolchain, which cannot use `rustup component add` [INFO] [stdout] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py` [INFO] [stdout] ), falling back to prettyplease [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/generate/bind_group/snapshots/bind_groups_module_fragment.snap [INFO] [stdout] Snapshot: bind_groups_module_fragment [INFO] [stdout] Source: src/generate/bind_group/mod.rs:532 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 0 │ #[derive(Debug)] [INFO] [stdout] 1 1 │ pub struct WgpuBindGroup0EntriesParams<'a> { [INFO] [stdout] 2 │- pub transforms: wgpu::BufferBinding<'a>, [INFO] [stdout] 2 │+ pub transforms: wgpu::BufferBinding<'a>, [INFO] [stdout] 3 3 │ } [INFO] [stdout] 4 4 │ #[derive(Clone, Debug)] [INFO] [stdout] 5 5 │ pub struct WgpuBindGroup0Entries<'a> { [INFO] [stdout] 6 │- pub transforms: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 6 │+ pub transforms: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 7 7 │ } [INFO] [stdout] 8 8 │ impl<'a> WgpuBindGroup0Entries<'a> { [INFO] [stdout] 9 │- pub fn new(params: WgpuBindGroup0EntriesParams<'a>) -> Self { [INFO] [stdout] 10 │- Self { [INFO] [stdout] 11 │- transforms: wgpu::BindGroupEntry { [INFO] [stdout] 12 │- binding: 0, [INFO] [stdout] 13 │- resource: wgpu::BindingResource::Buffer(params.transforms), [INFO] [stdout] 14 │- }, [INFO] [stdout] 9 │+ pub fn new(params: WgpuBindGroup0EntriesParams<'a>) -> Self { [INFO] [stdout] 10 │+ Self { [INFO] [stdout] 11 │+ transforms: wgpu::BindGroupEntry { [INFO] [stdout] 12 │+ binding: 0, [INFO] [stdout] 13 │+ resource: wgpu::BindingResource::Buffer(params.transforms), [INFO] [stdout] 14 │+ }, [INFO] [stdout] 15 │+ } [INFO] [stdout] 16 │+ } [INFO] [stdout] 17 │+ pub fn into_array(self) -> [wgpu::BindGroupEntry<'a>; 1] { [INFO] [stdout] 18 │+ [self.transforms] [INFO] [stdout] 19 │+ } [INFO] [stdout] 20 │+ pub fn collect>>(self) -> B { [INFO] [stdout] 21 │+ self.into_array().into_iter().collect() [INFO] [stdout] 15 22 │ } [INFO] [stdout] 16 │- } [INFO] [stdout] 17 │- pub fn into_array(self) -> [wgpu::BindGroupEntry<'a>; 1] { [INFO] [stdout] 18 │- [self.transforms] [INFO] [stdout] 19 │- } [INFO] [stdout] 20 │- pub fn collect>>(self) -> B { [INFO] [stdout] 21 │- self.into_array().into_iter().collect() [INFO] [stdout] 22 │- } [INFO] [stdout] 23 23 │ } [INFO] [stdout] 24 24 │ #[derive(Debug)] [INFO] [stdout] 25 25 │ pub struct WgpuBindGroup0(wgpu::BindGroup); [INFO] [stdout] 26 26 │ impl WgpuBindGroup0 { [INFO] [stdout] 27 │- pub const LAYOUT_DESCRIPTOR: wgpu::BindGroupLayoutDescriptor<'static> = [INFO] [stdout] 28 │- wgpu::BindGroupLayoutDescriptor { [INFO] [stdout] 29 │- label: Some("Test::BindGroup0::LayoutDescriptor"), [INFO] [stdout] 30 │- entries: &[ [INFO] [stdout] 31 │- #[doc = " @binding(0): \"transforms\""] [INFO] [stdout] 32 │- wgpu::BindGroupLayoutEntry { [INFO] [stdout] 33 │- binding: 0, [INFO] [stdout] 34 │- visibility: wgpu::ShaderStages::FRAGMENT, [INFO] [stdout] 35 │- ty: wgpu::BindingType::Buffer { [INFO] [stdout] 36 │- ty: wgpu::BufferBindingType::Uniform, [INFO] [stdout] 37 │- has_dynamic_offset: false, [INFO] [stdout] 38 │- min_binding_size: std::num::NonZeroU64::new(std::mem::size_of::< [INFO] [stdout] 39 │- _root::test::Transforms, [INFO] [stdout] 40 │- >() as _), [INFO] [stdout] 41 │- }, [INFO] [stdout] 42 │- count: None, [INFO] [stdout] 43 │- }, [INFO] [stdout] 44 │- ], [INFO] [stdout] 27 │+ pub const LAYOUT_DESCRIPTOR: wgpu::BindGroupLayoutDescriptor<'static> = wgpu::BindGroupLayoutDescriptor { [INFO] [stdout] 28 │+ label: Some("Test::BindGroup0::LayoutDescriptor"), [INFO] [stdout] 29 │+ entries: &[ [INFO] [stdout] 30 │+ /// @binding(0): "transforms" [INFO] [stdout] 31 │+ wgpu::BindGroupLayoutEntry { [INFO] [stdout] 32 │+ binding: 0, [INFO] [stdout] 33 │+ visibility: wgpu::ShaderStages::FRAGMENT, [INFO] [stdout] 34 │+ ty: wgpu::BindingType::Buffer { [INFO] [stdout] 35 │+ ty: wgpu::BufferBindingType::Uniform, [INFO] [stdout] 36 │+ has_dynamic_offset: false, [INFO] [stdout] 37 │+ min_binding_size: std::num::NonZeroU64::new( [INFO] [stdout] 38 │+ std::mem::size_of::<_root::test::Transforms>() as _, [INFO] [stdout] 39 │+ ), [INFO] [stdout] 40 │+ }, [INFO] [stdout] 41 │+ count: None, [INFO] [stdout] 42 │+ }, [INFO] [stdout] 43 │+ ], [INFO] [stdout] 45 44 │ }; [INFO] [stdout] 46 │- pub fn get_bind_group_layout(device: &wgpu::Device) -> wgpu::BindGroupLayout { [INFO] [stdout] 47 │- device.create_bind_group_layout(&Self::LAYOUT_DESCRIPTOR) [INFO] [stdout] 48 │- } [INFO] [stdout] 49 │- pub fn from_bindings(device: &wgpu::Device, bindings: WgpuBindGroup0Entries) -> Self { [INFO] [stdout] 50 │- let bind_group_layout = Self::get_bind_group_layout(device); [INFO] [stdout] 51 │- let entries = bindings.into_array(); [INFO] [stdout] 52 │- let bind_group = device.create_bind_group(&wgpu::BindGroupDescriptor { [INFO] [stdout] 53 │- label: Some("Test::BindGroup0"), [INFO] [stdout] 54 │- layout: &bind_group_layout, [INFO] [stdout] 55 │- entries: &entries, [INFO] [stdout] 56 │- }); [INFO] [stdout] 57 │- Self(bind_group) [INFO] [stdout] 58 │- } [INFO] [stdout] 59 │- pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 60 │- pass.set_bind_group(0, &self.0, &[]); [INFO] [stdout] 61 │- } [INFO] [stdout] 45 │+ pub fn get_bind_group_layout(device: &wgpu::Device) -> wgpu::BindGroupLayout { [INFO] [stdout] 46 │+ device.create_bind_group_layout(&Self::LAYOUT_DESCRIPTOR) [INFO] [stdout] 47 │+ } [INFO] [stdout] 48 │+ pub fn from_bindings( [INFO] [stdout] 49 │+ device: &wgpu::Device, [INFO] [stdout] 50 │+ bindings: WgpuBindGroup0Entries, [INFO] [stdout] 51 │+ ) -> Self { [INFO] [stdout] 52 │+ let bind_group_layout = Self::get_bind_group_layout(device); [INFO] [stdout] 53 │+ let entries = bindings.into_array(); [INFO] [stdout] 54 │+ let bind_group = device [INFO] [stdout] 55 │+ .create_bind_group( [INFO] [stdout] 56 │+ &wgpu::BindGroupDescriptor { [INFO] [stdout] 57 │+ label: Some("Test::BindGroup0"), [INFO] [stdout] 58 │+ layout: &bind_group_layout, [INFO] [stdout] 59 │+ entries: &entries, [INFO] [stdout] 60 │+ }, [INFO] [stdout] 61 │+ ); [INFO] [stdout] 62 │+ Self(bind_group) [INFO] [stdout] 63 │+ } [INFO] [stdout] 64 │+ pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 65 │+ pass.set_bind_group(0, &self.0, &[]); [INFO] [stdout] 66 │+ } [INFO] [stdout] 62 67 │ } [INFO] [stdout] 63 │-#[doc = " Bind groups can be set individually using their set(render_pass) method, or all at once using `WgpuBindGroups::set`."] [INFO] [stdout] 64 │-#[doc = " For optimal performance with many draw calls, it's recommended to organize bindings into bind groups based on update frequency:"] [INFO] [stdout] 65 │-#[doc = " - Bind group 0: Least frequent updates (e.g. per frame resources)"] [INFO] [stdout] 66 │-#[doc = " - Bind group 1: More frequent updates"] [INFO] [stdout] 67 │-#[doc = " - Bind group 2: More frequent updates"] [INFO] [stdout] 68 │-#[doc = " - Bind group 3: Most frequent updates (e.g. per draw resources)"] [INFO] [stdout] 68 │+/// Bind groups can be set individually using their set(render_pass) method, or all at once using `WgpuBindGroups::set`. [INFO] [stdout] 69 │+/// For optimal performance with many draw calls, it's recommended to organize bindings into bind groups based on update frequency: [INFO] [stdout] 70 │+/// - Bind group 0: Least frequent updates (e.g. per frame resources) [INFO] [stdout] 71 │+/// - Bind group 1: More frequent updates [INFO] [stdout] 72 │+/// - Bind group 2: More frequent updates [INFO] [stdout] 73 │+/// - Bind group 3: Most frequent updates (e.g. per draw resources) [INFO] [stdout] 69 74 │ #[derive(Debug, Copy, Clone)] [INFO] [stdout] 70 75 │ pub struct WgpuBindGroups<'a> { [INFO] [stdout] 71 │- pub bind_group0: &'a WgpuBindGroup0, [INFO] [stdout] 76 │+ pub bind_group0: &'a WgpuBindGroup0, [INFO] [stdout] 72 77 │ } [INFO] [stdout] 73 78 │ impl<'a> WgpuBindGroups<'a> { [INFO] [stdout] 74 │- pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 75 │- self.bind_group0.set(pass); [INFO] [stdout] 76 │- } [INFO] [stdout] 79 │+ pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 80 │+ self.bind_group0.set(pass); [INFO] [stdout] 81 │+ } [INFO] [stdout] 77 82 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'generate::bind_group::tests::bind_groups_module_fragment' (37) panicked at src/generate/bind_group/mod.rs:532:5: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: FileIo(Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }, "/opt/rustwide/workdir/src/generate/bind_group/snapshots/bind_groups_module_fragment.snap.new") [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x60961ea1ab92 - std::backtrace_rs::backtrace::libunwind::trace::h22a6a535a50603c6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x60961ea1ab92 - std::backtrace_rs::backtrace::trace_unsynchronized::h2503a4f30dbfbaa2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x60961ea1ab92 - std::sys::backtrace::_print_fmt::hec54e31f36456895 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x60961ea1ab92 - ::fmt::hb1988e8b50fa5f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x60961ea2ee1f - core::fmt::rt::Argument::fmt::h3118a66e1a57a586 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x60961ea2ee1f - core::fmt::write::hcd056e06a609f600 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x60961e9e5671 - std::io::default_write_fmt::hdabc5d6505cb374b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x60961e9e5671 - std::io::Write::write_fmt::h18c82179fdc1f9d2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x60961e9f24d2 - std::sys::backtrace::BacktraceLock::print::h69f50ba7cfff8317 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x60961e9f820f - std::panicking::default_hook::{{closure}}::hfa978eb2255ab3ab [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x60961e9f80a1 - std::panicking::default_hook::h09da2eaf8f1deadd [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x60961e132d9e - as core::ops::function::Fn>::call::h1697e4d80f236ef6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x60961e132d9e - test::test_main_with_exit_callback::{{closure}}::h8f63929ca9fd483b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x60961e9f897f - as core::ops::function::Fn>::call::hba67e0dc3e3fc548 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x60961e9f897f - std::panicking::panic_with_hook::h13c40d280d130fd3 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x60961e9f872a - std::panicking::panic_handler::{{closure}}::hd79d22e8a1d3b951 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x60961e9f2609 - std::sys::backtrace::__rust_end_short_backtrace::h83414d1ec69cf3a6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x60961e9d8b4d - __rustc[b78aa6c7b08e5dc4]::rust_begin_unwind [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x60961ea39f00 - core::panicking::panic_fmt::h326b75cf8ee01b13 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x60961ea38be6 - core::result::unwrap_failed::h38baee32fdec5ac8 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x60961dea6ee3 - core::result::Result::unwrap::h4e75d443417df354 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x60961dea6ee3 - wgsl_bindgen::generate::bind_group::tests::bind_groups_module_fragment::{{closure}}::hb3d6c27343c6491e [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x60961df8d6ef - insta::settings::Settings::bind::hf49d22d8cf83c130 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.1/src/settings.rs:509:9 [INFO] [stdout] 23: 0x60961dea69e5 - wgsl_bindgen::generate::bind_group::tests::bind_groups_module_fragment::hd2ffd5a5338f1661 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x60961dea6ab7 - wgsl_bindgen::generate::bind_group::tests::bind_groups_module_fragment::{{closure}}::h339c4b58a5c24ca7 [INFO] [stdout] at /opt/rustwide/workdir/src/generate/bind_group/mod.rs:503:35 [INFO] [stdout] 25: 0x60961df3b2d6 - core::ops::function::FnOnce::call_once::h7e1b7e238404b4a6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x60961e132b7b - core::ops::function::FnOnce::call_once::he420dad47d9aac14 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x60961e132b7b - test::__rust_begin_short_backtrace::h51976f55c263f7c2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x60961e1487a5 - test::run_test_in_process::{{closure}}::h6aa4339396d33320 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x60961e1487a5 - as core::ops::function::FnOnce<()>>::call_once::h5bd0ba3863a53529 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x60961e1487a5 - std::panicking::catch_unwind::do_call::h5c710722c40c5839 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x60961e1487a5 - std::panicking::catch_unwind::hf41b5be070ce0f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x60961e1487a5 - std::panic::catch_unwind::h4559aa103e6f16d6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x60961e1487a5 - test::run_test_in_process::he6fd763a772ff213 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x60961e1487a5 - test::run_test::{{closure}}::he46f5435849feb5b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x60961e11efb4 - test::run_test::{{closure}}::h12a66289c31b502a [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x60961e11efb4 - std::sys::backtrace::__rust_begin_short_backtrace::h614a7925ed7b2f5e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x60961e12295a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hbc654088c5dbff36 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x60961e12295a - as core::ops::function::FnOnce<()>>::call_once::h3f631d2ca531b61d [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x60961e12295a - std::panicking::catch_unwind::do_call::hd2548748db0aa717 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x60961e12295a - std::panicking::catch_unwind::hf7d8620d84df48e2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x60961e12295a - std::panic::catch_unwind::hdde75b8543fcb96b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x60961e12295a - std::thread::Builder::spawn_unchecked_::{{closure}}::h991e7d03b432cf3f [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x60961e12295a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hebddb40255441657 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x60961e9ed55f - as core::ops::function::FnOnce>::call_once::h55e8930dc7db99a5 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 45: 0x60961e9ed55f - std::sys::thread::unix::Thread::new::thread_start::he23d038ee4fa004e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 46: 0x70e7dc752aa4 - [INFO] [stdout] 47: 0x70e7dc7dfa34 - clone [INFO] [stdout] 48: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- generate::bind_group::tests::bind_groups_module_vertex_fragment stdout ---- [INFO] [stdout] Warning: rustfmt formatting failed (rustfmt failed: error: 'rustfmt' is not installed for the custom toolchain '2440211fe03bc45c89b6dc1a3df18382ce91e32b'. [INFO] [stdout] note: this is a custom toolchain, which cannot use `rustup component add` [INFO] [stdout] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py` [INFO] [stdout] ), falling back to prettyplease [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/generate/bind_group/snapshots/bind_groups_module_vertex_fragment.snap [INFO] [stdout] Snapshot: bind_groups_module_vertex_fragment [INFO] [stdout] Source: src/generate/bind_group/mod.rs:466 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 0 │ #[derive(Debug)] [INFO] [stdout] 1 1 │ pub struct WgpuBindGroup0EntriesParams<'a> { [INFO] [stdout] 2 │- pub color_texture: &'a wgpu::TextureView, [INFO] [stdout] 3 │- pub color_texture_i32: &'a wgpu::TextureView, [INFO] [stdout] 4 │- pub color_texture_u32: &'a wgpu::TextureView, [INFO] [stdout] 5 │- pub color_sampler: &'a wgpu::Sampler, [INFO] [stdout] 6 │- pub depth_texture: &'a wgpu::TextureView, [INFO] [stdout] 7 │- pub comparison_sampler: &'a wgpu::Sampler, [INFO] [stdout] 8 │- pub storage_tex_read: &'a wgpu::TextureView, [INFO] [stdout] 9 │- pub storage_tex_write: &'a wgpu::TextureView, [INFO] [stdout] 10 │- pub storage_tex_read_write: &'a wgpu::TextureView, [INFO] [stdout] 11 │- pub color_texture_msaa: &'a wgpu::TextureView, [INFO] [stdout] 12 │- pub depth_texture_msaa: &'a wgpu::TextureView, [INFO] [stdout] 2 │+ pub color_texture: &'a wgpu::TextureView, [INFO] [stdout] 3 │+ pub color_texture_i32: &'a wgpu::TextureView, [INFO] [stdout] 4 │+ pub color_texture_u32: &'a wgpu::TextureView, [INFO] [stdout] 5 │+ pub color_sampler: &'a wgpu::Sampler, [INFO] [stdout] 6 │+ pub depth_texture: &'a wgpu::TextureView, [INFO] [stdout] 7 │+ pub comparison_sampler: &'a wgpu::Sampler, [INFO] [stdout] 8 │+ pub storage_tex_read: &'a wgpu::TextureView, [INFO] [stdout] 9 │+ pub storage_tex_write: &'a wgpu::TextureView, [INFO] [stdout] 10 │+ pub storage_tex_read_write: &'a wgpu::TextureView, [INFO] [stdout] 11 │+ pub color_texture_msaa: &'a wgpu::TextureView, [INFO] [stdout] 12 │+ pub depth_texture_msaa: &'a wgpu::TextureView, [INFO] [stdout] 13 13 │ } [INFO] [stdout] 14 14 │ #[derive(Clone, Debug)] [INFO] [stdout] 15 15 │ pub struct WgpuBindGroup0Entries<'a> { [INFO] [stdout] 16 │- pub color_texture: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 17 │- pub color_texture_i32: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 18 │- pub color_texture_u32: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 19 │- pub color_sampler: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 20 │- pub depth_texture: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 21 │- pub comparison_sampler: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 22 │- pub storage_tex_read: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 23 │- pub storage_tex_write: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 24 │- pub storage_tex_read_write: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 25 │- pub color_texture_msaa: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 26 │- pub depth_texture_msaa: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 16 │+ pub color_texture: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 17 │+ pub color_texture_i32: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 18 │+ pub color_texture_u32: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 19 │+ pub color_sampler: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 20 │+ pub depth_texture: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 21 │+ pub comparison_sampler: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 22 │+ pub storage_tex_read: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 23 │+ pub storage_tex_write: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 24 │+ pub storage_tex_read_write: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 25 │+ pub color_texture_msaa: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 26 │+ pub depth_texture_msaa: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 27 27 │ } [INFO] [stdout] 28 28 │ impl<'a> WgpuBindGroup0Entries<'a> { [INFO] [stdout] 29 │- pub fn new(params: WgpuBindGroup0EntriesParams<'a>) -> Self { [INFO] [stdout] 30 │- Self { [INFO] [stdout] 31 │- color_texture: wgpu::BindGroupEntry { [INFO] [stdout] 32 │- binding: 0, [INFO] [stdout] 33 │- resource: wgpu::BindingResource::TextureView(params.color_texture), [INFO] [stdout] 34 │- }, [INFO] [stdout] 35 │- color_texture_i32: wgpu::BindGroupEntry { [INFO] [stdout] 36 │- binding: 1, [INFO] [stdout] 37 │- resource: wgpu::BindingResource::TextureView(params.color_texture_i32), [INFO] [stdout] 38 │- }, [INFO] [stdout] 39 │- color_texture_u32: wgpu::BindGroupEntry { [INFO] [stdout] 40 │- binding: 2, [INFO] [stdout] 41 │- resource: wgpu::BindingResource::TextureView(params.color_texture_u32), [INFO] [stdout] 42 │- }, [INFO] [stdout] 43 │- color_sampler: wgpu::BindGroupEntry { [INFO] [stdout] 44 │- binding: 3, [INFO] [stdout] 45 │- resource: wgpu::BindingResource::Sampler(params.color_sampler), [INFO] [stdout] 46 │- }, [INFO] [stdout] 47 │- depth_texture: wgpu::BindGroupEntry { [INFO] [stdout] 48 │- binding: 4, [INFO] [stdout] 49 │- resource: wgpu::BindingResource::TextureView(params.depth_texture), [INFO] [stdout] 50 │- }, [INFO] [stdout] 51 │- comparison_sampler: wgpu::BindGroupEntry { [INFO] [stdout] 52 │- binding: 5, [INFO] [stdout] 53 │- resource: wgpu::BindingResource::Sampler(params.comparison_sampler), [INFO] [stdout] 54 │- }, [INFO] [stdout] 55 │- storage_tex_read: wgpu::BindGroupEntry { [INFO] [stdout] 56 │- binding: 6, [INFO] [stdout] 57 │- resource: wgpu::BindingResource::TextureView(params.storage_tex_read), [INFO] [stdout] 58 │- }, [INFO] [stdout] 59 │- storage_tex_write: wgpu::BindGroupEntry { [INFO] [stdout] 60 │- binding: 7, [INFO] [stdout] 61 │- resource: wgpu::BindingResource::TextureView(params.storage_tex_write), [INFO] [stdout] 62 │- }, [INFO] [stdout] 63 │- storage_tex_read_write: wgpu::BindGroupEntry { [INFO] [stdout] 64 │- binding: 8, [INFO] [stdout] 65 │- resource: wgpu::BindingResource::TextureView(params.storage_tex_read_write), [INFO] [stdout] 66 │- }, [INFO] [stdout] 67 │- color_texture_msaa: wgpu::BindGroupEntry { [INFO] [stdout] 68 │- binding: 9, [INFO] [stdout] 69 │- resource: wgpu::BindingResource::TextureView(params.color_texture_msaa), [INFO] [stdout] 70 │- }, [INFO] [stdout] 71 │- depth_texture_msaa: wgpu::BindGroupEntry { [INFO] [stdout] 72 │- binding: 10, [INFO] [stdout] 73 │- resource: wgpu::BindingResource::TextureView(params.depth_texture_msaa), [INFO] [stdout] 74 │- }, [INFO] [stdout] 29 │+ pub fn new(params: WgpuBindGroup0EntriesParams<'a>) -> Self { [INFO] [stdout] 30 │+ Self { [INFO] [stdout] 31 │+ color_texture: wgpu::BindGroupEntry { [INFO] [stdout] 32 │+ binding: 0, [INFO] [stdout] 33 │+ resource: wgpu::BindingResource::TextureView(params.color_texture), [INFO] [stdout] 34 │+ }, [INFO] [stdout] 35 │+ color_texture_i32: wgpu::BindGroupEntry { [INFO] [stdout] 36 │+ binding: 1, [INFO] [stdout] 37 │+ resource: wgpu::BindingResource::TextureView(params.color_texture_i32), [INFO] [stdout] 38 │+ }, [INFO] [stdout] 39 │+ color_texture_u32: wgpu::BindGroupEntry { [INFO] [stdout] 40 │+ binding: 2, [INFO] [stdout] 41 │+ resource: wgpu::BindingResource::TextureView(params.color_texture_u32), [INFO] [stdout] 42 │+ }, [INFO] [stdout] 43 │+ color_sampler: wgpu::BindGroupEntry { [INFO] [stdout] 44 │+ binding: 3, [INFO] [stdout] 45 │+ resource: wgpu::BindingResource::Sampler(params.color_sampler), [INFO] [stdout] 46 │+ }, [INFO] [stdout] 47 │+ depth_texture: wgpu::BindGroupEntry { [INFO] [stdout] 48 │+ binding: 4, [INFO] [stdout] 49 │+ resource: wgpu::BindingResource::TextureView(params.depth_texture), [INFO] [stdout] 50 │+ }, [INFO] [stdout] 51 │+ comparison_sampler: wgpu::BindGroupEntry { [INFO] [stdout] 52 │+ binding: 5, [INFO] [stdout] 53 │+ resource: wgpu::BindingResource::Sampler(params.comparison_sampler), [INFO] [stdout] 54 │+ }, [INFO] [stdout] 55 │+ storage_tex_read: wgpu::BindGroupEntry { [INFO] [stdout] 56 │+ binding: 6, [INFO] [stdout] 57 │+ resource: wgpu::BindingResource::TextureView(params.storage_tex_read), [INFO] [stdout] 58 │+ }, [INFO] [stdout] 59 │+ storage_tex_write: wgpu::BindGroupEntry { [INFO] [stdout] 60 │+ binding: 7, [INFO] [stdout] 61 │+ resource: wgpu::BindingResource::TextureView(params.storage_tex_write), [INFO] [stdout] 62 │+ }, [INFO] [stdout] 63 │+ storage_tex_read_write: wgpu::BindGroupEntry { [INFO] [stdout] 64 │+ binding: 8, [INFO] [stdout] 65 │+ resource: wgpu::BindingResource::TextureView( [INFO] [stdout] 66 │+ params.storage_tex_read_write, [INFO] [stdout] 67 │+ ), [INFO] [stdout] 68 │+ }, [INFO] [stdout] 69 │+ color_texture_msaa: wgpu::BindGroupEntry { [INFO] [stdout] 70 │+ binding: 9, [INFO] [stdout] 71 │+ resource: wgpu::BindingResource::TextureView(params.color_texture_msaa), [INFO] [stdout] 72 │+ }, [INFO] [stdout] 73 │+ depth_texture_msaa: wgpu::BindGroupEntry { [INFO] [stdout] 74 │+ binding: 10, [INFO] [stdout] 75 │+ resource: wgpu::BindingResource::TextureView(params.depth_texture_msaa), [INFO] [stdout] 76 │+ }, [INFO] [stdout] 77 │+ } [INFO] [stdout] 78 │+ } [INFO] [stdout] 79 │+ pub fn into_array(self) -> [wgpu::BindGroupEntry<'a>; 11] { [INFO] [stdout] 80 │+ [ [INFO] [stdout] 81 │+ self.color_texture, [INFO] [stdout] 82 │+ self.color_texture_i32, [INFO] [stdout] 83 │+ self.color_texture_u32, [INFO] [stdout] 84 │+ self.color_sampler, [INFO] [stdout] 85 │+ self.depth_texture, [INFO] [stdout] 86 │+ self.comparison_sampler, [INFO] [stdout] 87 │+ self.storage_tex_read, [INFO] [stdout] 88 │+ self.storage_tex_write, [INFO] [stdout] 89 │+ self.storage_tex_read_write, [INFO] [stdout] 90 │+ self.color_texture_msaa, [INFO] [stdout] 91 │+ self.depth_texture_msaa, [INFO] [stdout] 92 │+ ] [INFO] [stdout] 93 │+ } [INFO] [stdout] 94 │+ pub fn collect>>(self) -> B { [INFO] [stdout] 95 │+ self.into_array().into_iter().collect() [INFO] [stdout] 75 96 │ } [INFO] [stdout] 76 │- } [INFO] [stdout] 77 │- pub fn into_array(self) -> [wgpu::BindGroupEntry<'a>; 11] { [INFO] [stdout] 78 │- [ [INFO] [stdout] 79 │- self.color_texture, [INFO] [stdout] 80 │- self.color_texture_i32, [INFO] [stdout] 81 │- self.color_texture_u32, [INFO] [stdout] 82 │- self.color_sampler, [INFO] [stdout] 83 │- self.depth_texture, [INFO] [stdout] 84 │- self.comparison_sampler, [INFO] [stdout] 85 │- self.storage_tex_read, [INFO] [stdout] 86 │- self.storage_tex_write, [INFO] [stdout] 87 │- self.storage_tex_read_write, [INFO] [stdout] 88 │- self.color_texture_msaa, [INFO] [stdout] 89 │- self.depth_texture_msaa, [INFO] [stdout] 90 │- ] [INFO] [stdout] 91 │- } [INFO] [stdout] 92 │- pub fn collect>>(self) -> B { [INFO] [stdout] 93 │- self.into_array().into_iter().collect() [INFO] [stdout] 94 │- } [INFO] [stdout] 95 97 │ } [INFO] [stdout] 96 98 │ #[derive(Debug)] [INFO] [stdout] 97 99 │ pub struct WgpuBindGroup0(wgpu::BindGroup); [INFO] [stdout] 98 100 │ impl WgpuBindGroup0 { [INFO] [stdout] 99 │- pub const LAYOUT_DESCRIPTOR: wgpu::BindGroupLayoutDescriptor<'static> = [INFO] [stdout] 100 │- wgpu::BindGroupLayoutDescriptor { [INFO] [stdout] 101 │- label: Some("Test::BindGroup0::LayoutDescriptor"), [INFO] [stdout] 102 │- entries: &[ [INFO] [stdout] 103 │- #[doc = " @binding(0): \"color_texture\""] [INFO] [stdout] 104 │- wgpu::BindGroupLayoutEntry { [INFO] [stdout] 105 │- binding: 0, [INFO] [stdout] 106 │- visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 107 │- ty: wgpu::BindingType::Texture { [INFO] [stdout] 108 │- sample_type: wgpu::TextureSampleType::Float { filterable: true }, [INFO] [stdout] 109 │- view_dimension: wgpu::TextureViewDimension::D2, [INFO] [stdout] 110 │- multisampled: false, [INFO] [stdout] 111 │- }, [INFO] [stdout] 112 │- count: None, [INFO] [stdout] 113 │- }, [INFO] [stdout] 114 │- #[doc = " @binding(1): \"color_texture_i32\""] [INFO] [stdout] 115 │- wgpu::BindGroupLayoutEntry { [INFO] [stdout] 116 │- binding: 1, [INFO] [stdout] 117 │- visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 118 │- ty: wgpu::BindingType::Texture { [INFO] [stdout] 119 │- sample_type: wgpu::TextureSampleType::Sint, [INFO] [stdout] 120 │- view_dimension: wgpu::TextureViewDimension::D2, [INFO] [stdout] 121 │- multisampled: false, [INFO] [stdout] 122 │- }, [INFO] [stdout] 123 │- count: None, [INFO] [stdout] 124 │- }, [INFO] [stdout] 125 │- #[doc = " @binding(2): \"color_texture_u32\""] [INFO] [stdout] 126 │- wgpu::BindGroupLayoutEntry { [INFO] [stdout] 127 │- binding: 2, [INFO] [stdout] 128 │- visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 129 │- ty: wgpu::BindingType::Texture { [INFO] [stdout] 130 │- sample_type: wgpu::TextureSampleType::Uint, [INFO] [stdout] 131 │- view_dimension: wgpu::TextureViewDimension::D2, [INFO] [stdout] 132 │- multisampled: false, [INFO] [stdout] 133 │- }, [INFO] [stdout] 134 │- count: None, [INFO] [stdout] 135 │- }, [INFO] [stdout] 136 │- #[doc = " @binding(3): \"color_sampler\""] [INFO] [stdout] 137 │- wgpu::BindGroupLayoutEntry { [INFO] [stdout] 138 │- binding: 3, [INFO] [stdout] 139 │- visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 140 │- ty: wgpu::BindingType::Sampler(wgpu::SamplerBindingType::Filtering), [INFO] [stdout] 141 │- count: None, [INFO] [stdout] 142 │- }, [INFO] [stdout] 143 │- #[doc = " @binding(4): \"depth_texture\""] [INFO] [stdout] 144 │- wgpu::BindGroupLayoutEntry { [INFO] [stdout] 145 │- binding: 4, [INFO] [stdout] 146 │- visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 147 │- ty: wgpu::BindingType::Texture { [INFO] [stdout] 148 │- sample_type: wgpu::TextureSampleType::Depth, [INFO] [stdout] 149 │- view_dimension: wgpu::TextureViewDimension::D2, [INFO] [stdout] 150 │- multisampled: false, [INFO] [stdout] 151 │- }, [INFO] [stdout] 152 │- count: None, [INFO] [stdout] 153 │- }, [INFO] [stdout] 154 │- #[doc = " @binding(5): \"comparison_sampler\""] [INFO] [stdout] 155 │- wgpu::BindGroupLayoutEntry { [INFO] [stdout] 156 │- binding: 5, [INFO] [stdout] 157 │- visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 158 │- ty: wgpu::BindingType::Sampler(wgpu::SamplerBindingType::Comparison), [INFO] [stdout] 159 │- count: None, [INFO] [stdout] 160 │- }, [INFO] [stdout] 161 │- #[doc = " @binding(6): \"storage_tex_read\""] [INFO] [stdout] 162 │- wgpu::BindGroupLayoutEntry { [INFO] [stdout] 163 │- binding: 6, [INFO] [stdout] 164 │- visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 165 │- ty: wgpu::BindingType::StorageTexture { [INFO] [stdout] 166 │- access: wgpu::StorageTextureAccess::ReadOnly, [INFO] [stdout] 167 │- format: wgpu::TextureFormat::R32Float, [INFO] [stdout] 168 │- view_dimension: wgpu::TextureViewDimension::D2, [INFO] [stdout] 169 │- }, [INFO] [stdout] 170 │- count: None, [INFO] [stdout] 171 │- }, [INFO] [stdout] 172 │- #[doc = " @binding(7): \"storage_tex_write\""] [INFO] [stdout] 173 │- wgpu::BindGroupLayoutEntry { [INFO] [stdout] 174 │- binding: 7, [INFO] [stdout] 175 │- visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 176 │- ty: wgpu::BindingType::StorageTexture { [INFO] [stdout] 177 │- access: wgpu::StorageTextureAccess::WriteOnly, [INFO] [stdout] 178 │- format: wgpu::TextureFormat::Rg32Sint, [INFO] [stdout] 179 │- view_dimension: wgpu::TextureViewDimension::D2, [INFO] [stdout] 180 │- }, [INFO] [stdout] 181 │- count: None, [INFO] [stdout] 182 │- }, [INFO] [stdout] 183 │- #[doc = " @binding(8): \"storage_tex_read_write\""] [INFO] [stdout] 184 │- wgpu::BindGroupLayoutEntry { [INFO] [stdout] 185 │- binding: 8, [INFO] [stdout] 186 │- visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 187 │- ty: wgpu::BindingType::StorageTexture { [INFO] [stdout] 188 │- access: wgpu::StorageTextureAccess::ReadWrite, [INFO] [stdout] 189 │- format: wgpu::TextureFormat::Rgba8Uint, [INFO] [stdout] 190 │- view_dimension: wgpu::TextureViewDimension::D2, [INFO] [stdout] 191 │- }, [INFO] [stdout] 192 │- count: None, [INFO] [stdout] 193 │- }, [INFO] [stdout] 194 │- #[doc = " @binding(9): \"color_texture_msaa\""] [INFO] [stdout] 195 │- wgpu::BindGroupLayoutEntry { [INFO] [stdout] 196 │- binding: 9, [INFO] [stdout] 197 │- visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 198 │- ty: wgpu::BindingType::Texture { [INFO] [stdout] 199 │- sample_type: wgpu::TextureSampleType::Float { filterable: true }, [INFO] [stdout] 200 │- view_dimension: wgpu::TextureViewDimension::D2, [INFO] [stdout] 201 │- multisampled: true, [INFO] [stdout] 202 │- }, [INFO] [stdout] 203 │- count: None, [INFO] [stdout] 204 │- }, [INFO] [stdout] 205 │- #[doc = " @binding(10): \"depth_texture_msaa\""] [INFO] [stdout] 206 │- wgpu::BindGroupLayoutEntry { [INFO] [stdout] 207 │- binding: 10, [INFO] [stdout] 208 │- visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 209 │- ty: wgpu::BindingType::Texture { [INFO] [stdout] 210 │- sample_type: wgpu::TextureSampleType::Depth, [INFO] [stdout] 211 │- view_dimension: wgpu::TextureViewDimension::D2, [INFO] [stdout] 212 │- multisampled: true, [INFO] [stdout] 213 │- }, [INFO] [stdout] 214 │- count: None, [INFO] [stdout] 215 │- }, [INFO] [stdout] 216 │- ], [INFO] [stdout] 101 │+ pub const LAYOUT_DESCRIPTOR: wgpu::BindGroupLayoutDescriptor<'static> = wgpu::BindGroupLayoutDescriptor { [INFO] [stdout] 102 │+ label: Some("Test::BindGroup0::LayoutDescriptor"), [INFO] [stdout] 103 │+ entries: &[ [INFO] [stdout] 104 │+ /// @binding(0): "color_texture" [INFO] [stdout] 105 │+ wgpu::BindGroupLayoutEntry { [INFO] [stdout] 106 │+ binding: 0, [INFO] [stdout] 107 │+ visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 108 │+ ty: wgpu::BindingType::Texture { [INFO] [stdout] 109 │+ sample_type: wgpu::TextureSampleType::Float { [INFO] [stdout] 110 │+ filterable: true, [INFO] [stdout] 111 │+ }, [INFO] [stdout] 112 │+ view_dimension: wgpu::TextureViewDimension::D2, [INFO] [stdout] 113 │+ multisampled: false, [INFO] [stdout] 114 │+ }, [INFO] [stdout] 115 │+ count: None, [INFO] [stdout] 116 │+ }, [INFO] [stdout] 117 │+ /// @binding(1): "color_texture_i32" [INFO] [stdout] 118 │+ wgpu::BindGroupLayoutEntry { [INFO] [stdout] 119 │+ binding: 1, [INFO] [stdout] 120 │+ visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 121 │+ ty: wgpu::BindingType::Texture { [INFO] [stdout] 122 │+ sample_type: wgpu::TextureSampleType::Sint, [INFO] [stdout] 123 │+ view_dimension: wgpu::TextureViewDimension::D2, [INFO] [stdout] 124 │+ multisampled: false, [INFO] [stdout] 125 │+ }, [INFO] [stdout] 126 │+ count: None, [INFO] [stdout] 127 │+ }, [INFO] [stdout] 128 │+ /// @binding(2): "color_texture_u32" [INFO] [stdout] 129 │+ wgpu::BindGroupLayoutEntry { [INFO] [stdout] 130 │+ binding: 2, [INFO] [stdout] 131 │+ visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 132 │+ ty: wgpu::BindingType::Texture { [INFO] [stdout] 133 │+ sample_type: wgpu::TextureSampleType::Uint, [INFO] [stdout] 134 │+ view_dimension: wgpu::TextureViewDimension::D2, [INFO] [stdout] 135 │+ multisampled: false, [INFO] [stdout] 136 │+ }, [INFO] [stdout] 137 │+ count: None, [INFO] [stdout] 138 │+ }, [INFO] [stdout] 139 │+ /// @binding(3): "color_sampler" [INFO] [stdout] 140 │+ wgpu::BindGroupLayoutEntry { [INFO] [stdout] 141 │+ binding: 3, [INFO] [stdout] 142 │+ visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 143 │+ ty: wgpu::BindingType::Sampler(wgpu::SamplerBindingType::Filtering), [INFO] [stdout] 144 │+ count: None, [INFO] [stdout] 145 │+ }, [INFO] [stdout] 146 │+ /// @binding(4): "depth_texture" [INFO] [stdout] 147 │+ wgpu::BindGroupLayoutEntry { [INFO] [stdout] 148 │+ binding: 4, [INFO] [stdout] 149 │+ visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 150 │+ ty: wgpu::BindingType::Texture { [INFO] [stdout] 151 │+ sample_type: wgpu::TextureSampleType::Depth, [INFO] [stdout] 152 │+ view_dimension: wgpu::TextureViewDimension::D2, [INFO] [stdout] 153 │+ multisampled: false, [INFO] [stdout] 154 │+ }, [INFO] [stdout] 155 │+ count: None, [INFO] [stdout] 156 │+ }, [INFO] [stdout] 157 │+ /// @binding(5): "comparison_sampler" [INFO] [stdout] 158 │+ wgpu::BindGroupLayoutEntry { [INFO] [stdout] 159 │+ binding: 5, [INFO] [stdout] 160 │+ visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 161 │+ ty: wgpu::BindingType::Sampler(wgpu::SamplerBindingType::Comparison), [INFO] [stdout] 162 │+ count: None, [INFO] [stdout] 163 │+ }, [INFO] [stdout] 164 │+ /// @binding(6): "storage_tex_read" [INFO] [stdout] 165 │+ wgpu::BindGroupLayoutEntry { [INFO] [stdout] 166 │+ binding: 6, [INFO] [stdout] 167 │+ visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 168 │+ ty: wgpu::BindingType::StorageTexture { [INFO] [stdout] 169 │+ access: wgpu::StorageTextureAccess::ReadOnly, [INFO] [stdout] 170 │+ format: wgpu::TextureFormat::R32Float, [INFO] [stdout] 171 │+ view_dimension: wgpu::TextureViewDimension::D2, [INFO] [stdout] 172 │+ }, [INFO] [stdout] 173 │+ count: None, [INFO] [stdout] 174 │+ }, [INFO] [stdout] 175 │+ /// @binding(7): "storage_tex_write" [INFO] [stdout] 176 │+ wgpu::BindGroupLayoutEntry { [INFO] [stdout] 177 │+ binding: 7, [INFO] [stdout] 178 │+ visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 179 │+ ty: wgpu::BindingType::StorageTexture { [INFO] [stdout] 180 │+ access: wgpu::StorageTextureAccess::WriteOnly, [INFO] [stdout] 181 │+ format: wgpu::TextureFormat::Rg32Sint, [INFO] [stdout] 182 │+ view_dimension: wgpu::TextureViewDimension::D2, [INFO] [stdout] 183 │+ }, [INFO] [stdout] 184 │+ count: None, [INFO] [stdout] 185 │+ }, [INFO] [stdout] 186 │+ /// @binding(8): "storage_tex_read_write" [INFO] [stdout] 187 │+ wgpu::BindGroupLayoutEntry { [INFO] [stdout] 188 │+ binding: 8, [INFO] [stdout] 189 │+ visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 190 │+ ty: wgpu::BindingType::StorageTexture { [INFO] [stdout] 191 │+ access: wgpu::StorageTextureAccess::ReadWrite, [INFO] [stdout] 192 │+ format: wgpu::TextureFormat::Rgba8Uint, [INFO] [stdout] 193 │+ view_dimension: wgpu::TextureViewDimension::D2, [INFO] [stdout] 194 │+ }, [INFO] [stdout] 195 │+ count: None, [INFO] [stdout] 196 │+ }, [INFO] [stdout] 197 │+ /// @binding(9): "color_texture_msaa" [INFO] [stdout] 198 │+ wgpu::BindGroupLayoutEntry { [INFO] [stdout] 199 │+ binding: 9, [INFO] [stdout] 200 │+ visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 201 │+ ty: wgpu::BindingType::Texture { [INFO] [stdout] 202 │+ sample_type: wgpu::TextureSampleType::Float { [INFO] [stdout] 203 │+ filterable: true, [INFO] [stdout] 204 │+ }, [INFO] [stdout] 205 │+ view_dimension: wgpu::TextureViewDimension::D2, [INFO] [stdout] 206 │+ multisampled: true, [INFO] [stdout] 207 │+ }, [INFO] [stdout] 208 │+ count: None, [INFO] [stdout] 209 │+ }, [INFO] [stdout] 210 │+ /// @binding(10): "depth_texture_msaa" [INFO] [stdout] 211 │+ wgpu::BindGroupLayoutEntry { [INFO] [stdout] 212 │+ binding: 10, [INFO] [stdout] 213 │+ visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 214 │+ ty: wgpu::BindingType::Texture { [INFO] [stdout] 215 │+ sample_type: wgpu::TextureSampleType::Depth, [INFO] [stdout] 216 │+ view_dimension: wgpu::TextureViewDimension::D2, [INFO] [stdout] 217 │+ multisampled: true, [INFO] [stdout] 218 │+ }, [INFO] [stdout] 219 │+ count: None, [INFO] [stdout] 220 │+ }, [INFO] [stdout] 221 │+ ], [INFO] [stdout] 217 222 │ }; [INFO] [stdout] 218 │- pub fn get_bind_group_layout(device: &wgpu::Device) -> wgpu::BindGroupLayout { [INFO] [stdout] 219 │- device.create_bind_group_layout(&Self::LAYOUT_DESCRIPTOR) [INFO] [stdout] 220 │- } [INFO] [stdout] 221 │- pub fn from_bindings(device: &wgpu::Device, bindings: WgpuBindGroup0Entries) -> Self { [INFO] [stdout] 222 │- let bind_group_layout = Self::get_bind_group_layout(device); [INFO] [stdout] 223 │- let entries = bindings.into_array(); [INFO] [stdout] 224 │- let bind_group = device.create_bind_group(&wgpu::BindGroupDescriptor { [INFO] [stdout] 225 │- label: Some("Test::BindGroup0"), [INFO] [stdout] 226 │- layout: &bind_group_layout, [INFO] [stdout] 227 │- entries: &entries, [INFO] [stdout] 228 │- }); [INFO] [stdout] 229 │- Self(bind_group) [INFO] [stdout] 230 │- } [INFO] [stdout] 231 │- pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 232 │- pass.set_bind_group(0, &self.0, &[]); [INFO] [stdout] 233 │- } [INFO] [stdout] 223 │+ pub fn get_bind_group_layout(device: &wgpu::Device) -> wgpu::BindGroupLayout { [INFO] [stdout] 224 │+ device.create_bind_group_layout(&Self::LAYOUT_DESCRIPTOR) [INFO] [stdout] 225 │+ } [INFO] [stdout] 226 │+ pub fn from_bindings( [INFO] [stdout] 227 │+ device: &wgpu::Device, [INFO] [stdout] 228 │+ bindings: WgpuBindGroup0Entries, [INFO] [stdout] 229 │+ ) -> Self { [INFO] [stdout] 230 │+ let bind_group_layout = Self::get_bind_group_layout(device); [INFO] [stdout] 231 │+ let entries = bindings.into_array(); [INFO] [stdout] 232 │+ let bind_group = device [INFO] [stdout] 233 │+ .create_bind_group( [INFO] [stdout] 234 │+ &wgpu::BindGroupDescriptor { [INFO] [stdout] 235 │+ label: Some("Test::BindGroup0"), [INFO] [stdout] 236 │+ layout: &bind_group_layout, [INFO] [stdout] 237 │+ entries: &entries, [INFO] [stdout] 238 │+ }, [INFO] [stdout] 239 │+ ); [INFO] [stdout] 240 │+ Self(bind_group) [INFO] [stdout] 241 │+ } [INFO] [stdout] 242 │+ pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 243 │+ pass.set_bind_group(0, &self.0, &[]); [INFO] [stdout] 244 │+ } [INFO] [stdout] 234 245 │ } [INFO] [stdout] 235 246 │ #[derive(Debug)] [INFO] [stdout] 236 247 │ pub struct WgpuBindGroup1EntriesParams<'a> { [INFO] [stdout] 237 │- pub transforms: wgpu::BufferBinding<'a>, [INFO] [stdout] 238 │- pub one: wgpu::BufferBinding<'a>, [INFO] [stdout] 248 │+ pub transforms: wgpu::BufferBinding<'a>, [INFO] [stdout] 249 │+ pub one: wgpu::BufferBinding<'a>, [INFO] [stdout] 239 250 │ } [INFO] [stdout] 240 251 │ #[derive(Clone, Debug)] [INFO] [stdout] 241 252 │ pub struct WgpuBindGroup1Entries<'a> { [INFO] [stdout] 242 │- pub transforms: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 243 │- pub one: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 253 │+ pub transforms: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 254 │+ pub one: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 244 255 │ } [INFO] [stdout] 245 256 │ impl<'a> WgpuBindGroup1Entries<'a> { [INFO] [stdout] 246 │- pub fn new(params: WgpuBindGroup1EntriesParams<'a>) -> Self { [INFO] [stdout] 247 │- Self { [INFO] [stdout] 248 │- transforms: wgpu::BindGroupEntry { [INFO] [stdout] 249 │- binding: 0, [INFO] [stdout] 250 │- resource: wgpu::BindingResource::Buffer(params.transforms), [INFO] [stdout] 251 │- }, [INFO] [stdout] 252 │- one: wgpu::BindGroupEntry { [INFO] [stdout] 253 │- binding: 1, [INFO] [stdout] 254 │- resource: wgpu::BindingResource::Buffer(params.one), [INFO] [stdout] 255 │- }, [INFO] [stdout] 257 │+ pub fn new(params: WgpuBindGroup1EntriesParams<'a>) -> Self { [INFO] [stdout] 258 │+ Self { [INFO] [stdout] 259 │+ transforms: wgpu::BindGroupEntry { [INFO] [stdout] 260 │+ binding: 0, [INFO] [stdout] 261 │+ resource: wgpu::BindingResource::Buffer(params.transforms), [INFO] [stdout] 262 │+ }, [INFO] [stdout] 263 │+ one: wgpu::BindGroupEntry { [INFO] [stdout] 264 │+ binding: 1, [INFO] [stdout] 265 │+ resource: wgpu::BindingResource::Buffer(params.one), [INFO] [stdout] 266 │+ }, [INFO] [stdout] 267 │+ } [INFO] [stdout] 268 │+ } [INFO] [stdout] 269 │+ pub fn into_array(self) -> [wgpu::BindGroupEntry<'a>; 2] { [INFO] [stdout] 270 │+ [self.transforms, self.one] [INFO] [stdout] 271 │+ } [INFO] [stdout] 272 │+ pub fn collect>>(self) -> B { [INFO] [stdout] 273 │+ self.into_array().into_iter().collect() [INFO] [stdout] 256 274 │ } [INFO] [stdout] 257 │- } [INFO] [stdout] 258 │- pub fn into_array(self) -> [wgpu::BindGroupEntry<'a>; 2] { [INFO] [stdout] 259 │- [self.transforms, self.one] [INFO] [stdout] 260 │- } [INFO] [stdout] 261 │- pub fn collect>>(self) -> B { [INFO] [stdout] 262 │- self.into_array().into_iter().collect() [INFO] [stdout] 263 │- } [INFO] [stdout] 264 275 │ } [INFO] [stdout] 265 276 │ #[derive(Debug)] [INFO] [stdout] 266 277 │ pub struct WgpuBindGroup1(wgpu::BindGroup); [INFO] [stdout] 267 278 │ impl WgpuBindGroup1 { [INFO] [stdout] 268 │- pub const LAYOUT_DESCRIPTOR: wgpu::BindGroupLayoutDescriptor<'static> = [INFO] [stdout] 269 │- wgpu::BindGroupLayoutDescriptor { [INFO] [stdout] 270 │- label: Some("Test::BindGroup1::LayoutDescriptor"), [INFO] [stdout] 271 │- entries: &[ [INFO] [stdout] 272 │- #[doc = " @binding(0): \"transforms\""] [INFO] [stdout] 273 │- wgpu::BindGroupLayoutEntry { [INFO] [stdout] 274 │- binding: 0, [INFO] [stdout] 275 │- visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 276 │- ty: wgpu::BindingType::Buffer { [INFO] [stdout] 277 │- ty: wgpu::BufferBindingType::Uniform, [INFO] [stdout] 278 │- has_dynamic_offset: false, [INFO] [stdout] 279 │- min_binding_size: std::num::NonZeroU64::new(std::mem::size_of::< [INFO] [stdout] 280 │- _root::test::Transforms, [INFO] [stdout] 281 │- >() as _), [INFO] [stdout] 282 │- }, [INFO] [stdout] 283 │- count: None, [INFO] [stdout] 284 │- }, [INFO] [stdout] 285 │- #[doc = " @binding(1): \"one\""] [INFO] [stdout] 286 │- wgpu::BindGroupLayoutEntry { [INFO] [stdout] 287 │- binding: 1, [INFO] [stdout] 288 │- visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 289 │- ty: wgpu::BindingType::Buffer { [INFO] [stdout] 290 │- ty: wgpu::BufferBindingType::Uniform, [INFO] [stdout] 291 │- has_dynamic_offset: false, [INFO] [stdout] 292 │- min_binding_size: std::num::NonZeroU64::new(std::mem::size_of::() as _), [INFO] [stdout] 293 │- }, [INFO] [stdout] 294 │- count: None, [INFO] [stdout] 295 │- }, [INFO] [stdout] 296 │- ], [INFO] [stdout] 279 │+ pub const LAYOUT_DESCRIPTOR: wgpu::BindGroupLayoutDescriptor<'static> = wgpu::BindGroupLayoutDescriptor { [INFO] [stdout] 280 │+ label: Some("Test::BindGroup1::LayoutDescriptor"), [INFO] [stdout] 281 │+ entries: &[ [INFO] [stdout] 282 │+ /// @binding(0): "transforms" [INFO] [stdout] 283 │+ wgpu::BindGroupLayoutEntry { [INFO] [stdout] 284 │+ binding: 0, [INFO] [stdout] 285 │+ visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 286 │+ ty: wgpu::BindingType::Buffer { [INFO] [stdout] 287 │+ ty: wgpu::BufferBindingType::Uniform, [INFO] [stdout] 288 │+ has_dynamic_offset: false, [INFO] [stdout] 289 │+ min_binding_size: std::num::NonZeroU64::new( [INFO] [stdout] 290 │+ std::mem::size_of::<_root::test::Transforms>() as _, [INFO] [stdout] 291 │+ ), [INFO] [stdout] 292 │+ }, [INFO] [stdout] 293 │+ count: None, [INFO] [stdout] 294 │+ }, [INFO] [stdout] 295 │+ /// @binding(1): "one" [INFO] [stdout] 296 │+ wgpu::BindGroupLayoutEntry { [INFO] [stdout] 297 │+ binding: 1, [INFO] [stdout] 298 │+ visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 299 │+ ty: wgpu::BindingType::Buffer { [INFO] [stdout] 300 │+ ty: wgpu::BufferBindingType::Uniform, [INFO] [stdout] 301 │+ has_dynamic_offset: false, [INFO] [stdout] 302 │+ min_binding_size: std::num::NonZeroU64::new( [INFO] [stdout] 303 │+ std::mem::size_of::() as _, [INFO] [stdout] 304 │+ ), [INFO] [stdout] 305 │+ }, [INFO] [stdout] 306 │+ count: None, [INFO] [stdout] 307 │+ }, [INFO] [stdout] 308 │+ ], [INFO] [stdout] 297 309 │ }; [INFO] [stdout] 298 │- pub fn get_bind_group_layout(device: &wgpu::Device) -> wgpu::BindGroupLayout { [INFO] [stdout] 299 │- device.create_bind_group_layout(&Self::LAYOUT_DESCRIPTOR) [INFO] [stdout] 300 │- } [INFO] [stdout] 301 │- pub fn from_bindings(device: &wgpu::Device, bindings: WgpuBindGroup1Entries) -> Self { [INFO] [stdout] 302 │- let bind_group_layout = Self::get_bind_group_layout(device); [INFO] [stdout] 303 │- let entries = bindings.into_array(); [INFO] [stdout] 304 │- let bind_group = device.create_bind_group(&wgpu::BindGroupDescriptor { [INFO] [stdout] 305 │- label: Some("Test::BindGroup1"), [INFO] [stdout] 306 │- layout: &bind_group_layout, [INFO] [stdout] 307 │- entries: &entries, [INFO] [stdout] 308 │- }); [INFO] [stdout] 309 │- Self(bind_group) [INFO] [stdout] 310 │- } [INFO] [stdout] 311 │- pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 312 │- pass.set_bind_group(1, &self.0, &[]); [INFO] [stdout] 313 │- } [INFO] [stdout] 310 │+ pub fn get_bind_group_layout(device: &wgpu::Device) -> wgpu::BindGroupLayout { [INFO] [stdout] 311 │+ device.create_bind_group_layout(&Self::LAYOUT_DESCRIPTOR) [INFO] [stdout] 312 │+ } [INFO] [stdout] 313 │+ pub fn from_bindings( [INFO] [stdout] 314 │+ device: &wgpu::Device, [INFO] [stdout] 315 │+ bindings: WgpuBindGroup1Entries, [INFO] [stdout] 316 │+ ) -> Self { [INFO] [stdout] 317 │+ let bind_group_layout = Self::get_bind_group_layout(device); [INFO] [stdout] 318 │+ let entries = bindings.into_array(); [INFO] [stdout] 319 │+ let bind_group = device [INFO] [stdout] 320 │+ .create_bind_group( [INFO] [stdout] 321 │+ &wgpu::BindGroupDescriptor { [INFO] [stdout] 322 │+ label: Some("Test::BindGroup1"), [INFO] [stdout] 323 │+ layout: &bind_group_layout, [INFO] [stdout] 324 │+ entries: &entries, [INFO] [stdout] 325 │+ }, [INFO] [stdout] 326 │+ ); [INFO] [stdout] 327 │+ Self(bind_group) [INFO] [stdout] 328 │+ } [INFO] [stdout] 329 │+ pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 330 │+ pass.set_bind_group(1, &self.0, &[]); [INFO] [stdout] 331 │+ } [INFO] [stdout] 314 332 │ } [INFO] [stdout] 315 │-#[doc = " Bind groups can be set individually using their set(render_pass) method, or all at once using `WgpuBindGroups::set`."] [INFO] [stdout] 316 │-#[doc = " For optimal performance with many draw calls, it's recommended to organize bindings into bind groups based on update frequency:"] [INFO] [stdout] 317 │-#[doc = " - Bind group 0: Least frequent updates (e.g. per frame resources)"] [INFO] [stdout] 318 │-#[doc = " - Bind group 1: More frequent updates"] [INFO] [stdout] 319 │-#[doc = " - Bind group 2: More frequent updates"] [INFO] [stdout] 320 │-#[doc = " - Bind group 3: Most frequent updates (e.g. per draw resources)"] [INFO] [stdout] 333 │+/// Bind groups can be set individually using their set(render_pass) method, or all at once using `WgpuBindGroups::set`. [INFO] [stdout] 334 │+/// For optimal performance with many draw calls, it's recommended to organize bindings into bind groups based on update frequency: [INFO] [stdout] 335 │+/// - Bind group 0: Least frequent updates (e.g. per frame resources) [INFO] [stdout] 336 │+/// - Bind group 1: More frequent updates [INFO] [stdout] 337 │+/// - Bind group 2: More frequent updates [INFO] [stdout] 338 │+/// - Bind group 3: Most frequent updates (e.g. per draw resources) [INFO] [stdout] 321 339 │ #[derive(Debug, Copy, Clone)] [INFO] [stdout] 322 340 │ pub struct WgpuBindGroups<'a> { [INFO] [stdout] 323 │- pub bind_group0: &'a WgpuBindGroup0, [INFO] [stdout] 324 │- pub bind_group1: &'a WgpuBindGroup1, [INFO] [stdout] 341 │+ pub bind_group0: &'a WgpuBindGroup0, [INFO] [stdout] 342 │+ pub bind_group1: &'a WgpuBindGroup1, [INFO] [stdout] 325 343 │ } [INFO] [stdout] 326 344 │ impl<'a> WgpuBindGroups<'a> { [INFO] [stdout] 327 │- pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 328 │- self.bind_group0.set(pass); [INFO] [stdout] 329 │- self.bind_group1.set(pass); [INFO] [stdout] 330 │- } [INFO] [stdout] 345 │+ pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 346 │+ self.bind_group0.set(pass); [INFO] [stdout] 347 │+ self.bind_group1.set(pass); [INFO] [stdout] 348 │+ } [INFO] [stdout] 331 349 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'generate::bind_group::tests::bind_groups_module_vertex_fragment' (91) panicked at src/generate/bind_group/mod.rs:466:5: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: FileIo(Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }, "/opt/rustwide/workdir/src/generate/bind_group/snapshots/bind_groups_module_vertex_fragment.snap.new") [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x60961ea1ab92 - std::backtrace_rs::backtrace::libunwind::trace::h22a6a535a50603c6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x60961ea1ab92 - std::backtrace_rs::backtrace::trace_unsynchronized::h2503a4f30dbfbaa2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x60961ea1ab92 - std::sys::backtrace::_print_fmt::hec54e31f36456895 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x60961ea1ab92 - ::fmt::hb1988e8b50fa5f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x60961ea2ee1f - core::fmt::rt::Argument::fmt::h3118a66e1a57a586 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x60961ea2ee1f - core::fmt::write::hcd056e06a609f600 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x60961e9e5671 - std::io::default_write_fmt::hdabc5d6505cb374b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x60961e9e5671 - std::io::Write::write_fmt::h18c82179fdc1f9d2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x60961e9f24d2 - std::sys::backtrace::BacktraceLock::print::h69f50ba7cfff8317 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x60961e9f820f - std::panicking::default_hook::{{closure}}::hfa978eb2255ab3ab [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x60961e9f80a1 - std::panicking::default_hook::h09da2eaf8f1deadd [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x60961e132d9e - as core::ops::function::Fn>::call::h1697e4d80f236ef6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x60961e132d9e - test::test_main_with_exit_callback::{{closure}}::h8f63929ca9fd483b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x60961e9f897f - as core::ops::function::Fn>::call::hba67e0dc3e3fc548 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x60961e9f897f - std::panicking::panic_with_hook::h13c40d280d130fd3 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x60961e9f872a - std::panicking::panic_handler::{{closure}}::hd79d22e8a1d3b951 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x60961e9f2609 - std::sys::backtrace::__rust_end_short_backtrace::h83414d1ec69cf3a6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x60961e9d8b4d - __rustc[b78aa6c7b08e5dc4]::rust_begin_unwind [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x60961ea39f00 - core::panicking::panic_fmt::h326b75cf8ee01b13 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x60961ea38be6 - core::result::unwrap_failed::h38baee32fdec5ac8 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x60961dea89a3 - core::result::Result::unwrap::h4e75d443417df354 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x60961dea89a3 - wgsl_bindgen::generate::bind_group::tests::bind_groups_module_vertex_fragment::{{closure}}::h4fa6414df019ceec [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x60961df8d64f - insta::settings::Settings::bind::hf35f0ed776982fb1 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.1/src/settings.rs:509:9 [INFO] [stdout] 23: 0x60961dea84d5 - wgsl_bindgen::generate::bind_group::tests::bind_groups_module_vertex_fragment::h6f67f8a19955092c [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x60961dea8a97 - wgsl_bindgen::generate::bind_group::tests::bind_groups_module_vertex_fragment::{{closure}}::h9c6ca7debe4aee10 [INFO] [stdout] at /opt/rustwide/workdir/src/generate/bind_group/mod.rs:407:42 [INFO] [stdout] 25: 0x60961df3b676 - core::ops::function::FnOnce::call_once::ha3648f0aeece897c [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x60961e132b7b - core::ops::function::FnOnce::call_once::he420dad47d9aac14 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x60961e132b7b - test::__rust_begin_short_backtrace::h51976f55c263f7c2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x60961e1487a5 - test::run_test_in_process::{{closure}}::h6aa4339396d33320 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x60961e1487a5 - as core::ops::function::FnOnce<()>>::call_once::h5bd0ba3863a53529 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x60961e1487a5 - std::panicking::catch_unwind::do_call::h5c710722c40c5839 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x60961e1487a5 - std::panicking::catch_unwind::hf41b5be070ce0f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x60961e1487a5 - std::panic::catch_unwind::h4559aa103e6f16d6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x60961e1487a5 - test::run_test_in_process::he6fd763a772ff213 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x60961e1487a5 - test::run_test::{{closure}}::he46f5435849feb5b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x60961e11efb4 - test::run_test::{{closure}}::h12a66289c31b502a [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x60961e11efb4 - std::sys::backtrace::__rust_begin_short_backtrace::h614a7925ed7b2f5e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x60961e12295a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hbc654088c5dbff36 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x60961e12295a - as core::ops::function::FnOnce<()>>::call_once::h3f631d2ca531b61d [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x60961e12295a - std::panicking::catch_unwind::do_call::hd2548748db0aa717 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x60961e12295a - std::panicking::catch_unwind::hf7d8620d84df48e2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x60961e12295a - std::panic::catch_unwind::hdde75b8543fcb96b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x60961e12295a - std::thread::Builder::spawn_unchecked_::{{closure}}::h991e7d03b432cf3f [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x60961e12295a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hebddb40255441657 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x60961e9ed55f - as core::ops::function::FnOnce>::call_once::h55e8930dc7db99a5 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 45: 0x60961e9ed55f - std::sys::thread::unix::Thread::new::thread_start::he23d038ee4fa004e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 46: 0x70e7dc752aa4 - [INFO] [stdout] 47: 0x70e7dc7dfa34 - clone [INFO] [stdout] 48: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- generate::entry::test::write_fragment_states_single_entry stdout ---- [INFO] [stdout] Warning: rustfmt formatting failed (rustfmt failed: error: 'rustfmt' is not installed for the custom toolchain '2440211fe03bc45c89b6dc1a3df18382ce91e32b'. [INFO] [stdout] note: this is a custom toolchain, which cannot use `rustup component add` [INFO] [stdout] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py` [INFO] [stdout] ), falling back to prettyplease [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/generate/snapshots/write_fragment_states_single_entry.snap [INFO] [stdout] Snapshot: write_fragment_states_single_entry [INFO] [stdout] Source: src/generate/entry.rs:536 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 0 │ #[derive(Debug)] [INFO] [stdout] 1 1 │ pub struct FragmentEntry { [INFO] [stdout] 2 │- pub entry_point: &'static str, [INFO] [stdout] 3 │- pub targets: [Option; N], [INFO] [stdout] 4 │- pub constants: Vec<(&'static str, f64)>, [INFO] [stdout] 2 │+ pub entry_point: &'static str, [INFO] [stdout] 3 │+ pub targets: [Option; N], [INFO] [stdout] 4 │+ pub constants: Vec<(&'static str, f64)>, [INFO] [stdout] 5 5 │ } [INFO] [stdout] 6 6 │ pub fn fragment_state<'a, const N: usize>( [INFO] [stdout] 7 │- module: &'a wgpu::ShaderModule, [INFO] [stdout] 8 │- entry: &'a FragmentEntry, [INFO] [stdout] 7 │+ module: &'a wgpu::ShaderModule, [INFO] [stdout] 8 │+ entry: &'a FragmentEntry, [INFO] [stdout] 9 9 │ ) -> wgpu::FragmentState<'a> { [INFO] [stdout] 10 │- wgpu::FragmentState { [INFO] [stdout] 11 │- module, [INFO] [stdout] 12 │- entry_point: Some(entry.entry_point), [INFO] [stdout] 13 │- targets: &entry.targets, [INFO] [stdout] 14 │- compilation_options: wgpu::PipelineCompilationOptions { [INFO] [stdout] 15 │- constants: &entry.constants, [INFO] [stdout] 16 │- ..Default::default() [INFO] [stdout] 17 │- }, [INFO] [stdout] 18 │- } [INFO] [stdout] 10 │+ wgpu::FragmentState { [INFO] [stdout] 11 │+ module, [INFO] [stdout] 12 │+ entry_point: Some(entry.entry_point), [INFO] [stdout] 13 │+ targets: &entry.targets, [INFO] [stdout] 14 │+ compilation_options: wgpu::PipelineCompilationOptions { [INFO] [stdout] 15 │+ constants: &entry.constants, [INFO] [stdout] 16 │+ ..Default::default() [INFO] [stdout] 17 │+ }, [INFO] [stdout] 18 │+ } [INFO] [stdout] 19 19 │ } [INFO] [stdout] 20 20 │ pub fn fs_single_entry( [INFO] [stdout] 21 │- targets: [Option; 1], [INFO] [stdout] 22 │- overrides: &OverrideConstants, [INFO] [stdout] 21 │+ targets: [Option; 1], [INFO] [stdout] 22 │+ overrides: &OverrideConstants, [INFO] [stdout] 23 23 │ ) -> FragmentEntry<1> { [INFO] [stdout] 24 │- FragmentEntry { [INFO] [stdout] 25 │- entry_point: ENTRY_FS_SINGLE, [INFO] [stdout] 26 │- targets, [INFO] [stdout] 27 │- constants: overrides.constants(), [INFO] [stdout] 28 │- } [INFO] [stdout] 24 │+ FragmentEntry { [INFO] [stdout] 25 │+ entry_point: ENTRY_FS_SINGLE, [INFO] [stdout] 26 │+ targets, [INFO] [stdout] 27 │+ constants: overrides.constants(), [INFO] [stdout] 28 │+ } [INFO] [stdout] 29 29 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'generate::entry::test::write_fragment_states_single_entry' (1360) panicked at src/generate/entry.rs:536:5: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: FileIo(Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }, "/opt/rustwide/workdir/src/generate/snapshots/write_fragment_states_single_entry.snap.new") [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x60961ea1ab92 - std::backtrace_rs::backtrace::libunwind::trace::h22a6a535a50603c6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x60961ea1ab92 - std::backtrace_rs::backtrace::trace_unsynchronized::h2503a4f30dbfbaa2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x60961ea1ab92 - std::sys::backtrace::_print_fmt::hec54e31f36456895 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x60961ea1ab92 - ::fmt::hb1988e8b50fa5f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x60961ea2ee1f - core::fmt::rt::Argument::fmt::h3118a66e1a57a586 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x60961ea2ee1f - core::fmt::write::hcd056e06a609f600 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x60961e9e5671 - std::io::default_write_fmt::hdabc5d6505cb374b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x60961e9e5671 - std::io::Write::write_fmt::h18c82179fdc1f9d2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x60961e9f24d2 - std::sys::backtrace::BacktraceLock::print::h69f50ba7cfff8317 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x60961e9f820f - std::panicking::default_hook::{{closure}}::hfa978eb2255ab3ab [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x60961e9f80a1 - std::panicking::default_hook::h09da2eaf8f1deadd [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x60961e132d9e - as core::ops::function::Fn>::call::h1697e4d80f236ef6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x60961e132d9e - test::test_main_with_exit_callback::{{closure}}::h8f63929ca9fd483b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x60961e9f897f - as core::ops::function::Fn>::call::hba67e0dc3e3fc548 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x60961e9f897f - std::panicking::panic_with_hook::h13c40d280d130fd3 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x60961e9f872a - std::panicking::panic_handler::{{closure}}::hd79d22e8a1d3b951 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x60961e9f2609 - std::sys::backtrace::__rust_end_short_backtrace::h83414d1ec69cf3a6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x60961e9d8b4d - __rustc[b78aa6c7b08e5dc4]::rust_begin_unwind [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x60961ea39f00 - core::panicking::panic_fmt::h326b75cf8ee01b13 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x60961ea38be6 - core::result::unwrap_failed::h38baee32fdec5ac8 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x60961dead9c3 - core::result::Result::unwrap::h4e75d443417df354 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x60961dead9c3 - wgsl_bindgen::generate::entry::test::write_fragment_states_single_entry::{{closure}}::h291dc76fc049f6c5 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x60961df8c38f - insta::settings::Settings::bind::h58925e16a2a7a908 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.1/src/settings.rs:509:9 [INFO] [stdout] 23: 0x60961dead50f - wgsl_bindgen::generate::entry::test::write_fragment_states_single_entry::h8e51ec1b250724c9 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x60961deadab7 - wgsl_bindgen::generate::entry::test::write_fragment_states_single_entry::{{closure}}::h964c72db6fa7f8e9 [INFO] [stdout] at /opt/rustwide/workdir/src/generate/entry.rs:525:42 [INFO] [stdout] 25: 0x60961df3b1c6 - core::ops::function::FnOnce::call_once::h73ca7e7f50cf3131 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x60961e132b7b - core::ops::function::FnOnce::call_once::he420dad47d9aac14 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x60961e132b7b - test::__rust_begin_short_backtrace::h51976f55c263f7c2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x60961e1487a5 - test::run_test_in_process::{{closure}}::h6aa4339396d33320 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x60961e1487a5 - as core::ops::function::FnOnce<()>>::call_once::h5bd0ba3863a53529 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x60961e1487a5 - std::panicking::catch_unwind::do_call::h5c710722c40c5839 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x60961e1487a5 - std::panicking::catch_unwind::hf41b5be070ce0f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x60961e1487a5 - std::panic::catch_unwind::h4559aa103e6f16d6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x60961e1487a5 - test::run_test_in_process::he6fd763a772ff213 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x60961e1487a5 - test::run_test::{{closure}}::he46f5435849feb5b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x60961e11efb4 - test::run_test::{{closure}}::h12a66289c31b502a [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x60961e11efb4 - std::sys::backtrace::__rust_begin_short_backtrace::h614a7925ed7b2f5e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x60961e12295a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hbc654088c5dbff36 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x60961e12295a - as core::ops::function::FnOnce<()>>::call_once::h3f631d2ca531b61d [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x60961e12295a - std::panicking::catch_unwind::do_call::hd2548748db0aa717 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x60961e12295a - std::panicking::catch_unwind::hf7d8620d84df48e2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x60961e12295a - std::panic::catch_unwind::hdde75b8543fcb96b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x60961e12295a - std::thread::Builder::spawn_unchecked_::{{closure}}::h991e7d03b432cf3f [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x60961e12295a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hebddb40255441657 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x60961e9ed55f - as core::ops::function::FnOnce>::call_once::h55e8930dc7db99a5 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 45: 0x60961e9ed55f - std::sys::thread::unix::Thread::new::thread_start::he23d038ee4fa004e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 46: 0x70e7dc752aa4 - [INFO] [stdout] 47: 0x70e7dc7dfa34 - clone [INFO] [stdout] 48: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- generate::entry::test::write_vertex_module_single_input_float64 stdout ---- [INFO] [stdout] Warning: rustfmt formatting failed (rustfmt failed: error: 'rustfmt' is not installed for the custom toolchain '2440211fe03bc45c89b6dc1a3df18382ce91e32b'. [INFO] [stdout] note: this is a custom toolchain, which cannot use `rustup component add` [INFO] [stdout] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py` [INFO] [stdout] ), falling back to prettyplease [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/generate/snapshots/write_vertex_module_single_input_float64.snap [INFO] [stdout] Snapshot: write_vertex_module_single_input_float64 [INFO] [stdout] Source: src/generate/entry.rs:378 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 0 │ impl VertexInput0 { [INFO] [stdout] 1 │- pub const VERTEX_ATTRIBUTES: [wgpu::VertexAttribute; 4] = [ [INFO] [stdout] 2 │- wgpu::VertexAttribute { [INFO] [stdout] 3 │- format: wgpu::VertexFormat::Float64, [INFO] [stdout] 4 │- offset: std::mem::offset_of!(Self, a) as u64, [INFO] [stdout] 5 │- shader_location: 0, [INFO] [stdout] 6 │- }, [INFO] [stdout] 7 │- wgpu::VertexAttribute { [INFO] [stdout] 8 │- format: wgpu::VertexFormat::Float64x2, [INFO] [stdout] 9 │- offset: std::mem::offset_of!(Self, b) as u64, [INFO] [stdout] 10 │- shader_location: 1, [INFO] [stdout] 11 │- }, [INFO] [stdout] 12 │- wgpu::VertexAttribute { [INFO] [stdout] 13 │- format: wgpu::VertexFormat::Float64x3, [INFO] [stdout] 14 │- offset: std::mem::offset_of!(Self, c) as u64, [INFO] [stdout] 15 │- shader_location: 2, [INFO] [stdout] 16 │- }, [INFO] [stdout] 17 │- wgpu::VertexAttribute { [INFO] [stdout] 18 │- format: wgpu::VertexFormat::Float64x4, [INFO] [stdout] 19 │- offset: std::mem::offset_of!(Self, d) as u64, [INFO] [stdout] 20 │- shader_location: 3, [INFO] [stdout] 21 │- }, [INFO] [stdout] 22 │- ]; [INFO] [stdout] 23 │- pub const fn vertex_buffer_layout( [INFO] [stdout] 24 │- step_mode: wgpu::VertexStepMode, [INFO] [stdout] 25 │- ) -> wgpu::VertexBufferLayout<'static> { [INFO] [stdout] 26 │- wgpu::VertexBufferLayout { [INFO] [stdout] 27 │- array_stride: std::mem::size_of::() as u64, [INFO] [stdout] 28 │- step_mode, [INFO] [stdout] 29 │- attributes: &Self::VERTEX_ATTRIBUTES, [INFO] [stdout] 1 │+ pub const VERTEX_ATTRIBUTES: [wgpu::VertexAttribute; 4] = [ [INFO] [stdout] 2 │+ wgpu::VertexAttribute { [INFO] [stdout] 3 │+ format: wgpu::VertexFormat::Float64, [INFO] [stdout] 4 │+ offset: std::mem::offset_of!(Self, a) as u64, [INFO] [stdout] 5 │+ shader_location: 0, [INFO] [stdout] 6 │+ }, [INFO] [stdout] 7 │+ wgpu::VertexAttribute { [INFO] [stdout] 8 │+ format: wgpu::VertexFormat::Float64x2, [INFO] [stdout] 9 │+ offset: std::mem::offset_of!(Self, b) as u64, [INFO] [stdout] 10 │+ shader_location: 1, [INFO] [stdout] 11 │+ }, [INFO] [stdout] 12 │+ wgpu::VertexAttribute { [INFO] [stdout] 13 │+ format: wgpu::VertexFormat::Float64x3, [INFO] [stdout] 14 │+ offset: std::mem::offset_of!(Self, c) as u64, [INFO] [stdout] 15 │+ shader_location: 2, [INFO] [stdout] 16 │+ }, [INFO] [stdout] 17 │+ wgpu::VertexAttribute { [INFO] [stdout] 18 │+ format: wgpu::VertexFormat::Float64x4, [INFO] [stdout] 19 │+ offset: std::mem::offset_of!(Self, d) as u64, [INFO] [stdout] 20 │+ shader_location: 3, [INFO] [stdout] 21 │+ }, [INFO] [stdout] 22 │+ ]; [INFO] [stdout] 23 │+ pub const fn vertex_buffer_layout( [INFO] [stdout] 24 │+ step_mode: wgpu::VertexStepMode, [INFO] [stdout] 25 │+ ) -> wgpu::VertexBufferLayout<'static> { [INFO] [stdout] 26 │+ wgpu::VertexBufferLayout { [INFO] [stdout] 27 │+ array_stride: std::mem::size_of::() as u64, [INFO] [stdout] 28 │+ step_mode, [INFO] [stdout] 29 │+ attributes: &Self::VERTEX_ATTRIBUTES, [INFO] [stdout] 30 │+ } [INFO] [stdout] 30 31 │ } [INFO] [stdout] 31 │- } [INFO] [stdout] 32 32 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'generate::entry::test::write_vertex_module_single_input_float64' (1446) panicked at src/generate/entry.rs:378:5: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: FileIo(Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }, "/opt/rustwide/workdir/src/generate/snapshots/write_vertex_module_single_input_float64.snap.new") [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x60961ea1ab92 - std::backtrace_rs::backtrace::libunwind::trace::h22a6a535a50603c6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x60961ea1ab92 - std::backtrace_rs::backtrace::trace_unsynchronized::h2503a4f30dbfbaa2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x60961ea1ab92 - std::sys::backtrace::_print_fmt::hec54e31f36456895 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x60961ea1ab92 - ::fmt::hb1988e8b50fa5f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x60961ea2ee1f - core::fmt::rt::Argument::fmt::h3118a66e1a57a586 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x60961ea2ee1f - core::fmt::write::hcd056e06a609f600 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x60961e9e5671 - std::io::default_write_fmt::hdabc5d6505cb374b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x60961e9e5671 - std::io::Write::write_fmt::h18c82179fdc1f9d2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x60961e9f24d2 - std::sys::backtrace::BacktraceLock::print::h69f50ba7cfff8317 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x60961e9f820f - std::panicking::default_hook::{{closure}}::hfa978eb2255ab3ab [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x60961e9f80a1 - std::panicking::default_hook::h09da2eaf8f1deadd [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x60961e132d9e - as core::ops::function::Fn>::call::h1697e4d80f236ef6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x60961e132d9e - test::test_main_with_exit_callback::{{closure}}::h8f63929ca9fd483b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x60961e9f897f - as core::ops::function::Fn>::call::hba67e0dc3e3fc548 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x60961e9f897f - std::panicking::panic_with_hook::h13c40d280d130fd3 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x60961e9f872a - std::panicking::panic_handler::{{closure}}::hd79d22e8a1d3b951 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x60961e9f2609 - std::sys::backtrace::__rust_end_short_backtrace::h83414d1ec69cf3a6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x60961e9d8b4d - __rustc[b78aa6c7b08e5dc4]::rust_begin_unwind [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x60961ea39f00 - core::panicking::panic_fmt::h326b75cf8ee01b13 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x60961ea38be6 - core::result::unwrap_failed::h38baee32fdec5ac8 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x60961deb0ed3 - core::result::Result::unwrap::h4e75d443417df354 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x60961deb0ed3 - wgsl_bindgen::generate::entry::test::write_vertex_module_single_input_float64::{{closure}}::h247d9f0627c65f83 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x60961df8d14f - insta::settings::Settings::bind::hd46c41555b2fa0a3 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.1/src/settings.rs:509:9 [INFO] [stdout] 23: 0x60961deb0a25 - wgsl_bindgen::generate::entry::test::write_vertex_module_single_input_float64::h88f27f794642f19a [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x60961deb0fc7 - wgsl_bindgen::generate::entry::test::write_vertex_module_single_input_float64::{{closure}}::h2f59b8b76244f42b [INFO] [stdout] at /opt/rustwide/workdir/src/generate/entry.rs:359:48 [INFO] [stdout] 25: 0x60961df3c1f6 - core::ops::function::FnOnce::call_once::he0981e7e0630bd31 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x60961e132b7b - core::ops::function::FnOnce::call_once::he420dad47d9aac14 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x60961e132b7b - test::__rust_begin_short_backtrace::h51976f55c263f7c2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x60961e1487a5 - test::run_test_in_process::{{closure}}::h6aa4339396d33320 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x60961e1487a5 - as core::ops::function::FnOnce<()>>::call_once::h5bd0ba3863a53529 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x60961e1487a5 - std::panicking::catch_unwind::do_call::h5c710722c40c5839 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x60961e1487a5 - std::panicking::catch_unwind::hf41b5be070ce0f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x60961e1487a5 - std::panic::catch_unwind::h4559aa103e6f16d6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x60961e1487a5 - test::run_test_in_process::he6fd763a772ff213 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x60961e1487a5 - test::run_test::{{closure}}::he46f5435849feb5b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x60961e11efb4 - test::run_test::{{closure}}::h12a66289c31b502a [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x60961e11efb4 - std::sys::backtrace::__rust_begin_short_backtrace::h614a7925ed7b2f5e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x60961e12295a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hbc654088c5dbff36 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x60961e12295a - as core::ops::function::FnOnce<()>>::call_once::h3f631d2ca531b61d [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x60961e12295a - std::panicking::catch_unwind::do_call::hd2548748db0aa717 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x60961e12295a - std::panicking::catch_unwind::hf7d8620d84df48e2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x60961e12295a - std::panic::catch_unwind::hdde75b8543fcb96b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x60961e12295a - std::thread::Builder::spawn_unchecked_::{{closure}}::h991e7d03b432cf3f [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x60961e12295a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hebddb40255441657 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x60961e9ed55f - as core::ops::function::FnOnce>::call_once::h55e8930dc7db99a5 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 45: 0x60961e9ed55f - std::sys::thread::unix::Thread::new::thread_start::he23d038ee4fa004e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 46: 0x70e7dc752aa4 - [INFO] [stdout] 47: 0x70e7dc7dfa34 - clone [INFO] [stdout] 48: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- generate::entry::test::write_vertex_module_single_input_float32 stdout ---- [INFO] [stdout] Warning: rustfmt formatting failed (rustfmt failed: error: 'rustfmt' is not installed for the custom toolchain '2440211fe03bc45c89b6dc1a3df18382ce91e32b'. [INFO] [stdout] note: this is a custom toolchain, which cannot use `rustup component add` [INFO] [stdout] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py` [INFO] [stdout] ), falling back to prettyplease [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/generate/snapshots/write_vertex_module_single_input_float32.snap [INFO] [stdout] Snapshot: write_vertex_module_single_input_float32 [INFO] [stdout] Source: src/generate/entry.rs:355 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 0 │ impl VertexInput0 { [INFO] [stdout] 1 │- pub const VERTEX_ATTRIBUTES: [wgpu::VertexAttribute; 4] = [ [INFO] [stdout] 2 │- wgpu::VertexAttribute { [INFO] [stdout] 3 │- format: wgpu::VertexFormat::Float32, [INFO] [stdout] 4 │- offset: std::mem::offset_of!(Self, a) as u64, [INFO] [stdout] 5 │- shader_location: 0, [INFO] [stdout] 6 │- }, [INFO] [stdout] 7 │- wgpu::VertexAttribute { [INFO] [stdout] 8 │- format: wgpu::VertexFormat::Float32x2, [INFO] [stdout] 9 │- offset: std::mem::offset_of!(Self, b) as u64, [INFO] [stdout] 10 │- shader_location: 1, [INFO] [stdout] 11 │- }, [INFO] [stdout] 12 │- wgpu::VertexAttribute { [INFO] [stdout] 13 │- format: wgpu::VertexFormat::Float32x3, [INFO] [stdout] 14 │- offset: std::mem::offset_of!(Self, c) as u64, [INFO] [stdout] 15 │- shader_location: 2, [INFO] [stdout] 16 │- }, [INFO] [stdout] 17 │- wgpu::VertexAttribute { [INFO] [stdout] 18 │- format: wgpu::VertexFormat::Float32x4, [INFO] [stdout] 19 │- offset: std::mem::offset_of!(Self, d) as u64, [INFO] [stdout] 20 │- shader_location: 3, [INFO] [stdout] 21 │- }, [INFO] [stdout] 22 │- ]; [INFO] [stdout] 23 │- pub const fn vertex_buffer_layout( [INFO] [stdout] 24 │- step_mode: wgpu::VertexStepMode, [INFO] [stdout] 25 │- ) -> wgpu::VertexBufferLayout<'static> { [INFO] [stdout] 26 │- wgpu::VertexBufferLayout { [INFO] [stdout] 27 │- array_stride: std::mem::size_of::() as u64, [INFO] [stdout] 28 │- step_mode, [INFO] [stdout] 29 │- attributes: &Self::VERTEX_ATTRIBUTES, [INFO] [stdout] 1 │+ pub const VERTEX_ATTRIBUTES: [wgpu::VertexAttribute; 4] = [ [INFO] [stdout] 2 │+ wgpu::VertexAttribute { [INFO] [stdout] 3 │+ format: wgpu::VertexFormat::Float32, [INFO] [stdout] 4 │+ offset: std::mem::offset_of!(Self, a) as u64, [INFO] [stdout] 5 │+ shader_location: 0, [INFO] [stdout] 6 │+ }, [INFO] [stdout] 7 │+ wgpu::VertexAttribute { [INFO] [stdout] 8 │+ format: wgpu::VertexFormat::Float32x2, [INFO] [stdout] 9 │+ offset: std::mem::offset_of!(Self, b) as u64, [INFO] [stdout] 10 │+ shader_location: 1, [INFO] [stdout] 11 │+ }, [INFO] [stdout] 12 │+ wgpu::VertexAttribute { [INFO] [stdout] 13 │+ format: wgpu::VertexFormat::Float32x3, [INFO] [stdout] 14 │+ offset: std::mem::offset_of!(Self, c) as u64, [INFO] [stdout] 15 │+ shader_location: 2, [INFO] [stdout] 16 │+ }, [INFO] [stdout] 17 │+ wgpu::VertexAttribute { [INFO] [stdout] 18 │+ format: wgpu::VertexFormat::Float32x4, [INFO] [stdout] 19 │+ offset: std::mem::offset_of!(Self, d) as u64, [INFO] [stdout] 20 │+ shader_location: 3, [INFO] [stdout] 21 │+ }, [INFO] [stdout] 22 │+ ]; [INFO] [stdout] 23 │+ pub const fn vertex_buffer_layout( [INFO] [stdout] 24 │+ step_mode: wgpu::VertexStepMode, [INFO] [stdout] 25 │+ ) -> wgpu::VertexBufferLayout<'static> { [INFO] [stdout] 26 │+ wgpu::VertexBufferLayout { [INFO] [stdout] 27 │+ array_stride: std::mem::size_of::() as u64, [INFO] [stdout] 28 │+ step_mode, [INFO] [stdout] 29 │+ attributes: &Self::VERTEX_ATTRIBUTES, [INFO] [stdout] 30 │+ } [INFO] [stdout] 30 31 │ } [INFO] [stdout] 31 │- } [INFO] [stdout] 32 32 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'generate::entry::test::write_vertex_module_single_input_float32' (1436) panicked at src/generate/entry.rs:355:5: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: FileIo(Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }, "/opt/rustwide/workdir/src/generate/snapshots/write_vertex_module_single_input_float32.snap.new") [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x60961ea1ab92 - std::backtrace_rs::backtrace::libunwind::trace::h22a6a535a50603c6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x60961ea1ab92 - std::backtrace_rs::backtrace::trace_unsynchronized::h2503a4f30dbfbaa2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x60961ea1ab92 - std::sys::backtrace::_print_fmt::hec54e31f36456895 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x60961ea1ab92 - ::fmt::hb1988e8b50fa5f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x60961ea2ee1f - core::fmt::rt::Argument::fmt::h3118a66e1a57a586 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x60961ea2ee1f - core::fmt::write::hcd056e06a609f600 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x60961e9e5671 - std::io::default_write_fmt::hdabc5d6505cb374b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x60961e9e5671 - std::io::Write::write_fmt::h18c82179fdc1f9d2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x60961e9f24d2 - std::sys::backtrace::BacktraceLock::print::h69f50ba7cfff8317 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x60961e9f820f - std::panicking::default_hook::{{closure}}::hfa978eb2255ab3ab [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x60961e9f80a1 - std::panicking::default_hook::h09da2eaf8f1deadd [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x60961e132d9e - as core::ops::function::Fn>::call::h1697e4d80f236ef6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x60961e132d9e - test::test_main_with_exit_callback::{{closure}}::h8f63929ca9fd483b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x60961e9f897f - as core::ops::function::Fn>::call::hba67e0dc3e3fc548 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x60961e9f897f - std::panicking::panic_with_hook::h13c40d280d130fd3 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x60961e9f872a - std::panicking::panic_handler::{{closure}}::hd79d22e8a1d3b951 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x60961e9f2609 - std::sys::backtrace::__rust_end_short_backtrace::h83414d1ec69cf3a6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x60961e9d8b4d - __rustc[b78aa6c7b08e5dc4]::rust_begin_unwind [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x60961ea39f00 - core::panicking::panic_fmt::h326b75cf8ee01b13 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x60961ea38be6 - core::result::unwrap_failed::h38baee32fdec5ac8 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x60961deb05a3 - core::result::Result::unwrap::h4e75d443417df354 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x60961deb05a3 - wgsl_bindgen::generate::entry::test::write_vertex_module_single_input_float32::{{closure}}::h1094445a92d493d6 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x60961df8c2ef - insta::settings::Settings::bind::h4e4222b422c7835f [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.1/src/settings.rs:509:9 [INFO] [stdout] 23: 0x60961deb00f5 - wgsl_bindgen::generate::entry::test::write_vertex_module_single_input_float32::h4eaca965a46bf308 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x60961deb06e7 - wgsl_bindgen::generate::entry::test::write_vertex_module_single_input_float32::{{closure}}::h936e8f726661cb51 [INFO] [stdout] at /opt/rustwide/workdir/src/generate/entry.rs:336:48 [INFO] [stdout] 25: 0x60961df3a1b6 - core::ops::function::FnOnce::call_once::h04c11079e453cdd8 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x60961e132b7b - core::ops::function::FnOnce::call_once::he420dad47d9aac14 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x60961e132b7b - test::__rust_begin_short_backtrace::h51976f55c263f7c2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x60961e1487a5 - test::run_test_in_process::{{closure}}::h6aa4339396d33320 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x60961e1487a5 - as core::ops::function::FnOnce<()>>::call_once::h5bd0ba3863a53529 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x60961e1487a5 - std::panicking::catch_unwind::do_call::h5c710722c40c5839 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x60961e1487a5 - std::panicking::catch_unwind::hf41b5be070ce0f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x60961e1487a5 - std::panic::catch_unwind::h4559aa103e6f16d6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x60961e1487a5 - test::run_test_in_process::he6fd763a772ff213 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x60961e1487a5 - test::run_test::{{closure}}::he46f5435849feb5b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x60961e11efb4 - test::run_test::{{closure}}::h12a66289c31b502a [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x60961e11efb4 - std::sys::backtrace::__rust_begin_short_backtrace::h614a7925ed7b2f5e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x60961e12295a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hbc654088c5dbff36 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x60961e12295a - as core::ops::function::FnOnce<()>>::call_once::h3f631d2ca531b61d [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x60961e12295a - std::panicking::catch_unwind::do_call::hd2548748db0aa717 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x60961e12295a - std::panicking::catch_unwind::hf7d8620d84df48e2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x60961e12295a - std::panic::catch_unwind::hdde75b8543fcb96b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x60961e12295a - std::thread::Builder::spawn_unchecked_::{{closure}}::h991e7d03b432cf3f [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x60961e12295a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hebddb40255441657 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x60961e9ed55f - as core::ops::function::FnOnce>::call_once::h55e8930dc7db99a5 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 45: 0x60961e9ed55f - std::sys::thread::unix::Thread::new::thread_start::he23d038ee4fa004e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 46: 0x70e7dc752aa4 - [INFO] [stdout] 47: 0x70e7dc7dfa34 - clone [INFO] [stdout] 48: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- generate::entry::test::write_fragment_states_multiple_entries stdout ---- [INFO] [stdout] Warning: rustfmt formatting failed (rustfmt failed: error: 'rustfmt' is not installed for the custom toolchain '2440211fe03bc45c89b6dc1a3df18382ce91e32b'. [INFO] [stdout] note: this is a custom toolchain, which cannot use `rustup component add` [INFO] [stdout] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py` [INFO] [stdout] ), falling back to prettyplease [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/generate/snapshots/write_fragment_states_multiple_entries.snap [INFO] [stdout] Snapshot: write_fragment_states_multiple_entries [INFO] [stdout] Source: src/generate/entry.rs:521 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 0 │ #[derive(Debug)] [INFO] [stdout] 1 1 │ pub struct FragmentEntry { [INFO] [stdout] 2 │- pub entry_point: &'static str, [INFO] [stdout] 3 │- pub targets: [Option; N], [INFO] [stdout] 4 │- pub constants: Vec<(&'static str, f64)>, [INFO] [stdout] 2 │+ pub entry_point: &'static str, [INFO] [stdout] 3 │+ pub targets: [Option; N], [INFO] [stdout] 4 │+ pub constants: Vec<(&'static str, f64)>, [INFO] [stdout] 5 5 │ } [INFO] [stdout] 6 6 │ pub fn fragment_state<'a, const N: usize>( [INFO] [stdout] 7 │- module: &'a wgpu::ShaderModule, [INFO] [stdout] 8 │- entry: &'a FragmentEntry, [INFO] [stdout] 7 │+ module: &'a wgpu::ShaderModule, [INFO] [stdout] 8 │+ entry: &'a FragmentEntry, [INFO] [stdout] 9 9 │ ) -> wgpu::FragmentState<'a> { [INFO] [stdout] 10 │- wgpu::FragmentState { [INFO] [stdout] 11 │- module, [INFO] [stdout] 12 │- entry_point: Some(entry.entry_point), [INFO] [stdout] 13 │- targets: &entry.targets, [INFO] [stdout] 14 │- compilation_options: wgpu::PipelineCompilationOptions { [INFO] [stdout] 15 │- constants: &entry.constants, [INFO] [stdout] 16 │- ..Default::default() [INFO] [stdout] 17 │- }, [INFO] [stdout] 18 │- } [INFO] [stdout] 10 │+ wgpu::FragmentState { [INFO] [stdout] 11 │+ module, [INFO] [stdout] 12 │+ entry_point: Some(entry.entry_point), [INFO] [stdout] 13 │+ targets: &entry.targets, [INFO] [stdout] 14 │+ compilation_options: wgpu::PipelineCompilationOptions { [INFO] [stdout] 15 │+ constants: &entry.constants, [INFO] [stdout] 16 │+ ..Default::default() [INFO] [stdout] 17 │+ }, [INFO] [stdout] 18 │+ } [INFO] [stdout] 19 19 │ } [INFO] [stdout] 20 20 │ pub fn fs_multiple_entry( [INFO] [stdout] 21 │- targets: [Option; 2], [INFO] [stdout] 21 │+ targets: [Option; 2], [INFO] [stdout] 22 22 │ ) -> FragmentEntry<2> { [INFO] [stdout] 23 │- FragmentEntry { [INFO] [stdout] 24 │- entry_point: ENTRY_FS_MULTIPLE, [INFO] [stdout] 25 │- targets, [INFO] [stdout] 26 │- constants: Default::default(), [INFO] [stdout] 27 │- } [INFO] [stdout] 23 │+ FragmentEntry { [INFO] [stdout] 24 │+ entry_point: ENTRY_FS_MULTIPLE, [INFO] [stdout] 25 │+ targets, [INFO] [stdout] 26 │+ constants: Default::default(), [INFO] [stdout] 27 │+ } [INFO] [stdout] 28 28 │ } [INFO] [stdout] 29 │-pub fn fs_single_entry(targets: [Option; 1]) -> FragmentEntry<1> { [INFO] [stdout] 30 │- FragmentEntry { [INFO] [stdout] 31 │- entry_point: ENTRY_FS_SINGLE, [INFO] [stdout] 32 │- targets, [INFO] [stdout] 33 │- constants: Default::default(), [INFO] [stdout] 34 │- } [INFO] [stdout] 29 │+pub fn fs_single_entry( [INFO] [stdout] 30 │+ targets: [Option; 1], [INFO] [stdout] 31 │+) -> FragmentEntry<1> { [INFO] [stdout] 32 │+ FragmentEntry { [INFO] [stdout] 33 │+ entry_point: ENTRY_FS_SINGLE, [INFO] [stdout] 34 │+ targets, [INFO] [stdout] 35 │+ constants: Default::default(), [INFO] [stdout] 36 │+ } [INFO] [stdout] 35 37 │ } [INFO] [stdout] 36 38 │ pub fn fs_single_builtin_entry( [INFO] [stdout] 37 │- targets: [Option; 0], [INFO] [stdout] 39 │+ targets: [Option; 0], [INFO] [stdout] 38 40 │ ) -> FragmentEntry<0> { [INFO] [stdout] 39 │- FragmentEntry { [INFO] [stdout] 40 │- entry_point: ENTRY_FS_SINGLE_BUILTIN, [INFO] [stdout] 41 │- targets, [INFO] [stdout] 42 │- constants: Default::default(), [INFO] [stdout] 43 │- } [INFO] [stdout] 41 │+ FragmentEntry { [INFO] [stdout] 42 │+ entry_point: ENTRY_FS_SINGLE_BUILTIN, [INFO] [stdout] 43 │+ targets, [INFO] [stdout] 44 │+ constants: Default::default(), [INFO] [stdout] 45 │+ } [INFO] [stdout] 44 46 │ } [INFO] [stdout] 45 47 │ pub fn fs_empty_entry(targets: [Option; 0]) -> FragmentEntry<0> { [INFO] [stdout] 46 │- FragmentEntry { [INFO] [stdout] 47 │- entry_point: ENTRY_FS_EMPTY, [INFO] [stdout] 48 │- targets, [INFO] [stdout] 49 │- constants: Default::default(), [INFO] [stdout] 50 │- } [INFO] [stdout] 48 │+ FragmentEntry { [INFO] [stdout] 49 │+ entry_point: ENTRY_FS_EMPTY, [INFO] [stdout] 50 │+ targets, [INFO] [stdout] 51 │+ constants: Default::default(), [INFO] [stdout] 52 │+ } [INFO] [stdout] 51 53 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'generate::entry::test::write_fragment_states_multiple_entries' (1342) panicked at src/generate/entry.rs:521:5: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: FileIo(Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }, "/opt/rustwide/workdir/src/generate/snapshots/write_fragment_states_multiple_entries.snap.new") [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x60961ea1ab92 - std::backtrace_rs::backtrace::libunwind::trace::h22a6a535a50603c6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x60961ea1ab92 - std::backtrace_rs::backtrace::trace_unsynchronized::h2503a4f30dbfbaa2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x60961ea1ab92 - std::sys::backtrace::_print_fmt::hec54e31f36456895 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x60961ea1ab92 - ::fmt::hb1988e8b50fa5f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x60961ea2ee1f - core::fmt::rt::Argument::fmt::h3118a66e1a57a586 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x60961ea2ee1f - core::fmt::write::hcd056e06a609f600 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x60961e9e5671 - std::io::default_write_fmt::hdabc5d6505cb374b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x60961e9e5671 - std::io::Write::write_fmt::h18c82179fdc1f9d2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x60961e9f24d2 - std::sys::backtrace::BacktraceLock::print::h69f50ba7cfff8317 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x60961e9f820f - std::panicking::default_hook::{{closure}}::hfa978eb2255ab3ab [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x60961e9f80a1 - std::panicking::default_hook::h09da2eaf8f1deadd [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x60961e132d9e - as core::ops::function::Fn>::call::h1697e4d80f236ef6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x60961e132d9e - test::test_main_with_exit_callback::{{closure}}::h8f63929ca9fd483b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x60961e9f897f - as core::ops::function::Fn>::call::hba67e0dc3e3fc548 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x60961e9f897f - std::panicking::panic_with_hook::h13c40d280d130fd3 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x60961e9f872a - std::panicking::panic_handler::{{closure}}::hd79d22e8a1d3b951 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x60961e9f2609 - std::sys::backtrace::__rust_end_short_backtrace::h83414d1ec69cf3a6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x60961e9d8b4d - __rustc[b78aa6c7b08e5dc4]::rust_begin_unwind [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x60961ea39f00 - core::panicking::panic_fmt::h326b75cf8ee01b13 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x60961ea38be6 - core::result::unwrap_failed::h38baee32fdec5ac8 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x60961deaf3c3 - core::result::Result::unwrap::h4e75d443417df354 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x60961deaf3c3 - wgsl_bindgen::generate::entry::test::write_fragment_states_multiple_entries::{{closure}}::h8f1f492554f4dfc7 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x60961df8c92f - insta::settings::Settings::bind::h7ec6e4982a64a51a [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.1/src/settings.rs:509:9 [INFO] [stdout] 23: 0x60961deaeedf - wgsl_bindgen::generate::entry::test::write_fragment_states_multiple_entries::h6e8ae08cf2bee60e [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x60961deaef97 - wgsl_bindgen::generate::entry::test::write_fragment_states_multiple_entries::{{closure}}::h77616f2b69eff33d [INFO] [stdout] at /opt/rustwide/workdir/src/generate/entry.rs:500:46 [INFO] [stdout] 25: 0x60961df3bdf6 - core::ops::function::FnOnce::call_once::hc8f90440b4ad8551 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x60961e132b7b - core::ops::function::FnOnce::call_once::he420dad47d9aac14 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x60961e132b7b - test::__rust_begin_short_backtrace::h51976f55c263f7c2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x60961e1487a5 - test::run_test_in_process::{{closure}}::h6aa4339396d33320 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x60961e1487a5 - as core::ops::function::FnOnce<()>>::call_once::h5bd0ba3863a53529 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x60961e1487a5 - std::panicking::catch_unwind::do_call::h5c710722c40c5839 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x60961e1487a5 - std::panicking::catch_unwind::hf41b5be070ce0f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x60961e1487a5 - std::panic::catch_unwind::h4559aa103e6f16d6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x60961e1487a5 - test::run_test_in_process::he6fd763a772ff213 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x60961e1487a5 - test::run_test::{{closure}}::he46f5435849feb5b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x60961e11efb4 - test::run_test::{{closure}}::h12a66289c31b502a [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x60961e11efb4 - std::sys::backtrace::__rust_begin_short_backtrace::h614a7925ed7b2f5e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x60961e12295a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hbc654088c5dbff36 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x60961e12295a - as core::ops::function::FnOnce<()>>::call_once::h3f631d2ca531b61d [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x60961e12295a - std::panicking::catch_unwind::do_call::hd2548748db0aa717 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x60961e12295a - std::panicking::catch_unwind::hf7d8620d84df48e2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x60961e12295a - std::panic::catch_unwind::hdde75b8543fcb96b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x60961e12295a - std::thread::Builder::spawn_unchecked_::{{closure}}::h991e7d03b432cf3f [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x60961e12295a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hebddb40255441657 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x60961e9ed55f - as core::ops::function::FnOnce>::call_once::h55e8930dc7db99a5 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 45: 0x60961e9ed55f - std::sys::thread::unix::Thread::new::thread_start::he23d038ee4fa004e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 46: 0x70e7dc752aa4 - [INFO] [stdout] 47: 0x70e7dc7dfa34 - clone [INFO] [stdout] 48: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- generate::entry::test::write_vertex_module_single_input_uint32 stdout ---- [INFO] [stdout] Warning: rustfmt formatting failed (rustfmt failed: error: 'rustfmt' is not installed for the custom toolchain '2440211fe03bc45c89b6dc1a3df18382ce91e32b'. [INFO] [stdout] note: this is a custom toolchain, which cannot use `rustup component add` [INFO] [stdout] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py` [INFO] [stdout] ), falling back to prettyplease [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/generate/snapshots/write_vertex_module_single_input_uint32.snap [INFO] [stdout] Snapshot: write_vertex_module_single_input_uint32 [INFO] [stdout] Source: src/generate/entry.rs:401 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 0 │ impl VertexInput0 { [INFO] [stdout] 1 │- pub const VERTEX_ATTRIBUTES: [wgpu::VertexAttribute; 4] = [ [INFO] [stdout] 2 │- wgpu::VertexAttribute { [INFO] [stdout] 3 │- format: wgpu::VertexFormat::Uint32, [INFO] [stdout] 4 │- offset: std::mem::offset_of!(Self, a) as u64, [INFO] [stdout] 5 │- shader_location: 0, [INFO] [stdout] 6 │- }, [INFO] [stdout] 7 │- wgpu::VertexAttribute { [INFO] [stdout] 8 │- format: wgpu::VertexFormat::Uint32x2, [INFO] [stdout] 9 │- offset: std::mem::offset_of!(Self, b) as u64, [INFO] [stdout] 10 │- shader_location: 1, [INFO] [stdout] 11 │- }, [INFO] [stdout] 12 │- wgpu::VertexAttribute { [INFO] [stdout] 13 │- format: wgpu::VertexFormat::Uint32x3, [INFO] [stdout] 14 │- offset: std::mem::offset_of!(Self, c) as u64, [INFO] [stdout] 15 │- shader_location: 2, [INFO] [stdout] 16 │- }, [INFO] [stdout] 17 │- wgpu::VertexAttribute { [INFO] [stdout] 18 │- format: wgpu::VertexFormat::Uint32x4, [INFO] [stdout] 19 │- offset: std::mem::offset_of!(Self, d) as u64, [INFO] [stdout] 20 │- shader_location: 3, [INFO] [stdout] 21 │- }, [INFO] [stdout] 22 │- ]; [INFO] [stdout] 23 │- pub const fn vertex_buffer_layout( [INFO] [stdout] 24 │- step_mode: wgpu::VertexStepMode, [INFO] [stdout] 25 │- ) -> wgpu::VertexBufferLayout<'static> { [INFO] [stdout] 26 │- wgpu::VertexBufferLayout { [INFO] [stdout] 27 │- array_stride: std::mem::size_of::() as u64, [INFO] [stdout] 28 │- step_mode, [INFO] [stdout] 29 │- attributes: &Self::VERTEX_ATTRIBUTES, [INFO] [stdout] 1 │+ pub const VERTEX_ATTRIBUTES: [wgpu::VertexAttribute; 4] = [ [INFO] [stdout] 2 │+ wgpu::VertexAttribute { [INFO] [stdout] 3 │+ format: wgpu::VertexFormat::Uint32, [INFO] [stdout] 4 │+ offset: std::mem::offset_of!(Self, a) as u64, [INFO] [stdout] 5 │+ shader_location: 0, [INFO] [stdout] 6 │+ }, [INFO] [stdout] 7 │+ wgpu::VertexAttribute { [INFO] [stdout] 8 │+ format: wgpu::VertexFormat::Uint32x2, [INFO] [stdout] 9 │+ offset: std::mem::offset_of!(Self, b) as u64, [INFO] [stdout] 10 │+ shader_location: 1, [INFO] [stdout] 11 │+ }, [INFO] [stdout] 12 │+ wgpu::VertexAttribute { [INFO] [stdout] 13 │+ format: wgpu::VertexFormat::Uint32x3, [INFO] [stdout] 14 │+ offset: std::mem::offset_of!(Self, c) as u64, [INFO] [stdout] 15 │+ shader_location: 2, [INFO] [stdout] 16 │+ }, [INFO] [stdout] 17 │+ wgpu::VertexAttribute { [INFO] [stdout] 18 │+ format: wgpu::VertexFormat::Uint32x4, [INFO] [stdout] 19 │+ offset: std::mem::offset_of!(Self, d) as u64, [INFO] [stdout] 20 │+ shader_location: 3, [INFO] [stdout] 21 │+ }, [INFO] [stdout] 22 │+ ]; [INFO] [stdout] 23 │+ pub const fn vertex_buffer_layout( [INFO] [stdout] 24 │+ step_mode: wgpu::VertexStepMode, [INFO] [stdout] 25 │+ ) -> wgpu::VertexBufferLayout<'static> { [INFO] [stdout] 26 │+ wgpu::VertexBufferLayout { [INFO] [stdout] 27 │+ array_stride: std::mem::size_of::() as u64, [INFO] [stdout] 28 │+ step_mode, [INFO] [stdout] 29 │+ attributes: &Self::VERTEX_ATTRIBUTES, [INFO] [stdout] 30 │+ } [INFO] [stdout] 30 31 │ } [INFO] [stdout] 31 │- } [INFO] [stdout] 32 32 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'generate::entry::test::write_vertex_module_single_input_uint32' (1561) panicked at src/generate/entry.rs:401:5: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: FileIo(Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }, "/opt/rustwide/workdir/src/generate/snapshots/write_vertex_module_single_input_uint32.snap.new") [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x60961ea1ab92 - std::backtrace_rs::backtrace::libunwind::trace::h22a6a535a50603c6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x60961ea1ab92 - std::backtrace_rs::backtrace::trace_unsynchronized::h2503a4f30dbfbaa2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x60961ea1ab92 - std::sys::backtrace::_print_fmt::hec54e31f36456895 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x60961ea1ab92 - ::fmt::hb1988e8b50fa5f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x60961ea2ee1f - core::fmt::rt::Argument::fmt::h3118a66e1a57a586 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x60961ea2ee1f - core::fmt::write::hcd056e06a609f600 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x60961e9e5671 - std::io::default_write_fmt::hdabc5d6505cb374b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x60961e9e5671 - std::io::Write::write_fmt::h18c82179fdc1f9d2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x60961e9f24d2 - std::sys::backtrace::BacktraceLock::print::h69f50ba7cfff8317 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x60961e9f820f - std::panicking::default_hook::{{closure}}::hfa978eb2255ab3ab [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x60961e9f80a1 - std::panicking::default_hook::h09da2eaf8f1deadd [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x60961e132d9e - as core::ops::function::Fn>::call::h1697e4d80f236ef6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x60961e132d9e - test::test_main_with_exit_callback::{{closure}}::h8f63929ca9fd483b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x60961e9f897f - as core::ops::function::Fn>::call::hba67e0dc3e3fc548 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x60961e9f897f - std::panicking::panic_with_hook::h13c40d280d130fd3 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x60961e9f872a - std::panicking::panic_handler::{{closure}}::hd79d22e8a1d3b951 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x60961e9f2609 - std::sys::backtrace::__rust_end_short_backtrace::h83414d1ec69cf3a6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x60961e9d8b4d - __rustc[b78aa6c7b08e5dc4]::rust_begin_unwind [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x60961ea39f00 - core::panicking::panic_fmt::h326b75cf8ee01b13 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x60961ea38be6 - core::result::unwrap_failed::h38baee32fdec5ac8 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x60961deafca3 - core::result::Result::unwrap::h4e75d443417df354 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x60961deafca3 - wgsl_bindgen::generate::entry::test::write_vertex_module_single_input_uint32::{{closure}}::ha214c405e10a56e0 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x60961df8c88f - insta::settings::Settings::bind::h7e2f982cdb0cf365 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.1/src/settings.rs:509:9 [INFO] [stdout] 23: 0x60961deaf7c5 - wgsl_bindgen::generate::entry::test::write_vertex_module_single_input_uint32::hf004a6e434ba8ac5 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x60961deaf877 - wgsl_bindgen::generate::entry::test::write_vertex_module_single_input_uint32::{{closure}}::h28e98a43c9b12f7a [INFO] [stdout] at /opt/rustwide/workdir/src/generate/entry.rs:382:47 [INFO] [stdout] 25: 0x60961df3c596 - core::ops::function::FnOnce::call_once::hfb92d27ca694a2d5 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x60961e132b7b - core::ops::function::FnOnce::call_once::he420dad47d9aac14 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x60961e132b7b - test::__rust_begin_short_backtrace::h51976f55c263f7c2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x60961e1487a5 - test::run_test_in_process::{{closure}}::h6aa4339396d33320 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x60961e1487a5 - as core::ops::function::FnOnce<()>>::call_once::h5bd0ba3863a53529 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x60961e1487a5 - std::panicking::catch_unwind::do_call::h5c710722c40c5839 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x60961e1487a5 - std::panicking::catch_unwind::hf41b5be070ce0f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x60961e1487a5 - std::panic::catch_unwind::h4559aa103e6f16d6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x60961e1487a5 - test::run_test_in_process::he6fd763a772ff213 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x60961e1487a5 - test::run_test::{{closure}}::he46f5435849feb5b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x60961e11efb4 - test::run_test::{{closure}}::h12a66289c31b502a [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x60961e11efb4 - std::sys::backtrace::__rust_begin_short_backtrace::h614a7925ed7b2f5e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x60961e12295a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hbc654088c5dbff36 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x60961e12295a - as core::ops::function::FnOnce<()>>::call_once::h3f631d2ca531b61d [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x60961e12295a - std::panicking::catch_unwind::do_call::hd2548748db0aa717 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x60961e12295a - std::panicking::catch_unwind::hf7d8620d84df48e2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x60961e12295a - std::panic::catch_unwind::hdde75b8543fcb96b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x60961e12295a - std::thread::Builder::spawn_unchecked_::{{closure}}::h991e7d03b432cf3f [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x60961e12295a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hebddb40255441657 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x60961e9ed55f - as core::ops::function::FnOnce>::call_once::h55e8930dc7db99a5 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 45: 0x60961e9ed55f - std::sys::thread::unix::Thread::new::thread_start::he23d038ee4fa004e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 46: 0x70e7dc752aa4 - [INFO] [stdout] 47: 0x70e7dc7dfa34 - clone [INFO] [stdout] 48: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- generate::entry::test::write_vertex_shader_multiple_entries stdout ---- [INFO] [stdout] Warning: rustfmt formatting failed (rustfmt failed: error: 'rustfmt' is not installed for the custom toolchain '2440211fe03bc45c89b6dc1a3df18382ce91e32b'. [INFO] [stdout] note: this is a custom toolchain, which cannot use `rustup component add` [INFO] [stdout] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py` [INFO] [stdout] ), falling back to prettyplease [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/generate/snapshots/write_vertex_shader_multiple_entries.snap [INFO] [stdout] Snapshot: write_vertex_shader_multiple_entries [INFO] [stdout] Source: src/generate/entry.rs:458 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 0 │ #[derive(Debug)] [INFO] [stdout] 1 1 │ pub struct VertexEntry { [INFO] [stdout] 2 │- pub entry_point: &'static str, [INFO] [stdout] 3 │- pub buffers: [wgpu::VertexBufferLayout<'static>; N], [INFO] [stdout] 4 │- pub constants: Vec<(&'static str, f64)>, [INFO] [stdout] 2 │+ pub entry_point: &'static str, [INFO] [stdout] 3 │+ pub buffers: [wgpu::VertexBufferLayout<'static>; N], [INFO] [stdout] 4 │+ pub constants: Vec<(&'static str, f64)>, [INFO] [stdout] 5 5 │ } [INFO] [stdout] 6 6 │ pub fn vertex_state<'a, const N: usize>( [INFO] [stdout] 7 │- module: &'a wgpu::ShaderModule, [INFO] [stdout] 8 │- entry: &'a VertexEntry, [INFO] [stdout] 7 │+ module: &'a wgpu::ShaderModule, [INFO] [stdout] 8 │+ entry: &'a VertexEntry, [INFO] [stdout] 9 9 │ ) -> wgpu::VertexState<'a> { [INFO] [stdout] 10 │- wgpu::VertexState { [INFO] [stdout] 11 │- module, [INFO] [stdout] 12 │- entry_point: Some(entry.entry_point), [INFO] [stdout] 13 │- buffers: &entry.buffers, [INFO] [stdout] 14 │- compilation_options: wgpu::PipelineCompilationOptions { [INFO] [stdout] 15 │- constants: &entry.constants, [INFO] [stdout] 16 │- ..Default::default() [INFO] [stdout] 17 │- }, [INFO] [stdout] 18 │- } [INFO] [stdout] 10 │+ wgpu::VertexState { [INFO] [stdout] 11 │+ module, [INFO] [stdout] 12 │+ entry_point: Some(entry.entry_point), [INFO] [stdout] 13 │+ buffers: &entry.buffers, [INFO] [stdout] 14 │+ compilation_options: wgpu::PipelineCompilationOptions { [INFO] [stdout] 15 │+ constants: &entry.constants, [INFO] [stdout] 16 │+ ..Default::default() [INFO] [stdout] 17 │+ }, [INFO] [stdout] 18 │+ } [INFO] [stdout] 19 19 │ } [INFO] [stdout] 20 20 │ pub fn vs_main_1_entry(vertex_input: wgpu::VertexStepMode) -> VertexEntry<1> { [INFO] [stdout] 21 │- VertexEntry { [INFO] [stdout] 22 │- entry_point: ENTRY_VS_MAIN_1, [INFO] [stdout] 23 │- buffers: [VertexInput::vertex_buffer_layout(vertex_input)], [INFO] [stdout] 24 │- constants: Default::default(), [INFO] [stdout] 25 │- } [INFO] [stdout] 21 │+ VertexEntry { [INFO] [stdout] 22 │+ entry_point: ENTRY_VS_MAIN_1, [INFO] [stdout] 23 │+ buffers: [VertexInput::vertex_buffer_layout(vertex_input)], [INFO] [stdout] 24 │+ constants: Default::default(), [INFO] [stdout] 25 │+ } [INFO] [stdout] 26 26 │ } [INFO] [stdout] 27 27 │ pub fn vs_main_2_entry(vertex_input: wgpu::VertexStepMode) -> VertexEntry<1> { [INFO] [stdout] 28 │- VertexEntry { [INFO] [stdout] 29 │- entry_point: ENTRY_VS_MAIN_2, [INFO] [stdout] 30 │- buffers: [VertexInput::vertex_buffer_layout(vertex_input)], [INFO] [stdout] 31 │- constants: Default::default(), [INFO] [stdout] 32 │- } [INFO] [stdout] 28 │+ VertexEntry { [INFO] [stdout] 29 │+ entry_point: ENTRY_VS_MAIN_2, [INFO] [stdout] 30 │+ buffers: [VertexInput::vertex_buffer_layout(vertex_input)], [INFO] [stdout] 31 │+ constants: Default::default(), [INFO] [stdout] 32 │+ } [INFO] [stdout] 33 33 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'generate::entry::test::write_vertex_shader_multiple_entries' (2528) panicked at src/generate/entry.rs:458:5: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: FileIo(Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }, "/opt/rustwide/workdir/src/generate/snapshots/write_vertex_shader_multiple_entries.snap.new") [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x60961ea1ab92 - std::backtrace_rs::backtrace::libunwind::trace::h22a6a535a50603c6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x60961ea1ab92 - std::backtrace_rs::backtrace::trace_unsynchronized::h2503a4f30dbfbaa2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x60961ea1ab92 - std::sys::backtrace::_print_fmt::hec54e31f36456895 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x60961ea1ab92 - ::fmt::hb1988e8b50fa5f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x60961ea2ee1f - core::fmt::rt::Argument::fmt::h3118a66e1a57a586 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x60961ea2ee1f - core::fmt::write::hcd056e06a609f600 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x60961e9e5671 - std::io::default_write_fmt::hdabc5d6505cb374b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x60961e9e5671 - std::io::Write::write_fmt::h18c82179fdc1f9d2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x60961e9f24d2 - std::sys::backtrace::BacktraceLock::print::h69f50ba7cfff8317 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x60961e9f820f - std::panicking::default_hook::{{closure}}::hfa978eb2255ab3ab [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x60961e9f80a1 - std::panicking::default_hook::h09da2eaf8f1deadd [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x60961e132d9e - as core::ops::function::Fn>::call::h1697e4d80f236ef6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x60961e132d9e - test::test_main_with_exit_callback::{{closure}}::h8f63929ca9fd483b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x60961e9f897f - as core::ops::function::Fn>::call::hba67e0dc3e3fc548 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x60961e9f897f - std::panicking::panic_with_hook::h13c40d280d130fd3 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x60961e9f872a - std::panicking::panic_handler::{{closure}}::hd79d22e8a1d3b951 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x60961e9f2609 - std::sys::backtrace::__rust_end_short_backtrace::h83414d1ec69cf3a6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x60961e9d8b4d - __rustc[b78aa6c7b08e5dc4]::rust_begin_unwind [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x60961ea39f00 - core::panicking::panic_fmt::h326b75cf8ee01b13 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x60961ea38be6 - core::result::unwrap_failed::h38baee32fdec5ac8 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x60961deaeb33 - core::result::Result::unwrap::h4e75d443417df354 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x60961deaeb33 - wgsl_bindgen::generate::entry::test::write_vertex_shader_multiple_entries::{{closure}}::h4991d85e0d1b2f08 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x60961df8d50f - insta::settings::Settings::bind::hec2a1dcc6c97a1f0 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.1/src/settings.rs:509:9 [INFO] [stdout] 23: 0x60961deae64b - wgsl_bindgen::generate::entry::test::write_vertex_shader_multiple_entries::h6b581b52c322a4fe [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x60961deae707 - wgsl_bindgen::generate::entry::test::write_vertex_shader_multiple_entries::{{closure}}::h05f38989adb56bc8 [INFO] [stdout] at /opt/rustwide/workdir/src/generate/entry.rs:442:44 [INFO] [stdout] 25: 0x60961df3c2f6 - core::ops::function::FnOnce::call_once::he73a51eaca9bc101 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x60961e132b7b - core::ops::function::FnOnce::call_once::he420dad47d9aac14 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x60961e132b7b - test::__rust_begin_short_backtrace::h51976f55c263f7c2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x60961e1487a5 - test::run_test_in_process::{{closure}}::h6aa4339396d33320 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x60961e1487a5 - as core::ops::function::FnOnce<()>>::call_once::h5bd0ba3863a53529 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x60961e1487a5 - std::panicking::catch_unwind::do_call::h5c710722c40c5839 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x60961e1487a5 - std::panicking::catch_unwind::hf41b5be070ce0f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x60961e1487a5 - std::panic::catch_unwind::h4559aa103e6f16d6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x60961e1487a5 - test::run_test_in_process::he6fd763a772ff213 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x60961e1487a5 - test::run_test::{{closure}}::he46f5435849feb5b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x60961e11efb4 - test::run_test::{{closure}}::h12a66289c31b502a [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x60961e11efb4 - std::sys::backtrace::__rust_begin_short_backtrace::h614a7925ed7b2f5e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x60961e12295a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hbc654088c5dbff36 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x60961e12295a - as core::ops::function::FnOnce<()>>::call_once::h3f631d2ca531b61d [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x60961e12295a - std::panicking::catch_unwind::do_call::hd2548748db0aa717 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x60961e12295a - std::panicking::catch_unwind::hf7d8620d84df48e2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x60961e12295a - std::panic::catch_unwind::hdde75b8543fcb96b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x60961e12295a - std::thread::Builder::spawn_unchecked_::{{closure}}::h991e7d03b432cf3f [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x60961e12295a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hebddb40255441657 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x60961e9ed55f - as core::ops::function::FnOnce>::call_once::h55e8930dc7db99a5 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 45: 0x60961e9ed55f - std::sys::thread::unix::Thread::new::thread_start::he23d038ee4fa004e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 46: 0x70e7dc752aa4 - [INFO] [stdout] 47: 0x70e7dc7dfa34 - clone [INFO] [stdout] 48: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- generate::entry::test::write_vertex_shader_entry_multiple_buffers stdout ---- [INFO] [stdout] Warning: rustfmt formatting failed (rustfmt failed: error: 'rustfmt' is not installed for the custom toolchain '2440211fe03bc45c89b6dc1a3df18382ce91e32b'. [INFO] [stdout] note: this is a custom toolchain, which cannot use `rustup component add` [INFO] [stdout] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py` [INFO] [stdout] ), falling back to prettyplease [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/generate/snapshots/write_vertex_shader_entry_multiple_buffers.snap [INFO] [stdout] Snapshot: write_vertex_shader_entry_multiple_buffers [INFO] [stdout] Source: src/generate/entry.rs:479 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 0 │ #[derive(Debug)] [INFO] [stdout] 1 1 │ pub struct VertexEntry { [INFO] [stdout] 2 │- pub entry_point: &'static str, [INFO] [stdout] 3 │- pub buffers: [wgpu::VertexBufferLayout<'static>; N], [INFO] [stdout] 4 │- pub constants: Vec<(&'static str, f64)>, [INFO] [stdout] 2 │+ pub entry_point: &'static str, [INFO] [stdout] 3 │+ pub buffers: [wgpu::VertexBufferLayout<'static>; N], [INFO] [stdout] 4 │+ pub constants: Vec<(&'static str, f64)>, [INFO] [stdout] 5 5 │ } [INFO] [stdout] 6 6 │ pub fn vertex_state<'a, const N: usize>( [INFO] [stdout] 7 │- module: &'a wgpu::ShaderModule, [INFO] [stdout] 8 │- entry: &'a VertexEntry, [INFO] [stdout] 7 │+ module: &'a wgpu::ShaderModule, [INFO] [stdout] 8 │+ entry: &'a VertexEntry, [INFO] [stdout] 9 9 │ ) -> wgpu::VertexState<'a> { [INFO] [stdout] 10 │- wgpu::VertexState { [INFO] [stdout] 11 │- module, [INFO] [stdout] 12 │- entry_point: Some(entry.entry_point), [INFO] [stdout] 13 │- buffers: &entry.buffers, [INFO] [stdout] 14 │- compilation_options: wgpu::PipelineCompilationOptions { [INFO] [stdout] 15 │- constants: &entry.constants, [INFO] [stdout] 16 │- ..Default::default() [INFO] [stdout] 17 │- }, [INFO] [stdout] 18 │- } [INFO] [stdout] 10 │+ wgpu::VertexState { [INFO] [stdout] 11 │+ module, [INFO] [stdout] 12 │+ entry_point: Some(entry.entry_point), [INFO] [stdout] 13 │+ buffers: &entry.buffers, [INFO] [stdout] 14 │+ compilation_options: wgpu::PipelineCompilationOptions { [INFO] [stdout] 15 │+ constants: &entry.constants, [INFO] [stdout] 16 │+ ..Default::default() [INFO] [stdout] 17 │+ }, [INFO] [stdout] 18 │+ } [INFO] [stdout] 19 19 │ } [INFO] [stdout] 20 20 │ pub fn vs_main_entry( [INFO] [stdout] 21 │- input0: wgpu::VertexStepMode, [INFO] [stdout] 22 │- input1: wgpu::VertexStepMode, [INFO] [stdout] 23 │- overrides: &OverrideConstants, [INFO] [stdout] 21 │+ input0: wgpu::VertexStepMode, [INFO] [stdout] 22 │+ input1: wgpu::VertexStepMode, [INFO] [stdout] 23 │+ overrides: &OverrideConstants, [INFO] [stdout] 24 24 │ ) -> VertexEntry<2> { [INFO] [stdout] 25 │- VertexEntry { [INFO] [stdout] 26 │- entry_point: ENTRY_VS_MAIN, [INFO] [stdout] 27 │- buffers: [ [INFO] [stdout] 28 │- Input0::vertex_buffer_layout(input0), [INFO] [stdout] 29 │- Input1::vertex_buffer_layout(input1), [INFO] [stdout] 30 │- ], [INFO] [stdout] 31 │- constants: overrides.constants(), [INFO] [stdout] 32 │- } [INFO] [stdout] 25 │+ VertexEntry { [INFO] [stdout] 26 │+ entry_point: ENTRY_VS_MAIN, [INFO] [stdout] 27 │+ buffers: [ [INFO] [stdout] 28 │+ Input0::vertex_buffer_layout(input0), [INFO] [stdout] 29 │+ Input1::vertex_buffer_layout(input1), [INFO] [stdout] 30 │+ ], [INFO] [stdout] 31 │+ constants: overrides.constants(), [INFO] [stdout] 32 │+ } [INFO] [stdout] 33 33 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'generate::entry::test::write_vertex_shader_entry_multiple_buffers' (2410) panicked at src/generate/entry.rs:479:5: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: FileIo(Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }, "/opt/rustwide/workdir/src/generate/snapshots/write_vertex_shader_entry_multiple_buffers.snap.new") [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x60961ea1ab92 - std::backtrace_rs::backtrace::libunwind::trace::h22a6a535a50603c6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x60961ea1ab92 - std::backtrace_rs::backtrace::trace_unsynchronized::h2503a4f30dbfbaa2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x60961ea1ab92 - std::sys::backtrace::_print_fmt::hec54e31f36456895 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x60961ea1ab92 - ::fmt::hb1988e8b50fa5f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x60961ea2ee1f - core::fmt::rt::Argument::fmt::h3118a66e1a57a586 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x60961ea2ee1f - core::fmt::write::hcd056e06a609f600 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x60961e9e5671 - std::io::default_write_fmt::hdabc5d6505cb374b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x60961e9e5671 - std::io::Write::write_fmt::h18c82179fdc1f9d2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x60961e9f24d2 - std::sys::backtrace::BacktraceLock::print::h69f50ba7cfff8317 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x60961e9f820f - std::panicking::default_hook::{{closure}}::hfa978eb2255ab3ab [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x60961e9f80a1 - std::panicking::default_hook::h09da2eaf8f1deadd [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x60961e132d9e - as core::ops::function::Fn>::call::h1697e4d80f236ef6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x60961e132d9e - test::test_main_with_exit_callback::{{closure}}::h8f63929ca9fd483b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x60961e9f897f - as core::ops::function::Fn>::call::hba67e0dc3e3fc548 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x60961e9f897f - std::panicking::panic_with_hook::h13c40d280d130fd3 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x60961e9f872a - std::panicking::panic_handler::{{closure}}::hd79d22e8a1d3b951 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x60961e9f2609 - std::sys::backtrace::__rust_end_short_backtrace::h83414d1ec69cf3a6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x60961e9d8b4d - __rustc[b78aa6c7b08e5dc4]::rust_begin_unwind [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x60961ea39f00 - core::panicking::panic_fmt::h326b75cf8ee01b13 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x60961ea38be6 - core::result::unwrap_failed::h38baee32fdec5ac8 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x60961deb17c3 - core::result::Result::unwrap::h4e75d443417df354 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x60961deb17c3 - wgsl_bindgen::generate::entry::test::write_vertex_shader_entry_multiple_buffers::{{closure}}::h71ad943e38db4a82 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x60961df8d32f - insta::settings::Settings::bind::he2d3f1c55f5f7402 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.1/src/settings.rs:509:9 [INFO] [stdout] 23: 0x60961deb130b - wgsl_bindgen::generate::entry::test::write_vertex_shader_entry_multiple_buffers::h2f831829ea019197 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x60961deb18b7 - wgsl_bindgen::generate::entry::test::write_vertex_shader_entry_multiple_buffers::{{closure}}::hb4257dc87ffdf385 [INFO] [stdout] at /opt/rustwide/workdir/src/generate/entry.rs:462:50 [INFO] [stdout] 25: 0x60961df3c116 - core::ops::function::FnOnce::call_once::hd8e56ca5f92061b6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x60961e132b7b - core::ops::function::FnOnce::call_once::he420dad47d9aac14 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x60961e132b7b - test::__rust_begin_short_backtrace::h51976f55c263f7c2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x60961e1487a5 - test::run_test_in_process::{{closure}}::h6aa4339396d33320 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x60961e1487a5 - as core::ops::function::FnOnce<()>>::call_once::h5bd0ba3863a53529 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x60961e1487a5 - std::panicking::catch_unwind::do_call::h5c710722c40c5839 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x60961e1487a5 - std::panicking::catch_unwind::hf41b5be070ce0f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x60961e1487a5 - std::panic::catch_unwind::h4559aa103e6f16d6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x60961e1487a5 - test::run_test_in_process::he6fd763a772ff213 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x60961e1487a5 - test::run_test::{{closure}}::he46f5435849feb5b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x60961e11efb4 - test::run_test::{{closure}}::h12a66289c31b502a [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x60961e11efb4 - std::sys::backtrace::__rust_begin_short_backtrace::h614a7925ed7b2f5e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x60961e12295a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hbc654088c5dbff36 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x60961e12295a - as core::ops::function::FnOnce<()>>::call_once::h3f631d2ca531b61d [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x60961e12295a - std::panicking::catch_unwind::do_call::hd2548748db0aa717 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x60961e12295a - std::panicking::catch_unwind::hf7d8620d84df48e2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x60961e12295a - std::panic::catch_unwind::hdde75b8543fcb96b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x60961e12295a - std::thread::Builder::spawn_unchecked_::{{closure}}::h991e7d03b432cf3f [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x60961e12295a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hebddb40255441657 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x60961e9ed55f - as core::ops::function::FnOnce>::call_once::h55e8930dc7db99a5 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 45: 0x60961e9ed55f - std::sys::thread::unix::Thread::new::thread_start::he23d038ee4fa004e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 46: 0x70e7dc752aa4 - [INFO] [stdout] 47: 0x70e7dc7dfa34 - clone [INFO] [stdout] 48: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- generate::entry::test::write_vertex_shader_entry_no_buffers stdout ---- [INFO] [stdout] Warning: rustfmt formatting failed (rustfmt failed: error: 'rustfmt' is not installed for the custom toolchain '2440211fe03bc45c89b6dc1a3df18382ce91e32b'. [INFO] [stdout] note: this is a custom toolchain, which cannot use `rustup component add` [INFO] [stdout] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py` [INFO] [stdout] ), falling back to prettyplease [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/generate/snapshots/write_vertex_shader_entry_no_buffers.snap [INFO] [stdout] Snapshot: write_vertex_shader_entry_no_buffers [INFO] [stdout] Source: src/generate/entry.rs:438 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 0 │ #[derive(Debug)] [INFO] [stdout] 1 1 │ pub struct VertexEntry { [INFO] [stdout] 2 │- pub entry_point: &'static str, [INFO] [stdout] 3 │- pub buffers: [wgpu::VertexBufferLayout<'static>; N], [INFO] [stdout] 4 │- pub constants: Vec<(&'static str, f64)>, [INFO] [stdout] 2 │+ pub entry_point: &'static str, [INFO] [stdout] 3 │+ pub buffers: [wgpu::VertexBufferLayout<'static>; N], [INFO] [stdout] 4 │+ pub constants: Vec<(&'static str, f64)>, [INFO] [stdout] 5 5 │ } [INFO] [stdout] 6 6 │ pub fn vertex_state<'a, const N: usize>( [INFO] [stdout] 7 │- module: &'a wgpu::ShaderModule, [INFO] [stdout] 8 │- entry: &'a VertexEntry, [INFO] [stdout] 7 │+ module: &'a wgpu::ShaderModule, [INFO] [stdout] 8 │+ entry: &'a VertexEntry, [INFO] [stdout] 9 9 │ ) -> wgpu::VertexState<'a> { [INFO] [stdout] 10 │- wgpu::VertexState { [INFO] [stdout] 11 │- module, [INFO] [stdout] 12 │- entry_point: Some(entry.entry_point), [INFO] [stdout] 13 │- buffers: &entry.buffers, [INFO] [stdout] 14 │- compilation_options: wgpu::PipelineCompilationOptions { [INFO] [stdout] 15 │- constants: &entry.constants, [INFO] [stdout] 16 │- ..Default::default() [INFO] [stdout] 17 │- }, [INFO] [stdout] 18 │- } [INFO] [stdout] 10 │+ wgpu::VertexState { [INFO] [stdout] 11 │+ module, [INFO] [stdout] 12 │+ entry_point: Some(entry.entry_point), [INFO] [stdout] 13 │+ buffers: &entry.buffers, [INFO] [stdout] 14 │+ compilation_options: wgpu::PipelineCompilationOptions { [INFO] [stdout] 15 │+ constants: &entry.constants, [INFO] [stdout] 16 │+ ..Default::default() [INFO] [stdout] 17 │+ }, [INFO] [stdout] 18 │+ } [INFO] [stdout] 19 19 │ } [INFO] [stdout] 20 20 │ pub fn vs_main_entry() -> VertexEntry<0> { [INFO] [stdout] 21 │- VertexEntry { [INFO] [stdout] 22 │- entry_point: ENTRY_VS_MAIN, [INFO] [stdout] 23 │- buffers: [], [INFO] [stdout] 24 │- constants: Default::default(), [INFO] [stdout] 25 │- } [INFO] [stdout] 21 │+ VertexEntry { [INFO] [stdout] 22 │+ entry_point: ENTRY_VS_MAIN, [INFO] [stdout] 23 │+ buffers: [], [INFO] [stdout] 24 │+ constants: Default::default(), [INFO] [stdout] 25 │+ } [INFO] [stdout] 26 26 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'generate::entry::test::write_vertex_shader_entry_no_buffers' (2485) panicked at src/generate/entry.rs:438:5: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: FileIo(Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }, "/opt/rustwide/workdir/src/generate/snapshots/write_vertex_shader_entry_no_buffers.snap.new") [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x60961ea1ab92 - std::backtrace_rs::backtrace::libunwind::trace::h22a6a535a50603c6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x60961ea1ab92 - std::backtrace_rs::backtrace::trace_unsynchronized::h2503a4f30dbfbaa2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x60961ea1ab92 - std::sys::backtrace::_print_fmt::hec54e31f36456895 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x60961ea1ab92 - ::fmt::hb1988e8b50fa5f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x60961ea2ee1f - core::fmt::rt::Argument::fmt::h3118a66e1a57a586 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x60961ea2ee1f - core::fmt::write::hcd056e06a609f600 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x60961e9e5671 - std::io::default_write_fmt::hdabc5d6505cb374b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x60961e9e5671 - std::io::Write::write_fmt::h18c82179fdc1f9d2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x60961e9f24d2 - std::sys::backtrace::BacktraceLock::print::h69f50ba7cfff8317 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x60961e9f820f - std::panicking::default_hook::{{closure}}::hfa978eb2255ab3ab [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x60961e9f80a1 - std::panicking::default_hook::h09da2eaf8f1deadd [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x60961e132d9e - as core::ops::function::Fn>::call::h1697e4d80f236ef6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x60961e132d9e - test::test_main_with_exit_callback::{{closure}}::h8f63929ca9fd483b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x60961e9f897f - as core::ops::function::Fn>::call::hba67e0dc3e3fc548 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x60961e9f897f - std::panicking::panic_with_hook::h13c40d280d130fd3 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x60961e9f872a - std::panicking::panic_handler::{{closure}}::hd79d22e8a1d3b951 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x60961e9f2609 - std::sys::backtrace::__rust_end_short_backtrace::h83414d1ec69cf3a6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x60961e9d8b4d - __rustc[b78aa6c7b08e5dc4]::rust_begin_unwind [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x60961ea39f00 - core::panicking::panic_fmt::h326b75cf8ee01b13 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x60961ea38be6 - core::result::unwrap_failed::h38baee32fdec5ac8 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x60961deae293 - core::result::Result::unwrap::h4e75d443417df354 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x60961deae293 - wgsl_bindgen::generate::entry::test::write_vertex_shader_entry_no_buffers::{{closure}}::he0e4f479640fcd1b [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x60961df8d5af - insta::settings::Settings::bind::hf236fc14b0ea6355 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.1/src/settings.rs:509:9 [INFO] [stdout] 23: 0x60961deaddab - wgsl_bindgen::generate::entry::test::write_vertex_shader_entry_no_buffers::h190aa08625150094 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x60961deade67 - wgsl_bindgen::generate::entry::test::write_vertex_shader_entry_no_buffers::{{closure}}::h72bcea358ac28783 [INFO] [stdout] at /opt/rustwide/workdir/src/generate/entry.rs:428:44 [INFO] [stdout] 25: 0x60961df3a726 - core::ops::function::FnOnce::call_once::h2310dae576643c95 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x60961e132b7b - core::ops::function::FnOnce::call_once::he420dad47d9aac14 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x60961e132b7b - test::__rust_begin_short_backtrace::h51976f55c263f7c2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x60961e1487a5 - test::run_test_in_process::{{closure}}::h6aa4339396d33320 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x60961e1487a5 - as core::ops::function::FnOnce<()>>::call_once::h5bd0ba3863a53529 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x60961e1487a5 - std::panicking::catch_unwind::do_call::h5c710722c40c5839 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x60961e1487a5 - std::panicking::catch_unwind::hf41b5be070ce0f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x60961e1487a5 - std::panic::catch_unwind::h4559aa103e6f16d6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x60961e1487a5 - test::run_test_in_process::he6fd763a772ff213 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x60961e1487a5 - test::run_test::{{closure}}::he46f5435849feb5b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x60961e11efb4 - test::run_test::{{closure}}::h12a66289c31b502a [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x60961e11efb4 - std::sys::backtrace::__rust_begin_short_backtrace::h614a7925ed7b2f5e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x60961e12295a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hbc654088c5dbff36 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x60961e12295a - as core::ops::function::FnOnce<()>>::call_once::h3f631d2ca531b61d [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x60961e12295a - std::panicking::catch_unwind::do_call::hd2548748db0aa717 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x60961e12295a - std::panicking::catch_unwind::hf7d8620d84df48e2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x60961e12295a - std::panic::catch_unwind::hdde75b8543fcb96b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x60961e12295a - std::thread::Builder::spawn_unchecked_::{{closure}}::h991e7d03b432cf3f [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x60961e12295a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hebddb40255441657 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x60961e9ed55f - as core::ops::function::FnOnce>::call_once::h55e8930dc7db99a5 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 45: 0x60961e9ed55f - std::sys::thread::unix::Thread::new::thread_start::he23d038ee4fa004e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 46: 0x70e7dc752aa4 - [INFO] [stdout] 47: 0x70e7dc7dfa34 - clone [INFO] [stdout] 48: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- quote_gen::rust_module_builder::tests::test_merge stdout ---- [INFO] [stdout] Warning: rustfmt formatting failed (rustfmt failed: error: 'rustfmt' is not installed for the custom toolchain '2440211fe03bc45c89b6dc1a3df18382ce91e32b'. [INFO] [stdout] note: this is a custom toolchain, which cannot use `rustup component add` [INFO] [stdout] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py` [INFO] [stdout] ), falling back to prettyplease [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/quote_gen/snapshots/merge.snap [INFO] [stdout] Snapshot: merge [INFO] [stdout] Source: src/quote_gen/rust_module_builder.rs:374 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 0 │ pub mod a { [INFO] [stdout] 1 │- pub mod b { [INFO] [stdout] 2 │- pub mod c { [INFO] [stdout] 3 │- struct A; [INFO] [stdout] 4 │- struct C; [INFO] [stdout] 1 │+ pub mod b { [INFO] [stdout] 2 │+ pub mod c { [INFO] [stdout] 3 │+ struct A; [INFO] [stdout] 4 │+ struct C; [INFO] [stdout] 5 │+ } [INFO] [stdout] 6 │+ pub mod d { [INFO] [stdout] 7 │+ struct B; [INFO] [stdout] 8 │+ } [INFO] [stdout] 9 │+ pub mod e { [INFO] [stdout] 10 │+ struct D; [INFO] [stdout] 11 │+ } [INFO] [stdout] 5 12 │ } [INFO] [stdout] 6 │- pub mod d { [INFO] [stdout] 7 │- struct B; [INFO] [stdout] 8 │- } [INFO] [stdout] 9 │- pub mod e { [INFO] [stdout] 10 │- struct D; [INFO] [stdout] 11 │- } [INFO] [stdout] 12 │- } [INFO] [stdout] 13 13 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'quote_gen::rust_module_builder::tests::test_merge' (2905) panicked at src/quote_gen/rust_module_builder.rs:374:5: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: FileIo(Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }, "/opt/rustwide/workdir/src/quote_gen/snapshots/merge.snap.new") [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x60961ea1ab92 - std::backtrace_rs::backtrace::libunwind::trace::h22a6a535a50603c6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x60961ea1ab92 - std::backtrace_rs::backtrace::trace_unsynchronized::h2503a4f30dbfbaa2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x60961ea1ab92 - std::sys::backtrace::_print_fmt::hec54e31f36456895 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x60961ea1ab92 - ::fmt::hb1988e8b50fa5f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x60961ea2ee1f - core::fmt::rt::Argument::fmt::h3118a66e1a57a586 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x60961ea2ee1f - core::fmt::write::hcd056e06a609f600 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x60961e9e5671 - std::io::default_write_fmt::hdabc5d6505cb374b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x60961e9e5671 - std::io::Write::write_fmt::h18c82179fdc1f9d2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x60961e9f24d2 - std::sys::backtrace::BacktraceLock::print::h69f50ba7cfff8317 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x60961e9f820f - std::panicking::default_hook::{{closure}}::hfa978eb2255ab3ab [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x60961e9f80a1 - std::panicking::default_hook::h09da2eaf8f1deadd [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x60961e132d9e - as core::ops::function::Fn>::call::h1697e4d80f236ef6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x60961e132d9e - test::test_main_with_exit_callback::{{closure}}::h8f63929ca9fd483b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x60961e9f897f - as core::ops::function::Fn>::call::hba67e0dc3e3fc548 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x60961e9f897f - std::panicking::panic_with_hook::h13c40d280d130fd3 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x60961e9f872a - std::panicking::panic_handler::{{closure}}::hd79d22e8a1d3b951 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x60961e9f2609 - std::sys::backtrace::__rust_end_short_backtrace::h83414d1ec69cf3a6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x60961e9d8b4d - __rustc[b78aa6c7b08e5dc4]::rust_begin_unwind [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x60961ea39f00 - core::panicking::panic_fmt::h326b75cf8ee01b13 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x60961ea38be6 - core::result::unwrap_failed::h38baee32fdec5ac8 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x60961dee2ba3 - core::result::Result::unwrap::h4e75d443417df354 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x60961dee2ba3 - wgsl_bindgen::quote_gen::rust_module_builder::tests::test_merge::{{closure}}::h046c2d9d4af48582 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x60961df8c42f - insta::settings::Settings::bind::h5c192c6d7d0f7523 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.1/src/settings.rs:509:9 [INFO] [stdout] 23: 0x60961dee26d4 - wgsl_bindgen::quote_gen::rust_module_builder::tests::test_merge::hacf65304d9492e1f [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x60961dee2c97 - wgsl_bindgen::quote_gen::rust_module_builder::tests::test_merge::{{closure}}::hc7c1dcc501c7a0ec [INFO] [stdout] at /opt/rustwide/workdir/src/quote_gen/rust_module_builder.rs:363:18 [INFO] [stdout] 25: 0x60961df3aa76 - core::ops::function::FnOnce::call_once::h33682d8812248281 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x60961e132b7b - core::ops::function::FnOnce::call_once::he420dad47d9aac14 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x60961e132b7b - test::__rust_begin_short_backtrace::h51976f55c263f7c2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x60961e1487a5 - test::run_test_in_process::{{closure}}::h6aa4339396d33320 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x60961e1487a5 - as core::ops::function::FnOnce<()>>::call_once::h5bd0ba3863a53529 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x60961e1487a5 - std::panicking::catch_unwind::do_call::h5c710722c40c5839 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x60961e1487a5 - std::panicking::catch_unwind::hf41b5be070ce0f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x60961e1487a5 - std::panic::catch_unwind::h4559aa103e6f16d6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x60961e1487a5 - test::run_test_in_process::he6fd763a772ff213 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x60961e1487a5 - test::run_test::{{closure}}::he46f5435849feb5b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x60961e11efb4 - test::run_test::{{closure}}::h12a66289c31b502a [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x60961e11efb4 - std::sys::backtrace::__rust_begin_short_backtrace::h614a7925ed7b2f5e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x60961e12295a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hbc654088c5dbff36 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x60961e12295a - as core::ops::function::FnOnce<()>>::call_once::h3f631d2ca531b61d [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x60961e12295a - std::panicking::catch_unwind::do_call::hd2548748db0aa717 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x60961e12295a - std::panicking::catch_unwind::hf7d8620d84df48e2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x60961e12295a - std::panic::catch_unwind::hdde75b8543fcb96b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x60961e12295a - std::thread::Builder::spawn_unchecked_::{{closure}}::h991e7d03b432cf3f [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x60961e12295a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hebddb40255441657 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x60961e9ed55f - as core::ops::function::FnOnce>::call_once::h55e8930dc7db99a5 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 45: 0x60961e9ed55f - std::sys::thread::unix::Thread::new::thread_start::he23d038ee4fa004e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 46: 0x70e7dc752aa4 - [INFO] [stdout] 47: 0x70e7dc7dfa34 - clone [INFO] [stdout] 48: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- quote_gen::rust_module_builder::tests::test_include_relative_root_but_dont_generate_it stdout ---- [INFO] [stdout] Warning: rustfmt formatting failed (rustfmt failed: error: 'rustfmt' is not installed for the custom toolchain '2440211fe03bc45c89b6dc1a3df18382ce91e32b'. [INFO] [stdout] note: this is a custom toolchain, which cannot use `rustup component add` [INFO] [stdout] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py` [INFO] [stdout] ), falling back to prettyplease [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/quote_gen/snapshots/include_relative_root_but_dont_generate_it.snap [INFO] [stdout] Snapshot: include_relative_root_but_dont_generate_it [INFO] [stdout] Source: src/quote_gen/rust_module_builder.rs:334 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 0 │ pub mod a { [INFO] [stdout] 1 │- use super::{_root, _root::*}; [INFO] [stdout] 2 │- struct B { [INFO] [stdout] 3 │- a: a::b::A, [INFO] [stdout] 4 │- } [INFO] [stdout] 5 │- pub mod b { [INFO] [stdout] 6 1 │ use super::{_root, _root::*}; [INFO] [stdout] 7 │- struct A; [INFO] [stdout] 8 │- } [INFO] [stdout] 2 │+ struct B { [INFO] [stdout] 3 │+ a: a::b::A, [INFO] [stdout] 4 │+ } [INFO] [stdout] 5 │+ pub mod b { [INFO] [stdout] 6 │+ use super::{_root, _root::*}; [INFO] [stdout] 7 │+ struct A; [INFO] [stdout] 8 │+ } [INFO] [stdout] 9 9 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'quote_gen::rust_module_builder::tests::test_include_relative_root_but_dont_generate_it' (2826) panicked at src/quote_gen/rust_module_builder.rs:334:5: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: FileIo(Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }, "/opt/rustwide/workdir/src/quote_gen/snapshots/include_relative_root_but_dont_generate_it.snap.new") [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x60961ea1ab92 - std::backtrace_rs::backtrace::libunwind::trace::h22a6a535a50603c6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x60961ea1ab92 - std::backtrace_rs::backtrace::trace_unsynchronized::h2503a4f30dbfbaa2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x60961ea1ab92 - std::sys::backtrace::_print_fmt::hec54e31f36456895 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x60961ea1ab92 - ::fmt::hb1988e8b50fa5f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x60961ea2ee1f - core::fmt::rt::Argument::fmt::h3118a66e1a57a586 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x60961ea2ee1f - core::fmt::write::hcd056e06a609f600 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x60961e9e5671 - std::io::default_write_fmt::hdabc5d6505cb374b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x60961e9e5671 - std::io::Write::write_fmt::h18c82179fdc1f9d2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x60961e9f24d2 - std::sys::backtrace::BacktraceLock::print::h69f50ba7cfff8317 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x60961e9f820f - std::panicking::default_hook::{{closure}}::hfa978eb2255ab3ab [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x60961e9f80a1 - std::panicking::default_hook::h09da2eaf8f1deadd [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x60961e132d9e - as core::ops::function::Fn>::call::h1697e4d80f236ef6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x60961e132d9e - test::test_main_with_exit_callback::{{closure}}::h8f63929ca9fd483b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x60961e9f897f - as core::ops::function::Fn>::call::hba67e0dc3e3fc548 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x60961e9f897f - std::panicking::panic_with_hook::h13c40d280d130fd3 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x60961e9f872a - std::panicking::panic_handler::{{closure}}::hd79d22e8a1d3b951 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x60961e9f2609 - std::sys::backtrace::__rust_end_short_backtrace::h83414d1ec69cf3a6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x60961e9d8b4d - __rustc[b78aa6c7b08e5dc4]::rust_begin_unwind [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x60961ea39f00 - core::panicking::panic_fmt::h326b75cf8ee01b13 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x60961ea38be6 - core::result::unwrap_failed::h38baee32fdec5ac8 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x60961dee5a43 - core::result::Result::unwrap::h4e75d443417df354 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x60961dee5a43 - wgsl_bindgen::quote_gen::rust_module_builder::tests::test_include_relative_root_but_dont_generate_it::{{closure}}::h64e1a75ae9e1fd7f [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x60961df8c6af - insta::settings::Settings::bind::h7018f208640860ec [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.1/src/settings.rs:509:9 [INFO] [stdout] 23: 0x60961dee5598 - wgsl_bindgen::quote_gen::rust_module_builder::tests::test_include_relative_root_but_dont_generate_it::h408f9f3170804611 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x60961dee5b37 - wgsl_bindgen::quote_gen::rust_module_builder::tests::test_include_relative_root_but_dont_generate_it::{{closure}}::hb1194133e0774901 [INFO] [stdout] at /opt/rustwide/workdir/src/quote_gen/rust_module_builder.rs:322:55 [INFO] [stdout] 25: 0x60961df3aff6 - core::ops::function::FnOnce::call_once::h667a6cd05a729eae [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x60961e132b7b - core::ops::function::FnOnce::call_once::he420dad47d9aac14 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x60961e132b7b - test::__rust_begin_short_backtrace::h51976f55c263f7c2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x60961e1487a5 - test::run_test_in_process::{{closure}}::h6aa4339396d33320 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x60961e1487a5 - as core::ops::function::FnOnce<()>>::call_once::h5bd0ba3863a53529 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x60961e1487a5 - std::panicking::catch_unwind::do_call::h5c710722c40c5839 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x60961e1487a5 - std::panicking::catch_unwind::hf41b5be070ce0f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x60961e1487a5 - std::panic::catch_unwind::h4559aa103e6f16d6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x60961e1487a5 - test::run_test_in_process::he6fd763a772ff213 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x60961e1487a5 - test::run_test::{{closure}}::he46f5435849feb5b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x60961e11efb4 - test::run_test::{{closure}}::h12a66289c31b502a [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x60961e11efb4 - std::sys::backtrace::__rust_begin_short_backtrace::h614a7925ed7b2f5e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x60961e12295a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hbc654088c5dbff36 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x60961e12295a - as core::ops::function::FnOnce<()>>::call_once::h3f631d2ca531b61d [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x60961e12295a - std::panicking::catch_unwind::do_call::hd2548748db0aa717 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x60961e12295a - std::panicking::catch_unwind::hf7d8620d84df48e2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x60961e12295a - std::panic::catch_unwind::hdde75b8543fcb96b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x60961e12295a - std::thread::Builder::spawn_unchecked_::{{closure}}::h991e7d03b432cf3f [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x60961e12295a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hebddb40255441657 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x60961e9ed55f - as core::ops::function::FnOnce>::call_once::h55e8930dc7db99a5 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 45: 0x60961e9ed55f - std::sys::thread::unix::Thread::new::thread_start::he23d038ee4fa004e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 46: 0x70e7dc752aa4 - [INFO] [stdout] 47: 0x70e7dc7dfa34 - clone [INFO] [stdout] 48: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- generate::shader_module::tests::write_compute_module_multiple_entries stdout ---- [INFO] [stdout] Warning: rustfmt formatting failed (rustfmt failed: error: 'rustfmt' is not installed for the custom toolchain '2440211fe03bc45c89b6dc1a3df18382ce91e32b'. [INFO] [stdout] note: this is a custom toolchain, which cannot use `rustup component add` [INFO] [stdout] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py` [INFO] [stdout] ), falling back to prettyplease [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/generate/snapshots/write_compute_module_multiple_entries.snap [INFO] [stdout] Snapshot: write_compute_module_multiple_entries [INFO] [stdout] Source: src/generate/shader_module.rs:830 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 0 │ pub mod compute { [INFO] [stdout] 1 │- use super::{_root, _root::*}; [INFO] [stdout] 2 │- pub const MAIN1_WORKGROUP_SIZE: [u32; 3] = [1, 2, 3]; [INFO] [stdout] 3 │- pub fn create_main1_pipeline_embed_source( [INFO] [stdout] 4 │- device: &wgpu::Device, [INFO] [stdout] 5 │- ) -> wgpu::ComputePipeline { [INFO] [stdout] 6 │- let module = super::create_shader_module_embed_source(device); [INFO] [stdout] 7 │- let layout = super::create_pipeline_layout(device); [INFO] [stdout] 8 │- device.create_compute_pipeline(&wgpu::ComputePipelineDescriptor { [INFO] [stdout] 9 │- label: Some("Compute Pipeline main1"), [INFO] [stdout] 10 │- layout: Some(&layout), [INFO] [stdout] 11 │- module: &module, [INFO] [stdout] 12 │- entry_point: Some("main1"), [INFO] [stdout] 13 │- compilation_options: Default::default(), [INFO] [stdout] 14 │- cache: None, [INFO] [stdout] 15 │- }) [INFO] [stdout] 16 │- } [INFO] [stdout] 17 │- pub const MAIN2_WORKGROUP_SIZE: [u32; 3] = [256, 1, 1]; [INFO] [stdout] 18 │- pub fn create_main2_pipeline_embed_source( [INFO] [stdout] 19 │- device: &wgpu::Device, [INFO] [stdout] 20 │- ) -> wgpu::ComputePipeline { [INFO] [stdout] 21 │- let module = super::create_shader_module_embed_source(device); [INFO] [stdout] 22 │- let layout = super::create_pipeline_layout(device); [INFO] [stdout] 23 │- device.create_compute_pipeline(&wgpu::ComputePipelineDescriptor { [INFO] [stdout] 24 │- label: Some("Compute Pipeline main2"), [INFO] [stdout] 25 │- layout: Some(&layout), [INFO] [stdout] 26 │- module: &module, [INFO] [stdout] 27 │- entry_point: Some("main2"), [INFO] [stdout] 28 │- compilation_options: Default::default(), [INFO] [stdout] 29 │- cache: None, [INFO] [stdout] 30 │- }) [INFO] [stdout] 31 │- } [INFO] [stdout] 1 │+ use super::{_root, _root::*}; [INFO] [stdout] 2 │+ pub const MAIN1_WORKGROUP_SIZE: [u32; 3] = [1, 2, 3]; [INFO] [stdout] 3 │+ pub fn create_main1_pipeline_embed_source( [INFO] [stdout] 4 │+ device: &wgpu::Device, [INFO] [stdout] 5 │+ ) -> wgpu::ComputePipeline { [INFO] [stdout] 6 │+ let module = super::create_shader_module_embed_source(device); [INFO] [stdout] 7 │+ let layout = super::create_pipeline_layout(device); [INFO] [stdout] 8 │+ device [INFO] [stdout] 9 │+ .create_compute_pipeline( [INFO] [stdout] 10 │+ &wgpu::ComputePipelineDescriptor { [INFO] [stdout] 11 │+ label: Some("Compute Pipeline main1"), [INFO] [stdout] 12 │+ layout: Some(&layout), [INFO] [stdout] 13 │+ module: &module, [INFO] [stdout] 14 │+ entry_point: Some("main1"), [INFO] [stdout] 15 │+ compilation_options: Default::default(), [INFO] [stdout] 16 │+ cache: None, [INFO] [stdout] 17 │+ }, [INFO] [stdout] 18 │+ ) [INFO] [stdout] 19 │+ } [INFO] [stdout] 20 │+ pub const MAIN2_WORKGROUP_SIZE: [u32; 3] = [256, 1, 1]; [INFO] [stdout] 21 │+ pub fn create_main2_pipeline_embed_source( [INFO] [stdout] 22 │+ device: &wgpu::Device, [INFO] [stdout] 23 │+ ) -> wgpu::ComputePipeline { [INFO] [stdout] 24 │+ let module = super::create_shader_module_embed_source(device); [INFO] [stdout] 25 │+ let layout = super::create_pipeline_layout(device); [INFO] [stdout] 26 │+ device [INFO] [stdout] 27 │+ .create_compute_pipeline( [INFO] [stdout] 28 │+ &wgpu::ComputePipelineDescriptor { [INFO] [stdout] 29 │+ label: Some("Compute Pipeline main2"), [INFO] [stdout] 30 │+ layout: Some(&layout), [INFO] [stdout] 31 │+ module: &module, [INFO] [stdout] 32 │+ entry_point: Some("main2"), [INFO] [stdout] 33 │+ compilation_options: Default::default(), [INFO] [stdout] 34 │+ cache: None, [INFO] [stdout] 35 │+ }, [INFO] [stdout] 36 │+ ) [INFO] [stdout] 37 │+ } [INFO] [stdout] 32 38 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'generate::shader_module::tests::write_compute_module_multiple_entries' (2725) panicked at src/generate/shader_module.rs:830:5: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: FileIo(Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }, "/opt/rustwide/workdir/src/generate/snapshots/write_compute_module_multiple_entries.snap.new") [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x60961ea1ab92 - std::backtrace_rs::backtrace::libunwind::trace::h22a6a535a50603c6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x60961ea1ab92 - std::backtrace_rs::backtrace::trace_unsynchronized::h2503a4f30dbfbaa2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x60961ea1ab92 - std::sys::backtrace::_print_fmt::hec54e31f36456895 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x60961ea1ab92 - ::fmt::hb1988e8b50fa5f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x60961ea2ee1f - core::fmt::rt::Argument::fmt::h3118a66e1a57a586 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x60961ea2ee1f - core::fmt::write::hcd056e06a609f600 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x60961e9e5671 - std::io::default_write_fmt::hdabc5d6505cb374b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x60961e9e5671 - std::io::Write::write_fmt::h18c82179fdc1f9d2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x60961e9f24d2 - std::sys::backtrace::BacktraceLock::print::h69f50ba7cfff8317 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x60961e9f820f - std::panicking::default_hook::{{closure}}::hfa978eb2255ab3ab [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x60961e9f80a1 - std::panicking::default_hook::h09da2eaf8f1deadd [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x60961e132d9e - as core::ops::function::Fn>::call::h1697e4d80f236ef6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x60961e132d9e - test::test_main_with_exit_callback::{{closure}}::h8f63929ca9fd483b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x60961e9f897f - as core::ops::function::Fn>::call::hba67e0dc3e3fc548 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x60961e9f897f - std::panicking::panic_with_hook::h13c40d280d130fd3 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x60961e9f872a - std::panicking::panic_handler::{{closure}}::hd79d22e8a1d3b951 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x60961e9f2609 - std::sys::backtrace::__rust_end_short_backtrace::h83414d1ec69cf3a6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x60961e9d8b4d - __rustc[b78aa6c7b08e5dc4]::rust_begin_unwind [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x60961ea39f00 - core::panicking::panic_fmt::h326b75cf8ee01b13 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x60961ea38be6 - core::result::unwrap_failed::h38baee32fdec5ac8 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x60961deab6d3 - core::result::Result::unwrap::h4e75d443417df354 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x60961deab6d3 - wgsl_bindgen::generate::shader_module::tests::write_compute_module_multiple_entries::{{closure}}::ha3cc6099ee8cb994 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x60961df8ca6f - insta::settings::Settings::bind::h873e5f49e13c2ec5 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.1/src/settings.rs:509:9 [INFO] [stdout] 23: 0x60961deab228 - wgsl_bindgen::generate::shader_module::tests::write_compute_module_multiple_entries::he73e29d18b143de8 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x60961deab7c7 - wgsl_bindgen::generate::shader_module::tests::write_compute_module_multiple_entries::{{closure}}::hcf6f9f682447ec07 [INFO] [stdout] at /opt/rustwide/workdir/src/generate/shader_module.rs:815:45 [INFO] [stdout] 25: 0x60961df3a176 - core::ops::function::FnOnce::call_once::h0480c0f278767c83 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x60961e132b7b - core::ops::function::FnOnce::call_once::he420dad47d9aac14 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x60961e132b7b - test::__rust_begin_short_backtrace::h51976f55c263f7c2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x60961e1487a5 - test::run_test_in_process::{{closure}}::h6aa4339396d33320 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x60961e1487a5 - as core::ops::function::FnOnce<()>>::call_once::h5bd0ba3863a53529 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x60961e1487a5 - std::panicking::catch_unwind::do_call::h5c710722c40c5839 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x60961e1487a5 - std::panicking::catch_unwind::hf41b5be070ce0f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x60961e1487a5 - std::panic::catch_unwind::h4559aa103e6f16d6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x60961e1487a5 - test::run_test_in_process::he6fd763a772ff213 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x60961e1487a5 - test::run_test::{{closure}}::he46f5435849feb5b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x60961e11efb4 - test::run_test::{{closure}}::h12a66289c31b502a [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x60961e11efb4 - std::sys::backtrace::__rust_begin_short_backtrace::h614a7925ed7b2f5e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x60961e12295a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hbc654088c5dbff36 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x60961e12295a - as core::ops::function::FnOnce<()>>::call_once::h3f631d2ca531b61d [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x60961e12295a - std::panicking::catch_unwind::do_call::hd2548748db0aa717 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x60961e12295a - std::panicking::catch_unwind::hf7d8620d84df48e2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x60961e12295a - std::panic::catch_unwind::hdde75b8543fcb96b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x60961e12295a - std::thread::Builder::spawn_unchecked_::{{closure}}::h991e7d03b432cf3f [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x60961e12295a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hebddb40255441657 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x60961e9ed55f - as core::ops::function::FnOnce>::call_once::h55e8930dc7db99a5 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 45: 0x60961e9ed55f - std::sys::thread::unix::Thread::new::thread_start::he23d038ee4fa004e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 46: 0x70e7dc752aa4 - [INFO] [stdout] 47: 0x70e7dc7dfa34 - clone [INFO] [stdout] 48: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- quote_gen::rust_module_builder::tests::test_module_add_duplicates stdout ---- [INFO] [stdout] Warning: rustfmt formatting failed (rustfmt failed: error: 'rustfmt' is not installed for the custom toolchain '2440211fe03bc45c89b6dc1a3df18382ce91e32b'. [INFO] [stdout] note: this is a custom toolchain, which cannot use `rustup component add` [INFO] [stdout] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py` [INFO] [stdout] ), falling back to prettyplease [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/quote_gen/snapshots/module_add_duplicates.snap [INFO] [stdout] Snapshot: module_add_duplicates [INFO] [stdout] Source: src/quote_gen/rust_module_builder.rs:346 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 0 │ pub mod a { [INFO] [stdout] 1 │- struct B; [INFO] [stdout] 2 │- pub mod b { [INFO] [stdout] 3 │- struct A; [INFO] [stdout] 4 │- } [INFO] [stdout] 1 │+ struct B; [INFO] [stdout] 2 │+ pub mod b { [INFO] [stdout] 3 │+ struct A; [INFO] [stdout] 4 │+ } [INFO] [stdout] 5 5 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'quote_gen::rust_module_builder::tests::test_module_add_duplicates' (3548) panicked at src/quote_gen/rust_module_builder.rs:346:5: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: FileIo(Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }, "/opt/rustwide/workdir/src/quote_gen/snapshots/module_add_duplicates.snap.new") [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x60961ea1ab92 - std::backtrace_rs::backtrace::libunwind::trace::h22a6a535a50603c6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x60961ea1ab92 - std::backtrace_rs::backtrace::trace_unsynchronized::h2503a4f30dbfbaa2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x60961ea1ab92 - std::sys::backtrace::_print_fmt::hec54e31f36456895 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x60961ea1ab92 - ::fmt::hb1988e8b50fa5f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x60961ea2ee1f - core::fmt::rt::Argument::fmt::h3118a66e1a57a586 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x60961ea2ee1f - core::fmt::write::hcd056e06a609f600 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x60961e9e5671 - std::io::default_write_fmt::hdabc5d6505cb374b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x60961e9e5671 - std::io::Write::write_fmt::h18c82179fdc1f9d2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x60961e9f24d2 - std::sys::backtrace::BacktraceLock::print::h69f50ba7cfff8317 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x60961e9f820f - std::panicking::default_hook::{{closure}}::hfa978eb2255ab3ab [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x60961e9f80a1 - std::panicking::default_hook::h09da2eaf8f1deadd [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x60961e132d9e - as core::ops::function::Fn>::call::h1697e4d80f236ef6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x60961e132d9e - test::test_main_with_exit_callback::{{closure}}::h8f63929ca9fd483b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x60961e9f897f - as core::ops::function::Fn>::call::hba67e0dc3e3fc548 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x60961e9f897f - std::panicking::panic_with_hook::h13c40d280d130fd3 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x60961e9f872a - std::panicking::panic_handler::{{closure}}::hd79d22e8a1d3b951 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x60961e9f2609 - std::sys::backtrace::__rust_end_short_backtrace::h83414d1ec69cf3a6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x60961e9d8b4d - __rustc[b78aa6c7b08e5dc4]::rust_begin_unwind [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x60961ea39f00 - core::panicking::panic_fmt::h326b75cf8ee01b13 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x60961ea38be6 - core::result::unwrap_failed::h38baee32fdec5ac8 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x60961dee3813 - core::result::Result::unwrap::h4e75d443417df354 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x60961dee3813 - wgsl_bindgen::quote_gen::rust_module_builder::tests::test_module_add_duplicates::{{closure}}::hf855b403c3419db9 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x60961df8c56f - insta::settings::Settings::bind::h6e45cc8eb11b7bc7 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.1/src/settings.rs:509:9 [INFO] [stdout] 23: 0x60961dee330a - wgsl_bindgen::quote_gen::rust_module_builder::tests::test_module_add_duplicates::h09c03cdeae689eb5 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x60961dee33dd - wgsl_bindgen::quote_gen::rust_module_builder::tests::test_module_add_duplicates::{{closure}}::hedd7f579013e2501 [INFO] [stdout] at /opt/rustwide/workdir/src/quote_gen/rust_module_builder.rs:338:38 [INFO] [stdout] 25: 0x60961df3c276 - core::ops::function::FnOnce::call_once::he2fbf5017add7d48 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x60961e132b7b - core::ops::function::FnOnce::call_once::he420dad47d9aac14 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x60961e132b7b - test::__rust_begin_short_backtrace::h51976f55c263f7c2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x60961e1487a5 - test::run_test_in_process::{{closure}}::h6aa4339396d33320 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x60961e1487a5 - as core::ops::function::FnOnce<()>>::call_once::h5bd0ba3863a53529 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x60961e1487a5 - std::panicking::catch_unwind::do_call::h5c710722c40c5839 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x60961e1487a5 - std::panicking::catch_unwind::hf41b5be070ce0f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x60961e1487a5 - std::panic::catch_unwind::h4559aa103e6f16d6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x60961e1487a5 - test::run_test_in_process::he6fd763a772ff213 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x60961e1487a5 - test::run_test::{{closure}}::he46f5435849feb5b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x60961e11efb4 - test::run_test::{{closure}}::h12a66289c31b502a [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x60961e11efb4 - std::sys::backtrace::__rust_begin_short_backtrace::h614a7925ed7b2f5e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x60961e12295a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hbc654088c5dbff36 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x60961e12295a - as core::ops::function::FnOnce<()>>::call_once::h3f631d2ca531b61d [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x60961e12295a - std::panicking::catch_unwind::do_call::hd2548748db0aa717 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x60961e12295a - std::panicking::catch_unwind::hf7d8620d84df48e2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x60961e12295a - std::panic::catch_unwind::hdde75b8543fcb96b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x60961e12295a - std::thread::Builder::spawn_unchecked_::{{closure}}::h991e7d03b432cf3f [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x60961e12295a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hebddb40255441657 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x60961e9ed55f - as core::ops::function::FnOnce>::call_once::h55e8930dc7db99a5 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 45: 0x60961e9ed55f - std::sys::thread::unix::Thread::new::thread_start::he23d038ee4fa004e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 46: 0x70e7dc752aa4 - [INFO] [stdout] 47: 0x70e7dc7dfa34 - clone [INFO] [stdout] 48: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- quote_gen::rust_module_builder::tests::test_module_generation_works stdout ---- [INFO] [stdout] Warning: rustfmt formatting failed (rustfmt failed: error: 'rustfmt' is not installed for the custom toolchain '2440211fe03bc45c89b6dc1a3df18382ce91e32b'. [INFO] [stdout] note: this is a custom toolchain, which cannot use `rustup component add` [INFO] [stdout] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py` [INFO] [stdout] ), falling back to prettyplease [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/quote_gen/snapshots/module_generation_works.snap [INFO] [stdout] Snapshot: module_generation_works [INFO] [stdout] Source: src/quote_gen/rust_module_builder.rs:302 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 0 │ pub mod a { [INFO] [stdout] 1 │- pub mod b { [INFO] [stdout] 2 │- pub mod c { [INFO] [stdout] 3 │- struct B; [INFO] [stdout] 4 │- struct C; [INFO] [stdout] 5 │- pub mod d { [INFO] [stdout] 6 │- struct A; [INFO] [stdout] 7 │- } [INFO] [stdout] 1 │+ pub mod b { [INFO] [stdout] 2 │+ pub mod c { [INFO] [stdout] 3 │+ struct B; [INFO] [stdout] 4 │+ struct C; [INFO] [stdout] 5 │+ pub mod d { [INFO] [stdout] 6 │+ struct A; [INFO] [stdout] 7 │+ } [INFO] [stdout] 8 │+ } [INFO] [stdout] 8 9 │ } [INFO] [stdout] 9 │- } [INFO] [stdout] 10 10 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'quote_gen::rust_module_builder::tests::test_module_generation_works' (3655) panicked at src/quote_gen/rust_module_builder.rs:302:5: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: FileIo(Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }, "/opt/rustwide/workdir/src/quote_gen/snapshots/module_generation_works.snap.new") [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x60961ea1ab92 - std::backtrace_rs::backtrace::libunwind::trace::h22a6a535a50603c6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x60961ea1ab92 - std::backtrace_rs::backtrace::trace_unsynchronized::h2503a4f30dbfbaa2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x60961ea1ab92 - std::sys::backtrace::_print_fmt::hec54e31f36456895 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x60961ea1ab92 - ::fmt::hb1988e8b50fa5f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x60961ea2ee1f - core::fmt::rt::Argument::fmt::h3118a66e1a57a586 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x60961ea2ee1f - core::fmt::write::hcd056e06a609f600 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x60961e9e5671 - std::io::default_write_fmt::hdabc5d6505cb374b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x60961e9e5671 - std::io::Write::write_fmt::h18c82179fdc1f9d2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x60961e9f24d2 - std::sys::backtrace::BacktraceLock::print::h69f50ba7cfff8317 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x60961e9f820f - std::panicking::default_hook::{{closure}}::hfa978eb2255ab3ab [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x60961e9f80a1 - std::panicking::default_hook::h09da2eaf8f1deadd [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x60961e132d9e - as core::ops::function::Fn>::call::h1697e4d80f236ef6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x60961e132d9e - test::test_main_with_exit_callback::{{closure}}::h8f63929ca9fd483b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x60961e9f897f - as core::ops::function::Fn>::call::hba67e0dc3e3fc548 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x60961e9f897f - std::panicking::panic_with_hook::h13c40d280d130fd3 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x60961e9f872a - std::panicking::panic_handler::{{closure}}::hd79d22e8a1d3b951 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x60961e9f2609 - std::sys::backtrace::__rust_end_short_backtrace::h83414d1ec69cf3a6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x60961e9d8b4d - __rustc[b78aa6c7b08e5dc4]::rust_begin_unwind [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x60961ea39f00 - core::panicking::panic_fmt::h326b75cf8ee01b13 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x60961ea38be6 - core::result::unwrap_failed::h38baee32fdec5ac8 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x60961dee4bc3 - core::result::Result::unwrap::h4e75d443417df354 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x60961dee4bc3 - wgsl_bindgen::quote_gen::rust_module_builder::tests::test_module_generation_works::{{closure}}::h7b0544e0183d6868 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x60961df8d00f - insta::settings::Settings::bind::hceb9870256b262cb [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.1/src/settings.rs:509:9 [INFO] [stdout] 23: 0x60961dee46e4 - wgsl_bindgen::quote_gen::rust_module_builder::tests::test_module_generation_works::hb7f28f4355f15b46 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x60961dee4797 - wgsl_bindgen::quote_gen::rust_module_builder::tests::test_module_generation_works::{{closure}}::h3f8aa017a2e66400 [INFO] [stdout] at /opt/rustwide/workdir/src/quote_gen/rust_module_builder.rs:294:36 [INFO] [stdout] 25: 0x60961df3b546 - core::ops::function::FnOnce::call_once::h9cad142717552eb8 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x60961e132b7b - core::ops::function::FnOnce::call_once::he420dad47d9aac14 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x60961e132b7b - test::__rust_begin_short_backtrace::h51976f55c263f7c2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x60961e1487a5 - test::run_test_in_process::{{closure}}::h6aa4339396d33320 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x60961e1487a5 - as core::ops::function::FnOnce<()>>::call_once::h5bd0ba3863a53529 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x60961e1487a5 - std::panicking::catch_unwind::do_call::h5c710722c40c5839 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x60961e1487a5 - std::panicking::catch_unwind::hf41b5be070ce0f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x60961e1487a5 - std::panic::catch_unwind::h4559aa103e6f16d6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x60961e1487a5 - test::run_test_in_process::he6fd763a772ff213 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x60961e1487a5 - test::run_test::{{closure}}::he46f5435849feb5b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x60961e11efb4 - test::run_test::{{closure}}::h12a66289c31b502a [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x60961e11efb4 - std::sys::backtrace::__rust_begin_short_backtrace::h614a7925ed7b2f5e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x60961e12295a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hbc654088c5dbff36 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x60961e12295a - as core::ops::function::FnOnce<()>>::call_once::h3f631d2ca531b61d [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x60961e12295a - std::panicking::catch_unwind::do_call::hd2548748db0aa717 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x60961e12295a - std::panicking::catch_unwind::hf7d8620d84df48e2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x60961e12295a - std::panic::catch_unwind::hdde75b8543fcb96b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x60961e12295a - std::thread::Builder::spawn_unchecked_::{{closure}}::h991e7d03b432cf3f [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x60961e12295a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hebddb40255441657 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x60961e9ed55f - as core::ops::function::FnOnce>::call_once::h55e8930dc7db99a5 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 45: 0x60961e9ed55f - std::sys::thread::unix::Thread::new::thread_start::he23d038ee4fa004e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 46: 0x70e7dc752aa4 - [INFO] [stdout] 47: 0x70e7dc7dfa34 - clone [INFO] [stdout] 48: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- quote_gen::rust_module_builder::tests::test_relative_root_feature stdout ---- [INFO] [stdout] Warning: rustfmt formatting failed (rustfmt failed: error: 'rustfmt' is not installed for the custom toolchain '2440211fe03bc45c89b6dc1a3df18382ce91e32b'. [INFO] [stdout] note: this is a custom toolchain, which cannot use `rustup component add` [INFO] [stdout] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py` [INFO] [stdout] ), falling back to prettyplease [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/quote_gen/snapshots/relative_root_feature.snap [INFO] [stdout] Snapshot: relative_root_feature [INFO] [stdout] Source: src/quote_gen/rust_module_builder.rs:318 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 0 │ mod _root { [INFO] [stdout] 1 │- pub use super::*; [INFO] [stdout] 1 │+ pub use super::*; [INFO] [stdout] 2 2 │ } [INFO] [stdout] 3 3 │ pub mod a { [INFO] [stdout] 4 │- use super::{_root, _root::*}; [INFO] [stdout] 5 │- struct B { [INFO] [stdout] 6 │- a: a::b::A, [INFO] [stdout] 7 │- } [INFO] [stdout] 8 │- pub mod b { [INFO] [stdout] 9 4 │ use super::{_root, _root::*}; [INFO] [stdout] 10 │- struct A; [INFO] [stdout] 11 │- } [INFO] [stdout] 5 │+ struct B { [INFO] [stdout] 6 │+ a: a::b::A, [INFO] [stdout] 7 │+ } [INFO] [stdout] 8 │+ pub mod b { [INFO] [stdout] 9 │+ use super::{_root, _root::*}; [INFO] [stdout] 10 │+ struct A; [INFO] [stdout] 11 │+ } [INFO] [stdout] 12 12 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'quote_gen::rust_module_builder::tests::test_relative_root_feature' (3927) panicked at src/quote_gen/rust_module_builder.rs:318:5: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: FileIo(Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }, "/opt/rustwide/workdir/src/quote_gen/snapshots/relative_root_feature.snap.new") [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x60961ea1ab92 - std::backtrace_rs::backtrace::libunwind::trace::h22a6a535a50603c6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x60961ea1ab92 - std::backtrace_rs::backtrace::trace_unsynchronized::h2503a4f30dbfbaa2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x60961ea1ab92 - std::sys::backtrace::_print_fmt::hec54e31f36456895 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x60961ea1ab92 - ::fmt::hb1988e8b50fa5f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x60961ea2ee1f - core::fmt::rt::Argument::fmt::h3118a66e1a57a586 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x60961ea2ee1f - core::fmt::write::hcd056e06a609f600 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x60961e9e5671 - std::io::default_write_fmt::hdabc5d6505cb374b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x60961e9e5671 - std::io::Write::write_fmt::h18c82179fdc1f9d2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x60961e9f24d2 - std::sys::backtrace::BacktraceLock::print::h69f50ba7cfff8317 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x60961e9f820f - std::panicking::default_hook::{{closure}}::hfa978eb2255ab3ab [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x60961e9f80a1 - std::panicking::default_hook::h09da2eaf8f1deadd [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x60961e132d9e - as core::ops::function::Fn>::call::h1697e4d80f236ef6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x60961e132d9e - test::test_main_with_exit_callback::{{closure}}::h8f63929ca9fd483b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x60961e9f897f - as core::ops::function::Fn>::call::hba67e0dc3e3fc548 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x60961e9f897f - std::panicking::panic_with_hook::h13c40d280d130fd3 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x60961e9f872a - std::panicking::panic_handler::{{closure}}::hd79d22e8a1d3b951 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x60961e9f2609 - std::sys::backtrace::__rust_end_short_backtrace::h83414d1ec69cf3a6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x60961e9d8b4d - __rustc[b78aa6c7b08e5dc4]::rust_begin_unwind [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x60961ea39f00 - core::panicking::panic_fmt::h326b75cf8ee01b13 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x60961ea38be6 - core::result::unwrap_failed::h38baee32fdec5ac8 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x60961dee4213 - core::result::Result::unwrap::h4e75d443417df354 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x60961dee4213 - wgsl_bindgen::quote_gen::rust_module_builder::tests::test_relative_root_feature::{{closure}}::hac333c292b602468 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x60961df8cd8f - insta::settings::Settings::bind::haa1f945ce759d553 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.1/src/settings.rs:509:9 [INFO] [stdout] 23: 0x60961dee3d38 - wgsl_bindgen::quote_gen::rust_module_builder::tests::test_relative_root_feature::h2161a5ce8ed06f83 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x60961dee3de7 - wgsl_bindgen::quote_gen::rust_module_builder::tests::test_relative_root_feature::{{closure}}::h1e36548b4c99a400 [INFO] [stdout] at /opt/rustwide/workdir/src/quote_gen/rust_module_builder.rs:306:34 [INFO] [stdout] 25: 0x60961df3a536 - core::ops::function::FnOnce::call_once::h1db34415eae3abbd [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x60961e132b7b - core::ops::function::FnOnce::call_once::he420dad47d9aac14 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x60961e132b7b - test::__rust_begin_short_backtrace::h51976f55c263f7c2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x60961e1487a5 - test::run_test_in_process::{{closure}}::h6aa4339396d33320 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x60961e1487a5 - as core::ops::function::FnOnce<()>>::call_once::h5bd0ba3863a53529 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x60961e1487a5 - std::panicking::catch_unwind::do_call::h5c710722c40c5839 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x60961e1487a5 - std::panicking::catch_unwind::hf41b5be070ce0f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x60961e1487a5 - std::panic::catch_unwind::h4559aa103e6f16d6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x60961e1487a5 - test::run_test_in_process::he6fd763a772ff213 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x60961e1487a5 - test::run_test::{{closure}}::he46f5435849feb5b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x60961e11efb4 - test::run_test::{{closure}}::h12a66289c31b502a [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x60961e11efb4 - std::sys::backtrace::__rust_begin_short_backtrace::h614a7925ed7b2f5e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x60961e12295a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hbc654088c5dbff36 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x60961e12295a - as core::ops::function::FnOnce<()>>::call_once::h3f631d2ca531b61d [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x60961e12295a - std::panicking::catch_unwind::do_call::hd2548748db0aa717 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x60961e12295a - std::panicking::catch_unwind::hf7d8620d84df48e2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x60961e12295a - std::panic::catch_unwind::hdde75b8543fcb96b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x60961e12295a - std::thread::Builder::spawn_unchecked_::{{closure}}::h991e7d03b432cf3f [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x60961e12295a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hebddb40255441657 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x60961e9ed55f - as core::ops::function::FnOnce>::call_once::h55e8930dc7db99a5 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 45: 0x60961e9ed55f - std::sys::thread::unix::Thread::new::thread_start::he23d038ee4fa004e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 46: 0x70e7dc752aa4 - [INFO] [stdout] 47: 0x70e7dc7dfa34 - clone [INFO] [stdout] 48: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- structs::tests::test_struct_visibility stdout ---- [INFO] [stdout] Warning: rustfmt formatting failed (rustfmt failed: error: 'rustfmt' is not installed for the custom toolchain '2440211fe03bc45c89b6dc1a3df18382ce91e32b'. [INFO] [stdout] note: this is a custom toolchain, which cannot use `rustup component add` [INFO] [stdout] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py` [INFO] [stdout] ), falling back to prettyplease [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/snapshots/struct_visibility.snap [INFO] [stdout] Snapshot: struct_visibility [INFO] [stdout] Source: src/structs.rs:849 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 0 │ #[repr(C)] [INFO] [stdout] 1 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 1 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 2 2 │ pub(crate) struct Scalars { [INFO] [stdout] 3 │- pub a: u32, [INFO] [stdout] 4 │- pub b: i32, [INFO] [stdout] 5 │- pub c: f32, [INFO] [stdout] 3 │+ pub a: u32, [INFO] [stdout] 4 │+ pub b: i32, [INFO] [stdout] 5 │+ pub c: f32, [INFO] [stdout] 6 6 │ } [INFO] [stdout] 7 7 │ impl Scalars { [INFO] [stdout] 8 │- pub const fn new(a: u32, b: i32, c: f32) -> Self { [INFO] [stdout] 9 │- Self { a, b, c } [INFO] [stdout] 10 │- } [INFO] [stdout] 8 │+ pub const fn new(a: u32, b: i32, c: f32) -> Self { [INFO] [stdout] 9 │+ Self { a, b, c } [INFO] [stdout] 10 │+ } [INFO] [stdout] 11 11 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'structs::tests::test_struct_visibility' (4135) panicked at src/structs.rs:849:5: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: FileIo(Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }, "/opt/rustwide/workdir/src/snapshots/struct_visibility.snap.new") [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x60961ea1ab92 - std::backtrace_rs::backtrace::libunwind::trace::h22a6a535a50603c6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x60961ea1ab92 - std::backtrace_rs::backtrace::trace_unsynchronized::h2503a4f30dbfbaa2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x60961ea1ab92 - std::sys::backtrace::_print_fmt::hec54e31f36456895 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x60961ea1ab92 - ::fmt::hb1988e8b50fa5f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x60961ea2ee1f - core::fmt::rt::Argument::fmt::h3118a66e1a57a586 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x60961ea2ee1f - core::fmt::write::hcd056e06a609f600 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x60961e9e5671 - std::io::default_write_fmt::hdabc5d6505cb374b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x60961e9e5671 - std::io::Write::write_fmt::h18c82179fdc1f9d2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x60961e9f24d2 - std::sys::backtrace::BacktraceLock::print::h69f50ba7cfff8317 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x60961e9f820f - std::panicking::default_hook::{{closure}}::hfa978eb2255ab3ab [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x60961e9f80a1 - std::panicking::default_hook::h09da2eaf8f1deadd [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x60961e132d9e - as core::ops::function::Fn>::call::h1697e4d80f236ef6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x60961e132d9e - test::test_main_with_exit_callback::{{closure}}::h8f63929ca9fd483b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x60961e9f897f - as core::ops::function::Fn>::call::hba67e0dc3e3fc548 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x60961e9f897f - std::panicking::panic_with_hook::h13c40d280d130fd3 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x60961e9f872a - std::panicking::panic_handler::{{closure}}::hd79d22e8a1d3b951 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x60961e9f2609 - std::sys::backtrace::__rust_end_short_backtrace::h83414d1ec69cf3a6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x60961e9d8b4d - __rustc[b78aa6c7b08e5dc4]::rust_begin_unwind [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x60961ea39f00 - core::panicking::panic_fmt::h326b75cf8ee01b13 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x60961ea38be6 - core::result::unwrap_failed::h38baee32fdec5ac8 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x60961de99323 - core::result::Result::unwrap::h4e75d443417df354 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x60961de99323 - wgsl_bindgen::structs::tests::test_struct_visibility::{{closure}}::h864d28dae555951f [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x60961df8cb0f - insta::settings::Settings::bind::h93d39112f1fa5a1e [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.1/src/settings.rs:509:9 [INFO] [stdout] 23: 0x60961de98e57 - wgsl_bindgen::structs::tests::test_struct_visibility::h44d35c3fc4145d69 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x60961de99417 - wgsl_bindgen::structs::tests::test_struct_visibility::{{closure}}::hfe850822211a0726 [INFO] [stdout] at /opt/rustwide/workdir/src/structs.rs:828:30 [INFO] [stdout] 25: 0x60961df3aa16 - core::ops::function::FnOnce::call_once::h30ea149078ce531e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x60961e132b7b - core::ops::function::FnOnce::call_once::he420dad47d9aac14 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x60961e132b7b - test::__rust_begin_short_backtrace::h51976f55c263f7c2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x60961e1487a5 - test::run_test_in_process::{{closure}}::h6aa4339396d33320 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x60961e1487a5 - as core::ops::function::FnOnce<()>>::call_once::h5bd0ba3863a53529 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x60961e1487a5 - std::panicking::catch_unwind::do_call::h5c710722c40c5839 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x60961e1487a5 - std::panicking::catch_unwind::hf41b5be070ce0f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x60961e1487a5 - std::panic::catch_unwind::h4559aa103e6f16d6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x60961e1487a5 - test::run_test_in_process::he6fd763a772ff213 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x60961e1487a5 - test::run_test::{{closure}}::he46f5435849feb5b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x60961e11efb4 - test::run_test::{{closure}}::h12a66289c31b502a [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x60961e11efb4 - std::sys::backtrace::__rust_begin_short_backtrace::h614a7925ed7b2f5e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x60961e12295a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hbc654088c5dbff36 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x60961e12295a - as core::ops::function::FnOnce<()>>::call_once::h3f631d2ca531b61d [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x60961e12295a - std::panicking::catch_unwind::do_call::hd2548748db0aa717 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x60961e12295a - std::panicking::catch_unwind::hf7d8620d84df48e2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x60961e12295a - std::panic::catch_unwind::hdde75b8543fcb96b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x60961e12295a - std::thread::Builder::spawn_unchecked_::{{closure}}::h991e7d03b432cf3f [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x60961e12295a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hebddb40255441657 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x60961e9ed55f - as core::ops::function::FnOnce>::call_once::h55e8930dc7db99a5 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 45: 0x60961e9ed55f - std::sys::thread::unix::Thread::new::thread_start::he23d038ee4fa004e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 46: 0x70e7dc752aa4 - [INFO] [stdout] 47: 0x70e7dc7dfa34 - clone [INFO] [stdout] 48: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- structs::tests::write_all_structs_bytemuck_skip_input_layout_validation stdout ---- [INFO] [stdout] Warning: rustfmt formatting failed (rustfmt failed: error: 'rustfmt' is not installed for the custom toolchain '2440211fe03bc45c89b6dc1a3df18382ce91e32b'. [INFO] [stdout] note: this is a custom toolchain, which cannot use `rustup component add` [INFO] [stdout] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py` [INFO] [stdout] ), falling back to prettyplease [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/snapshots/write_all_structs_bytemuck_skip_input_layout_validation.snap [INFO] [stdout] Snapshot: write_all_structs_bytemuck_skip_input_layout_validation [INFO] [stdout] Source: src/structs.rs:578 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 0 │ #[repr(C)] [INFO] [stdout] 1 1 │ #[derive(Debug, PartialEq, Clone, Copy)] [INFO] [stdout] 2 2 │ pub struct Input0 { [INFO] [stdout] 3 │- pub a: u32, [INFO] [stdout] 4 │- pub b: i32, [INFO] [stdout] 5 │- pub c: f32, [INFO] [stdout] 3 │+ pub a: u32, [INFO] [stdout] 4 │+ pub b: i32, [INFO] [stdout] 5 │+ pub c: f32, [INFO] [stdout] 6 6 │ } [INFO] [stdout] 7 7 │ impl Input0 { [INFO] [stdout] 8 │- pub const fn new(a: u32, b: i32, c: f32) -> Self { [INFO] [stdout] 9 │- Self { a, b, c } [INFO] [stdout] 10 │- } [INFO] [stdout] 8 │+ pub const fn new(a: u32, b: i32, c: f32) -> Self { [INFO] [stdout] 9 │+ Self { a, b, c } [INFO] [stdout] 10 │+ } [INFO] [stdout] 11 11 │ } [INFO] [stdout] 12 12 │ unsafe impl bytemuck::Zeroable for Input0 {} [INFO] [stdout] 13 13 │ unsafe impl bytemuck::Pod for Input0 {} [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'structs::tests::write_all_structs_bytemuck_skip_input_layout_validation' (4397) panicked at src/structs.rs:578:5: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: FileIo(Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }, "/opt/rustwide/workdir/src/snapshots/write_all_structs_bytemuck_skip_input_layout_validation.snap.new") [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x60961ea1ab92 - std::backtrace_rs::backtrace::libunwind::trace::h22a6a535a50603c6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x60961ea1ab92 - std::backtrace_rs::backtrace::trace_unsynchronized::h2503a4f30dbfbaa2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x60961ea1ab92 - std::sys::backtrace::_print_fmt::hec54e31f36456895 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x60961ea1ab92 - ::fmt::hb1988e8b50fa5f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x60961ea2ee1f - core::fmt::rt::Argument::fmt::h3118a66e1a57a586 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x60961ea2ee1f - core::fmt::write::hcd056e06a609f600 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x60961e9e5671 - std::io::default_write_fmt::hdabc5d6505cb374b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x60961e9e5671 - std::io::Write::write_fmt::h18c82179fdc1f9d2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x60961e9f24d2 - std::sys::backtrace::BacktraceLock::print::h69f50ba7cfff8317 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x60961e9f820f - std::panicking::default_hook::{{closure}}::hfa978eb2255ab3ab [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x60961e9f80a1 - std::panicking::default_hook::h09da2eaf8f1deadd [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x60961e132d9e - as core::ops::function::Fn>::call::h1697e4d80f236ef6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x60961e132d9e - test::test_main_with_exit_callback::{{closure}}::h8f63929ca9fd483b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x60961e9f897f - as core::ops::function::Fn>::call::hba67e0dc3e3fc548 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x60961e9f897f - std::panicking::panic_with_hook::h13c40d280d130fd3 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x60961e9f872a - std::panicking::panic_handler::{{closure}}::hd79d22e8a1d3b951 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x60961e9f2609 - std::sys::backtrace::__rust_end_short_backtrace::h83414d1ec69cf3a6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x60961e9d8b4d - __rustc[b78aa6c7b08e5dc4]::rust_begin_unwind [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x60961ea39f00 - core::panicking::panic_fmt::h326b75cf8ee01b13 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x60961ea38be6 - core::result::unwrap_failed::h38baee32fdec5ac8 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x60961dea4e43 - core::result::Result::unwrap::h4e75d443417df354 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x60961dea4e43 - wgsl_bindgen::structs::tests::write_all_structs_bytemuck_skip_input_layout_validation::{{closure}}::ha10633b7c20d806b [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x60961df8c60f - insta::settings::Settings::bind::h6f0d72594f27e99a [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.1/src/settings.rs:509:9 [INFO] [stdout] 23: 0x60961dea4963 - wgsl_bindgen::structs::tests::write_all_structs_bytemuck_skip_input_layout_validation::h4fff9df58564890f [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x60961dea4f37 - wgsl_bindgen::structs::tests::write_all_structs_bytemuck_skip_input_layout_validation::{{closure}}::hf46e11d5617bd1c7 [INFO] [stdout] at /opt/rustwide/workdir/src/structs.rs:549:63 [INFO] [stdout] 25: 0x60961df3b866 - core::ops::function::FnOnce::call_once::hab093a72fe3ca9cf [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x60961e132b7b - core::ops::function::FnOnce::call_once::he420dad47d9aac14 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x60961e132b7b - test::__rust_begin_short_backtrace::h51976f55c263f7c2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x60961e1487a5 - test::run_test_in_process::{{closure}}::h6aa4339396d33320 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x60961e1487a5 - as core::ops::function::FnOnce<()>>::call_once::h5bd0ba3863a53529 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x60961e1487a5 - std::panicking::catch_unwind::do_call::h5c710722c40c5839 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x60961e1487a5 - std::panicking::catch_unwind::hf41b5be070ce0f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x60961e1487a5 - std::panic::catch_unwind::h4559aa103e6f16d6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x60961e1487a5 - test::run_test_in_process::he6fd763a772ff213 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x60961e1487a5 - test::run_test::{{closure}}::he46f5435849feb5b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x60961e11efb4 - test::run_test::{{closure}}::h12a66289c31b502a [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x60961e11efb4 - std::sys::backtrace::__rust_begin_short_backtrace::h614a7925ed7b2f5e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x60961e12295a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hbc654088c5dbff36 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x60961e12295a - as core::ops::function::FnOnce<()>>::call_once::h3f631d2ca531b61d [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x60961e12295a - std::panicking::catch_unwind::do_call::hd2548748db0aa717 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x60961e12295a - std::panicking::catch_unwind::hf7d8620d84df48e2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x60961e12295a - std::panic::catch_unwind::hdde75b8543fcb96b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x60961e12295a - std::thread::Builder::spawn_unchecked_::{{closure}}::h991e7d03b432cf3f [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x60961e12295a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hebddb40255441657 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x60961e9ed55f - as core::ops::function::FnOnce>::call_once::h55e8930dc7db99a5 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 45: 0x60961e9ed55f - std::sys::thread::unix::Thread::new::thread_start::he23d038ee4fa004e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 46: 0x70e7dc752aa4 - [INFO] [stdout] 47: 0x70e7dc7dfa34 - clone [INFO] [stdout] 48: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- structs::tests::write_all_structs_bytemuck_input_layout_validation stdout ---- [INFO] [stdout] Warning: rustfmt formatting failed (rustfmt failed: error: 'rustfmt' is not installed for the custom toolchain '2440211fe03bc45c89b6dc1a3df18382ce91e32b'. [INFO] [stdout] note: this is a custom toolchain, which cannot use `rustup component add` [INFO] [stdout] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py` [INFO] [stdout] ), falling back to prettyplease [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/snapshots/write_all_structs_bytemuck_input_layout_validation.snap [INFO] [stdout] Snapshot: write_all_structs_bytemuck_input_layout_validation [INFO] [stdout] Source: src/structs.rs:624 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 0 │ #[repr(C, align(4))] [INFO] [stdout] 1 1 │ #[derive(Debug, PartialEq, Clone, Copy)] [INFO] [stdout] 2 2 │ pub struct Input0 { [INFO] [stdout] 3 │- #[doc = "offset: 0, size: 4, type: `u32`"] [INFO] [stdout] 4 │- pub a: u32, [INFO] [stdout] 5 │- pub _pad_a: [u8; 0x4], [INFO] [stdout] 6 │- #[doc = "offset: 8, size: 4, type: `i32`"] [INFO] [stdout] 7 │- pub b: i32, [INFO] [stdout] 8 │- pub _pad_b: [u8; 0x14], [INFO] [stdout] 9 │- #[doc = "offset: 32, size: 4, type: `f32`"] [INFO] [stdout] 10 │- pub c: f32, [INFO] [stdout] 11 │- pub _pad_d: [u8; 0x1C], [INFO] [stdout] 3 │+ ///offset: 0, size: 4, type: `u32` [INFO] [stdout] 4 │+ pub a: u32, [INFO] [stdout] 5 │+ pub _pad_a: [u8; 0x4], [INFO] [stdout] 6 │+ ///offset: 8, size: 4, type: `i32` [INFO] [stdout] 7 │+ pub b: i32, [INFO] [stdout] 8 │+ pub _pad_b: [u8; 0x14], [INFO] [stdout] 9 │+ ///offset: 32, size: 4, type: `f32` [INFO] [stdout] 10 │+ pub c: f32, [INFO] [stdout] 11 │+ pub _pad_d: [u8; 0x1C], [INFO] [stdout] 12 12 │ } [INFO] [stdout] 13 13 │ impl Input0 { [INFO] [stdout] 14 │- pub const fn new(a: u32, b: i32, c: f32) -> Self { [INFO] [stdout] 15 │- Self { [INFO] [stdout] 16 │- a, [INFO] [stdout] 17 │- _pad_a: [0; 0x4], [INFO] [stdout] 18 │- b, [INFO] [stdout] 19 │- _pad_b: [0; 0x14], [INFO] [stdout] 20 │- c, [INFO] [stdout] 21 │- _pad_d: [0; 0x1C], [INFO] [stdout] 14 │+ pub const fn new(a: u32, b: i32, c: f32) -> Self { [INFO] [stdout] 15 │+ Self { [INFO] [stdout] 16 │+ a, [INFO] [stdout] 17 │+ _pad_a: [0; 0x4], [INFO] [stdout] 18 │+ b, [INFO] [stdout] 19 │+ _pad_b: [0; 0x14], [INFO] [stdout] 20 │+ c, [INFO] [stdout] 21 │+ _pad_d: [0; 0x1C], [INFO] [stdout] 22 │+ } [INFO] [stdout] 22 23 │ } [INFO] [stdout] 23 │- } [INFO] [stdout] 24 24 │ } [INFO] [stdout] 25 25 │ #[repr(C)] [INFO] [stdout] 26 26 │ #[derive(Debug, PartialEq, Clone, Copy)] [INFO] [stdout] 27 27 │ pub struct Input0Init { [INFO] [stdout] 28 │- pub a: u32, [INFO] [stdout] 29 │- pub b: i32, [INFO] [stdout] 30 │- pub c: f32, [INFO] [stdout] 28 │+ pub a: u32, [INFO] [stdout] 29 │+ pub b: i32, [INFO] [stdout] 30 │+ pub c: f32, [INFO] [stdout] 31 31 │ } [INFO] [stdout] 32 32 │ impl Input0Init { [INFO] [stdout] 33 │- pub fn build(&self) -> Input0 { [INFO] [stdout] 34 │- Input0 { [INFO] [stdout] 35 │- a: self.a, [INFO] [stdout] 36 │- _pad_a: [0; 0x4], [INFO] [stdout] 37 │- b: self.b, [INFO] [stdout] 38 │- _pad_b: [0; 0x14], [INFO] [stdout] 39 │- c: self.c, [INFO] [stdout] 40 │- _pad_d: [0; 0x1C], [INFO] [stdout] 33 │+ pub fn build(&self) -> Input0 { [INFO] [stdout] 34 │+ Input0 { [INFO] [stdout] 35 │+ a: self.a, [INFO] [stdout] 36 │+ _pad_a: [0; 0x4], [INFO] [stdout] 37 │+ b: self.b, [INFO] [stdout] 38 │+ _pad_b: [0; 0x14], [INFO] [stdout] 39 │+ c: self.c, [INFO] [stdout] 40 │+ _pad_d: [0; 0x1C], [INFO] [stdout] 41 │+ } [INFO] [stdout] 41 42 │ } [INFO] [stdout] 42 │- } [INFO] [stdout] 43 43 │ } [INFO] [stdout] 44 44 │ impl From for Input0 { [INFO] [stdout] 45 │- fn from(data: Input0Init) -> Self { [INFO] [stdout] 46 │- data.build() [INFO] [stdout] 47 │- } [INFO] [stdout] 45 │+ fn from(data: Input0Init) -> Self { [INFO] [stdout] 46 │+ data.build() [INFO] [stdout] 47 │+ } [INFO] [stdout] 48 48 │ } [INFO] [stdout] 49 49 │ const INPUT0_ASSERTS: () = { [INFO] [stdout] 50 │- assert!(std::mem::offset_of!(Input0, a) == 0); [INFO] [stdout] 51 │- assert!(std::mem::offset_of!(Input0, b) == 8); [INFO] [stdout] 52 │- assert!(std::mem::offset_of!(Input0, c) == 32); [INFO] [stdout] 53 │- assert!(std::mem::size_of::() == 64); [INFO] [stdout] 50 │+ assert!(std::mem::offset_of!(Input0, a) == 0); [INFO] [stdout] 51 │+ assert!(std::mem::offset_of!(Input0, b) == 8); [INFO] [stdout] 52 │+ assert!(std::mem::offset_of!(Input0, c) == 32); [INFO] [stdout] 53 │+ assert!(std::mem::size_of:: < Input0 > () == 64); [INFO] [stdout] 54 54 │ }; [INFO] [stdout] 55 55 │ unsafe impl bytemuck::Zeroable for Input0 {} [INFO] [stdout] 56 56 │ unsafe impl bytemuck::Pod for Input0 {} [INFO] [stdout] 57 57 │ #[repr(C, align(4))] [INFO] [stdout] 58 58 │ #[derive(Debug, PartialEq, Clone, Copy)] [INFO] [stdout] 59 59 │ pub struct Inner { [INFO] [stdout] 60 │- #[doc = "offset: 0, size: 4, type: `f32`"] [INFO] [stdout] 61 │- pub a: f32, [INFO] [stdout] 60 │+ ///offset: 0, size: 4, type: `f32` [INFO] [stdout] 61 │+ pub a: f32, [INFO] [stdout] 62 62 │ } [INFO] [stdout] 63 63 │ impl Inner { [INFO] [stdout] 64 │- pub const fn new(a: f32) -> Self { [INFO] [stdout] 65 │- Self { a } [INFO] [stdout] 66 │- } [INFO] [stdout] 64 │+ pub const fn new(a: f32) -> Self { [INFO] [stdout] 65 │+ Self { a } [INFO] [stdout] 66 │+ } [INFO] [stdout] 67 67 │ } [INFO] [stdout] 68 68 │ const INNER_ASSERTS: () = { [INFO] [stdout] 69 │- assert!(std::mem::offset_of!(Inner, a) == 0); [INFO] [stdout] 70 │- assert!(std::mem::size_of::() == 4); [INFO] [stdout] 69 │+ assert!(std::mem::offset_of!(Inner, a) == 0); [INFO] [stdout] 70 │+ assert!(std::mem::size_of:: < Inner > () == 4); [INFO] [stdout] 71 71 │ }; [INFO] [stdout] 72 72 │ unsafe impl bytemuck::Zeroable for Inner {} [INFO] [stdout] 73 73 │ unsafe impl bytemuck::Pod for Inner {} [INFO] [stdout] 74 74 │ #[repr(C, align(4))] [INFO] [stdout] 75 75 │ #[derive(Debug, PartialEq, Clone, Copy)] [INFO] [stdout] 76 76 │ pub struct Outer { [INFO] [stdout] 77 │- #[doc = "offset: 0, size: 4, type: `Inner`"] [INFO] [stdout] 78 │- pub inner: Inner, [INFO] [stdout] 77 │+ ///offset: 0, size: 4, type: `Inner` [INFO] [stdout] 78 │+ pub inner: Inner, [INFO] [stdout] 79 79 │ } [INFO] [stdout] 80 80 │ impl Outer { [INFO] [stdout] 81 │- pub const fn new(inner: Inner) -> Self { [INFO] [stdout] 82 │- Self { inner } [INFO] [stdout] 83 │- } [INFO] [stdout] 81 │+ pub const fn new(inner: Inner) -> Self { [INFO] [stdout] 82 │+ Self { inner } [INFO] [stdout] 83 │+ } [INFO] [stdout] 84 84 │ } [INFO] [stdout] 85 85 │ const OUTER_ASSERTS: () = { [INFO] [stdout] 86 │- assert!(std::mem::offset_of!(Outer, inner) == 0); [INFO] [stdout] 87 │- assert!(std::mem::size_of::() == 4); [INFO] [stdout] 86 │+ assert!(std::mem::offset_of!(Outer, inner) == 0); [INFO] [stdout] 87 │+ assert!(std::mem::size_of:: < Outer > () == 4); [INFO] [stdout] 88 88 │ }; [INFO] [stdout] 89 89 │ unsafe impl bytemuck::Zeroable for Outer {} [INFO] [stdout] 90 90 │ unsafe impl bytemuck::Pod for Outer {} [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'structs::tests::write_all_structs_bytemuck_input_layout_validation' (4209) panicked at src/structs.rs:624:5: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: FileIo(Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }, "/opt/rustwide/workdir/src/snapshots/write_all_structs_bytemuck_input_layout_validation.snap.new") [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x60961ea1ab92 - std::backtrace_rs::backtrace::libunwind::trace::h22a6a535a50603c6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x60961ea1ab92 - std::backtrace_rs::backtrace::trace_unsynchronized::h2503a4f30dbfbaa2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x60961ea1ab92 - std::sys::backtrace::_print_fmt::hec54e31f36456895 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x60961ea1ab92 - ::fmt::hb1988e8b50fa5f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x60961ea2ee1f - core::fmt::rt::Argument::fmt::h3118a66e1a57a586 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x60961ea2ee1f - core::fmt::write::hcd056e06a609f600 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x60961e9e5671 - std::io::default_write_fmt::hdabc5d6505cb374b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x60961e9e5671 - std::io::Write::write_fmt::h18c82179fdc1f9d2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x60961e9f24d2 - std::sys::backtrace::BacktraceLock::print::h69f50ba7cfff8317 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x60961e9f820f - std::panicking::default_hook::{{closure}}::hfa978eb2255ab3ab [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x60961e9f80a1 - std::panicking::default_hook::h09da2eaf8f1deadd [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x60961e132d9e - as core::ops::function::Fn>::call::h1697e4d80f236ef6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x60961e132d9e - test::test_main_with_exit_callback::{{closure}}::h8f63929ca9fd483b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x60961e9f897f - as core::ops::function::Fn>::call::hba67e0dc3e3fc548 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x60961e9f897f - std::panicking::panic_with_hook::h13c40d280d130fd3 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x60961e9f872a - std::panicking::panic_handler::{{closure}}::hd79d22e8a1d3b951 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x60961e9f2609 - std::sys::backtrace::__rust_end_short_backtrace::h83414d1ec69cf3a6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x60961e9d8b4d - __rustc[b78aa6c7b08e5dc4]::rust_begin_unwind [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x60961ea39f00 - core::panicking::panic_fmt::h326b75cf8ee01b13 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x60961ea38be6 - core::result::unwrap_failed::h38baee32fdec5ac8 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x60961dea4103 - core::result::Result::unwrap::h4e75d443417df354 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x60961dea4103 - wgsl_bindgen::structs::tests::write_all_structs_bytemuck_input_layout_validation::{{closure}}::ha8f33e08a0d6fbf4 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x60961df8cf6f - insta::settings::Settings::bind::hceacb16911fcff80 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.1/src/settings.rs:509:9 [INFO] [stdout] 23: 0x60961dea3bf3 - wgsl_bindgen::structs::tests::write_all_structs_bytemuck_input_layout_validation::h4eebfbfc2a0a6e28 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x60961dea3cd7 - wgsl_bindgen::structs::tests::write_all_structs_bytemuck_input_layout_validation::{{closure}}::h40e85b42a73a9b1c [INFO] [stdout] at /opt/rustwide/workdir/src/structs.rs:582:58 [INFO] [stdout] 25: 0x60961df3c236 - core::ops::function::FnOnce::call_once::he192fe3df31f8e56 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x60961e132b7b - core::ops::function::FnOnce::call_once::he420dad47d9aac14 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x60961e132b7b - test::__rust_begin_short_backtrace::h51976f55c263f7c2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x60961e1487a5 - test::run_test_in_process::{{closure}}::h6aa4339396d33320 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x60961e1487a5 - as core::ops::function::FnOnce<()>>::call_once::h5bd0ba3863a53529 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x60961e1487a5 - std::panicking::catch_unwind::do_call::h5c710722c40c5839 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x60961e1487a5 - std::panicking::catch_unwind::hf41b5be070ce0f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x60961e1487a5 - std::panic::catch_unwind::h4559aa103e6f16d6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x60961e1487a5 - test::run_test_in_process::he6fd763a772ff213 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x60961e1487a5 - test::run_test::{{closure}}::he46f5435849feb5b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x60961e11efb4 - test::run_test::{{closure}}::h12a66289c31b502a [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x60961e11efb4 - std::sys::backtrace::__rust_begin_short_backtrace::h614a7925ed7b2f5e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x60961e12295a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hbc654088c5dbff36 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x60961e12295a - as core::ops::function::FnOnce<()>>::call_once::h3f631d2ca531b61d [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x60961e12295a - std::panicking::catch_unwind::do_call::hd2548748db0aa717 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x60961e12295a - std::panicking::catch_unwind::hf7d8620d84df48e2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x60961e12295a - std::panic::catch_unwind::hdde75b8543fcb96b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x60961e12295a - std::thread::Builder::spawn_unchecked_::{{closure}}::h991e7d03b432cf3f [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x60961e12295a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hebddb40255441657 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x60961e9ed55f - as core::ops::function::FnOnce>::call_once::h55e8930dc7db99a5 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 45: 0x60961e9ed55f - std::sys::thread::unix::Thread::new::thread_start::he23d038ee4fa004e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 46: 0x70e7dc752aa4 - [INFO] [stdout] 47: 0x70e7dc7dfa34 - clone [INFO] [stdout] 48: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- structs::tests::write_all_structs_encase stdout ---- [INFO] [stdout] Warning: rustfmt formatting failed (rustfmt failed: error: 'rustfmt' is not installed for the custom toolchain '2440211fe03bc45c89b6dc1a3df18382ce91e32b'. [INFO] [stdout] note: this is a custom toolchain, which cannot use `rustup component add` [INFO] [stdout] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py` [INFO] [stdout] ), falling back to prettyplease [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/snapshots/write_all_structs_encase.snap [INFO] [stdout] Snapshot: write_all_structs_encase [INFO] [stdout] Source: src/structs.rs:467 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 0 │ #[repr(C)] [INFO] [stdout] 1 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 1 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 2 2 │ pub struct Input0 { [INFO] [stdout] 3 │- pub a: u32, [INFO] [stdout] 4 │- pub b: i32, [INFO] [stdout] 5 │- pub c: f32, [INFO] [stdout] 3 │+ pub a: u32, [INFO] [stdout] 4 │+ pub b: i32, [INFO] [stdout] 5 │+ pub c: f32, [INFO] [stdout] 6 6 │ } [INFO] [stdout] 7 7 │ impl Input0 { [INFO] [stdout] 8 │- pub const fn new(a: u32, b: i32, c: f32) -> Self { [INFO] [stdout] 9 │- Self { a, b, c } [INFO] [stdout] 10 │- } [INFO] [stdout] 8 │+ pub const fn new(a: u32, b: i32, c: f32) -> Self { [INFO] [stdout] 9 │+ Self { a, b, c } [INFO] [stdout] 10 │+ } [INFO] [stdout] 11 11 │ } [INFO] [stdout] 12 12 │ #[repr(C)] [INFO] [stdout] 13 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 13 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 14 14 │ pub struct Nested { [INFO] [stdout] 15 │- pub a: Input0, [INFO] [stdout] 16 │- pub b: f32, [INFO] [stdout] 15 │+ pub a: Input0, [INFO] [stdout] 16 │+ pub b: f32, [INFO] [stdout] 17 17 │ } [INFO] [stdout] 18 18 │ impl Nested { [INFO] [stdout] 19 │- pub const fn new(a: Input0, b: f32) -> Self { [INFO] [stdout] 20 │- Self { a, b } [INFO] [stdout] 21 │- } [INFO] [stdout] 19 │+ pub const fn new(a: Input0, b: f32) -> Self { [INFO] [stdout] 20 │+ Self { a, b } [INFO] [stdout] 21 │+ } [INFO] [stdout] 22 22 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'structs::tests::write_all_structs_encase' (4437) panicked at src/structs.rs:467:5: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: FileIo(Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }, "/opt/rustwide/workdir/src/snapshots/write_all_structs_encase.snap.new") [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x60961ea1ab92 - std::backtrace_rs::backtrace::libunwind::trace::h22a6a535a50603c6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x60961ea1ab92 - std::backtrace_rs::backtrace::trace_unsynchronized::h2503a4f30dbfbaa2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x60961ea1ab92 - std::sys::backtrace::_print_fmt::hec54e31f36456895 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x60961ea1ab92 - ::fmt::hb1988e8b50fa5f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x60961ea2ee1f - core::fmt::rt::Argument::fmt::h3118a66e1a57a586 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x60961ea2ee1f - core::fmt::write::hcd056e06a609f600 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x60961e9e5671 - std::io::default_write_fmt::hdabc5d6505cb374b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x60961e9e5671 - std::io::Write::write_fmt::h18c82179fdc1f9d2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x60961e9f24d2 - std::sys::backtrace::BacktraceLock::print::h69f50ba7cfff8317 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x60961e9f820f - std::panicking::default_hook::{{closure}}::hfa978eb2255ab3ab [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x60961e9f80a1 - std::panicking::default_hook::h09da2eaf8f1deadd [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x60961e132d9e - as core::ops::function::Fn>::call::h1697e4d80f236ef6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x60961e132d9e - test::test_main_with_exit_callback::{{closure}}::h8f63929ca9fd483b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x60961e9f897f - as core::ops::function::Fn>::call::hba67e0dc3e3fc548 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x60961e9f897f - std::panicking::panic_with_hook::h13c40d280d130fd3 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x60961e9f872a - std::panicking::panic_handler::{{closure}}::hd79d22e8a1d3b951 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x60961e9f2609 - std::sys::backtrace::__rust_end_short_backtrace::h83414d1ec69cf3a6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x60961e9d8b4d - __rustc[b78aa6c7b08e5dc4]::rust_begin_unwind [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x60961ea39f00 - core::panicking::panic_fmt::h326b75cf8ee01b13 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x60961ea38be6 - core::result::unwrap_failed::h38baee32fdec5ac8 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x60961de9b843 - core::result::Result::unwrap::h4e75d443417df354 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x60961de9b843 - wgsl_bindgen::structs::tests::write_all_structs_encase::{{closure}}::h5b1adb147130ffd5 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x60961df8bcaf - insta::settings::Settings::bind::h006e281499ed6463 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.1/src/settings.rs:509:9 [INFO] [stdout] 23: 0x60961de9b340 - wgsl_bindgen::structs::tests::write_all_structs_encase::h283eb17c4453292b [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x60961de9b417 - wgsl_bindgen::structs::tests::write_all_structs_encase::{{closure}}::h2ea85f4d94c5b996 [INFO] [stdout] at /opt/rustwide/workdir/src/structs.rs:434:32 [INFO] [stdout] 25: 0x60961df3a356 - core::ops::function::FnOnce::call_once::h11287d8af0ee92cc [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x60961e132b7b - core::ops::function::FnOnce::call_once::he420dad47d9aac14 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x60961e132b7b - test::__rust_begin_short_backtrace::h51976f55c263f7c2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x60961e1487a5 - test::run_test_in_process::{{closure}}::h6aa4339396d33320 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x60961e1487a5 - as core::ops::function::FnOnce<()>>::call_once::h5bd0ba3863a53529 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x60961e1487a5 - std::panicking::catch_unwind::do_call::h5c710722c40c5839 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x60961e1487a5 - std::panicking::catch_unwind::hf41b5be070ce0f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x60961e1487a5 - std::panic::catch_unwind::h4559aa103e6f16d6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x60961e1487a5 - test::run_test_in_process::he6fd763a772ff213 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x60961e1487a5 - test::run_test::{{closure}}::he46f5435849feb5b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x60961e11efb4 - test::run_test::{{closure}}::h12a66289c31b502a [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x60961e11efb4 - std::sys::backtrace::__rust_begin_short_backtrace::h614a7925ed7b2f5e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x60961e12295a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hbc654088c5dbff36 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x60961e12295a - as core::ops::function::FnOnce<()>>::call_once::h3f631d2ca531b61d [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x60961e12295a - std::panicking::catch_unwind::do_call::hd2548748db0aa717 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x60961e12295a - std::panicking::catch_unwind::hf7d8620d84df48e2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x60961e12295a - std::panic::catch_unwind::hdde75b8543fcb96b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x60961e12295a - std::thread::Builder::spawn_unchecked_::{{closure}}::h991e7d03b432cf3f [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x60961e12295a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hebddb40255441657 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x60961e9ed55f - as core::ops::function::FnOnce>::call_once::h55e8930dc7db99a5 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 45: 0x60961e9ed55f - std::sys::thread::unix::Thread::new::thread_start::he23d038ee4fa004e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 46: 0x70e7dc752aa4 - [INFO] [stdout] 47: 0x70e7dc7dfa34 - clone [INFO] [stdout] 48: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- structs::tests::write_all_structs_nalgebra stdout ---- [INFO] [stdout] Warning: rustfmt formatting failed (rustfmt failed: error: 'rustfmt' is not installed for the custom toolchain '2440211fe03bc45c89b6dc1a3df18382ce91e32b'. [INFO] [stdout] note: this is a custom toolchain, which cannot use `rustup component add` [INFO] [stdout] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py` [INFO] [stdout] ), falling back to prettyplease [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/snapshots/write_all_structs_nalgebra.snap [INFO] [stdout] Snapshot: write_all_structs_nalgebra [INFO] [stdout] Source: src/structs.rs:430 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 0 │ #[repr(C)] [INFO] [stdout] 1 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 1 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 2 2 │ pub struct Scalars { [INFO] [stdout] 3 │- pub a: u32, [INFO] [stdout] 4 │- pub b: i32, [INFO] [stdout] 5 │- pub c: f32, [INFO] [stdout] 3 │+ pub a: u32, [INFO] [stdout] 4 │+ pub b: i32, [INFO] [stdout] 5 │+ pub c: f32, [INFO] [stdout] 6 6 │ } [INFO] [stdout] 7 7 │ impl Scalars { [INFO] [stdout] 8 │- pub const fn new(a: u32, b: i32, c: f32) -> Self { [INFO] [stdout] 9 │- Self { a, b, c } [INFO] [stdout] 10 │- } [INFO] [stdout] 8 │+ pub const fn new(a: u32, b: i32, c: f32) -> Self { [INFO] [stdout] 9 │+ Self { a, b, c } [INFO] [stdout] 10 │+ } [INFO] [stdout] 11 11 │ } [INFO] [stdout] 12 12 │ #[repr(C)] [INFO] [stdout] 13 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 13 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 14 14 │ pub struct VectorsU32 { [INFO] [stdout] 15 │- pub a: [u32; 2], [INFO] [stdout] 16 │- pub b: [u32; 4], [INFO] [stdout] 17 │- pub c: [u32; 4], [INFO] [stdout] 15 │+ pub a: [u32; 2], [INFO] [stdout] 16 │+ pub b: [u32; 4], [INFO] [stdout] 17 │+ pub c: [u32; 4], [INFO] [stdout] 18 18 │ } [INFO] [stdout] 19 19 │ impl VectorsU32 { [INFO] [stdout] 20 │- pub const fn new(a: [u32; 2], b: [u32; 4], c: [u32; 4]) -> Self { [INFO] [stdout] 21 │- Self { a, b, c } [INFO] [stdout] 22 │- } [INFO] [stdout] 20 │+ pub const fn new(a: [u32; 2], b: [u32; 4], c: [u32; 4]) -> Self { [INFO] [stdout] 21 │+ Self { a, b, c } [INFO] [stdout] 22 │+ } [INFO] [stdout] 23 23 │ } [INFO] [stdout] 24 24 │ #[repr(C)] [INFO] [stdout] 25 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 25 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 26 26 │ pub struct VectorsI32 { [INFO] [stdout] 27 │- pub a: [i32; 2], [INFO] [stdout] 28 │- pub b: [i32; 4], [INFO] [stdout] 29 │- pub c: [i32; 4], [INFO] [stdout] 27 │+ pub a: [i32; 2], [INFO] [stdout] 28 │+ pub b: [i32; 4], [INFO] [stdout] 29 │+ pub c: [i32; 4], [INFO] [stdout] 30 30 │ } [INFO] [stdout] 31 31 │ impl VectorsI32 { [INFO] [stdout] 32 │- pub const fn new(a: [i32; 2], b: [i32; 4], c: [i32; 4]) -> Self { [INFO] [stdout] 33 │- Self { a, b, c } [INFO] [stdout] 34 │- } [INFO] [stdout] 32 │+ pub const fn new(a: [i32; 2], b: [i32; 4], c: [i32; 4]) -> Self { [INFO] [stdout] 33 │+ Self { a, b, c } [INFO] [stdout] 34 │+ } [INFO] [stdout] 35 35 │ } [INFO] [stdout] 36 36 │ #[repr(C)] [INFO] [stdout] 37 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 37 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 38 38 │ pub struct VectorsF32 { [INFO] [stdout] 39 │- pub a: [f32; 2], [INFO] [stdout] 40 │- pub b: [f32; 4], [INFO] [stdout] 41 │- pub c: [f32; 4], [INFO] [stdout] 39 │+ pub a: [f32; 2], [INFO] [stdout] 40 │+ pub b: [f32; 4], [INFO] [stdout] 41 │+ pub c: [f32; 4], [INFO] [stdout] 42 42 │ } [INFO] [stdout] 43 43 │ impl VectorsF32 { [INFO] [stdout] 44 │- pub const fn new(a: [f32; 2], b: [f32; 4], c: [f32; 4]) -> Self { [INFO] [stdout] 45 │- Self { a, b, c } [INFO] [stdout] 46 │- } [INFO] [stdout] 44 │+ pub const fn new(a: [f32; 2], b: [f32; 4], c: [f32; 4]) -> Self { [INFO] [stdout] 45 │+ Self { a, b, c } [INFO] [stdout] 46 │+ } [INFO] [stdout] 47 47 │ } [INFO] [stdout] 48 48 │ #[repr(C)] [INFO] [stdout] 49 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 49 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 50 50 │ pub struct MatricesF32 { [INFO] [stdout] 51 │- pub a: [[f32; 4]; 4], [INFO] [stdout] 52 │- pub b: [[f32; 4]; 4], [INFO] [stdout] 53 │- pub c: [[f32; 2]; 4], [INFO] [stdout] 54 │- pub d: [[f32; 4]; 3], [INFO] [stdout] 55 │- pub e: [[f32; 4]; 3], [INFO] [stdout] 56 │- pub f: [[f32; 2]; 3], [INFO] [stdout] 57 │- pub g: [[f32; 4]; 2], [INFO] [stdout] 58 │- pub h: [[f32; 4]; 2], [INFO] [stdout] 59 │- pub i: [[f32; 2]; 2], [INFO] [stdout] 51 │+ pub a: [[f32; 4]; 4], [INFO] [stdout] 52 │+ pub b: [[f32; 4]; 4], [INFO] [stdout] 53 │+ pub c: [[f32; 2]; 4], [INFO] [stdout] 54 │+ pub d: [[f32; 4]; 3], [INFO] [stdout] 55 │+ pub e: [[f32; 4]; 3], [INFO] [stdout] 56 │+ pub f: [[f32; 2]; 3], [INFO] [stdout] 57 │+ pub g: [[f32; 4]; 2], [INFO] [stdout] 58 │+ pub h: [[f32; 4]; 2], [INFO] [stdout] 59 │+ pub i: [[f32; 2]; 2], [INFO] [stdout] 60 60 │ } [INFO] [stdout] 61 61 │ impl MatricesF32 { [INFO] [stdout] 62 │- pub const fn new( [INFO] [stdout] 63 │- a: [[f32; 4]; 4], [INFO] [stdout] 64 │- b: [[f32; 4]; 4], [INFO] [stdout] 65 │- c: [[f32; 2]; 4], [INFO] [stdout] 66 │- d: [[f32; 4]; 3], [INFO] [stdout] 67 │- e: [[f32; 4]; 3], [INFO] [stdout] 68 │- f: [[f32; 2]; 3], [INFO] [stdout] 69 │- g: [[f32; 4]; 2], [INFO] [stdout] 70 │- h: [[f32; 4]; 2], [INFO] [stdout] 71 │- i: [[f32; 2]; 2], [INFO] [stdout] 72 │- ) -> Self { [INFO] [stdout] 73 │- Self { [INFO] [stdout] 74 │- a, [INFO] [stdout] 75 │- b, [INFO] [stdout] 76 │- c, [INFO] [stdout] 77 │- d, [INFO] [stdout] 78 │- e, [INFO] [stdout] 79 │- f, [INFO] [stdout] 80 │- g, [INFO] [stdout] 81 │- h, [INFO] [stdout] 82 │- i, [INFO] [stdout] 62 │+ pub const fn new( [INFO] [stdout] 63 │+ a: [[f32; 4]; 4], [INFO] [stdout] 64 │+ b: [[f32; 4]; 4], [INFO] [stdout] 65 │+ c: [[f32; 2]; 4], [INFO] [stdout] 66 │+ d: [[f32; 4]; 3], [INFO] [stdout] 67 │+ e: [[f32; 4]; 3], [INFO] [stdout] 68 │+ f: [[f32; 2]; 3], [INFO] [stdout] 69 │+ g: [[f32; 4]; 2], [INFO] [stdout] 70 │+ h: [[f32; 4]; 2], [INFO] [stdout] 71 │+ i: [[f32; 2]; 2], [INFO] [stdout] 72 │+ ) -> Self { [INFO] [stdout] 73 │+ Self { a, b, c, d, e, f, g, h, i } [INFO] [stdout] 83 74 │ } [INFO] [stdout] 84 │- } [INFO] [stdout] 85 75 │ } [INFO] [stdout] 86 76 │ #[repr(C)] [INFO] [stdout] 87 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 77 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 88 78 │ pub struct StaticArrays { [INFO] [stdout] 89 │- pub a: [u32; 5], [INFO] [stdout] 90 │- pub b: [f32; 3], [INFO] [stdout] 91 │- pub c: [[[f32; 4]; 4]; 512], [INFO] [stdout] 79 │+ pub a: [u32; 5], [INFO] [stdout] 80 │+ pub b: [f32; 3], [INFO] [stdout] 81 │+ pub c: [[[f32; 4]; 4]; 512], [INFO] [stdout] 92 82 │ } [INFO] [stdout] 93 83 │ impl StaticArrays { [INFO] [stdout] 94 │- pub const fn new(a: [u32; 5], b: [f32; 3], c: [[[f32; 4]; 4]; 512]) -> Self { [INFO] [stdout] 95 │- Self { a, b, c } [INFO] [stdout] 96 │- } [INFO] [stdout] 84 │+ pub const fn new(a: [u32; 5], b: [f32; 3], c: [[[f32; 4]; 4]; 512]) -> Self { [INFO] [stdout] 85 │+ Self { a, b, c } [INFO] [stdout] 86 │+ } [INFO] [stdout] 97 87 │ } [INFO] [stdout] 98 88 │ #[repr(C)] [INFO] [stdout] 99 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 89 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 100 90 │ pub struct Nested { [INFO] [stdout] 101 │- pub a: MatricesF32, [INFO] [stdout] 102 │- pub b: VectorsF32, [INFO] [stdout] 91 │+ pub a: MatricesF32, [INFO] [stdout] 92 │+ pub b: VectorsF32, [INFO] [stdout] 103 93 │ } [INFO] [stdout] 104 94 │ impl Nested { [INFO] [stdout] 105 │- pub const fn new(a: MatricesF32, b: VectorsF32) -> Self { [INFO] [stdout] 106 │- Self { a, b } [INFO] [stdout] 107 │- } [INFO] [stdout] 95 │+ pub const fn new(a: MatricesF32, b: VectorsF32) -> Self { [INFO] [stdout] 96 │+ Self { a, b } [INFO] [stdout] 97 │+ } [INFO] [stdout] 108 98 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'structs::tests::write_all_structs_nalgebra' (4706) panicked at src/structs.rs:430:5: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: FileIo(Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }, "/opt/rustwide/workdir/src/snapshots/write_all_structs_nalgebra.snap.new") [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x60961ea1ab92 - std::backtrace_rs::backtrace::libunwind::trace::h22a6a535a50603c6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x60961ea1ab92 - std::backtrace_rs::backtrace::trace_unsynchronized::h2503a4f30dbfbaa2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x60961ea1ab92 - std::sys::backtrace::_print_fmt::hec54e31f36456895 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x60961ea1ab92 - ::fmt::hb1988e8b50fa5f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x60961ea2ee1f - core::fmt::rt::Argument::fmt::h3118a66e1a57a586 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x60961ea2ee1f - core::fmt::write::hcd056e06a609f600 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x60961e9e5671 - std::io::default_write_fmt::hdabc5d6505cb374b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x60961e9e5671 - std::io::Write::write_fmt::h18c82179fdc1f9d2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x60961e9f24d2 - std::sys::backtrace::BacktraceLock::print::h69f50ba7cfff8317 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x60961e9f820f - std::panicking::default_hook::{{closure}}::hfa978eb2255ab3ab [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x60961e9f80a1 - std::panicking::default_hook::h09da2eaf8f1deadd [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x60961e132d9e - as core::ops::function::Fn>::call::h1697e4d80f236ef6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x60961e132d9e - test::test_main_with_exit_callback::{{closure}}::h8f63929ca9fd483b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x60961e9f897f - as core::ops::function::Fn>::call::hba67e0dc3e3fc548 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x60961e9f897f - std::panicking::panic_with_hook::h13c40d280d130fd3 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x60961e9f872a - std::panicking::panic_handler::{{closure}}::hd79d22e8a1d3b951 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x60961e9f2609 - std::sys::backtrace::__rust_end_short_backtrace::h83414d1ec69cf3a6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x60961e9d8b4d - __rustc[b78aa6c7b08e5dc4]::rust_begin_unwind [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x60961ea39f00 - core::panicking::panic_fmt::h326b75cf8ee01b13 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x60961ea38be6 - core::result::unwrap_failed::h38baee32fdec5ac8 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x60961de9ed53 - core::result::Result::unwrap::h4e75d443417df354 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x60961de9ed53 - wgsl_bindgen::structs::tests::write_all_structs_nalgebra::{{closure}}::h41365ff48145d160 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x60961df8cc4f - insta::settings::Settings::bind::h960e5f532d7eed69 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.1/src/settings.rs:509:9 [INFO] [stdout] 23: 0x60961de9e87c - wgsl_bindgen::structs::tests::write_all_structs_nalgebra::hdb05b668a335cff5 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x60961de9ee47 - wgsl_bindgen::structs::tests::write_all_structs_nalgebra::{{closure}}::h5fecc54588bebdde [INFO] [stdout] at /opt/rustwide/workdir/src/structs.rs:359:34 [INFO] [stdout] 25: 0x60961df3bd76 - core::ops::function::FnOnce::call_once::hc62ddb6cd16c942b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x60961e132b7b - core::ops::function::FnOnce::call_once::he420dad47d9aac14 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x60961e132b7b - test::__rust_begin_short_backtrace::h51976f55c263f7c2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x60961e1487a5 - test::run_test_in_process::{{closure}}::h6aa4339396d33320 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x60961e1487a5 - as core::ops::function::FnOnce<()>>::call_once::h5bd0ba3863a53529 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x60961e1487a5 - std::panicking::catch_unwind::do_call::h5c710722c40c5839 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x60961e1487a5 - std::panicking::catch_unwind::hf41b5be070ce0f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x60961e1487a5 - std::panic::catch_unwind::h4559aa103e6f16d6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x60961e1487a5 - test::run_test_in_process::he6fd763a772ff213 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x60961e1487a5 - test::run_test::{{closure}}::he46f5435849feb5b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x60961e11efb4 - test::run_test::{{closure}}::h12a66289c31b502a [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x60961e11efb4 - std::sys::backtrace::__rust_begin_short_backtrace::h614a7925ed7b2f5e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x60961e12295a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hbc654088c5dbff36 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x60961e12295a - as core::ops::function::FnOnce<()>>::call_once::h3f631d2ca531b61d [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x60961e12295a - std::panicking::catch_unwind::do_call::hd2548748db0aa717 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x60961e12295a - std::panicking::catch_unwind::hf7d8620d84df48e2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x60961e12295a - std::panic::catch_unwind::hdde75b8543fcb96b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x60961e12295a - std::thread::Builder::spawn_unchecked_::{{closure}}::h991e7d03b432cf3f [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x60961e12295a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hebddb40255441657 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x60961e9ed55f - as core::ops::function::FnOnce>::call_once::h55e8930dc7db99a5 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 45: 0x60961e9ed55f - std::sys::thread::unix::Thread::new::thread_start::he23d038ee4fa004e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 46: 0x70e7dc752aa4 - [INFO] [stdout] 47: 0x70e7dc7dfa34 - clone [INFO] [stdout] 48: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- structs::tests::write_all_structs_glam stdout ---- [INFO] [stdout] Warning: rustfmt formatting failed (rustfmt failed: error: 'rustfmt' is not installed for the custom toolchain '2440211fe03bc45c89b6dc1a3df18382ce91e32b'. [INFO] [stdout] note: this is a custom toolchain, which cannot use `rustup component add` [INFO] [stdout] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py` [INFO] [stdout] ), falling back to prettyplease [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/snapshots/write_all_structs_glam.snap [INFO] [stdout] Snapshot: write_all_structs_glam [INFO] [stdout] Source: src/structs.rs:355 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 0 │ #[repr(C)] [INFO] [stdout] 1 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 1 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 2 2 │ pub struct Scalars { [INFO] [stdout] 3 │- pub a: u32, [INFO] [stdout] 4 │- pub b: i32, [INFO] [stdout] 5 │- pub c: f32, [INFO] [stdout] 3 │+ pub a: u32, [INFO] [stdout] 4 │+ pub b: i32, [INFO] [stdout] 5 │+ pub c: f32, [INFO] [stdout] 6 6 │ } [INFO] [stdout] 7 7 │ impl Scalars { [INFO] [stdout] 8 │- pub const fn new(a: u32, b: i32, c: f32) -> Self { [INFO] [stdout] 9 │- Self { a, b, c } [INFO] [stdout] 10 │- } [INFO] [stdout] 8 │+ pub const fn new(a: u32, b: i32, c: f32) -> Self { [INFO] [stdout] 9 │+ Self { a, b, c } [INFO] [stdout] 10 │+ } [INFO] [stdout] 11 11 │ } [INFO] [stdout] 12 12 │ #[repr(C)] [INFO] [stdout] 13 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 13 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 14 14 │ pub struct VectorsU32 { [INFO] [stdout] 15 │- pub a: glam::UVec2, [INFO] [stdout] 16 │- pub b: glam::UVec3, [INFO] [stdout] 17 │- pub c: glam::UVec4, [INFO] [stdout] 15 │+ pub a: glam::UVec2, [INFO] [stdout] 16 │+ pub b: glam::UVec3, [INFO] [stdout] 17 │+ pub c: glam::UVec4, [INFO] [stdout] 18 18 │ } [INFO] [stdout] 19 19 │ impl VectorsU32 { [INFO] [stdout] 20 │- pub const fn new(a: glam::UVec2, b: glam::UVec3, c: glam::UVec4) -> Self { [INFO] [stdout] 21 │- Self { a, b, c } [INFO] [stdout] 22 │- } [INFO] [stdout] 20 │+ pub const fn new(a: glam::UVec2, b: glam::UVec3, c: glam::UVec4) -> Self { [INFO] [stdout] 21 │+ Self { a, b, c } [INFO] [stdout] 22 │+ } [INFO] [stdout] 23 23 │ } [INFO] [stdout] 24 24 │ #[repr(C)] [INFO] [stdout] 25 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 25 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 26 26 │ pub struct VectorsI32 { [INFO] [stdout] 27 │- pub a: glam::IVec2, [INFO] [stdout] 28 │- pub b: glam::IVec3, [INFO] [stdout] 29 │- pub c: glam::IVec4, [INFO] [stdout] 27 │+ pub a: glam::IVec2, [INFO] [stdout] 28 │+ pub b: glam::IVec3, [INFO] [stdout] 29 │+ pub c: glam::IVec4, [INFO] [stdout] 30 30 │ } [INFO] [stdout] 31 31 │ impl VectorsI32 { [INFO] [stdout] 32 │- pub const fn new(a: glam::IVec2, b: glam::IVec3, c: glam::IVec4) -> Self { [INFO] [stdout] 33 │- Self { a, b, c } [INFO] [stdout] 34 │- } [INFO] [stdout] 32 │+ pub const fn new(a: glam::IVec2, b: glam::IVec3, c: glam::IVec4) -> Self { [INFO] [stdout] 33 │+ Self { a, b, c } [INFO] [stdout] 34 │+ } [INFO] [stdout] 35 35 │ } [INFO] [stdout] 36 36 │ #[repr(C)] [INFO] [stdout] 37 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 37 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 38 38 │ pub struct VectorsF32 { [INFO] [stdout] 39 │- pub a: glam::Vec2, [INFO] [stdout] 40 │- pub b: glam::Vec3, [INFO] [stdout] 41 │- pub c: glam::Vec4, [INFO] [stdout] 39 │+ pub a: glam::Vec2, [INFO] [stdout] 40 │+ pub b: glam::Vec3, [INFO] [stdout] 41 │+ pub c: glam::Vec4, [INFO] [stdout] 42 42 │ } [INFO] [stdout] 43 43 │ impl VectorsF32 { [INFO] [stdout] 44 │- pub const fn new(a: glam::Vec2, b: glam::Vec3, c: glam::Vec4) -> Self { [INFO] [stdout] 45 │- Self { a, b, c } [INFO] [stdout] 46 │- } [INFO] [stdout] 44 │+ pub const fn new(a: glam::Vec2, b: glam::Vec3, c: glam::Vec4) -> Self { [INFO] [stdout] 45 │+ Self { a, b, c } [INFO] [stdout] 46 │+ } [INFO] [stdout] 47 47 │ } [INFO] [stdout] 48 48 │ #[repr(C)] [INFO] [stdout] 49 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 49 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 50 50 │ pub struct MatricesF32 { [INFO] [stdout] 51 │- pub a: glam::Mat4, [INFO] [stdout] 52 │- pub b: [[f32; 4]; 4], [INFO] [stdout] 53 │- pub c: [[f32; 2]; 4], [INFO] [stdout] 54 │- pub d: [[f32; 4]; 3], [INFO] [stdout] 55 │- pub e: glam::Mat3A, [INFO] [stdout] 56 │- pub f: [[f32; 2]; 3], [INFO] [stdout] 57 │- pub g: [[f32; 4]; 2], [INFO] [stdout] 58 │- pub h: [[f32; 4]; 2], [INFO] [stdout] 59 │- pub i: glam::Mat2, [INFO] [stdout] 51 │+ pub a: glam::Mat4, [INFO] [stdout] 52 │+ pub b: [[f32; 4]; 4], [INFO] [stdout] 53 │+ pub c: [[f32; 2]; 4], [INFO] [stdout] 54 │+ pub d: [[f32; 4]; 3], [INFO] [stdout] 55 │+ pub e: glam::Mat3A, [INFO] [stdout] 56 │+ pub f: [[f32; 2]; 3], [INFO] [stdout] 57 │+ pub g: [[f32; 4]; 2], [INFO] [stdout] 58 │+ pub h: [[f32; 4]; 2], [INFO] [stdout] 59 │+ pub i: glam::Mat2, [INFO] [stdout] 60 60 │ } [INFO] [stdout] 61 61 │ impl MatricesF32 { [INFO] [stdout] 62 │- pub const fn new( [INFO] [stdout] 63 │- a: glam::Mat4, [INFO] [stdout] 64 │- b: [[f32; 4]; 4], [INFO] [stdout] 65 │- c: [[f32; 2]; 4], [INFO] [stdout] 66 │- d: [[f32; 4]; 3], [INFO] [stdout] 67 │- e: glam::Mat3A, [INFO] [stdout] 68 │- f: [[f32; 2]; 3], [INFO] [stdout] 69 │- g: [[f32; 4]; 2], [INFO] [stdout] 70 │- h: [[f32; 4]; 2], [INFO] [stdout] 71 │- i: glam::Mat2, [INFO] [stdout] 72 │- ) -> Self { [INFO] [stdout] 73 │- Self { [INFO] [stdout] 74 │- a, [INFO] [stdout] 75 │- b, [INFO] [stdout] 76 │- c, [INFO] [stdout] 77 │- d, [INFO] [stdout] 78 │- e, [INFO] [stdout] 79 │- f, [INFO] [stdout] 80 │- g, [INFO] [stdout] 81 │- h, [INFO] [stdout] 82 │- i, [INFO] [stdout] 62 │+ pub const fn new( [INFO] [stdout] 63 │+ a: glam::Mat4, [INFO] [stdout] 64 │+ b: [[f32; 4]; 4], [INFO] [stdout] 65 │+ c: [[f32; 2]; 4], [INFO] [stdout] 66 │+ d: [[f32; 4]; 3], [INFO] [stdout] 67 │+ e: glam::Mat3A, [INFO] [stdout] 68 │+ f: [[f32; 2]; 3], [INFO] [stdout] 69 │+ g: [[f32; 4]; 2], [INFO] [stdout] 70 │+ h: [[f32; 4]; 2], [INFO] [stdout] 71 │+ i: glam::Mat2, [INFO] [stdout] 72 │+ ) -> Self { [INFO] [stdout] 73 │+ Self { a, b, c, d, e, f, g, h, i } [INFO] [stdout] 83 74 │ } [INFO] [stdout] 84 │- } [INFO] [stdout] 85 75 │ } [INFO] [stdout] 86 76 │ #[repr(C)] [INFO] [stdout] 87 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 77 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 88 78 │ pub struct StaticArrays { [INFO] [stdout] 89 │- pub a: [u32; 5], [INFO] [stdout] 90 │- pub b: [f32; 3], [INFO] [stdout] 91 │- pub c: [glam::Mat4; 512], [INFO] [stdout] 79 │+ pub a: [u32; 5], [INFO] [stdout] 80 │+ pub b: [f32; 3], [INFO] [stdout] 81 │+ pub c: [glam::Mat4; 512], [INFO] [stdout] 92 82 │ } [INFO] [stdout] 93 83 │ impl StaticArrays { [INFO] [stdout] 94 │- pub const fn new(a: [u32; 5], b: [f32; 3], c: [glam::Mat4; 512]) -> Self { [INFO] [stdout] 95 │- Self { a, b, c } [INFO] [stdout] 96 │- } [INFO] [stdout] 84 │+ pub const fn new(a: [u32; 5], b: [f32; 3], c: [glam::Mat4; 512]) -> Self { [INFO] [stdout] 85 │+ Self { a, b, c } [INFO] [stdout] 86 │+ } [INFO] [stdout] 97 87 │ } [INFO] [stdout] 98 88 │ #[repr(C)] [INFO] [stdout] 99 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 89 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 100 90 │ pub struct Nested { [INFO] [stdout] 101 │- pub a: MatricesF32, [INFO] [stdout] 102 │- pub b: VectorsF32, [INFO] [stdout] 91 │+ pub a: MatricesF32, [INFO] [stdout] 92 │+ pub b: VectorsF32, [INFO] [stdout] 103 93 │ } [INFO] [stdout] 104 94 │ impl Nested { [INFO] [stdout] 105 │- pub const fn new(a: MatricesF32, b: VectorsF32) -> Self { [INFO] [stdout] 106 │- Self { a, b } [INFO] [stdout] 107 │- } [INFO] [stdout] 95 │+ pub const fn new(a: MatricesF32, b: VectorsF32) -> Self { [INFO] [stdout] 96 │+ Self { a, b } [INFO] [stdout] 97 │+ } [INFO] [stdout] 108 98 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'structs::tests::write_all_structs_glam' (4696) panicked at src/structs.rs:355:5: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: FileIo(Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }, "/opt/rustwide/workdir/src/snapshots/write_all_structs_glam.snap.new") [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x60961ea1ab92 - std::backtrace_rs::backtrace::libunwind::trace::h22a6a535a50603c6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x60961ea1ab92 - std::backtrace_rs::backtrace::trace_unsynchronized::h2503a4f30dbfbaa2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x60961ea1ab92 - std::sys::backtrace::_print_fmt::hec54e31f36456895 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x60961ea1ab92 - ::fmt::hb1988e8b50fa5f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x60961ea2ee1f - core::fmt::rt::Argument::fmt::h3118a66e1a57a586 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x60961ea2ee1f - core::fmt::write::hcd056e06a609f600 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x60961e9e5671 - std::io::default_write_fmt::hdabc5d6505cb374b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x60961e9e5671 - std::io::Write::write_fmt::h18c82179fdc1f9d2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x60961e9f24d2 - std::sys::backtrace::BacktraceLock::print::h69f50ba7cfff8317 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x60961e9f820f - std::panicking::default_hook::{{closure}}::hfa978eb2255ab3ab [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x60961e9f80a1 - std::panicking::default_hook::h09da2eaf8f1deadd [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x60961e132d9e - as core::ops::function::Fn>::call::h1697e4d80f236ef6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x60961e132d9e - test::test_main_with_exit_callback::{{closure}}::h8f63929ca9fd483b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x60961e9f897f - as core::ops::function::Fn>::call::hba67e0dc3e3fc548 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x60961e9f897f - std::panicking::panic_with_hook::h13c40d280d130fd3 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x60961e9f872a - std::panicking::panic_handler::{{closure}}::hd79d22e8a1d3b951 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x60961e9f2609 - std::sys::backtrace::__rust_end_short_backtrace::h83414d1ec69cf3a6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x60961e9d8b4d - __rustc[b78aa6c7b08e5dc4]::rust_begin_unwind [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x60961ea39f00 - core::panicking::panic_fmt::h326b75cf8ee01b13 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x60961ea38be6 - core::result::unwrap_failed::h38baee32fdec5ac8 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x60961de9a0c3 - core::result::Result::unwrap::h4e75d443417df354 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x60961de9a0c3 - wgsl_bindgen::structs::tests::write_all_structs_glam::{{closure}}::hd51d658490ce902e [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x60961df8c74f - insta::settings::Settings::bind::h7ab9eb67623ce77d [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.1/src/settings.rs:509:9 [INFO] [stdout] 23: 0x60961de99bbc - wgsl_bindgen::structs::tests::write_all_structs_glam::h1ae9590c0dc9a08f [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x60961de99c97 - wgsl_bindgen::structs::tests::write_all_structs_glam::{{closure}}::h011b292a7af859f7 [INFO] [stdout] at /opt/rustwide/workdir/src/structs.rs:284:30 [INFO] [stdout] 25: 0x60961df3a9d6 - core::ops::function::FnOnce::call_once::h3048fcf15f047d9b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x60961e132b7b - core::ops::function::FnOnce::call_once::he420dad47d9aac14 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x60961e132b7b - test::__rust_begin_short_backtrace::h51976f55c263f7c2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x60961e1487a5 - test::run_test_in_process::{{closure}}::h6aa4339396d33320 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x60961e1487a5 - as core::ops::function::FnOnce<()>>::call_once::h5bd0ba3863a53529 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x60961e1487a5 - std::panicking::catch_unwind::do_call::h5c710722c40c5839 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x60961e1487a5 - std::panicking::catch_unwind::hf41b5be070ce0f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x60961e1487a5 - std::panic::catch_unwind::h4559aa103e6f16d6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x60961e1487a5 - test::run_test_in_process::he6fd763a772ff213 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x60961e1487a5 - test::run_test::{{closure}}::he46f5435849feb5b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x60961e11efb4 - test::run_test::{{closure}}::h12a66289c31b502a [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x60961e11efb4 - std::sys::backtrace::__rust_begin_short_backtrace::h614a7925ed7b2f5e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x60961e12295a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hbc654088c5dbff36 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x60961e12295a - as core::ops::function::FnOnce<()>>::call_once::h3f631d2ca531b61d [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x60961e12295a - std::panicking::catch_unwind::do_call::hd2548748db0aa717 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x60961e12295a - std::panicking::catch_unwind::hf7d8620d84df48e2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x60961e12295a - std::panic::catch_unwind::hdde75b8543fcb96b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x60961e12295a - std::thread::Builder::spawn_unchecked_::{{closure}}::h991e7d03b432cf3f [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x60961e12295a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hebddb40255441657 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x60961e9ed55f - as core::ops::function::FnOnce>::call_once::h55e8930dc7db99a5 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 45: 0x60961e9ed55f - std::sys::thread::unix::Thread::new::thread_start::he23d038ee4fa004e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 46: 0x70e7dc752aa4 - [INFO] [stdout] 47: 0x70e7dc7dfa34 - clone [INFO] [stdout] 48: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- structs::tests::write_all_structs_serde_encase stdout ---- [INFO] [stdout] Warning: rustfmt formatting failed (rustfmt failed: error: 'rustfmt' is not installed for the custom toolchain '2440211fe03bc45c89b6dc1a3df18382ce91e32b'. [INFO] [stdout] note: this is a custom toolchain, which cannot use `rustup component add` [INFO] [stdout] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py` [INFO] [stdout] ), falling back to prettyplease [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/snapshots/write_all_structs_serde_encase.snap [INFO] [stdout] Snapshot: write_all_structs_serde_encase [INFO] [stdout] Source: src/structs.rs:505 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 0 │ #[repr(C)] [INFO] [stdout] 1 1 │ #[derive( [INFO] [stdout] 2 │- Debug, [INFO] [stdout] 3 │- PartialEq, [INFO] [stdout] 4 │- Clone, [INFO] [stdout] 5 │- Copy, [INFO] [stdout] 6 │- encase :: ShaderType, [INFO] [stdout] 7 │- serde :: Serialize, [INFO] [stdout] 8 │- serde :: Deserialize, [INFO] [stdout] 2 │+ Debug, [INFO] [stdout] 3 │+ PartialEq, [INFO] [stdout] 4 │+ Clone, [INFO] [stdout] 5 │+ Copy, [INFO] [stdout] 6 │+ encase::ShaderType, [INFO] [stdout] 7 │+ serde::Serialize, [INFO] [stdout] 8 │+ serde::Deserialize [INFO] [stdout] 9 9 │ )] [INFO] [stdout] 10 10 │ pub struct Input0 { [INFO] [stdout] 11 │- pub a: u32, [INFO] [stdout] 12 │- pub b: i32, [INFO] [stdout] 13 │- pub c: f32, [INFO] [stdout] 11 │+ pub a: u32, [INFO] [stdout] 12 │+ pub b: i32, [INFO] [stdout] 13 │+ pub c: f32, [INFO] [stdout] 14 14 │ } [INFO] [stdout] 15 15 │ impl Input0 { [INFO] [stdout] 16 │- pub const fn new(a: u32, b: i32, c: f32) -> Self { [INFO] [stdout] 17 │- Self { a, b, c } [INFO] [stdout] 18 │- } [INFO] [stdout] 16 │+ pub const fn new(a: u32, b: i32, c: f32) -> Self { [INFO] [stdout] 17 │+ Self { a, b, c } [INFO] [stdout] 18 │+ } [INFO] [stdout] 19 19 │ } [INFO] [stdout] 20 20 │ #[repr(C)] [INFO] [stdout] 21 21 │ #[derive( [INFO] [stdout] 22 │- Debug, [INFO] [stdout] 23 │- PartialEq, [INFO] [stdout] 24 │- Clone, [INFO] [stdout] 25 │- Copy, [INFO] [stdout] 26 │- encase :: ShaderType, [INFO] [stdout] 27 │- serde :: Serialize, [INFO] [stdout] 28 │- serde :: Deserialize, [INFO] [stdout] 22 │+ Debug, [INFO] [stdout] 23 │+ PartialEq, [INFO] [stdout] 24 │+ Clone, [INFO] [stdout] 25 │+ Copy, [INFO] [stdout] 26 │+ encase::ShaderType, [INFO] [stdout] 27 │+ serde::Serialize, [INFO] [stdout] 28 │+ serde::Deserialize [INFO] [stdout] 29 29 │ )] [INFO] [stdout] 30 30 │ pub struct Nested { [INFO] [stdout] 31 │- pub a: Input0, [INFO] [stdout] 32 │- pub b: f32, [INFO] [stdout] 31 │+ pub a: Input0, [INFO] [stdout] 32 │+ pub b: f32, [INFO] [stdout] 33 33 │ } [INFO] [stdout] 34 34 │ impl Nested { [INFO] [stdout] 35 │- pub const fn new(a: Input0, b: f32) -> Self { [INFO] [stdout] 36 │- Self { a, b } [INFO] [stdout] 37 │- } [INFO] [stdout] 35 │+ pub const fn new(a: Input0, b: f32) -> Self { [INFO] [stdout] 36 │+ Self { a, b } [INFO] [stdout] 37 │+ } [INFO] [stdout] 38 38 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'structs::tests::write_all_structs_serde_encase' (5449) panicked at src/structs.rs:505:5: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: FileIo(Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }, "/opt/rustwide/workdir/src/snapshots/write_all_structs_serde_encase.snap.new") [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x60961ea1ab92 - std::backtrace_rs::backtrace::libunwind::trace::h22a6a535a50603c6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x60961ea1ab92 - std::backtrace_rs::backtrace::trace_unsynchronized::h2503a4f30dbfbaa2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x60961ea1ab92 - std::sys::backtrace::_print_fmt::hec54e31f36456895 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x60961ea1ab92 - ::fmt::hb1988e8b50fa5f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x60961ea2ee1f - core::fmt::rt::Argument::fmt::h3118a66e1a57a586 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x60961ea2ee1f - core::fmt::write::hcd056e06a609f600 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x60961e9e5671 - std::io::default_write_fmt::hdabc5d6505cb374b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x60961e9e5671 - std::io::Write::write_fmt::h18c82179fdc1f9d2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x60961e9f24d2 - std::sys::backtrace::BacktraceLock::print::h69f50ba7cfff8317 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x60961e9f820f - std::panicking::default_hook::{{closure}}::hfa978eb2255ab3ab [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x60961e9f80a1 - std::panicking::default_hook::h09da2eaf8f1deadd [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x60961e132d9e - as core::ops::function::Fn>::call::h1697e4d80f236ef6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x60961e132d9e - test::test_main_with_exit_callback::{{closure}}::h8f63929ca9fd483b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x60961e9f897f - as core::ops::function::Fn>::call::hba67e0dc3e3fc548 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x60961e9f897f - std::panicking::panic_with_hook::h13c40d280d130fd3 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x60961e9f872a - std::panicking::panic_handler::{{closure}}::hd79d22e8a1d3b951 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x60961e9f2609 - std::sys::backtrace::__rust_end_short_backtrace::h83414d1ec69cf3a6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x60961e9d8b4d - __rustc[b78aa6c7b08e5dc4]::rust_begin_unwind [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x60961ea39f00 - core::panicking::panic_fmt::h326b75cf8ee01b13 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x60961ea38be6 - core::result::unwrap_failed::h38baee32fdec5ac8 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x60961de9fab3 - core::result::Result::unwrap::h4e75d443417df354 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x60961de9fab3 - wgsl_bindgen::structs::tests::write_all_structs_serde_encase::{{closure}}::hb651036a3846cc0a [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x60961df8c4cf - insta::settings::Settings::bind::h6c9bc59d343bdc8a [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.1/src/settings.rs:509:9 [INFO] [stdout] 23: 0x60961de9f5e0 - wgsl_bindgen::structs::tests::write_all_structs_serde_encase::h78061da469736bc5 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x60961de9fba7 - wgsl_bindgen::structs::tests::write_all_structs_serde_encase::{{closure}}::he68010c12801b9aa [INFO] [stdout] at /opt/rustwide/workdir/src/structs.rs:471:38 [INFO] [stdout] 25: 0x60961df3a696 - core::ops::function::FnOnce::call_once::h2254281fb12d2be4 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x60961e132b7b - core::ops::function::FnOnce::call_once::he420dad47d9aac14 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x60961e132b7b - test::__rust_begin_short_backtrace::h51976f55c263f7c2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x60961e1487a5 - test::run_test_in_process::{{closure}}::h6aa4339396d33320 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x60961e1487a5 - as core::ops::function::FnOnce<()>>::call_once::h5bd0ba3863a53529 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x60961e1487a5 - std::panicking::catch_unwind::do_call::h5c710722c40c5839 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x60961e1487a5 - std::panicking::catch_unwind::hf41b5be070ce0f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x60961e1487a5 - std::panic::catch_unwind::h4559aa103e6f16d6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x60961e1487a5 - test::run_test_in_process::he6fd763a772ff213 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x60961e1487a5 - test::run_test::{{closure}}::he46f5435849feb5b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x60961e11efb4 - test::run_test::{{closure}}::h12a66289c31b502a [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x60961e11efb4 - std::sys::backtrace::__rust_begin_short_backtrace::h614a7925ed7b2f5e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x60961e12295a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hbc654088c5dbff36 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x60961e12295a - as core::ops::function::FnOnce<()>>::call_once::h3f631d2ca531b61d [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x60961e12295a - std::panicking::catch_unwind::do_call::hd2548748db0aa717 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x60961e12295a - std::panicking::catch_unwind::hf7d8620d84df48e2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x60961e12295a - std::panic::catch_unwind::hdde75b8543fcb96b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x60961e12295a - std::thread::Builder::spawn_unchecked_::{{closure}}::h991e7d03b432cf3f [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x60961e12295a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hebddb40255441657 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x60961e9ed55f - as core::ops::function::FnOnce>::call_once::h55e8930dc7db99a5 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 45: 0x60961e9ed55f - std::sys::thread::unix::Thread::new::thread_start::he23d038ee4fa004e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 46: 0x70e7dc752aa4 - [INFO] [stdout] 47: 0x70e7dc7dfa34 - clone [INFO] [stdout] 48: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- structs::tests::write_atomic_types stdout ---- [INFO] [stdout] Warning: rustfmt formatting failed (rustfmt failed: error: 'rustfmt' is not installed for the custom toolchain '2440211fe03bc45c89b6dc1a3df18382ce91e32b'. [INFO] [stdout] note: this is a custom toolchain, which cannot use `rustup component add` [INFO] [stdout] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py` [INFO] [stdout] ), falling back to prettyplease [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/snapshots/write_atomic_types.snap [INFO] [stdout] Snapshot: write_atomic_types [INFO] [stdout] Source: src/structs.rs:650 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 0 │ #[repr(C)] [INFO] [stdout] 1 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 1 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 2 2 │ pub struct Atomics { [INFO] [stdout] 3 │- pub num: u32, [INFO] [stdout] 4 │- pub numi: i32, [INFO] [stdout] 3 │+ pub num: u32, [INFO] [stdout] 4 │+ pub numi: i32, [INFO] [stdout] 5 5 │ } [INFO] [stdout] 6 6 │ impl Atomics { [INFO] [stdout] 7 │- pub const fn new(num: u32, numi: i32) -> Self { [INFO] [stdout] 8 │- Self { num, numi } [INFO] [stdout] 9 │- } [INFO] [stdout] 7 │+ pub const fn new(num: u32, numi: i32) -> Self { [INFO] [stdout] 8 │+ Self { num, numi } [INFO] [stdout] 9 │+ } [INFO] [stdout] 10 10 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'structs::tests::write_atomic_types' (5628) panicked at src/structs.rs:650:5: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: FileIo(Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }, "/opt/rustwide/workdir/src/snapshots/write_atomic_types.snap.new") [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x60961ea1ab92 - std::backtrace_rs::backtrace::libunwind::trace::h22a6a535a50603c6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x60961ea1ab92 - std::backtrace_rs::backtrace::trace_unsynchronized::h2503a4f30dbfbaa2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x60961ea1ab92 - std::sys::backtrace::_print_fmt::hec54e31f36456895 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x60961ea1ab92 - ::fmt::hb1988e8b50fa5f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x60961ea2ee1f - core::fmt::rt::Argument::fmt::h3118a66e1a57a586 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x60961ea2ee1f - core::fmt::write::hcd056e06a609f600 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x60961e9e5671 - std::io::default_write_fmt::hdabc5d6505cb374b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x60961e9e5671 - std::io::Write::write_fmt::h18c82179fdc1f9d2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x60961e9f24d2 - std::sys::backtrace::BacktraceLock::print::h69f50ba7cfff8317 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x60961e9f820f - std::panicking::default_hook::{{closure}}::hfa978eb2255ab3ab [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x60961e9f80a1 - std::panicking::default_hook::h09da2eaf8f1deadd [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x60961e132d9e - as core::ops::function::Fn>::call::h1697e4d80f236ef6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x60961e132d9e - test::test_main_with_exit_callback::{{closure}}::h8f63929ca9fd483b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x60961e9f897f - as core::ops::function::Fn>::call::hba67e0dc3e3fc548 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x60961e9f897f - std::panicking::panic_with_hook::h13c40d280d130fd3 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x60961e9f872a - std::panicking::panic_handler::{{closure}}::hd79d22e8a1d3b951 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x60961e9f2609 - std::sys::backtrace::__rust_end_short_backtrace::h83414d1ec69cf3a6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x60961e9d8b4d - __rustc[b78aa6c7b08e5dc4]::rust_begin_unwind [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x60961ea39f00 - core::panicking::panic_fmt::h326b75cf8ee01b13 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x60961ea38be6 - core::result::unwrap_failed::h38baee32fdec5ac8 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x60961de98633 - core::result::Result::unwrap::h4e75d443417df354 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x60961de98633 - wgsl_bindgen::structs::tests::write_atomic_types::{{closure}}::hb7d5e20a6f270676 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x60961df8be8f - insta::settings::Settings::bind::h1b2bb0a34af85f0a [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.1/src/settings.rs:509:9 [INFO] [stdout] 23: 0x60961de9815c - wgsl_bindgen::structs::tests::write_atomic_types::hab5df6a6006bdf1d [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x60961de98727 - wgsl_bindgen::structs::tests::write_atomic_types::{{closure}}::hdd768f45ebb15c15 [INFO] [stdout] at /opt/rustwide/workdir/src/structs.rs:628:26 [INFO] [stdout] 25: 0x60961df3ada6 - core::ops::function::FnOnce::call_once::h4f0c4eaf0ce7b62d [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x60961e132b7b - core::ops::function::FnOnce::call_once::he420dad47d9aac14 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x60961e132b7b - test::__rust_begin_short_backtrace::h51976f55c263f7c2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x60961e1487a5 - test::run_test_in_process::{{closure}}::h6aa4339396d33320 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x60961e1487a5 - as core::ops::function::FnOnce<()>>::call_once::h5bd0ba3863a53529 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x60961e1487a5 - std::panicking::catch_unwind::do_call::h5c710722c40c5839 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x60961e1487a5 - std::panicking::catch_unwind::hf41b5be070ce0f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x60961e1487a5 - std::panic::catch_unwind::h4559aa103e6f16d6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x60961e1487a5 - test::run_test_in_process::he6fd763a772ff213 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x60961e1487a5 - test::run_test::{{closure}}::he46f5435849feb5b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x60961e11efb4 - test::run_test::{{closure}}::h12a66289c31b502a [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x60961e11efb4 - std::sys::backtrace::__rust_begin_short_backtrace::h614a7925ed7b2f5e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x60961e12295a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hbc654088c5dbff36 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x60961e12295a - as core::ops::function::FnOnce<()>>::call_once::h3f631d2ca531b61d [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x60961e12295a - std::panicking::catch_unwind::do_call::hd2548748db0aa717 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x60961e12295a - std::panicking::catch_unwind::hf7d8620d84df48e2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x60961e12295a - std::panic::catch_unwind::hdde75b8543fcb96b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x60961e12295a - std::thread::Builder::spawn_unchecked_::{{closure}}::h991e7d03b432cf3f [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x60961e12295a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hebddb40255441657 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x60961e9ed55f - as core::ops::function::FnOnce>::call_once::h55e8930dc7db99a5 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 45: 0x60961e9ed55f - std::sys::thread::unix::Thread::new::thread_start::he23d038ee4fa004e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 46: 0x70e7dc752aa4 - [INFO] [stdout] 47: 0x70e7dc7dfa34 - clone [INFO] [stdout] 48: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- structs::tests::write_all_structs_skip_stage_outputs stdout ---- [INFO] [stdout] Warning: rustfmt formatting failed (rustfmt failed: error: 'rustfmt' is not installed for the custom toolchain '2440211fe03bc45c89b6dc1a3df18382ce91e32b'. [INFO] [stdout] note: this is a custom toolchain, which cannot use `rustup component add` [INFO] [stdout] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py` [INFO] [stdout] ), falling back to prettyplease [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/snapshots/write_all_structs_skip_stage_outputs.snap [INFO] [stdout] Snapshot: write_all_structs_skip_stage_outputs [INFO] [stdout] Source: src/structs.rs:545 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 0 │ #[repr(C)] [INFO] [stdout] 1 1 │ #[derive(Debug, PartialEq, Clone, Copy)] [INFO] [stdout] 2 2 │ pub struct Input0 { [INFO] [stdout] 3 │- pub a: u32, [INFO] [stdout] 4 │- pub b: i32, [INFO] [stdout] 5 │- pub c: f32, [INFO] [stdout] 3 │+ pub a: u32, [INFO] [stdout] 4 │+ pub b: i32, [INFO] [stdout] 5 │+ pub c: f32, [INFO] [stdout] 6 6 │ } [INFO] [stdout] 7 7 │ impl Input0 { [INFO] [stdout] 8 │- pub const fn new(a: u32, b: i32, c: f32) -> Self { [INFO] [stdout] 9 │- Self { a, b, c } [INFO] [stdout] 10 │- } [INFO] [stdout] 8 │+ pub const fn new(a: u32, b: i32, c: f32) -> Self { [INFO] [stdout] 9 │+ Self { a, b, c } [INFO] [stdout] 10 │+ } [INFO] [stdout] 11 11 │ } [INFO] [stdout] 12 12 │ unsafe impl bytemuck::Zeroable for Input0 {} [INFO] [stdout] 13 13 │ unsafe impl bytemuck::Pod for Input0 {} [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'structs::tests::write_all_structs_skip_stage_outputs' (5560) panicked at src/structs.rs:545:5: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: FileIo(Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }, "/opt/rustwide/workdir/src/snapshots/write_all_structs_skip_stage_outputs.snap.new") [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x60961ea1ab92 - std::backtrace_rs::backtrace::libunwind::trace::h22a6a535a50603c6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x60961ea1ab92 - std::backtrace_rs::backtrace::trace_unsynchronized::h2503a4f30dbfbaa2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x60961ea1ab92 - std::sys::backtrace::_print_fmt::hec54e31f36456895 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x60961ea1ab92 - ::fmt::hb1988e8b50fa5f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x60961ea2ee1f - core::fmt::rt::Argument::fmt::h3118a66e1a57a586 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x60961ea2ee1f - core::fmt::write::hcd056e06a609f600 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x60961e9e5671 - std::io::default_write_fmt::hdabc5d6505cb374b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x60961e9e5671 - std::io::Write::write_fmt::h18c82179fdc1f9d2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x60961e9f24d2 - std::sys::backtrace::BacktraceLock::print::h69f50ba7cfff8317 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x60961e9f820f - std::panicking::default_hook::{{closure}}::hfa978eb2255ab3ab [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x60961e9f80a1 - std::panicking::default_hook::h09da2eaf8f1deadd [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x60961e132d9e - as core::ops::function::Fn>::call::h1697e4d80f236ef6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x60961e132d9e - test::test_main_with_exit_callback::{{closure}}::h8f63929ca9fd483b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x60961e9f897f - as core::ops::function::Fn>::call::hba67e0dc3e3fc548 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x60961e9f897f - std::panicking::panic_with_hook::h13c40d280d130fd3 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x60961e9f872a - std::panicking::panic_handler::{{closure}}::hd79d22e8a1d3b951 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x60961e9f2609 - std::sys::backtrace::__rust_end_short_backtrace::h83414d1ec69cf3a6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x60961e9d8b4d - __rustc[b78aa6c7b08e5dc4]::rust_begin_unwind [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x60961ea39f00 - core::panicking::panic_fmt::h326b75cf8ee01b13 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x60961ea38be6 - core::result::unwrap_failed::h38baee32fdec5ac8 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x60961dea1403 - core::result::Result::unwrap::h4e75d443417df354 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x60961dea1403 - wgsl_bindgen::structs::tests::write_all_structs_skip_stage_outputs::{{closure}}::h0dd2f03472492875 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x60961df8d0af - insta::settings::Settings::bind::hd0e9b056e903b99f [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.1/src/settings.rs:509:9 [INFO] [stdout] 23: 0x60961dea0ef3 - wgsl_bindgen::structs::tests::write_all_structs_skip_stage_outputs::h7fa594d5a91cbdcb [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x60961dea0fd7 - wgsl_bindgen::structs::tests::write_all_structs_skip_stage_outputs::{{closure}}::h01dc5d8baad99c83 [INFO] [stdout] at /opt/rustwide/workdir/src/structs.rs:509:44 [INFO] [stdout] 25: 0x60961df3a2d6 - core::ops::function::FnOnce::call_once::h0a930307d79b6daf [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x60961e132b7b - core::ops::function::FnOnce::call_once::he420dad47d9aac14 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x60961e132b7b - test::__rust_begin_short_backtrace::h51976f55c263f7c2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x60961e1487a5 - test::run_test_in_process::{{closure}}::h6aa4339396d33320 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x60961e1487a5 - as core::ops::function::FnOnce<()>>::call_once::h5bd0ba3863a53529 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x60961e1487a5 - std::panicking::catch_unwind::do_call::h5c710722c40c5839 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x60961e1487a5 - std::panicking::catch_unwind::hf41b5be070ce0f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x60961e1487a5 - std::panic::catch_unwind::h4559aa103e6f16d6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x60961e1487a5 - test::run_test_in_process::he6fd763a772ff213 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x60961e1487a5 - test::run_test::{{closure}}::he46f5435849feb5b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x60961e11efb4 - test::run_test::{{closure}}::h12a66289c31b502a [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x60961e11efb4 - std::sys::backtrace::__rust_begin_short_backtrace::h614a7925ed7b2f5e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x60961e12295a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hbc654088c5dbff36 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x60961e12295a - as core::ops::function::FnOnce<()>>::call_once::h3f631d2ca531b61d [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x60961e12295a - std::panicking::catch_unwind::do_call::hd2548748db0aa717 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x60961e12295a - std::panicking::catch_unwind::hf7d8620d84df48e2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x60961e12295a - std::panic::catch_unwind::hdde75b8543fcb96b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x60961e12295a - std::thread::Builder::spawn_unchecked_::{{closure}}::h991e7d03b432cf3f [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x60961e12295a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hebddb40255441657 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x60961e9ed55f - as core::ops::function::FnOnce>::call_once::h55e8930dc7db99a5 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 45: 0x60961e9ed55f - std::sys::thread::unix::Thread::new::thread_start::he23d038ee4fa004e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 46: 0x70e7dc752aa4 - [INFO] [stdout] 47: 0x70e7dc7dfa34 - clone [INFO] [stdout] 48: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- structs::tests::write_all_structs_rust stdout ---- [INFO] [stdout] Warning: rustfmt formatting failed (rustfmt failed: error: 'rustfmt' is not installed for the custom toolchain '2440211fe03bc45c89b6dc1a3df18382ce91e32b'. [INFO] [stdout] note: this is a custom toolchain, which cannot use `rustup component add` [INFO] [stdout] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py` [INFO] [stdout] ), falling back to prettyplease [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/snapshots/write_all_structs_rust.snap [INFO] [stdout] Snapshot: write_all_structs_rust [INFO] [stdout] Source: src/structs.rs:280 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 0 │ #[repr(C)] [INFO] [stdout] 1 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 1 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 2 2 │ pub struct Scalars { [INFO] [stdout] 3 │- pub a: u32, [INFO] [stdout] 4 │- pub b: i32, [INFO] [stdout] 5 │- pub c: f32, [INFO] [stdout] 3 │+ pub a: u32, [INFO] [stdout] 4 │+ pub b: i32, [INFO] [stdout] 5 │+ pub c: f32, [INFO] [stdout] 6 6 │ } [INFO] [stdout] 7 7 │ impl Scalars { [INFO] [stdout] 8 │- pub const fn new(a: u32, b: i32, c: f32) -> Self { [INFO] [stdout] 9 │- Self { a, b, c } [INFO] [stdout] 10 │- } [INFO] [stdout] 8 │+ pub const fn new(a: u32, b: i32, c: f32) -> Self { [INFO] [stdout] 9 │+ Self { a, b, c } [INFO] [stdout] 10 │+ } [INFO] [stdout] 11 11 │ } [INFO] [stdout] 12 12 │ #[repr(C)] [INFO] [stdout] 13 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 13 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 14 14 │ pub struct VectorsU32 { [INFO] [stdout] 15 │- pub a: [u32; 2], [INFO] [stdout] 16 │- pub b: [u32; 4], [INFO] [stdout] 17 │- pub c: [u32; 4], [INFO] [stdout] 15 │+ pub a: [u32; 2], [INFO] [stdout] 16 │+ pub b: [u32; 4], [INFO] [stdout] 17 │+ pub c: [u32; 4], [INFO] [stdout] 18 18 │ } [INFO] [stdout] 19 19 │ impl VectorsU32 { [INFO] [stdout] 20 │- pub const fn new(a: [u32; 2], b: [u32; 4], c: [u32; 4]) -> Self { [INFO] [stdout] 21 │- Self { a, b, c } [INFO] [stdout] 22 │- } [INFO] [stdout] 20 │+ pub const fn new(a: [u32; 2], b: [u32; 4], c: [u32; 4]) -> Self { [INFO] [stdout] 21 │+ Self { a, b, c } [INFO] [stdout] 22 │+ } [INFO] [stdout] 23 23 │ } [INFO] [stdout] 24 24 │ #[repr(C)] [INFO] [stdout] 25 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 25 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 26 26 │ pub struct VectorsI32 { [INFO] [stdout] 27 │- pub a: [i32; 2], [INFO] [stdout] 28 │- pub b: [i32; 4], [INFO] [stdout] 29 │- pub c: [i32; 4], [INFO] [stdout] 27 │+ pub a: [i32; 2], [INFO] [stdout] 28 │+ pub b: [i32; 4], [INFO] [stdout] 29 │+ pub c: [i32; 4], [INFO] [stdout] 30 30 │ } [INFO] [stdout] 31 31 │ impl VectorsI32 { [INFO] [stdout] 32 │- pub const fn new(a: [i32; 2], b: [i32; 4], c: [i32; 4]) -> Self { [INFO] [stdout] 33 │- Self { a, b, c } [INFO] [stdout] 34 │- } [INFO] [stdout] 32 │+ pub const fn new(a: [i32; 2], b: [i32; 4], c: [i32; 4]) -> Self { [INFO] [stdout] 33 │+ Self { a, b, c } [INFO] [stdout] 34 │+ } [INFO] [stdout] 35 35 │ } [INFO] [stdout] 36 36 │ #[repr(C)] [INFO] [stdout] 37 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 37 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 38 38 │ pub struct VectorsF32 { [INFO] [stdout] 39 │- pub a: [f32; 2], [INFO] [stdout] 40 │- pub b: [f32; 4], [INFO] [stdout] 41 │- pub c: [f32; 4], [INFO] [stdout] 39 │+ pub a: [f32; 2], [INFO] [stdout] 40 │+ pub b: [f32; 4], [INFO] [stdout] 41 │+ pub c: [f32; 4], [INFO] [stdout] 42 42 │ } [INFO] [stdout] 43 43 │ impl VectorsF32 { [INFO] [stdout] 44 │- pub const fn new(a: [f32; 2], b: [f32; 4], c: [f32; 4]) -> Self { [INFO] [stdout] 45 │- Self { a, b, c } [INFO] [stdout] 46 │- } [INFO] [stdout] 44 │+ pub const fn new(a: [f32; 2], b: [f32; 4], c: [f32; 4]) -> Self { [INFO] [stdout] 45 │+ Self { a, b, c } [INFO] [stdout] 46 │+ } [INFO] [stdout] 47 47 │ } [INFO] [stdout] 48 48 │ #[repr(C)] [INFO] [stdout] 49 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 49 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 50 50 │ pub struct VectorsF64 { [INFO] [stdout] 51 │- pub a: [f64; 2], [INFO] [stdout] 52 │- pub b: [f64; 4], [INFO] [stdout] 53 │- pub c: [f64; 4], [INFO] [stdout] 51 │+ pub a: [f64; 2], [INFO] [stdout] 52 │+ pub b: [f64; 4], [INFO] [stdout] 53 │+ pub c: [f64; 4], [INFO] [stdout] 54 54 │ } [INFO] [stdout] 55 55 │ impl VectorsF64 { [INFO] [stdout] 56 │- pub const fn new(a: [f64; 2], b: [f64; 4], c: [f64; 4]) -> Self { [INFO] [stdout] 57 │- Self { a, b, c } [INFO] [stdout] 58 │- } [INFO] [stdout] 56 │+ pub const fn new(a: [f64; 2], b: [f64; 4], c: [f64; 4]) -> Self { [INFO] [stdout] 57 │+ Self { a, b, c } [INFO] [stdout] 58 │+ } [INFO] [stdout] 59 59 │ } [INFO] [stdout] 60 60 │ #[repr(C)] [INFO] [stdout] 61 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 61 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 62 62 │ pub struct MatricesF32 { [INFO] [stdout] 63 │- pub a: [[f32; 4]; 4], [INFO] [stdout] 64 │- pub b: [[f32; 4]; 4], [INFO] [stdout] 65 │- pub c: [[f32; 2]; 4], [INFO] [stdout] 66 │- pub d: [[f32; 4]; 3], [INFO] [stdout] 67 │- pub e: [[f32; 4]; 3], [INFO] [stdout] 68 │- pub f: [[f32; 2]; 3], [INFO] [stdout] 69 │- pub g: [[f32; 4]; 2], [INFO] [stdout] 70 │- pub h: [[f32; 4]; 2], [INFO] [stdout] 71 │- pub i: [[f32; 2]; 2], [INFO] [stdout] 63 │+ pub a: [[f32; 4]; 4], [INFO] [stdout] 64 │+ pub b: [[f32; 4]; 4], [INFO] [stdout] 65 │+ pub c: [[f32; 2]; 4], [INFO] [stdout] 66 │+ pub d: [[f32; 4]; 3], [INFO] [stdout] 67 │+ pub e: [[f32; 4]; 3], [INFO] [stdout] 68 │+ pub f: [[f32; 2]; 3], [INFO] [stdout] 69 │+ pub g: [[f32; 4]; 2], [INFO] [stdout] 70 │+ pub h: [[f32; 4]; 2], [INFO] [stdout] 71 │+ pub i: [[f32; 2]; 2], [INFO] [stdout] 72 72 │ } [INFO] [stdout] 73 73 │ impl MatricesF32 { [INFO] [stdout] 74 │- pub const fn new( [INFO] [stdout] 75 │- a: [[f32; 4]; 4], [INFO] [stdout] 76 │- b: [[f32; 4]; 4], [INFO] [stdout] 77 │- c: [[f32; 2]; 4], [INFO] [stdout] 78 │- d: [[f32; 4]; 3], [INFO] [stdout] 79 │- e: [[f32; 4]; 3], [INFO] [stdout] 80 │- f: [[f32; 2]; 3], [INFO] [stdout] 81 │- g: [[f32; 4]; 2], [INFO] [stdout] 82 │- h: [[f32; 4]; 2], [INFO] [stdout] 83 │- i: [[f32; 2]; 2], [INFO] [stdout] 84 │- ) -> Self { [INFO] [stdout] 85 │- Self { [INFO] [stdout] 86 │- a, [INFO] [stdout] 87 │- b, [INFO] [stdout] 88 │- c, [INFO] [stdout] 89 │- d, [INFO] [stdout] 90 │- e, [INFO] [stdout] 91 │- f, [INFO] [stdout] 92 │- g, [INFO] [stdout] 93 │- h, [INFO] [stdout] 94 │- i, [INFO] [stdout] 74 │+ pub const fn new( [INFO] [stdout] 75 │+ a: [[f32; 4]; 4], [INFO] [stdout] 76 │+ b: [[f32; 4]; 4], [INFO] [stdout] 77 │+ c: [[f32; 2]; 4], [INFO] [stdout] 78 │+ d: [[f32; 4]; 3], [INFO] [stdout] 79 │+ e: [[f32; 4]; 3], [INFO] [stdout] 80 │+ f: [[f32; 2]; 3], [INFO] [stdout] 81 │+ g: [[f32; 4]; 2], [INFO] [stdout] 82 │+ h: [[f32; 4]; 2], [INFO] [stdout] 83 │+ i: [[f32; 2]; 2], [INFO] [stdout] 84 │+ ) -> Self { [INFO] [stdout] 85 │+ Self { a, b, c, d, e, f, g, h, i } [INFO] [stdout] 95 86 │ } [INFO] [stdout] 96 │- } [INFO] [stdout] 97 87 │ } [INFO] [stdout] 98 88 │ #[repr(C)] [INFO] [stdout] 99 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 89 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 100 90 │ pub struct MatricesF64 { [INFO] [stdout] 101 │- pub a: [[f64; 4]; 4], [INFO] [stdout] 102 │- pub b: [[f64; 4]; 4], [INFO] [stdout] 103 │- pub c: [[f64; 2]; 4], [INFO] [stdout] 104 │- pub d: [[f64; 4]; 3], [INFO] [stdout] 105 │- pub e: [[f64; 4]; 3], [INFO] [stdout] 106 │- pub f: [[f64; 2]; 3], [INFO] [stdout] 107 │- pub g: [[f64; 4]; 2], [INFO] [stdout] 108 │- pub h: [[f64; 4]; 2], [INFO] [stdout] 109 │- pub i: [[f64; 2]; 2], [INFO] [stdout] 91 │+ pub a: [[f64; 4]; 4], [INFO] [stdout] 92 │+ pub b: [[f64; 4]; 4], [INFO] [stdout] 93 │+ pub c: [[f64; 2]; 4], [INFO] [stdout] 94 │+ pub d: [[f64; 4]; 3], [INFO] [stdout] 95 │+ pub e: [[f64; 4]; 3], [INFO] [stdout] 96 │+ pub f: [[f64; 2]; 3], [INFO] [stdout] 97 │+ pub g: [[f64; 4]; 2], [INFO] [stdout] 98 │+ pub h: [[f64; 4]; 2], [INFO] [stdout] 99 │+ pub i: [[f64; 2]; 2], [INFO] [stdout] 110 100 │ } [INFO] [stdout] 111 101 │ impl MatricesF64 { [INFO] [stdout] 112 │- pub const fn new( [INFO] [stdout] 113 │- a: [[f64; 4]; 4], [INFO] [stdout] 114 │- b: [[f64; 4]; 4], [INFO] [stdout] 115 │- c: [[f64; 2]; 4], [INFO] [stdout] 116 │- d: [[f64; 4]; 3], [INFO] [stdout] 117 │- e: [[f64; 4]; 3], [INFO] [stdout] 118 │- f: [[f64; 2]; 3], [INFO] [stdout] 119 │- g: [[f64; 4]; 2], [INFO] [stdout] 120 │- h: [[f64; 4]; 2], [INFO] [stdout] 121 │- i: [[f64; 2]; 2], [INFO] [stdout] 122 │- ) -> Self { [INFO] [stdout] 123 │- Self { [INFO] [stdout] 124 │- a, [INFO] [stdout] 125 │- b, [INFO] [stdout] 126 │- c, [INFO] [stdout] 127 │- d, [INFO] [stdout] 128 │- e, [INFO] [stdout] 129 │- f, [INFO] [stdout] 130 │- g, [INFO] [stdout] 131 │- h, [INFO] [stdout] 132 │- i, [INFO] [stdout] 102 │+ pub const fn new( [INFO] [stdout] 103 │+ a: [[f64; 4]; 4], [INFO] [stdout] 104 │+ b: [[f64; 4]; 4], [INFO] [stdout] 105 │+ c: [[f64; 2]; 4], [INFO] [stdout] 106 │+ d: [[f64; 4]; 3], [INFO] [stdout] 107 │+ e: [[f64; 4]; 3], [INFO] [stdout] 108 │+ f: [[f64; 2]; 3], [INFO] [stdout] 109 │+ g: [[f64; 4]; 2], [INFO] [stdout] 110 │+ h: [[f64; 4]; 2], [INFO] [stdout] 111 │+ i: [[f64; 2]; 2], [INFO] [stdout] 112 │+ ) -> Self { [INFO] [stdout] 113 │+ Self { a, b, c, d, e, f, g, h, i } [INFO] [stdout] 133 114 │ } [INFO] [stdout] 134 │- } [INFO] [stdout] 135 115 │ } [INFO] [stdout] 136 116 │ #[repr(C)] [INFO] [stdout] 137 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 117 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 138 118 │ pub struct StaticArrays { [INFO] [stdout] 139 │- pub a: [u32; 5], [INFO] [stdout] 140 │- pub b: [f32; 3], [INFO] [stdout] 141 │- pub c: [[[f32; 4]; 4]; 512], [INFO] [stdout] 119 │+ pub a: [u32; 5], [INFO] [stdout] 120 │+ pub b: [f32; 3], [INFO] [stdout] 121 │+ pub c: [[[f32; 4]; 4]; 512], [INFO] [stdout] 142 122 │ } [INFO] [stdout] 143 123 │ impl StaticArrays { [INFO] [stdout] 144 │- pub const fn new(a: [u32; 5], b: [f32; 3], c: [[[f32; 4]; 4]; 512]) -> Self { [INFO] [stdout] 145 │- Self { a, b, c } [INFO] [stdout] 146 │- } [INFO] [stdout] 124 │+ pub const fn new(a: [u32; 5], b: [f32; 3], c: [[[f32; 4]; 4]; 512]) -> Self { [INFO] [stdout] 125 │+ Self { a, b, c } [INFO] [stdout] 126 │+ } [INFO] [stdout] 147 127 │ } [INFO] [stdout] 148 128 │ #[repr(C)] [INFO] [stdout] 149 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 129 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 150 130 │ pub struct Nested { [INFO] [stdout] 151 │- pub a: MatricesF32, [INFO] [stdout] 152 │- pub b: MatricesF64, [INFO] [stdout] 131 │+ pub a: MatricesF32, [INFO] [stdout] 132 │+ pub b: MatricesF64, [INFO] [stdout] 153 133 │ } [INFO] [stdout] 154 134 │ impl Nested { [INFO] [stdout] 155 │- pub const fn new(a: MatricesF32, b: MatricesF64) -> Self { [INFO] [stdout] 156 │- Self { a, b } [INFO] [stdout] 157 │- } [INFO] [stdout] 135 │+ pub const fn new(a: MatricesF32, b: MatricesF64) -> Self { [INFO] [stdout] 136 │+ Self { a, b } [INFO] [stdout] 137 │+ } [INFO] [stdout] 158 138 │ } [INFO] [stdout] 159 139 │ #[repr(C)] [INFO] [stdout] 160 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 140 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 161 141 │ pub struct VectorsF16 { [INFO] [stdout] 162 │- pub a: [half::f16; 2], [INFO] [stdout] 163 │- pub b: [half::f16; 4], [INFO] [stdout] 142 │+ pub a: [half::f16; 2], [INFO] [stdout] 143 │+ pub b: [half::f16; 4], [INFO] [stdout] 164 144 │ } [INFO] [stdout] 165 145 │ impl VectorsF16 { [INFO] [stdout] 166 │- pub const fn new(a: [half::f16; 2], b: [half::f16; 4]) -> Self { [INFO] [stdout] 167 │- Self { a, b } [INFO] [stdout] 168 │- } [INFO] [stdout] 146 │+ pub const fn new(a: [half::f16; 2], b: [half::f16; 4]) -> Self { [INFO] [stdout] 147 │+ Self { a, b } [INFO] [stdout] 148 │+ } [INFO] [stdout] 169 149 │ } [INFO] [stdout] 170 150 │ #[repr(C)] [INFO] [stdout] 171 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 151 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 172 152 │ pub struct MatricesF16 { [INFO] [stdout] 173 │- pub a: [[half::f16; 4]; 4], [INFO] [stdout] 174 │- pub b: [[half::f16; 4]; 4], [INFO] [stdout] 175 │- pub c: [[half::f16; 2]; 4], [INFO] [stdout] 176 │- pub d: [[half::f16; 4]; 3], [INFO] [stdout] 177 │- pub e: [[half::f16; 4]; 3], [INFO] [stdout] 178 │- pub f: [[half::f16; 2]; 3], [INFO] [stdout] 179 │- pub g: [[half::f16; 4]; 2], [INFO] [stdout] 180 │- pub h: [[half::f16; 4]; 2], [INFO] [stdout] 181 │- pub i: [[half::f16; 2]; 2], [INFO] [stdout] 153 │+ pub a: [[half::f16; 4]; 4], [INFO] [stdout] 154 │+ pub b: [[half::f16; 4]; 4], [INFO] [stdout] 155 │+ pub c: [[half::f16; 2]; 4], [INFO] [stdout] 156 │+ pub d: [[half::f16; 4]; 3], [INFO] [stdout] 157 │+ pub e: [[half::f16; 4]; 3], [INFO] [stdout] 158 │+ pub f: [[half::f16; 2]; 3], [INFO] [stdout] 159 │+ pub g: [[half::f16; 4]; 2], [INFO] [stdout] 160 │+ pub h: [[half::f16; 4]; 2], [INFO] [stdout] 161 │+ pub i: [[half::f16; 2]; 2], [INFO] [stdout] 182 162 │ } [INFO] [stdout] 183 163 │ impl MatricesF16 { [INFO] [stdout] 184 │- pub const fn new( [INFO] [stdout] 185 │- a: [[half::f16; 4]; 4], [INFO] [stdout] 186 │- b: [[half::f16; 4]; 4], [INFO] [stdout] 187 │- c: [[half::f16; 2]; 4], [INFO] [stdout] 188 │- d: [[half::f16; 4]; 3], [INFO] [stdout] 189 │- e: [[half::f16; 4]; 3], [INFO] [stdout] 190 │- f: [[half::f16; 2]; 3], [INFO] [stdout] 191 │- g: [[half::f16; 4]; 2], [INFO] [stdout] 192 │- h: [[half::f16; 4]; 2], [INFO] [stdout] 193 │- i: [[half::f16; 2]; 2], [INFO] [stdout] 194 │- ) -> Self { [INFO] [stdout] 195 │- Self { [INFO] [stdout] 196 │- a, [INFO] [stdout] 197 │- b, [INFO] [stdout] 198 │- c, [INFO] [stdout] 199 │- d, [INFO] [stdout] 200 │- e, [INFO] [stdout] 201 │- f, [INFO] [stdout] 202 │- g, [INFO] [stdout] 203 │- h, [INFO] [stdout] 204 │- i, [INFO] [stdout] 164 │+ pub const fn new( [INFO] [stdout] 165 │+ a: [[half::f16; 4]; 4], [INFO] [stdout] 166 │+ b: [[half::f16; 4]; 4], [INFO] [stdout] 167 │+ c: [[half::f16; 2]; 4], [INFO] [stdout] 168 │+ d: [[half::f16; 4]; 3], [INFO] [stdout] 169 │+ e: [[half::f16; 4]; 3], [INFO] [stdout] 170 │+ f: [[half::f16; 2]; 3], [INFO] [stdout] 171 │+ g: [[half::f16; 4]; 2], [INFO] [stdout] 172 │+ h: [[half::f16; 4]; 2], [INFO] [stdout] 173 │+ i: [[half::f16; 2]; 2], [INFO] [stdout] 174 │+ ) -> Self { [INFO] [stdout] 175 │+ Self { a, b, c, d, e, f, g, h, i } [INFO] [stdout] 205 176 │ } [INFO] [stdout] 206 │- } [INFO] [stdout] 207 177 │ } [INFO] [stdout] 208 178 │ #[repr(C)] [INFO] [stdout] 209 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 179 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 210 180 │ pub struct Atomics { [INFO] [stdout] 211 │- pub num: u32, [INFO] [stdout] 212 │- pub numi: i32, [INFO] [stdout] 181 │+ pub num: u32, [INFO] [stdout] 182 │+ pub numi: i32, [INFO] [stdout] 213 183 │ } [INFO] [stdout] 214 184 │ impl Atomics { [INFO] [stdout] 215 │- pub const fn new(num: u32, numi: i32) -> Self { [INFO] [stdout] 216 │- Self { num, numi } [INFO] [stdout] 217 │- } [INFO] [stdout] 185 │+ pub const fn new(num: u32, numi: i32) -> Self { [INFO] [stdout] 186 │+ Self { num, numi } [INFO] [stdout] 187 │+ } [INFO] [stdout] 218 188 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'structs::tests::write_all_structs_rust' (5196) panicked at src/structs.rs:280:5: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: FileIo(Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }, "/opt/rustwide/workdir/src/snapshots/write_all_structs_rust.snap.new") [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x60961ea1ab92 - std::backtrace_rs::backtrace::libunwind::trace::h22a6a535a50603c6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x60961ea1ab92 - std::backtrace_rs::backtrace::trace_unsynchronized::h2503a4f30dbfbaa2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x60961ea1ab92 - std::sys::backtrace::_print_fmt::hec54e31f36456895 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x60961ea1ab92 - ::fmt::hb1988e8b50fa5f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x60961ea2ee1f - core::fmt::rt::Argument::fmt::h3118a66e1a57a586 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x60961ea2ee1f - core::fmt::write::hcd056e06a609f600 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x60961e9e5671 - std::io::default_write_fmt::hdabc5d6505cb374b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x60961e9e5671 - std::io::Write::write_fmt::h18c82179fdc1f9d2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x60961e9f24d2 - std::sys::backtrace::BacktraceLock::print::h69f50ba7cfff8317 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x60961e9f820f - std::panicking::default_hook::{{closure}}::hfa978eb2255ab3ab [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x60961e9f80a1 - std::panicking::default_hook::h09da2eaf8f1deadd [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x60961e132d9e - as core::ops::function::Fn>::call::h1697e4d80f236ef6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x60961e132d9e - test::test_main_with_exit_callback::{{closure}}::h8f63929ca9fd483b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x60961e9f897f - as core::ops::function::Fn>::call::hba67e0dc3e3fc548 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x60961e9f897f - std::panicking::panic_with_hook::h13c40d280d130fd3 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x60961e9f872a - std::panicking::panic_handler::{{closure}}::hd79d22e8a1d3b951 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x60961e9f2609 - std::sys::backtrace::__rust_end_short_backtrace::h83414d1ec69cf3a6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x60961e9d8b4d - __rustc[b78aa6c7b08e5dc4]::rust_begin_unwind [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x60961ea39f00 - core::panicking::panic_fmt::h326b75cf8ee01b13 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x60961ea38be6 - core::result::unwrap_failed::h38baee32fdec5ac8 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x60961de9aab3 - core::result::Result::unwrap::h4e75d443417df354 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x60961de9aab3 - wgsl_bindgen::structs::tests::write_all_structs_rust::{{closure}}::h518eab8b98a52067 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x60961df8bfcf - insta::settings::Settings::bind::h3254c7799d22478d [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.1/src/settings.rs:509:9 [INFO] [stdout] 23: 0x60961de9a5f0 - wgsl_bindgen::structs::tests::write_all_structs_rust::h962de8ec2c416599 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x60961de9aba7 - wgsl_bindgen::structs::tests::write_all_structs_rust::{{closure}}::hffcab59e7b8c4e59 [INFO] [stdout] at /opt/rustwide/workdir/src/structs.rs:169:30 [INFO] [stdout] 25: 0x60961df3a7d6 - core::ops::function::FnOnce::call_once::h2612312b95d367c4 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x60961e132b7b - core::ops::function::FnOnce::call_once::he420dad47d9aac14 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x60961e132b7b - test::__rust_begin_short_backtrace::h51976f55c263f7c2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x60961e1487a5 - test::run_test_in_process::{{closure}}::h6aa4339396d33320 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x60961e1487a5 - as core::ops::function::FnOnce<()>>::call_once::h5bd0ba3863a53529 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x60961e1487a5 - std::panicking::catch_unwind::do_call::h5c710722c40c5839 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x60961e1487a5 - std::panicking::catch_unwind::hf41b5be070ce0f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x60961e1487a5 - std::panic::catch_unwind::h4559aa103e6f16d6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x60961e1487a5 - test::run_test_in_process::he6fd763a772ff213 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x60961e1487a5 - test::run_test::{{closure}}::he46f5435849feb5b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x60961e11efb4 - test::run_test::{{closure}}::h12a66289c31b502a [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x60961e11efb4 - std::sys::backtrace::__rust_begin_short_backtrace::h614a7925ed7b2f5e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x60961e12295a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hbc654088c5dbff36 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x60961e12295a - as core::ops::function::FnOnce<()>>::call_once::h3f631d2ca531b61d [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x60961e12295a - std::panicking::catch_unwind::do_call::hd2548748db0aa717 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x60961e12295a - std::panicking::catch_unwind::hf7d8620d84df48e2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x60961e12295a - std::panic::catch_unwind::hdde75b8543fcb96b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x60961e12295a - std::thread::Builder::spawn_unchecked_::{{closure}}::h991e7d03b432cf3f [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x60961e12295a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hebddb40255441657 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x60961e9ed55f - as core::ops::function::FnOnce>::call_once::h55e8930dc7db99a5 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 45: 0x60961e9ed55f - std::sys::thread::unix::Thread::new::thread_start::he23d038ee4fa004e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 46: 0x70e7dc752aa4 - [INFO] [stdout] 47: 0x70e7dc7dfa34 - clone [INFO] [stdout] 48: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- structs::tests::write_nonpower_of_2_mats_for_bytemuck_glam_option stdout ---- [INFO] [stdout] Warning: rustfmt formatting failed (rustfmt failed: error: 'rustfmt' is not installed for the custom toolchain '2440211fe03bc45c89b6dc1a3df18382ce91e32b'. [INFO] [stdout] note: this is a custom toolchain, which cannot use `rustup component add` [INFO] [stdout] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py` [INFO] [stdout] ), falling back to prettyplease [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/snapshots/write_nonpower_of_2_mats_for_bytemuck_glam_option.snap [INFO] [stdout] Snapshot: write_nonpower_of_2_mats_for_bytemuck_glam_option [INFO] [stdout] Source: src/structs.rs:771 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 0 │ #[repr(C, align(16))] [INFO] [stdout] 1 1 │ #[derive(Debug, PartialEq, Clone, Copy)] [INFO] [stdout] 2 2 │ pub struct UniformsData { [INFO] [stdout] 3 │- #[doc = "offset: 0, size: 48, type: `mat3x3`"] [INFO] [stdout] 4 │- pub centered_mvp: glam::Mat3A, [INFO] [stdout] 3 │+ ///offset: 0, size: 48, type: `mat3x3` [INFO] [stdout] 4 │+ pub centered_mvp: glam::Mat3A, [INFO] [stdout] 5 5 │ } [INFO] [stdout] 6 6 │ impl UniformsData { [INFO] [stdout] 7 │- pub const fn new(centered_mvp: glam::Mat3A) -> Self { [INFO] [stdout] 8 │- Self { centered_mvp } [INFO] [stdout] 9 │- } [INFO] [stdout] 7 │+ pub const fn new(centered_mvp: glam::Mat3A) -> Self { [INFO] [stdout] 8 │+ Self { centered_mvp } [INFO] [stdout] 9 │+ } [INFO] [stdout] 10 10 │ } [INFO] [stdout] 11 11 │ const UNIFORMS_DATA_ASSERTS: () = { [INFO] [stdout] 12 │- assert!(std::mem::offset_of!(UniformsData, centered_mvp) == 0); [INFO] [stdout] 13 │- assert!(std::mem::size_of::() == 48); [INFO] [stdout] 12 │+ assert!(std::mem::offset_of!(UniformsData, centered_mvp) == 0); [INFO] [stdout] 13 │+ assert!(std::mem::size_of:: < UniformsData > () == 48); [INFO] [stdout] 14 14 │ }; [INFO] [stdout] 15 15 │ unsafe impl bytemuck::Zeroable for UniformsData {} [INFO] [stdout] 16 16 │ unsafe impl bytemuck::Pod for UniformsData {} [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'structs::tests::write_nonpower_of_2_mats_for_bytemuck_glam_option' (5871) panicked at src/structs.rs:771:5: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: FileIo(Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }, "/opt/rustwide/workdir/src/snapshots/write_nonpower_of_2_mats_for_bytemuck_glam_option.snap.new") [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x60961ea1ab92 - std::backtrace_rs::backtrace::libunwind::trace::h22a6a535a50603c6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x60961ea1ab92 - std::backtrace_rs::backtrace::trace_unsynchronized::h2503a4f30dbfbaa2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x60961ea1ab92 - std::sys::backtrace::_print_fmt::hec54e31f36456895 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x60961ea1ab92 - ::fmt::hb1988e8b50fa5f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x60961ea2ee1f - core::fmt::rt::Argument::fmt::h3118a66e1a57a586 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x60961ea2ee1f - core::fmt::write::hcd056e06a609f600 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x60961e9e5671 - std::io::default_write_fmt::hdabc5d6505cb374b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x60961e9e5671 - std::io::Write::write_fmt::h18c82179fdc1f9d2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x60961e9f24d2 - std::sys::backtrace::BacktraceLock::print::h69f50ba7cfff8317 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x60961e9f820f - std::panicking::default_hook::{{closure}}::hfa978eb2255ab3ab [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x60961e9f80a1 - std::panicking::default_hook::h09da2eaf8f1deadd [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x60961e132d9e - as core::ops::function::Fn>::call::h1697e4d80f236ef6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x60961e132d9e - test::test_main_with_exit_callback::{{closure}}::h8f63929ca9fd483b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x60961e9f897f - as core::ops::function::Fn>::call::hba67e0dc3e3fc548 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x60961e9f897f - std::panicking::panic_with_hook::h13c40d280d130fd3 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x60961e9f872a - std::panicking::panic_handler::{{closure}}::hd79d22e8a1d3b951 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x60961e9f2609 - std::sys::backtrace::__rust_end_short_backtrace::h83414d1ec69cf3a6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x60961e9d8b4d - __rustc[b78aa6c7b08e5dc4]::rust_begin_unwind [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x60961ea39f00 - core::panicking::panic_fmt::h326b75cf8ee01b13 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x60961ea38be6 - core::result::unwrap_failed::h38baee32fdec5ac8 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x60961dea3393 - core::result::Result::unwrap::h4e75d443417df354 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x60961dea3393 - wgsl_bindgen::structs::tests::write_nonpower_of_2_mats_for_bytemuck_glam_option::{{closure}}::hb30f60fc277d9ba6 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x60961df8d28f - insta::settings::Settings::bind::he1e4a369cd431808 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.1/src/settings.rs:509:9 [INFO] [stdout] 23: 0x60961dea2e89 - wgsl_bindgen::structs::tests::write_nonpower_of_2_mats_for_bytemuck_glam_option::h9463c499dddb55b5 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x60961dea2f67 - wgsl_bindgen::structs::tests::write_nonpower_of_2_mats_for_bytemuck_glam_option::{{closure}}::h53b93adf2002395f [INFO] [stdout] at /opt/rustwide/workdir/src/structs.rs:749:57 [INFO] [stdout] 25: 0x60961df3bc66 - core::ops::function::FnOnce::call_once::hc05b5455f71c94f8 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x60961e132b7b - core::ops::function::FnOnce::call_once::he420dad47d9aac14 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x60961e132b7b - test::__rust_begin_short_backtrace::h51976f55c263f7c2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x60961e1487a5 - test::run_test_in_process::{{closure}}::h6aa4339396d33320 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x60961e1487a5 - as core::ops::function::FnOnce<()>>::call_once::h5bd0ba3863a53529 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x60961e1487a5 - std::panicking::catch_unwind::do_call::h5c710722c40c5839 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x60961e1487a5 - std::panicking::catch_unwind::hf41b5be070ce0f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x60961e1487a5 - std::panic::catch_unwind::h4559aa103e6f16d6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x60961e1487a5 - test::run_test_in_process::he6fd763a772ff213 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x60961e1487a5 - test::run_test::{{closure}}::he46f5435849feb5b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x60961e11efb4 - test::run_test::{{closure}}::h12a66289c31b502a [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x60961e11efb4 - std::sys::backtrace::__rust_begin_short_backtrace::h614a7925ed7b2f5e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x60961e12295a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hbc654088c5dbff36 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x60961e12295a - as core::ops::function::FnOnce<()>>::call_once::h3f631d2ca531b61d [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x60961e12295a - std::panicking::catch_unwind::do_call::hd2548748db0aa717 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x60961e12295a - std::panicking::catch_unwind::hf7d8620d84df48e2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x60961e12295a - std::panic::catch_unwind::hdde75b8543fcb96b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x60961e12295a - std::thread::Builder::spawn_unchecked_::{{closure}}::h991e7d03b432cf3f [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x60961e12295a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hebddb40255441657 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x60961e9ed55f - as core::ops::function::FnOnce>::call_once::h55e8930dc7db99a5 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 45: 0x60961e9ed55f - std::sys::thread::unix::Thread::new::thread_start::he23d038ee4fa004e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 46: 0x70e7dc752aa4 - [INFO] [stdout] 47: 0x70e7dc7dfa34 - clone [INFO] [stdout] 48: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- structs::tests::write_nonpower_of_2_mats_for_bytemuck_option stdout ---- [INFO] [stdout] Warning: rustfmt formatting failed (rustfmt failed: error: 'rustfmt' is not installed for the custom toolchain '2440211fe03bc45c89b6dc1a3df18382ce91e32b'. [INFO] [stdout] note: this is a custom toolchain, which cannot use `rustup component add` [INFO] [stdout] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py` [INFO] [stdout] ), falling back to prettyplease [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/snapshots/write_nonpower_of_2_mats_for_bytemuck_option.snap [INFO] [stdout] Snapshot: write_nonpower_of_2_mats_for_bytemuck_option [INFO] [stdout] Source: src/structs.rs:745 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 0 │ #[repr(C, align(16))] [INFO] [stdout] 1 1 │ #[derive(Debug, PartialEq, Clone, Copy)] [INFO] [stdout] 2 2 │ pub struct UniformsData { [INFO] [stdout] 3 │- #[doc = "offset: 0, size: 48, type: `mat3x3`"] [INFO] [stdout] 4 │- pub a: [[f32; 4]; 3], [INFO] [stdout] 3 │+ ///offset: 0, size: 48, type: `mat3x3` [INFO] [stdout] 4 │+ pub a: [[f32; 4]; 3], [INFO] [stdout] 5 5 │ } [INFO] [stdout] 6 6 │ impl UniformsData { [INFO] [stdout] 7 │- pub const fn new(a: [[f32; 4]; 3]) -> Self { [INFO] [stdout] 8 │- Self { a } [INFO] [stdout] 9 │- } [INFO] [stdout] 7 │+ pub const fn new(a: [[f32; 4]; 3]) -> Self { [INFO] [stdout] 8 │+ Self { a } [INFO] [stdout] 9 │+ } [INFO] [stdout] 10 10 │ } [INFO] [stdout] 11 11 │ const UNIFORMS_DATA_ASSERTS: () = { [INFO] [stdout] 12 │- assert!(std::mem::offset_of!(UniformsData, a) == 0); [INFO] [stdout] 13 │- assert!(std::mem::size_of::() == 48); [INFO] [stdout] 12 │+ assert!(std::mem::offset_of!(UniformsData, a) == 0); [INFO] [stdout] 13 │+ assert!(std::mem::size_of:: < UniformsData > () == 48); [INFO] [stdout] 14 14 │ }; [INFO] [stdout] 15 15 │ unsafe impl bytemuck::Zeroable for UniformsData {} [INFO] [stdout] 16 16 │ unsafe impl bytemuck::Pod for UniformsData {} [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'structs::tests::write_nonpower_of_2_mats_for_bytemuck_option' (6013) panicked at src/structs.rs:745:5: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: FileIo(Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }, "/opt/rustwide/workdir/src/snapshots/write_nonpower_of_2_mats_for_bytemuck_option.snap.new") [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x60961ea1ab92 - std::backtrace_rs::backtrace::libunwind::trace::h22a6a535a50603c6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x60961ea1ab92 - std::backtrace_rs::backtrace::trace_unsynchronized::h2503a4f30dbfbaa2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x60961ea1ab92 - std::sys::backtrace::_print_fmt::hec54e31f36456895 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x60961ea1ab92 - ::fmt::hb1988e8b50fa5f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x60961ea2ee1f - core::fmt::rt::Argument::fmt::h3118a66e1a57a586 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x60961ea2ee1f - core::fmt::write::hcd056e06a609f600 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x60961e9e5671 - std::io::default_write_fmt::hdabc5d6505cb374b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x60961e9e5671 - std::io::Write::write_fmt::h18c82179fdc1f9d2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x60961e9f24d2 - std::sys::backtrace::BacktraceLock::print::h69f50ba7cfff8317 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x60961e9f820f - std::panicking::default_hook::{{closure}}::hfa978eb2255ab3ab [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x60961e9f80a1 - std::panicking::default_hook::h09da2eaf8f1deadd [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x60961e132d9e - as core::ops::function::Fn>::call::h1697e4d80f236ef6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x60961e132d9e - test::test_main_with_exit_callback::{{closure}}::h8f63929ca9fd483b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x60961e9f897f - as core::ops::function::Fn>::call::hba67e0dc3e3fc548 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x60961e9f897f - std::panicking::panic_with_hook::h13c40d280d130fd3 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x60961e9f872a - std::panicking::panic_handler::{{closure}}::hd79d22e8a1d3b951 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x60961e9f2609 - std::sys::backtrace::__rust_end_short_backtrace::h83414d1ec69cf3a6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x60961e9d8b4d - __rustc[b78aa6c7b08e5dc4]::rust_begin_unwind [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x60961ea39f00 - core::panicking::panic_fmt::h326b75cf8ee01b13 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x60961ea38be6 - core::result::unwrap_failed::h38baee32fdec5ac8 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x60961dea25f3 - core::result::Result::unwrap::h4e75d443417df354 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x60961dea25f3 - wgsl_bindgen::structs::tests::write_nonpower_of_2_mats_for_bytemuck_option::{{closure}}::h34a3fc2e2c2f2fcf [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x60961df8c06f - insta::settings::Settings::bind::h39d8268a59435397 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.1/src/settings.rs:509:9 [INFO] [stdout] 23: 0x60961dea2127 - wgsl_bindgen::structs::tests::write_nonpower_of_2_mats_for_bytemuck_option::h9b67cba10ae5b892 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x60961dea26e7 - wgsl_bindgen::structs::tests::write_nonpower_of_2_mats_for_bytemuck_option::{{closure}}::hdf48699e0d2b96ce [INFO] [stdout] at /opt/rustwide/workdir/src/structs.rs:724:52 [INFO] [stdout] 25: 0x60961df3a136 - core::ops::function::FnOnce::call_once::h037c4b8c1b2d8b6f [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x60961e132b7b - core::ops::function::FnOnce::call_once::he420dad47d9aac14 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x60961e132b7b - test::__rust_begin_short_backtrace::h51976f55c263f7c2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x60961e1487a5 - test::run_test_in_process::{{closure}}::h6aa4339396d33320 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x60961e1487a5 - as core::ops::function::FnOnce<()>>::call_once::h5bd0ba3863a53529 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x60961e1487a5 - std::panicking::catch_unwind::do_call::h5c710722c40c5839 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x60961e1487a5 - std::panicking::catch_unwind::hf41b5be070ce0f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x60961e1487a5 - std::panic::catch_unwind::h4559aa103e6f16d6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x60961e1487a5 - test::run_test_in_process::he6fd763a772ff213 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x60961e1487a5 - test::run_test::{{closure}}::he46f5435849feb5b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x60961e11efb4 - test::run_test::{{closure}}::h12a66289c31b502a [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x60961e11efb4 - std::sys::backtrace::__rust_begin_short_backtrace::h614a7925ed7b2f5e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x60961e12295a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hbc654088c5dbff36 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x60961e12295a - as core::ops::function::FnOnce<()>>::call_once::h3f631d2ca531b61d [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x60961e12295a - std::panicking::catch_unwind::do_call::hd2548748db0aa717 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x60961e12295a - std::panicking::catch_unwind::hf7d8620d84df48e2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x60961e12295a - std::panic::catch_unwind::hdde75b8543fcb96b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x60961e12295a - std::thread::Builder::spawn_unchecked_::{{closure}}::h991e7d03b432cf3f [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x60961e12295a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hebddb40255441657 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x60961e9ed55f - as core::ops::function::FnOnce>::call_once::h55e8930dc7db99a5 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 45: 0x60961e9ed55f - std::sys::thread::unix::Thread::new::thread_start::he23d038ee4fa004e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 46: 0x70e7dc752aa4 - [INFO] [stdout] 47: 0x70e7dc7dfa34 - clone [INFO] [stdout] 48: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- structs::tests::write_runtime_sized_array stdout ---- [INFO] [stdout] Warning: rustfmt formatting failed (rustfmt failed: error: 'rustfmt' is not installed for the custom toolchain '2440211fe03bc45c89b6dc1a3df18382ce91e32b'. [INFO] [stdout] note: this is a custom toolchain, which cannot use `rustup component add` [INFO] [stdout] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py` [INFO] [stdout] ), falling back to prettyplease [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/snapshots/write_runtime_sized_array.snap [INFO] [stdout] Snapshot: write_runtime_sized_array [INFO] [stdout] Source: src/structs.rs:679 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 │-#[derive(Debug, PartialEq, Clone, encase :: ShaderType)] [INFO] [stdout] 0 │+#[derive(Debug, PartialEq, Clone, encase::ShaderType)] [INFO] [stdout] 1 1 │ pub struct RtsStruct { [INFO] [stdout] 2 │- pub other_data: i32, [INFO] [stdout] 3 │- #[size(runtime)] [INFO] [stdout] 4 │- pub the_array: Vec, [INFO] [stdout] 2 │+ pub other_data: i32, [INFO] [stdout] 3 │+ #[size(runtime)] [INFO] [stdout] 4 │+ pub the_array: Vec, [INFO] [stdout] 5 5 │ } [INFO] [stdout] 6 6 │ impl RtsStruct { [INFO] [stdout] 7 │- pub const fn new(other_data: i32, the_array: Vec) -> Self { [INFO] [stdout] 8 │- Self { [INFO] [stdout] 9 │- other_data, [INFO] [stdout] 10 │- the_array, [INFO] [stdout] 7 │+ pub const fn new(other_data: i32, the_array: Vec) -> Self { [INFO] [stdout] 8 │+ Self { other_data, the_array } [INFO] [stdout] 11 9 │ } [INFO] [stdout] 12 │- } [INFO] [stdout] 13 10 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'structs::tests::write_runtime_sized_array' (6035) panicked at src/structs.rs:679:5: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: FileIo(Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }, "/opt/rustwide/workdir/src/snapshots/write_runtime_sized_array.snap.new") [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x60961ea1ab92 - std::backtrace_rs::backtrace::libunwind::trace::h22a6a535a50603c6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x60961ea1ab92 - std::backtrace_rs::backtrace::trace_unsynchronized::h2503a4f30dbfbaa2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x60961ea1ab92 - std::sys::backtrace::_print_fmt::hec54e31f36456895 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x60961ea1ab92 - ::fmt::hb1988e8b50fa5f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x60961ea2ee1f - core::fmt::rt::Argument::fmt::h3118a66e1a57a586 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x60961ea2ee1f - core::fmt::write::hcd056e06a609f600 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x60961e9e5671 - std::io::default_write_fmt::hdabc5d6505cb374b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x60961e9e5671 - std::io::Write::write_fmt::h18c82179fdc1f9d2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x60961e9f24d2 - std::sys::backtrace::BacktraceLock::print::h69f50ba7cfff8317 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x60961e9f820f - std::panicking::default_hook::{{closure}}::hfa978eb2255ab3ab [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x60961e9f80a1 - std::panicking::default_hook::h09da2eaf8f1deadd [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x60961e132d9e - as core::ops::function::Fn>::call::h1697e4d80f236ef6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x60961e132d9e - test::test_main_with_exit_callback::{{closure}}::h8f63929ca9fd483b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x60961e9f897f - as core::ops::function::Fn>::call::hba67e0dc3e3fc548 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x60961e9f897f - std::panicking::panic_with_hook::h13c40d280d130fd3 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x60961e9f872a - std::panicking::panic_handler::{{closure}}::hd79d22e8a1d3b951 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x60961e9f2609 - std::sys::backtrace::__rust_end_short_backtrace::h83414d1ec69cf3a6 [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x60961e9d8b4d - __rustc[b78aa6c7b08e5dc4]::rust_begin_unwind [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x60961ea39f00 - core::panicking::panic_fmt::h326b75cf8ee01b13 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x60961ea38be6 - core::result::unwrap_failed::h38baee32fdec5ac8 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x60961de9d163 - core::result::Result::unwrap::h4e75d443417df354 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x60961de9d163 - wgsl_bindgen::structs::tests::write_runtime_sized_array::{{closure}}::h8fbd49d26f183160 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x60961df8bdef - insta::settings::Settings::bind::h190b96920b2c012e [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.1/src/settings.rs:509:9 [INFO] [stdout] 23: 0x60961de9cc7a - wgsl_bindgen::structs::tests::write_runtime_sized_array::h04a5eb83adf401a4 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x60961de9cd37 - wgsl_bindgen::structs::tests::write_runtime_sized_array::{{closure}}::h4e1b18f0349542f9 [INFO] [stdout] at /opt/rustwide/workdir/src/structs.rs:667:33 [INFO] [stdout] 25: 0x60961df3a906 - core::ops::function::FnOnce::call_once::h2b83da0845075ad6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x60961e132b7b - core::ops::function::FnOnce::call_once::he420dad47d9aac14 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x60961e132b7b - test::__rust_begin_short_backtrace::h51976f55c263f7c2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x60961e1487a5 - test::run_test_in_process::{{closure}}::h6aa4339396d33320 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x60961e1487a5 - as core::ops::function::FnOnce<()>>::call_once::h5bd0ba3863a53529 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x60961e1487a5 - std::panicking::catch_unwind::do_call::h5c710722c40c5839 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x60961e1487a5 - std::panicking::catch_unwind::hf41b5be070ce0f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x60961e1487a5 - std::panic::catch_unwind::h4559aa103e6f16d6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x60961e1487a5 - test::run_test_in_process::he6fd763a772ff213 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x60961e1487a5 - test::run_test::{{closure}}::he46f5435849feb5b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x60961e11efb4 - test::run_test::{{closure}}::h12a66289c31b502a [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x60961e11efb4 - std::sys::backtrace::__rust_begin_short_backtrace::h614a7925ed7b2f5e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x60961e12295a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hbc654088c5dbff36 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x60961e12295a - as core::ops::function::FnOnce<()>>::call_once::h3f631d2ca531b61d [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x60961e12295a - std::panicking::catch_unwind::do_call::hd2548748db0aa717 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x60961e12295a - std::panicking::catch_unwind::hf7d8620d84df48e2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x60961e12295a - std::panic::catch_unwind::hdde75b8543fcb96b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x60961e12295a - std::thread::Builder::spawn_unchecked_::{{closure}}::h991e7d03b432cf3f [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x60961e12295a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hebddb40255441657 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x60961e9ed55f - as core::ops::function::FnOnce>::call_once::h55e8930dc7db99a5 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 45: 0x60961e9ed55f - std::sys::thread::unix::Thread::new::thread_start::he23d038ee4fa004e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 46: 0x70e7dc752aa4 - [INFO] [stdout] 47: 0x70e7dc7dfa34 - clone [INFO] [stdout] 48: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- structs::tests::write_nonpower_of_2_mats stdout ---- [INFO] [stdout] Warning: rustfmt formatting failed (rustfmt failed: error: 'rustfmt' is not installed for the custom toolchain '2440211fe03bc45c89b6dc1a3df18382ce91e32b'. [INFO] [stdout] note: this is a custom toolchain, which cannot use `rustup component add` [INFO] [stdout] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py` [INFO] [stdout] ), falling back to prettyplease [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/snapshots/write_nonpower_of_2_mats.snap [INFO] [stdout] Snapshot: write_nonpower_of_2_mats [INFO] [stdout] Source: src/structs.rs:799 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 0 │ #[repr(C, align(16))] [INFO] [stdout] 1 1 │ #[derive(Debug, PartialEq, Clone, Copy)] [INFO] [stdout] 2 2 │ pub struct MatricesF32 { [INFO] [stdout] 3 │- #[doc = "offset: 0, size: 64, type: `mat4x4`"] [INFO] [stdout] 4 │- pub a: [[f32; 4]; 4], [INFO] [stdout] 5 │- #[doc = "offset: 64, size: 64, type: `mat4x3`"] [INFO] [stdout] 6 │- pub b: [[f32; 4]; 4], [INFO] [stdout] 7 │- #[doc = "offset: 128, size: 32, type: `mat4x2`"] [INFO] [stdout] 8 │- pub c: [[f32; 2]; 4], [INFO] [stdout] 9 │- #[doc = "offset: 160, size: 48, type: `mat3x4`"] [INFO] [stdout] 10 │- pub d: [[f32; 4]; 3], [INFO] [stdout] 3 │+ ///offset: 0, size: 64, type: `mat4x4` [INFO] [stdout] 4 │+ pub a: [[f32; 4]; 4], [INFO] [stdout] 5 │+ ///offset: 64, size: 64, type: `mat4x3` [INFO] [stdout] 6 │+ pub b: [[f32; 4]; 4], [INFO] [stdout] 7 │+ ///offset: 128, size: 32, type: `mat4x2` [INFO] [stdout] 8 │+ pub c: [[f32; 2]; 4], [INFO] [stdout] 9 │+ ///offset: 160, size: 48, type: `mat3x4` [INFO] [stdout] 10 │+ pub d: [[f32; 4]; 3], [INFO] [stdout] 11 11 │ } [INFO] [stdout] 12 12 │ impl MatricesF32 { [INFO] [stdout] 13 │- pub const fn new( [INFO] [stdout] 14 │- a: [[f32; 4]; 4], [INFO] [stdout] 15 │- b: [[f32; 4]; 4], [INFO] [stdout] 16 │- c: [[f32; 2]; 4], [INFO] [stdout] 17 │- d: [[f32; 4]; 3], [INFO] [stdout] 18 │- ) -> Self { [INFO] [stdout] 19 │- Self { a, b, c, d } [INFO] [stdout] 20 │- } [INFO] [stdout] 13 │+ pub const fn new( [INFO] [stdout] 14 │+ a: [[f32; 4]; 4], [INFO] [stdout] 15 │+ b: [[f32; 4]; 4], [INFO] [stdout] 16 │+ c: [[f32; 2]; 4], [INFO] [stdout] 17 │+ d: [[f32; 4]; 3], [INFO] [stdout] 18 │+ ) -> Self { [INFO] [stdout] 19 │+ Self { a, b, c, d } [INFO] [stdout] 20 │+ } [INFO] [stdout] 21 21 │ } [INFO] [stdout] 22 22 │ const MATRICES_F32_ASSERTS: () = { [INFO] [stdout] 23 │- assert!(std::mem::offset_of!(MatricesF32, a) == 0); [INFO] [stdout] 24 │- assert!(std::mem::offset_of!(MatricesF32, b) == 64); [INFO] [stdout] 25 │- assert!(std::mem::offset_of!(MatricesF32, c) == 128); [INFO] [stdout] 26 │- assert!(std::mem::offset_of!(MatricesF32, d) == 160); [INFO] [stdout] 27 │- assert!(std::mem::size_of::() == 208); [INFO] [stdout] 23 │+ assert!(std::mem::offset_of!(MatricesF32, a) == 0); [INFO] [stdout] 24 │+ assert!(std::mem::offset_of!(MatricesF32, b) == 64); [INFO] [stdout] 25 │+ assert!(std::mem::offset_of!(MatricesF32, c) == 128); [INFO] [stdout] 26 │+ assert!(std::mem::offset_of!(MatricesF32, d) == 160); [INFO] [stdout] 27 │+ assert!(std::mem::size_of:: < MatricesF32 > () == 208); [INFO] [stdout] 28 28 │ }; [INFO] [stdout] 29 29 │ unsafe impl bytemuck::Zeroable for MatricesF32 {} [INFO] [stdout] 30 30 │ unsafe impl bytemuck::Pod for MatricesF32 {} [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'structs::tests::write_nonpower_of_2_mats' (5869) panicked at src/structs.rs:799:5: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: FileIo(Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }, "/opt/rustwide/workdir/src/snapshots/write_nonpower_of_2_mats.snap.new") [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x60961ea1ab92 - std::backtrace_rs::backtrace::libunwind::trace::h22a6a535a50603c6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x60961ea1ab92 - std::backtrace_rs::backtrace::trace_unsynchronized::h2503a4f30dbfbaa2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x60961ea1ab92 - std::sys::backtrace::_print_fmt::hec54e31f36456895 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x60961ea1ab92 - ::fmt::hb1988e8b50fa5f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x60961ea2ee1f - core::fmt::rt::Argument::fmt::h3118a66e1a57a586 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x60961ea2ee1f - core::fmt::write::hcd056e06a609f600 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x60961e9e5671 - std::io::default_write_fmt::hdabc5d6505cb374b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x60961e9e5671 - std::io::Write::write_fmt::h18c82179fdc1f9d2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x60961e9f24d2 - std::sys::backtrace::BacktraceLock::print::h69f50ba7cfff8317 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x60961e9f820f - std::panicking::default_hook::{{closure}}::hfa978eb2255ab3ab [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x60961e9f80a1 - std::panicking::default_hook::h09da2eaf8f1deadd [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x60961e132d9e - as core::ops::function::Fn>::call::h1697e4d80f236ef6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x60961e132d9e - test::test_main_with_exit_callback::{{closure}}::h8f63929ca9fd483b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x60961e9f897f - as core::ops::function::Fn>::call::hba67e0dc3e3fc548 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x60961e9f897f - std::panicking::panic_with_hook::h13c40d280d130fd3 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x60961e9f872a - std::panicking::panic_handler::{{closure}}::hd79d22e8a1d3b951 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x60961e9f2609 - std::sys::backtrace::__rust_end_short_backtrace::h83414d1ec69cf3a6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x60961e9d8b4d - __rustc[b78aa6c7b08e5dc4]::rust_begin_unwind [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x60961ea39f00 - core::panicking::panic_fmt::h326b75cf8ee01b13 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x60961ea38be6 - core::result::unwrap_failed::h38baee32fdec5ac8 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x60961de9c583 - core::result::Result::unwrap::h4e75d443417df354 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x60961de9c583 - wgsl_bindgen::structs::tests::write_nonpower_of_2_mats::{{closure}}::h1f63899f8f36d4d2 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x60961df8c9cf - insta::settings::Settings::bind::h8395eb6e7e0b7682 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.1/src/settings.rs:509:9 [INFO] [stdout] 23: 0x60961de9c0a9 - wgsl_bindgen::structs::tests::write_nonpower_of_2_mats::hc932c6f574008b7f [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x60961de9c677 - wgsl_bindgen::structs::tests::write_nonpower_of_2_mats::{{closure}}::h90591dbc1a98db01 [INFO] [stdout] at /opt/rustwide/workdir/src/structs.rs:775:32 [INFO] [stdout] 25: 0x60961df3b6b6 - core::ops::function::FnOnce::call_once::ha4a6ff6bbf9b6f81 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x60961e132b7b - core::ops::function::FnOnce::call_once::he420dad47d9aac14 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x60961e132b7b - test::__rust_begin_short_backtrace::h51976f55c263f7c2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x60961e1487a5 - test::run_test_in_process::{{closure}}::h6aa4339396d33320 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x60961e1487a5 - as core::ops::function::FnOnce<()>>::call_once::h5bd0ba3863a53529 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x60961e1487a5 - std::panicking::catch_unwind::do_call::h5c710722c40c5839 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x60961e1487a5 - std::panicking::catch_unwind::hf41b5be070ce0f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x60961e1487a5 - std::panic::catch_unwind::h4559aa103e6f16d6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x60961e1487a5 - test::run_test_in_process::he6fd763a772ff213 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x60961e1487a5 - test::run_test::{{closure}}::he46f5435849feb5b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x60961e11efb4 - test::run_test::{{closure}}::h12a66289c31b502a [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x60961e11efb4 - std::sys::backtrace::__rust_begin_short_backtrace::h614a7925ed7b2f5e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x60961e12295a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hbc654088c5dbff36 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x60961e12295a - as core::ops::function::FnOnce<()>>::call_once::h3f631d2ca531b61d [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x60961e12295a - std::panicking::catch_unwind::do_call::hd2548748db0aa717 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x60961e12295a - std::panicking::catch_unwind::hf7d8620d84df48e2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x60961e12295a - std::panic::catch_unwind::hdde75b8543fcb96b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x60961e12295a - std::thread::Builder::spawn_unchecked_::{{closure}}::h991e7d03b432cf3f [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x60961e12295a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hebddb40255441657 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x60961e9ed55f - as core::ops::function::FnOnce>::call_once::h55e8930dc7db99a5 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 45: 0x60961e9ed55f - std::sys::thread::unix::Thread::new::thread_start::he23d038ee4fa004e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 46: 0x70e7dc752aa4 - [INFO] [stdout] 47: 0x70e7dc7dfa34 - clone [INFO] [stdout] 48: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- structs::tests::write_shorter_constructor stdout ---- [INFO] [stdout] Warning: rustfmt formatting failed (rustfmt failed: error: 'rustfmt' is not installed for the custom toolchain '2440211fe03bc45c89b6dc1a3df18382ce91e32b'. [INFO] [stdout] note: this is a custom toolchain, which cannot use `rustup component add` [INFO] [stdout] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py` [INFO] [stdout] ), falling back to prettyplease [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/snapshots/write_shorter_constructor.snap [INFO] [stdout] Snapshot: write_shorter_constructor [INFO] [stdout] Source: src/structs.rs:824 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 0 │ #[repr(C, align(8))] [INFO] [stdout] 1 1 │ #[derive(Debug, PartialEq, Clone, Copy)] [INFO] [stdout] 2 2 │ pub struct Uniform { [INFO] [stdout] 3 │- #[doc = "offset: 0, size: 8, type: `vec2`"] [INFO] [stdout] 4 │- pub position_data: glam::Vec2, [INFO] [stdout] 3 │+ ///offset: 0, size: 8, type: `vec2` [INFO] [stdout] 4 │+ pub position_data: glam::Vec2, [INFO] [stdout] 5 5 │ } [INFO] [stdout] 6 6 │ pub const fn Uniform(position_data: glam::Vec2) -> Uniform { [INFO] [stdout] 7 │- Uniform { position_data } [INFO] [stdout] 7 │+ Uniform { position_data } [INFO] [stdout] 8 8 │ } [INFO] [stdout] 9 9 │ const UNIFORM_ASSERTS: () = { [INFO] [stdout] 10 │- assert!(std::mem::offset_of!(Uniform, position_data) == 0); [INFO] [stdout] 11 │- assert!(std::mem::size_of::() == 8); [INFO] [stdout] 10 │+ assert!(std::mem::offset_of!(Uniform, position_data) == 0); [INFO] [stdout] 11 │+ assert!(std::mem::size_of:: < Uniform > () == 8); [INFO] [stdout] 12 12 │ }; [INFO] [stdout] 13 13 │ unsafe impl bytemuck::Zeroable for Uniform {} [INFO] [stdout] 14 14 │ unsafe impl bytemuck::Pod for Uniform {} [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'structs::tests::write_shorter_constructor' (6786) panicked at src/structs.rs:824:5: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: FileIo(Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }, "/opt/rustwide/workdir/src/snapshots/write_shorter_constructor.snap.new") [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x60961ea1ab92 - std::backtrace_rs::backtrace::libunwind::trace::h22a6a535a50603c6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x60961ea1ab92 - std::backtrace_rs::backtrace::trace_unsynchronized::h2503a4f30dbfbaa2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x60961ea1ab92 - std::sys::backtrace::_print_fmt::hec54e31f36456895 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x60961ea1ab92 - ::fmt::hb1988e8b50fa5f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x60961ea2ee1f - core::fmt::rt::Argument::fmt::h3118a66e1a57a586 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x60961ea2ee1f - core::fmt::write::hcd056e06a609f600 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x60961e9e5671 - std::io::default_write_fmt::hdabc5d6505cb374b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x60961e9e5671 - std::io::Write::write_fmt::h18c82179fdc1f9d2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x60961e9f24d2 - std::sys::backtrace::BacktraceLock::print::h69f50ba7cfff8317 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x60961e9f820f - std::panicking::default_hook::{{closure}}::hfa978eb2255ab3ab [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x60961e9f80a1 - std::panicking::default_hook::h09da2eaf8f1deadd [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x60961e132d9e - as core::ops::function::Fn>::call::h1697e4d80f236ef6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x60961e132d9e - test::test_main_with_exit_callback::{{closure}}::h8f63929ca9fd483b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x60961e9f897f - as core::ops::function::Fn>::call::hba67e0dc3e3fc548 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x60961e9f897f - std::panicking::panic_with_hook::h13c40d280d130fd3 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x60961e9f872a - std::panicking::panic_handler::{{closure}}::hd79d22e8a1d3b951 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x60961e9f2609 - std::sys::backtrace::__rust_end_short_backtrace::h83414d1ec69cf3a6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x60961e9d8b4d - __rustc[b78aa6c7b08e5dc4]::rust_begin_unwind [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x60961ea39f00 - core::panicking::panic_fmt::h326b75cf8ee01b13 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x60961ea38be6 - core::result::unwrap_failed::h38baee32fdec5ac8 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x60961de9ded3 - core::result::Result::unwrap::h4e75d443417df354 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x60961de9ded3 - wgsl_bindgen::structs::tests::write_shorter_constructor::{{closure}}::hab6b5c9b94e3235e [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x60961df8bd4f - insta::settings::Settings::bind::h1813208ece45b4b3 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.1/src/settings.rs:509:9 [INFO] [stdout] 23: 0x60961de9d9c3 - wgsl_bindgen::structs::tests::write_shorter_constructor::h771ed249262d789f [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x60961de9daa7 - wgsl_bindgen::structs::tests::write_shorter_constructor::{{closure}}::h9bb6f644dcf0c79c [INFO] [stdout] at /opt/rustwide/workdir/src/structs.rs:803:33 [INFO] [stdout] 25: 0x60961df3bf36 - core::ops::function::FnOnce::call_once::hced3c4431080602c [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x60961e132b7b - core::ops::function::FnOnce::call_once::he420dad47d9aac14 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x60961e132b7b - test::__rust_begin_short_backtrace::h51976f55c263f7c2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x60961e1487a5 - test::run_test_in_process::{{closure}}::h6aa4339396d33320 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x60961e1487a5 - as core::ops::function::FnOnce<()>>::call_once::h5bd0ba3863a53529 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x60961e1487a5 - std::panicking::catch_unwind::do_call::h5c710722c40c5839 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x60961e1487a5 - std::panicking::catch_unwind::hf41b5be070ce0f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x60961e1487a5 - std::panic::catch_unwind::h4559aa103e6f16d6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x60961e1487a5 - test::run_test_in_process::he6fd763a772ff213 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x60961e1487a5 - test::run_test::{{closure}}::he46f5435849feb5b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x60961e11efb4 - test::run_test::{{closure}}::h12a66289c31b502a [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x60961e11efb4 - std::sys::backtrace::__rust_begin_short_backtrace::h614a7925ed7b2f5e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x60961e12295a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hbc654088c5dbff36 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x60961e12295a - as core::ops::function::FnOnce<()>>::call_once::h3f631d2ca531b61d [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x60961e12295a - std::panicking::catch_unwind::do_call::hd2548748db0aa717 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x60961e12295a - std::panicking::catch_unwind::hf7d8620d84df48e2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x60961e12295a - std::panic::catch_unwind::hdde75b8543fcb96b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x60961e12295a - std::thread::Builder::spawn_unchecked_::{{closure}}::h991e7d03b432cf3f [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x60961e12295a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hebddb40255441657 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x60961e9ed55f - as core::ops::function::FnOnce>::call_once::h55e8930dc7db99a5 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 45: 0x60961e9ed55f - std::sys::thread::unix::Thread::new::thread_start::he23d038ee4fa004e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 46: 0x70e7dc752aa4 - [INFO] [stdout] 47: 0x70e7dc7dfa34 - clone [INFO] [stdout] 48: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- structs::tests::write_runtime_sized_array_bytemuck stdout ---- [INFO] [stdout] Warning: rustfmt formatting failed (rustfmt failed: error: 'rustfmt' is not installed for the custom toolchain '2440211fe03bc45c89b6dc1a3df18382ce91e32b'. [INFO] [stdout] note: this is a custom toolchain, which cannot use `rustup component add` [INFO] [stdout] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py` [INFO] [stdout] ), falling back to prettyplease [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/snapshots/write_runtime_sized_array_bytemuck.snap [INFO] [stdout] Snapshot: write_runtime_sized_array_bytemuck [INFO] [stdout] Source: src/structs.rs:696 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 0 │ #[derive(Debug, PartialEq, Clone, Copy)] [INFO] [stdout] 1 1 │ pub struct RtsStruct { [INFO] [stdout] 2 │- #[doc = "offset: 0, size: 4, type: `i32`"] [INFO] [stdout] 3 │- pub other_data: i32, [INFO] [stdout] 4 │- #[doc = "offset: 4, size: 4, type: `array`"] [INFO] [stdout] 5 │- pub the_array: [u32; N], [INFO] [stdout] 2 │+ ///offset: 0, size: 4, type: `i32` [INFO] [stdout] 3 │+ pub other_data: i32, [INFO] [stdout] 4 │+ ///offset: 4, size: 4, type: `array` [INFO] [stdout] 5 │+ pub the_array: [u32; N], [INFO] [stdout] 6 6 │ } [INFO] [stdout] 7 7 │ impl RtsStruct { [INFO] [stdout] 8 │- pub const fn new(other_data: i32, the_array: [u32; N]) -> Self { [INFO] [stdout] 9 │- Self { [INFO] [stdout] 10 │- other_data, [INFO] [stdout] 11 │- the_array, [INFO] [stdout] 8 │+ pub const fn new(other_data: i32, the_array: [u32; N]) -> Self { [INFO] [stdout] 9 │+ Self { other_data, the_array } [INFO] [stdout] 12 10 │ } [INFO] [stdout] 13 │- } [INFO] [stdout] 14 11 │ } [INFO] [stdout] 15 12 │ const RTS_STRUCT_ASSERTS: () = { [INFO] [stdout] 16 │- assert!(std::mem::offset_of!(RtsStruct<1>, other_data) == 0); [INFO] [stdout] 17 │- assert!(std::mem::offset_of!(RtsStruct<1>, the_array) == 4); [INFO] [stdout] 18 │- assert!(std::mem::size_of::>() == 8); [INFO] [stdout] 13 │+ assert!(std::mem::offset_of!(RtsStruct < 1 >, other_data) == 0); [INFO] [stdout] 14 │+ assert!(std::mem::offset_of!(RtsStruct < 1 >, the_array) == 4); [INFO] [stdout] 15 │+ assert!(std::mem::size_of:: < RtsStruct < 1 > > () == 8); [INFO] [stdout] 19 16 │ }; [INFO] [stdout] 20 17 │ unsafe impl bytemuck::Zeroable for RtsStruct {} [INFO] [stdout] 21 18 │ unsafe impl bytemuck::Pod for RtsStruct {} [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'structs::tests::write_runtime_sized_array_bytemuck' (6645) panicked at src/structs.rs:696:5: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: FileIo(Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }, "/opt/rustwide/workdir/src/snapshots/write_runtime_sized_array_bytemuck.snap.new") [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x60961ea1ab92 - std::backtrace_rs::backtrace::libunwind::trace::h22a6a535a50603c6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x60961ea1ab92 - std::backtrace_rs::backtrace::trace_unsynchronized::h2503a4f30dbfbaa2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x60961ea1ab92 - std::sys::backtrace::_print_fmt::hec54e31f36456895 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x60961ea1ab92 - ::fmt::hb1988e8b50fa5f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x60961ea2ee1f - core::fmt::rt::Argument::fmt::h3118a66e1a57a586 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x60961ea2ee1f - core::fmt::write::hcd056e06a609f600 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x60961e9e5671 - std::io::default_write_fmt::hdabc5d6505cb374b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x60961e9e5671 - std::io::Write::write_fmt::h18c82179fdc1f9d2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x60961e9f24d2 - std::sys::backtrace::BacktraceLock::print::h69f50ba7cfff8317 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x60961e9f820f - std::panicking::default_hook::{{closure}}::hfa978eb2255ab3ab [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x60961e9f80a1 - std::panicking::default_hook::h09da2eaf8f1deadd [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x60961e132d9e - as core::ops::function::Fn>::call::h1697e4d80f236ef6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x60961e132d9e - test::test_main_with_exit_callback::{{closure}}::h8f63929ca9fd483b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x60961e9f897f - as core::ops::function::Fn>::call::hba67e0dc3e3fc548 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x60961e9f897f - std::panicking::panic_with_hook::h13c40d280d130fd3 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x60961e9f872a - std::panicking::panic_handler::{{closure}}::hd79d22e8a1d3b951 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x60961e9f2609 - std::sys::backtrace::__rust_end_short_backtrace::h83414d1ec69cf3a6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x60961e9d8b4d - __rustc[b78aa6c7b08e5dc4]::rust_begin_unwind [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x60961ea39f00 - core::panicking::panic_fmt::h326b75cf8ee01b13 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x60961ea38be6 - core::result::unwrap_failed::h38baee32fdec5ac8 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x60961dea0693 - core::result::Result::unwrap::h4e75d443417df354 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x60961dea0693 - wgsl_bindgen::structs::tests::write_runtime_sized_array_bytemuck::{{closure}}::ha1e444490a14f7d1 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x60961df8d46f - insta::settings::Settings::bind::hec27c41c3019da42 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.1/src/settings.rs:509:9 [INFO] [stdout] 23: 0x60961dea01aa - wgsl_bindgen::structs::tests::write_runtime_sized_array_bytemuck::h6fb81a0a7e78d7b0 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x60961dea0267 - wgsl_bindgen::structs::tests::write_runtime_sized_array_bytemuck::{{closure}}::h5030af856365592b [INFO] [stdout] at /opt/rustwide/workdir/src/structs.rs:683:42 [INFO] [stdout] 25: 0x60961df3b476 - core::ops::function::FnOnce::call_once::h99c3f498cbeb1b96 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x60961e132b7b - core::ops::function::FnOnce::call_once::he420dad47d9aac14 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x60961e132b7b - test::__rust_begin_short_backtrace::h51976f55c263f7c2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x60961e1487a5 - test::run_test_in_process::{{closure}}::h6aa4339396d33320 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x60961e1487a5 - as core::ops::function::FnOnce<()>>::call_once::h5bd0ba3863a53529 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x60961e1487a5 - std::panicking::catch_unwind::do_call::h5c710722c40c5839 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x60961e1487a5 - std::panicking::catch_unwind::hf41b5be070ce0f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x60961e1487a5 - std::panic::catch_unwind::h4559aa103e6f16d6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x60961e1487a5 - test::run_test_in_process::he6fd763a772ff213 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x60961e1487a5 - test::run_test::{{closure}}::he46f5435849feb5b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x60961e11efb4 - test::run_test::{{closure}}::h12a66289c31b502a [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x60961e11efb4 - std::sys::backtrace::__rust_begin_short_backtrace::h614a7925ed7b2f5e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x60961e12295a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hbc654088c5dbff36 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x60961e12295a - as core::ops::function::FnOnce<()>>::call_once::h3f631d2ca531b61d [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x60961e12295a - std::panicking::catch_unwind::do_call::hd2548748db0aa717 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x60961e12295a - std::panicking::catch_unwind::hf7d8620d84df48e2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x60961e12295a - std::panic::catch_unwind::hdde75b8543fcb96b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x60961e12295a - std::thread::Builder::spawn_unchecked_::{{closure}}::h991e7d03b432cf3f [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x60961e12295a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hebddb40255441657 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x60961e9ed55f - as core::ops::function::FnOnce>::call_once::h55e8930dc7db99a5 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 45: 0x60961e9ed55f - std::sys::thread::unix::Thread::new::thread_start::he23d038ee4fa004e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 46: 0x70e7dc752aa4 - [INFO] [stdout] 47: 0x70e7dc7dfa34 - clone [INFO] [stdout] 48: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- test::create_shader_module_embed_source stdout ---- [INFO] [stdout] Warning: rustfmt formatting failed (rustfmt failed: error: 'rustfmt' is not installed for the custom toolchain '2440211fe03bc45c89b6dc1a3df18382ce91e32b'. [INFO] [stdout] note: this is a custom toolchain, which cannot use `rustup component add` [INFO] [stdout] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py` [INFO] [stdout] ), falling back to prettyplease [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/snapshots/wgsl_bindgen__test__create_shader_module_embed_source.snap [INFO] [stdout] Snapshot: create_shader_module_embed_source [INFO] [stdout] Source: src/lib.rs:513 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] Expression: actual [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 0 │ #![allow(unused, non_snake_case, non_camel_case_types, non_upper_case_globals)] [INFO] [stdout] 1 1 │ #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)] [INFO] [stdout] 2 2 │ pub enum ShaderEntry { [INFO] [stdout] 3 │- Test, [INFO] [stdout] 3 │+ Test, [INFO] [stdout] 4 4 │ } [INFO] [stdout] 5 5 │ impl ShaderEntry { [INFO] [stdout] 6 │- pub fn create_pipeline_layout(&self, device: &wgpu::Device) -> wgpu::PipelineLayout { [INFO] [stdout] 7 │- match self { [INFO] [stdout] 8 │- Self::Test => test::create_pipeline_layout(device), [INFO] [stdout] 6 │+ pub fn create_pipeline_layout(&self, device: &wgpu::Device) -> wgpu::PipelineLayout { [INFO] [stdout] 7 │+ match self { [INFO] [stdout] 8 │+ Self::Test => test::create_pipeline_layout(device), [INFO] [stdout] 9 │+ } [INFO] [stdout] 9 10 │ } [INFO] [stdout] 10 │- } [INFO] [stdout] 11 │- pub fn create_shader_module_embed_source( [INFO] [stdout] 12 │- &self, [INFO] [stdout] 13 │- device: &wgpu::Device, [INFO] [stdout] 14 │- ) -> wgpu::ShaderModule { [INFO] [stdout] 15 │- match self { [INFO] [stdout] 16 │- Self::Test => test::create_shader_module_embed_source(device), [INFO] [stdout] 11 │+ pub fn create_shader_module_embed_source( [INFO] [stdout] 12 │+ &self, [INFO] [stdout] 13 │+ device: &wgpu::Device, [INFO] [stdout] 14 │+ ) -> wgpu::ShaderModule { [INFO] [stdout] 15 │+ match self { [INFO] [stdout] 16 │+ Self::Test => test::create_shader_module_embed_source(device), [INFO] [stdout] 17 │+ } [INFO] [stdout] 17 18 │ } [INFO] [stdout] 18 │- } [INFO] [stdout] 19 19 │ } [INFO] [stdout] 20 20 │ mod _root { [INFO] [stdout] 21 │- pub use super::*; [INFO] [stdout] 21 │+ pub use super::*; [INFO] [stdout] 22 22 │ } [INFO] [stdout] 23 23 │ pub mod test { [INFO] [stdout] 24 │- use super::{_root, _root::*}; [INFO] [stdout] 25 │- pub const ENTRY_FS_MAIN: &str = "fs_main"; [INFO] [stdout] 26 │- #[derive(Debug)] [INFO] [stdout] 27 │- pub struct FragmentEntry { [INFO] [stdout] 28 │- pub entry_point: &'static str, [INFO] [stdout] 29 │- pub targets: [Option; N], [INFO] [stdout] 30 │- pub constants: Vec<(&'static str, f64)>, [INFO] [stdout] 31 │- } [INFO] [stdout] 32 │- pub fn fragment_state<'a, const N: usize>( [INFO] [stdout] 33 │- module: &'a wgpu::ShaderModule, [INFO] [stdout] 34 │- entry: &'a FragmentEntry, [INFO] [stdout] 35 │- ) -> wgpu::FragmentState<'a> { [INFO] [stdout] 36 │- wgpu::FragmentState { [INFO] [stdout] 37 │- module, [INFO] [stdout] 38 │- entry_point: Some(entry.entry_point), [INFO] [stdout] 39 │- targets: &entry.targets, [INFO] [stdout] 40 │- compilation_options: wgpu::PipelineCompilationOptions { [INFO] [stdout] 41 │- constants: &entry.constants, [INFO] [stdout] 42 │- ..Default::default() [INFO] [stdout] 43 │- }, [INFO] [stdout] 24 │+ use super::{_root, _root::*}; [INFO] [stdout] 25 │+ pub const ENTRY_FS_MAIN: &str = "fs_main"; [INFO] [stdout] 26 │+ #[derive(Debug)] [INFO] [stdout] 27 │+ pub struct FragmentEntry { [INFO] [stdout] 28 │+ pub entry_point: &'static str, [INFO] [stdout] 29 │+ pub targets: [Option; N], [INFO] [stdout] 30 │+ pub constants: Vec<(&'static str, f64)>, [INFO] [stdout] 31 │+ } [INFO] [stdout] 32 │+ pub fn fragment_state<'a, const N: usize>( [INFO] [stdout] 33 │+ module: &'a wgpu::ShaderModule, [INFO] [stdout] 34 │+ entry: &'a FragmentEntry, [INFO] [stdout] 35 │+ ) -> wgpu::FragmentState<'a> { [INFO] [stdout] 36 │+ wgpu::FragmentState { [INFO] [stdout] 37 │+ module, [INFO] [stdout] 38 │+ entry_point: Some(entry.entry_point), [INFO] [stdout] 39 │+ targets: &entry.targets, [INFO] [stdout] 40 │+ compilation_options: wgpu::PipelineCompilationOptions { [INFO] [stdout] 41 │+ constants: &entry.constants, [INFO] [stdout] 42 │+ ..Default::default() [INFO] [stdout] 43 │+ }, [INFO] [stdout] 44 │+ } [INFO] [stdout] 45 │+ } [INFO] [stdout] 46 │+ pub fn fs_main_entry( [INFO] [stdout] 47 │+ targets: [Option; 0], [INFO] [stdout] 48 │+ ) -> FragmentEntry<0> { [INFO] [stdout] 49 │+ FragmentEntry { [INFO] [stdout] 50 │+ entry_point: ENTRY_FS_MAIN, [INFO] [stdout] 51 │+ targets, [INFO] [stdout] 52 │+ constants: Default::default(), [INFO] [stdout] 53 │+ } [INFO] [stdout] 54 │+ } [INFO] [stdout] 55 │+ #[derive(Debug)] [INFO] [stdout] 56 │+ pub struct WgpuPipelineLayout; [INFO] [stdout] 57 │+ impl WgpuPipelineLayout { [INFO] [stdout] 58 │+ pub fn bind_group_layout_entries( [INFO] [stdout] 59 │+ entries: [wgpu::BindGroupLayout; 0], [INFO] [stdout] 60 │+ ) -> [wgpu::BindGroupLayout; 0] { [INFO] [stdout] 61 │+ entries [INFO] [stdout] 62 │+ } [INFO] [stdout] 44 63 │ } [INFO] [stdout] 45 │- } [INFO] [stdout] 46 │- pub fn fs_main_entry(targets: [Option; 0]) -> FragmentEntry<0> { [INFO] [stdout] 47 │- FragmentEntry { [INFO] [stdout] 48 │- entry_point: ENTRY_FS_MAIN, [INFO] [stdout] 49 │- targets, [INFO] [stdout] 50 │- constants: Default::default(), [INFO] [stdout] 64 │+ pub fn create_pipeline_layout(device: &wgpu::Device) -> wgpu::PipelineLayout { [INFO] [stdout] 65 │+ device [INFO] [stdout] 66 │+ .create_pipeline_layout( [INFO] [stdout] 67 │+ &wgpu::PipelineLayoutDescriptor { [INFO] [stdout] 68 │+ label: Some("Test::PipelineLayout"), [INFO] [stdout] 69 │+ bind_group_layouts: &[], [INFO] [stdout] 70 │+ push_constant_ranges: &[ [INFO] [stdout] 71 │+ wgpu::PushConstantRange { [INFO] [stdout] 72 │+ stages: wgpu::ShaderStages::FRAGMENT, [INFO] [stdout] 73 │+ range: 0..16, [INFO] [stdout] 74 │+ }, [INFO] [stdout] 75 │+ ], [INFO] [stdout] 76 │+ }, [INFO] [stdout] 77 │+ ) [INFO] [stdout] 51 78 │ } [INFO] [stdout] 52 │- } [INFO] [stdout] 53 │- #[derive(Debug)] [INFO] [stdout] 54 │- pub struct WgpuPipelineLayout; [INFO] [stdout] 55 │- impl WgpuPipelineLayout { [INFO] [stdout] 56 │- pub fn bind_group_layout_entries( [INFO] [stdout] 57 │- entries: [wgpu::BindGroupLayout; 0], [INFO] [stdout] 58 │- ) -> [wgpu::BindGroupLayout; 0] { [INFO] [stdout] 59 │- entries [INFO] [stdout] 79 │+ pub fn create_shader_module_embed_source( [INFO] [stdout] 80 │+ device: &wgpu::Device, [INFO] [stdout] 81 │+ ) -> wgpu::ShaderModule { [INFO] [stdout] 82 │+ let source = std::borrow::Cow::Borrowed(SHADER_STRING); [INFO] [stdout] 83 │+ device [INFO] [stdout] 84 │+ .create_shader_module(wgpu::ShaderModuleDescriptor { [INFO] [stdout] 85 │+ label: None, [INFO] [stdout] 86 │+ source: wgpu::ShaderSource::Wgsl(source), [INFO] [stdout] 87 │+ }) [INFO] [stdout] 60 88 │ } [INFO] [stdout] 61 │- } [INFO] [stdout] 62 │- pub fn create_pipeline_layout(device: &wgpu::Device) -> wgpu::PipelineLayout { [INFO] [stdout] 63 │- device.create_pipeline_layout(&wgpu::PipelineLayoutDescriptor { [INFO] [stdout] 64 │- label: Some("Test::PipelineLayout"), [INFO] [stdout] 65 │- bind_group_layouts: &[], [INFO] [stdout] 66 │- push_constant_ranges: &[wgpu::PushConstantRange { [INFO] [stdout] 67 │- stages: wgpu::ShaderStages::FRAGMENT, [INFO] [stdout] 68 │- range: 0..16, [INFO] [stdout] 69 │- }], [INFO] [stdout] 70 │- }) [INFO] [stdout] 71 │- } [INFO] [stdout] 72 │- pub fn create_shader_module_embed_source(device: &wgpu::Device) -> wgpu::ShaderModule { [INFO] [stdout] 73 │- let source = std::borrow::Cow::Borrowed(SHADER_STRING); [INFO] [stdout] 74 │- device.create_shader_module(wgpu::ShaderModuleDescriptor { [INFO] [stdout] 75 │- label: None, [INFO] [stdout] 76 │- source: wgpu::ShaderSource::Wgsl(source), [INFO] [stdout] 77 │- }) [INFO] [stdout] 78 │- } [INFO] [stdout] 79 │- pub const SHADER_STRING: &str = r#" [INFO] [stdout] 89 │+ pub const SHADER_STRING: &str = r#" [INFO] [stdout] 80 90 │ var consts: vec4; [INFO] [stdout] 81 91 │ [INFO] [stdout] 82 92 │ @fragment [INFO] [stdout] 83 93 │ fn fs_main() { [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'test::create_shader_module_embed_source' (7023) panicked at src/lib.rs:513:5: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: FileIo(Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }, "/opt/rustwide/workdir/src/snapshots/wgsl_bindgen__test__create_shader_module_embed_source.snap.new") [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x60961ea1ab92 - std::backtrace_rs::backtrace::libunwind::trace::h22a6a535a50603c6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x60961ea1ab92 - std::backtrace_rs::backtrace::trace_unsynchronized::h2503a4f30dbfbaa2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x60961ea1ab92 - std::sys::backtrace::_print_fmt::hec54e31f36456895 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x60961ea1ab92 - ::fmt::hb1988e8b50fa5f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x60961ea2ee1f - core::fmt::rt::Argument::fmt::h3118a66e1a57a586 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x60961ea2ee1f - core::fmt::write::hcd056e06a609f600 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x60961e9e5671 - std::io::default_write_fmt::hdabc5d6505cb374b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x60961e9e5671 - std::io::Write::write_fmt::h18c82179fdc1f9d2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x60961e9f24d2 - std::sys::backtrace::BacktraceLock::print::h69f50ba7cfff8317 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x60961e9f820f - std::panicking::default_hook::{{closure}}::hfa978eb2255ab3ab [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x60961e9f80a1 - std::panicking::default_hook::h09da2eaf8f1deadd [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x60961e132d9e - as core::ops::function::Fn>::call::h1697e4d80f236ef6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x60961e132d9e - test::test_main_with_exit_callback::{{closure}}::h8f63929ca9fd483b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x60961e9f897f - as core::ops::function::Fn>::call::hba67e0dc3e3fc548 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x60961e9f897f - std::panicking::panic_with_hook::h13c40d280d130fd3 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x60961e9f872a - std::panicking::panic_handler::{{closure}}::hd79d22e8a1d3b951 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x60961e9f2609 - std::sys::backtrace::__rust_end_short_backtrace::h83414d1ec69cf3a6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x60961e9d8b4d - __rustc[b78aa6c7b08e5dc4]::rust_begin_unwind [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x60961ea39f00 - core::panicking::panic_fmt::h326b75cf8ee01b13 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x60961ea38be6 - core::result::unwrap_failed::h38baee32fdec5ac8 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x60961de9748c - core::result::Result::unwrap::h4e75d443417df354 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x60961de9748c - wgsl_bindgen::test::create_shader_module_embed_source::h5daa3c728814a05b [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:513:5 [INFO] [stdout] 22: 0x60961de97637 - wgsl_bindgen::test::create_shader_module_embed_source::{{closure}}::h8b23ba189b1dda7e [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:496:41 [INFO] [stdout] 23: 0x60961df3c2b6 - core::ops::function::FnOnce::call_once::he4d1f8c1e2b0ba81 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x60961e132b7b - core::ops::function::FnOnce::call_once::he420dad47d9aac14 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x60961e132b7b - test::__rust_begin_short_backtrace::h51976f55c263f7c2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x60961e1487a5 - test::run_test_in_process::{{closure}}::h6aa4339396d33320 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x60961e1487a5 - as core::ops::function::FnOnce<()>>::call_once::h5bd0ba3863a53529 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x60961e1487a5 - std::panicking::catch_unwind::do_call::h5c710722c40c5839 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x60961e1487a5 - std::panicking::catch_unwind::hf41b5be070ce0f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x60961e1487a5 - std::panic::catch_unwind::h4559aa103e6f16d6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x60961e1487a5 - test::run_test_in_process::he6fd763a772ff213 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x60961e1487a5 - test::run_test::{{closure}}::he46f5435849feb5b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x60961e11efb4 - test::run_test::{{closure}}::h12a66289c31b502a [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x60961e11efb4 - std::sys::backtrace::__rust_begin_short_backtrace::h614a7925ed7b2f5e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x60961e12295a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hbc654088c5dbff36 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x60961e12295a - as core::ops::function::FnOnce<()>>::call_once::h3f631d2ca531b61d [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x60961e12295a - std::panicking::catch_unwind::do_call::hd2548748db0aa717 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x60961e12295a - std::panicking::catch_unwind::hf7d8620d84df48e2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x60961e12295a - std::panic::catch_unwind::hdde75b8543fcb96b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x60961e12295a - std::thread::Builder::spawn_unchecked_::{{closure}}::h991e7d03b432cf3f [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x60961e12295a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hebddb40255441657 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x60961e9ed55f - as core::ops::function::FnOnce>::call_once::h55e8930dc7db99a5 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 43: 0x60961e9ed55f - std::sys::thread::unix::Thread::new::thread_start::he23d038ee4fa004e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 44: 0x70e7dc752aa4 - [INFO] [stdout] 45: 0x70e7dc7dfa34 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] generate::bind_group::tests::bind_groups_module_acceleration_structure [INFO] [stdout] generate::bind_group::tests::bind_groups_module_array_bindings [INFO] [stdout] generate::bind_group::tests::bind_groups_module_compute [INFO] [stdout] generate::bind_group::tests::bind_groups_module_fragment [INFO] [stdout] generate::bind_group::tests::bind_groups_module_vertex [INFO] [stdout] generate::bind_group::tests::bind_groups_module_vertex_fragment [INFO] [stdout] generate::consts::tests::write_pipeline_overrideable_constants [INFO] [stdout] generate::entry::test::write_fragment_states_multiple_entries [INFO] [stdout] generate::entry::test::write_fragment_states_single_entry [INFO] [stdout] generate::entry::test::write_vertex_module_single_input_float32 [INFO] [stdout] generate::entry::test::write_vertex_module_single_input_float64 [INFO] [stdout] generate::entry::test::write_vertex_module_single_input_uint32 [INFO] [stdout] generate::entry::test::write_vertex_shader_entry_multiple_buffers [INFO] [stdout] generate::entry::test::write_vertex_shader_entry_no_buffers [INFO] [stdout] generate::entry::test::write_vertex_shader_multiple_entries [INFO] [stdout] generate::shader_module::tests::write_compute_module_multiple_entries [INFO] [stdout] quote_gen::rust_module_builder::tests::test_include_relative_root_but_dont_generate_it [INFO] [stdout] quote_gen::rust_module_builder::tests::test_merge [INFO] [stdout] quote_gen::rust_module_builder::tests::test_module_add_duplicates [INFO] [stdout] quote_gen::rust_module_builder::tests::test_module_generation_works [INFO] [stdout] quote_gen::rust_module_builder::tests::test_relative_root_feature [INFO] [stdout] structs::tests::test_struct_visibility [INFO] [stdout] structs::tests::write_all_structs_bytemuck_input_layout_validation [INFO] [stdout] structs::tests::write_all_structs_bytemuck_skip_input_layout_validation [INFO] [stdout] structs::tests::write_all_structs_encase [INFO] [stdout] structs::tests::write_all_structs_glam [INFO] [stdout] structs::tests::write_all_structs_nalgebra [INFO] [stdout] structs::tests::write_all_structs_rust [INFO] [stdout] structs::tests::write_all_structs_serde_encase [INFO] [stdout] structs::tests::write_all_structs_skip_stage_outputs [INFO] [stdout] structs::tests::write_atomic_types [INFO] [stdout] structs::tests::write_nonpower_of_2_mats [INFO] [stdout] structs::tests::write_nonpower_of_2_mats_for_bytemuck_glam_option [INFO] [stdout] structs::tests::write_nonpower_of_2_mats_for_bytemuck_option [INFO] [stdout] structs::tests::write_runtime_sized_array [INFO] [stdout] structs::tests::write_runtime_sized_array_bytemuck [INFO] [stdout] structs::tests::write_shorter_constructor [INFO] [stdout] test::create_shader_module_embed_source [INFO] [stdout] [INFO] [stdout] test result: FAILED. 40 passed; 38 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.35s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "992b35641706a098e1f07225b6725ede47a5b9f7eef549cf5dd8817d8214311a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "992b35641706a098e1f07225b6725ede47a5b9f7eef549cf5dd8817d8214311a", kill_on_drop: false }` [INFO] [stdout] 992b35641706a098e1f07225b6725ede47a5b9f7eef549cf5dd8817d8214311a