[INFO] fetching crate wgsl_bindgen 0.21.2... [INFO] testing wgsl_bindgen-0.21.2 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate wgsl_bindgen 0.21.2 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate wgsl_bindgen 0.21.2 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate wgsl_bindgen 0.21.2 [INFO] tweaked toml for crates.io crate wgsl_bindgen 0.21.2 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate wgsl_bindgen 0.21.2 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate wgsl_bindgen 0.21.2 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3843fab835d700203c2fc640ad404c8c376d29d3090b0a2bf924f6d859ee3bb5 [INFO] running `Command { std: "docker" "start" "-a" "3843fab835d700203c2fc640ad404c8c376d29d3090b0a2bf924f6d859ee3bb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3843fab835d700203c2fc640ad404c8c376d29d3090b0a2bf924f6d859ee3bb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3843fab835d700203c2fc640ad404c8c376d29d3090b0a2bf924f6d859ee3bb5", kill_on_drop: false }` [INFO] [stdout] 3843fab835d700203c2fc640ad404c8c376d29d3090b0a2bf924f6d859ee3bb5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5c84fda91ba19b4cd9e43358029004ab9cbb4cdbca0aed248334ea2b06abb23f [INFO] running `Command { std: "docker" "start" "-a" "5c84fda91ba19b4cd9e43358029004ab9cbb4cdbca0aed248334ea2b06abb23f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling find-msvc-tools v0.1.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling naga v26.0.0 [INFO] [stderr] Compiling unicode-width v0.2.2 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling cc v1.2.41 [INFO] [stderr] Compiling pp-rs v0.2.1 [INFO] [stderr] Compiling codespan-reporting v0.12.0 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling hexf-parse v0.2.1 [INFO] [stderr] Compiling convert_case v0.7.1 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling constant_time_eq v0.3.1 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling colored v3.0.0 [INFO] [stderr] Compiling case v1.0.0 [INFO] [stderr] Compiling glam v0.30.8 [INFO] [stderr] Compiling smol_str v0.3.2 [INFO] [stderr] Compiling syn v2.0.107 [INFO] [stderr] Compiling indexmap v2.12.0 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling zerocopy-derive v0.8.27 [INFO] [stderr] Compiling bytemuck_derive v1.10.2 [INFO] [stderr] Compiling enum-ordinalize-derive v4.3.1 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling miette-derive v7.6.0 [INFO] [stderr] Compiling enumflags2_derive v0.7.12 [INFO] [stderr] Compiling strum_macros v0.27.2 [INFO] [stderr] Compiling enumflags2 v0.7.12 [INFO] [stderr] Compiling enum-ordinalize v4.3.0 [INFO] [stderr] Compiling educe v0.6.0 [INFO] [stderr] Compiling miette v7.6.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling bytemuck v1.24.0 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling wgpu-types v26.0.0 [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 half v2.7.1 [INFO] [stderr] Compiling naga_oil v0.19.1 [INFO] [stderr] Compiling wgsl_bindgen v0.21.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 52.58s [INFO] running `Command { std: "docker" "inspect" "5c84fda91ba19b4cd9e43358029004ab9cbb4cdbca0aed248334ea2b06abb23f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c84fda91ba19b4cd9e43358029004ab9cbb4cdbca0aed248334ea2b06abb23f", kill_on_drop: false }` [INFO] [stdout] 5c84fda91ba19b4cd9e43358029004ab9cbb4cdbca0aed248334ea2b06abb23f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5e0679851d489dd5c759e8714653a2fc072fd19047b8db966357d2444d937b1b [INFO] running `Command { std: "docker" "start" "-a" "5e0679851d489dd5c759e8714653a2fc072fd19047b8db966357d2444d937b1b", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling owo-colors v4.2.3 [INFO] [stderr] Compiling backtrace v0.3.76 [INFO] [stderr] Compiling is_ci v1.2.0 [INFO] [stderr] Compiling unicode-linebreak v0.1.5 [INFO] [stderr] Compiling supports-hyperlinks v3.1.0 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling supports-unicode v3.0.0 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling toml_writer v1.0.4 [INFO] [stderr] Compiling stdext v0.3.3 [INFO] [stderr] Compiling supports-color v3.0.2 [INFO] [stderr] Compiling pretty_assertions v1.4.1 [INFO] [stderr] Compiling textwrap v0.16.2 [INFO] [stderr] Compiling backtrace-ext v0.2.1 [INFO] [stderr] Compiling insta v1.43.2 [INFO] [stderr] Compiling toml_parser v1.0.4 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde_spanned v1.0.3 [INFO] [stderr] Compiling toml_datetime v0.7.3 [INFO] [stderr] Compiling toml v0.9.8 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling naga v26.0.0 [INFO] [stderr] Compiling wgpu-types v26.0.0 [INFO] [stderr] Compiling terminal_size v0.4.3 [INFO] [stderr] Compiling miette v7.6.0 [INFO] [stderr] Compiling naga_oil v0.19.1 [INFO] [stderr] Compiling wgsl_bindgen v0.21.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 38.16s [INFO] running `Command { std: "docker" "inspect" "5e0679851d489dd5c759e8714653a2fc072fd19047b8db966357d2444d937b1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e0679851d489dd5c759e8714653a2fc072fd19047b8db966357d2444d937b1b", kill_on_drop: false }` [INFO] [stdout] 5e0679851d489dd5c759e8714653a2fc072fd19047b8db966357d2444d937b1b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0077a08fb808c04e5cec121dae26bee603a91ffeb6ded6bf182f01c91dd7916b [INFO] running `Command { std: "docker" "start" "-a" "0077a08fb808c04e5cec121dae26bee603a91ffeb6ded6bf182f01c91dd7916b", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/wgsl_bindgen-861bd92e29345254) [INFO] [stdout] [INFO] [stdout] running 78 tests [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 ... 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::module_path_resolver::tests::should_generate_single_import_path_when_module_prefix_match ... ok [INFO] [stdout] test bevy_util::name_demangle::tests::test_make_valid_rust_import ... ok [INFO] [stdout] test bevy_util::source_file::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::module_path_resolver::tests::should_return_valid_pbr_paths_from_repeated_part ... 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_consecutive_bind_groups ... ok [INFO] [stdout] test generate::bind_group::tests::bind_group_data_non_consecutive_bind_groups ... ok [INFO] [stdout] test bevy_util::parse_imports::tests::test_parsing_imports_from_bevy_mesh_view_bindings ... 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::consts::tests::write_global_constants ... ok [INFO] [stdout] test generate::entry::test::write_fragment_states_single_entry ... FAILED [INFO] [stdout] test generate::entry::test::write_entry_constants ... ok [INFO] [stdout] test generate::bind_group::tests::bind_groups_module_acceleration_structure ... FAILED [INFO] [stdout] test generate::entry::test::write_fragment_states_multiple_entries ... FAILED [INFO] [stdout] test generate::shader_module::tests::test_create_canonical_variable_name ... ok [INFO] [stdout] test generate::bind_group::tests::bind_groups_module_fragment ... FAILED [INFO] [stdout] test generate::entry::test::write_vertex_module_single_input_float32 ... FAILED [INFO] [stdout] test generate::entry::test::write_vertex_module_empty ... ok [INFO] [stdout] test generate::consts::tests::write_pipeline_overrideable_constants_empty ... ok [INFO] [stdout] test generate::bind_group::tests::bind_groups_module_vertex_fragment ... FAILED [INFO] [stdout] test generate::bind_group::tests::bind_groups_module_array_bindings ... FAILED [INFO] [stdout] test generate::consts::tests::write_pipeline_overrideable_constants ... FAILED [INFO] [stdout] test generate::entry::test::write_vertex_module_single_input_uint32 ... FAILED [INFO] [stdout] test generate::bind_group::tests::bind_groups_module_vertex ... FAILED [INFO] [stdout] test generate::bind_group::tests::bind_groups_module_compute ... 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 generate::entry::test::write_vertex_module_single_input_float64 ... FAILED [INFO] [stdout] test generate::shader_module::tests::write_compute_module_multiple_entries ... FAILED [INFO] [stdout] test quote_gen::rust_module_builder::tests::test_merge ... FAILED [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 quote_gen::rust_module_builder::tests::test_module_generation_works ... FAILED [INFO] [stdout] test generate::entry::test::write_vertex_shader_entry_no_buffers ... FAILED [INFO] [stdout] test generate::entry::test::write_vertex_shader_entry_multiple_buffers ... FAILED [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_empty ... ok [INFO] [stdout] test quote_gen::rust_module_builder::tests::test_module_add_duplicates ... FAILED [INFO] [stdout] test structs::tests::write_all_structs_bytemuck_skip_input_layout_validation ... FAILED [INFO] [stdout] test quote_gen::rust_module_builder::tests::test_relative_root_feature ... FAILED [INFO] [stdout] test structs::tests::write_runtime_sized_array_not_last_field - should panic ... ok [INFO] [stdout] test structs::tests::test_struct_visibility ... FAILED [INFO] [stdout] test structs::tests::write_all_structs_rust ... FAILED [INFO] [stdout] test structs::tests::write_all_structs_nalgebra ... 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_all_structs_bytemuck_input_layout_validation ... FAILED [INFO] [stdout] test structs::tests::write_all_structs_encase ... FAILED [INFO] [stdout] test structs::tests::write_nonpower_of_2_mats ... FAILED [INFO] [stdout] test structs::tests::write_all_structs_glam ... FAILED [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_all_structs_serde_encase ... FAILED [INFO] [stdout] test structs::tests::write_atomic_types ... FAILED [INFO] [stdout] test structs::tests::write_shorter_constructor ... FAILED [INFO] [stdout] test structs::tests::write_all_structs_skip_stage_outputs ... FAILED [INFO] [stdout] test structs::tests::write_nonpower_of_2_mats_for_bytemuck_glam_option ... FAILED [INFO] [stdout] test quote_gen::rust_module_builder::tests::test_module_add_duplicates_different_contents ... ok [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::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 'c2e32f1c9652b13ed99608599c1e855462f421f3'. [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] 1 1 │ #[derive(Debug)] [INFO] [stdout] 2 2 │ pub struct FragmentEntry { [INFO] [stdout] 3 │- pub entry_point: &'static str, [INFO] [stdout] 4 │- pub targets: [Option; N], [INFO] [stdout] 5 │- pub constants: Vec<(&'static str, f64)>, [INFO] [stdout] 3 │+ pub entry_point: &'static str, [INFO] [stdout] 4 │+ pub targets: [Option; N], [INFO] [stdout] 5 │+ pub constants: Vec<(&'static str, f64)>, [INFO] [stdout] 6 6 │ } [INFO] [stdout] 7 7 │ pub fn fragment_state<'a, const N: usize>( [INFO] [stdout] 8 │- module: &'a wgpu::ShaderModule, [INFO] [stdout] 9 │- entry: &'a FragmentEntry, [INFO] [stdout] 8 │+ module: &'a wgpu::ShaderModule, [INFO] [stdout] 9 │+ entry: &'a FragmentEntry, [INFO] [stdout] 10 10 │ ) -> wgpu::FragmentState<'a> { [INFO] [stdout] 11 │- wgpu::FragmentState { [INFO] [stdout] 12 │- module, [INFO] [stdout] 13 │- entry_point: Some(entry.entry_point), [INFO] [stdout] 14 │- targets: &entry.targets, [INFO] [stdout] 15 │- compilation_options: wgpu::PipelineCompilationOptions { [INFO] [stdout] 16 │- constants: &entry.constants, [INFO] [stdout] 17 │- ..Default::default() [INFO] [stdout] 18 │- }, [INFO] [stdout] 19 │- } [INFO] [stdout] 11 │+ wgpu::FragmentState { [INFO] [stdout] 12 │+ module, [INFO] [stdout] 13 │+ entry_point: Some(entry.entry_point), [INFO] [stdout] 14 │+ targets: &entry.targets, [INFO] [stdout] 15 │+ compilation_options: wgpu::PipelineCompilationOptions { [INFO] [stdout] 16 │+ constants: &entry.constants, [INFO] [stdout] 17 │+ ..Default::default() [INFO] [stdout] 18 │+ }, [INFO] [stdout] 19 │+ } [INFO] [stdout] 20 20 │ } [INFO] [stdout] 21 21 │ pub fn fs_single_entry( [INFO] [stdout] 22 │- targets: [Option; 1], [INFO] [stdout] 23 │- overrides: &OverrideConstants, [INFO] [stdout] 22 │+ targets: [Option; 1], [INFO] [stdout] 23 │+ overrides: &OverrideConstants, [INFO] [stdout] 24 24 │ ) -> FragmentEntry<1> { [INFO] [stdout] 25 │- FragmentEntry { [INFO] [stdout] 26 │- entry_point: ENTRY_FS_SINGLE, [INFO] [stdout] 27 │- targets, [INFO] [stdout] 28 │- constants: overrides.constants(), [INFO] [stdout] 29 │- } [INFO] [stdout] 25 │+ FragmentEntry { [INFO] [stdout] 26 │+ entry_point: ENTRY_FS_SINGLE, [INFO] [stdout] 27 │+ targets, [INFO] [stdout] 28 │+ constants: overrides.constants(), [INFO] [stdout] 29 │+ } [INFO] [stdout] 30 30 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'generate::entry::test::write_fragment_states_single_entry' (70) 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: 0x64c0e9637a32 - std::backtrace_rs::backtrace::libunwind::trace::h9ea1e07ac77a25d7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x64c0e9637a32 - std::backtrace_rs::backtrace::trace_unsynchronized::h72b75eb83b53d15a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x64c0e9637a32 - std::sys::backtrace::_print_fmt::h255777b7ec902439 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x64c0e9637a32 - ::fmt::h8a1ac49fcd7ee8ce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x64c0e964b7af - core::fmt::rt::Argument::fmt::h635cbf3c6754cc90 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x64c0e964b7af - core::fmt::write::hbdcc0ec4f1bab1db [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x64c0e9602ef3 - std::io::default_write_fmt::h2580ece0d4b58e51 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x64c0e9602ef3 - std::io::Write::write_fmt::hac9e42858f273b87 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x64c0e960f802 - std::sys::backtrace::BacktraceLock::print::h052febbd86f7bf07 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x64c0e96154df - std::panicking::default_hook::{{closure}}::h66aeee20dd470abb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x64c0e9615371 - std::panicking::default_hook::h9d66b9642014ce48 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x64c0e8d48e0e - as core::ops::function::Fn>::call::h8c698701e444e564 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 12: 0x64c0e8d48e0e - test::test_main_with_exit_callback::{{closure}}::ha1c98e7b69c4defb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x64c0e9615b9f - as core::ops::function::Fn>::call::hc4f222a8a57c637a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 14: 0x64c0e9615b9f - std::panicking::panic_with_hook::h6d5921a1a1fa5a8e [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x64c0e961594a - std::panicking::panic_handler::{{closure}}::hafeef6f707d43542 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x64c0e960f939 - std::sys::backtrace::__rust_end_short_backtrace::h08cbc3319a3d0120 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x64c0e95f65ad - __rustc[ce5c411ff86ab1b2]::rust_begin_unwind [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x64c0e9656830 - core::panicking::panic_fmt::h774fb860369a0f7b [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x64c0e96554f6 - core::result::unwrap_failed::h72ee8fcbf1bf8ff9 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1862:5 [INFO] [stdout] 20: 0x64c0e8b42d5b - core::result::Result::unwrap::h684f7c72affd3dee [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1233:23 [INFO] [stdout] 21: 0x64c0e8b42d5b - wgsl_bindgen::generate::entry::test::write_fragment_states_single_entry::{{closure}}::h40c9bd6e4845cac9 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x64c0e8ac400f - insta::settings::Settings::bind::h0360e195aa577759 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.2/src/settings.rs:509:9 [INFO] [stdout] 23: 0x64c0e8b4289f - wgsl_bindgen::generate::entry::test::write_fragment_states_single_entry::hc7822af46665ce12 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x64c0e8b42e57 - wgsl_bindgen::generate::entry::test::write_fragment_states_single_entry::{{closure}}::h432bd588b3dc9b27 [INFO] [stdout] at /opt/rustwide/workdir/src/generate/entry.rs:525:42 [INFO] [stdout] 25: 0x64c0e8afe956 - core::ops::function::FnOnce::call_once::h7671d761bd4bf7fa [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x64c0e8d48c5b - core::ops::function::FnOnce::call_once::h4f6eabe90cccb47d [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x64c0e8d48c5b - test::__rust_begin_short_backtrace::h94208530f2b4c8c7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x64c0e8d5cc6d - test::run_test_in_process::{{closure}}::hbdc6a45a78c46404 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x64c0e8d5cc6d - as core::ops::function::FnOnce<()>>::call_once::h7f9d8efc7eedd165 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x64c0e8d5cc6d - std::panicking::catch_unwind::do_call::he5edbaf126c13b99 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x64c0e8d5cc6d - std::panicking::catch_unwind::h3d6a8652eceeabce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x64c0e8d5cc6d - std::panic::catch_unwind::hbef0c501dd7bb498 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x64c0e8d5cc6d - test::run_test_in_process::h400008a46a5006a0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x64c0e8d5cc6d - test::run_test::{{closure}}::h9a131655b31d9427 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x64c0e8d361b4 - test::run_test::{{closure}}::he4a7177c216308c0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x64c0e8d361b4 - std::sys::backtrace::__rust_begin_short_backtrace::hd3980e9c55d6c539 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x64c0e8d39aea - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h18552df67c7aa9b8 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:562:17 [INFO] [stdout] 38: 0x64c0e8d39aea - as core::ops::function::FnOnce<()>>::call_once::h3d7b285234641a08 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x64c0e8d39aea - std::panicking::catch_unwind::do_call::h5a2b5cf36528a5b2 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x64c0e8d39aea - std::panicking::catch_unwind::h7e8b531bbda77d20 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x64c0e8d39aea - std::panic::catch_unwind::hf9bbb2040b4f1e6c [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x64c0e8d39aea - std::thread::Builder::spawn_unchecked_::{{closure}}::h600f92cf68549574 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:560:30 [INFO] [stdout] 43: 0x64c0e8d39aea - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb6607307df8a1847 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x64c0e960ab4f - as core::ops::function::FnOnce>::call_once::h6891ad53a5ed6f52 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2085:9 [INFO] [stdout] 45: 0x64c0e960ab4f - std::sys::thread::unix::Thread::new::thread_start::h7f3e77fa86df70af [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/thread/unix.rs:124:17 [INFO] [stdout] 46: 0x7f6eeb82aaa4 - [INFO] [stdout] 47: 0x7f6eeb8b7a64 - 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 'c2e32f1c9652b13ed99608599c1e855462f421f3'. [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] 1 1 │ #[derive(Debug)] [INFO] [stdout] 2 2 │ pub struct WgpuBindGroup0EntriesParams<'a> { [INFO] [stdout] 3 │- pub transforms: wgpu::BufferBinding<'a>, [INFO] [stdout] 4 │- pub acc_struct: &'a wgpu::Tlas, [INFO] [stdout] 3 │+ pub transforms: wgpu::BufferBinding<'a>, [INFO] [stdout] 4 │+ pub acc_struct: &'a wgpu::Tlas, [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 acc_struct: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 8 │+ pub transforms: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 9 │+ pub acc_struct: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 10 10 │ } [INFO] [stdout] 11 11 │ impl<'a> WgpuBindGroup0Entries<'a> { [INFO] [stdout] 12 │- pub fn new(params: WgpuBindGroup0EntriesParams<'a>) -> Self { [INFO] [stdout] 13 │- Self { [INFO] [stdout] 14 │- transforms: wgpu::BindGroupEntry { [INFO] [stdout] 15 │- binding: 0, [INFO] [stdout] 16 │- resource: wgpu::BindingResource::Buffer(params.transforms), [INFO] [stdout] 17 │- }, [INFO] [stdout] 18 │- acc_struct: wgpu::BindGroupEntry { [INFO] [stdout] 19 │- binding: 1, [INFO] [stdout] 20 │- resource: wgpu::BindingResource::AccelerationStructure(params.acc_struct), [INFO] [stdout] 21 │- }, [INFO] [stdout] 12 │+ pub fn new(params: WgpuBindGroup0EntriesParams<'a>) -> Self { [INFO] [stdout] 13 │+ Self { [INFO] [stdout] 14 │+ transforms: wgpu::BindGroupEntry { [INFO] [stdout] 15 │+ binding: 0, [INFO] [stdout] 16 │+ resource: wgpu::BindingResource::Buffer(params.transforms), [INFO] [stdout] 17 │+ }, [INFO] [stdout] 18 │+ acc_struct: wgpu::BindGroupEntry { [INFO] [stdout] 19 │+ binding: 1, [INFO] [stdout] 20 │+ resource: wgpu::BindingResource::AccelerationStructure(params.acc_struct), [INFO] [stdout] 21 │+ }, [INFO] [stdout] 22 │+ } [INFO] [stdout] 23 │+ } [INFO] [stdout] 24 │+ pub fn into_array(self) -> [wgpu::BindGroupEntry<'a>; 2] { [INFO] [stdout] 25 │+ [self.transforms, self.acc_struct] [INFO] [stdout] 26 │+ } [INFO] [stdout] 27 │+ pub fn collect>>(self) -> B { [INFO] [stdout] 28 │+ self.into_array().into_iter().collect() [INFO] [stdout] 22 29 │ } [INFO] [stdout] 23 │- } [INFO] [stdout] 24 │- pub fn into_array(self) -> [wgpu::BindGroupEntry<'a>; 2] { [INFO] [stdout] 25 │- [self.transforms, self.acc_struct] [INFO] [stdout] 26 │- } [INFO] [stdout] 27 │- pub fn collect>>(self) -> B { [INFO] [stdout] 28 │- self.into_array().into_iter().collect() [INFO] [stdout] 29 │- } [INFO] [stdout] 30 30 │ } [INFO] [stdout] 31 31 │ #[derive(Debug)] [INFO] [stdout] 32 32 │ pub struct WgpuBindGroup0(wgpu::BindGroup); [INFO] [stdout] 33 33 │ impl WgpuBindGroup0 { [INFO] [stdout] 34 │- pub const LAYOUT_DESCRIPTOR: wgpu::BindGroupLayoutDescriptor<'static> = [INFO] [stdout] 35 │- wgpu::BindGroupLayoutDescriptor { [INFO] [stdout] 36 │- label: Some("Test::BindGroup0::LayoutDescriptor"), [INFO] [stdout] 37 │- entries: &[ [INFO] [stdout] 38 │- #[doc = " @binding(0): \"transforms\""] [INFO] [stdout] 39 │- wgpu::BindGroupLayoutEntry { [INFO] [stdout] 40 │- binding: 0, [INFO] [stdout] 41 │- visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 42 │- ty: wgpu::BindingType::Buffer { [INFO] [stdout] 43 │- ty: wgpu::BufferBindingType::Uniform, [INFO] [stdout] 44 │- has_dynamic_offset: false, [INFO] [stdout] 45 │- min_binding_size: std::num::NonZeroU64::new(std::mem::size_of::< [INFO] [stdout] 46 │- _root::test::Transforms, [INFO] [stdout] 47 │- >() as _), [INFO] [stdout] 48 │- }, [INFO] [stdout] 49 │- count: None, [INFO] [stdout] 50 │- }, [INFO] [stdout] 51 │- #[doc = " @binding(1): \"acc_struct\""] [INFO] [stdout] 52 │- wgpu::BindGroupLayoutEntry { [INFO] [stdout] 53 │- binding: 1, [INFO] [stdout] 54 │- visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 55 │- ty: wgpu::BindingType::AccelerationStructure { [INFO] [stdout] 56 │- vertex_return: false, [INFO] [stdout] 57 │- }, [INFO] [stdout] 58 │- count: None, [INFO] [stdout] 59 │- }, [INFO] [stdout] 60 │- ], [INFO] [stdout] 34 │+ pub const LAYOUT_DESCRIPTOR: wgpu::BindGroupLayoutDescriptor<'static> = wgpu::BindGroupLayoutDescriptor { [INFO] [stdout] 35 │+ label: Some("Test::BindGroup0::LayoutDescriptor"), [INFO] [stdout] 36 │+ entries: &[ [INFO] [stdout] 37 │+ /// @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( [INFO] [stdout] 45 │+ std::mem::size_of::<_root::test::Transforms>() as _, [INFO] [stdout] 46 │+ ), [INFO] [stdout] 47 │+ }, [INFO] [stdout] 48 │+ count: None, [INFO] [stdout] 49 │+ }, [INFO] [stdout] 50 │+ /// @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] 61 60 │ }; [INFO] [stdout] 62 │- pub fn get_bind_group_layout(device: &wgpu::Device) -> wgpu::BindGroupLayout { [INFO] [stdout] 63 │- device.create_bind_group_layout(&Self::LAYOUT_DESCRIPTOR) [INFO] [stdout] 64 │- } [INFO] [stdout] 65 │- pub fn from_bindings(device: &wgpu::Device, bindings: WgpuBindGroup0Entries) -> Self { [INFO] [stdout] 66 │- let bind_group_layout = Self::get_bind_group_layout(device); [INFO] [stdout] 67 │- let entries = bindings.into_array(); [INFO] [stdout] 68 │- let bind_group = device.create_bind_group(&wgpu::BindGroupDescriptor { [INFO] [stdout] 69 │- label: Some("Test::BindGroup0"), [INFO] [stdout] 70 │- layout: &bind_group_layout, [INFO] [stdout] 71 │- entries: &entries, [INFO] [stdout] 72 │- }); [INFO] [stdout] 73 │- Self(bind_group) [INFO] [stdout] 74 │- } [INFO] [stdout] 75 │- pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 76 │- pass.set_bind_group(0, &self.0, &[]); [INFO] [stdout] 77 │- } [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( [INFO] [stdout] 65 │+ device: &wgpu::Device, [INFO] [stdout] 66 │+ bindings: WgpuBindGroup0Entries, [INFO] [stdout] 67 │+ ) -> Self { [INFO] [stdout] 68 │+ let bind_group_layout = Self::get_bind_group_layout(device); [INFO] [stdout] 69 │+ let entries = bindings.into_array(); [INFO] [stdout] 70 │+ let bind_group = device [INFO] [stdout] 71 │+ .create_bind_group( [INFO] [stdout] 72 │+ &wgpu::BindGroupDescriptor { [INFO] [stdout] 73 │+ label: Some("Test::BindGroup0"), [INFO] [stdout] 74 │+ layout: &bind_group_layout, [INFO] [stdout] 75 │+ entries: &entries, [INFO] [stdout] 76 │+ }, [INFO] [stdout] 77 │+ ); [INFO] [stdout] 78 │+ Self(bind_group) [INFO] [stdout] 79 │+ } [INFO] [stdout] 80 │+ pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 81 │+ pass.set_bind_group(0, &self.0, &[]); [INFO] [stdout] 82 │+ } [INFO] [stdout] 78 83 │ } [INFO] [stdout] 79 │-#[doc = " Bind groups can be set individually using their set(render_pass) method, or all at once using `WgpuBindGroups::set`."] [INFO] [stdout] 80 │-#[doc = " For optimal performance with many draw calls, it's recommended to organize bindings into bind groups based on update frequency:"] [INFO] [stdout] 81 │-#[doc = " - Bind group 0: Least frequent updates (e.g. per frame resources)"] [INFO] [stdout] 82 │-#[doc = " - Bind group 1: More frequent updates"] [INFO] [stdout] 83 │-#[doc = " - Bind group 2: More frequent updates"] [INFO] [stdout] 84 │-#[doc = " - Bind group 3: Most frequent updates (e.g. per draw resources)"] [INFO] [stdout] 84 │+/// Bind groups can be set individually using their set(render_pass) method, or all at once using `WgpuBindGroups::set`. [INFO] [stdout] 85 │+/// For optimal performance with many draw calls, it's recommended to organize bindings into bind groups based on update frequency: [INFO] [stdout] 86 │+/// - Bind group 0: Least frequent updates (e.g. per frame resources) [INFO] [stdout] 87 │+/// - Bind group 1: More frequent updates [INFO] [stdout] 88 │+/// - Bind group 2: More frequent updates [INFO] [stdout] 89 │+/// - Bind group 3: Most frequent updates (e.g. per draw resources) [INFO] [stdout] 85 90 │ #[derive(Debug, Copy, Clone)] [INFO] [stdout] 86 91 │ pub struct WgpuBindGroups<'a> { [INFO] [stdout] 87 │- pub bind_group0: &'a WgpuBindGroup0, [INFO] [stdout] 92 │+ pub bind_group0: &'a WgpuBindGroup0, [INFO] [stdout] 88 93 │ } [INFO] [stdout] 89 94 │ impl<'a> WgpuBindGroups<'a> { [INFO] [stdout] 90 │- pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 91 │- self.bind_group0.set(pass); [INFO] [stdout] 92 │- } [INFO] [stdout] 95 │+ pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 96 │+ self.bind_group0.set(pass); [INFO] [stdout] 97 │+ } [INFO] [stdout] 93 98 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'generate::bind_group::tests::bind_groups_module_acceleration_structure' (41) 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: 0x64c0e9637a32 - std::backtrace_rs::backtrace::libunwind::trace::h9ea1e07ac77a25d7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x64c0e9637a32 - std::backtrace_rs::backtrace::trace_unsynchronized::h72b75eb83b53d15a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x64c0e9637a32 - std::sys::backtrace::_print_fmt::h255777b7ec902439 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x64c0e9637a32 - ::fmt::h8a1ac49fcd7ee8ce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x64c0e964b7af - core::fmt::rt::Argument::fmt::h635cbf3c6754cc90 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x64c0e964b7af - core::fmt::write::hbdcc0ec4f1bab1db [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x64c0e9602ef3 - std::io::default_write_fmt::h2580ece0d4b58e51 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x64c0e9602ef3 - std::io::Write::write_fmt::hac9e42858f273b87 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x64c0e960f802 - std::sys::backtrace::BacktraceLock::print::h052febbd86f7bf07 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x64c0e96154df - std::panicking::default_hook::{{closure}}::h66aeee20dd470abb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x64c0e9615371 - std::panicking::default_hook::h9d66b9642014ce48 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x64c0e8d48e0e - as core::ops::function::Fn>::call::h8c698701e444e564 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 12: 0x64c0e8d48e0e - test::test_main_with_exit_callback::{{closure}}::ha1c98e7b69c4defb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x64c0e9615b9f - as core::ops::function::Fn>::call::hc4f222a8a57c637a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 14: 0x64c0e9615b9f - std::panicking::panic_with_hook::h6d5921a1a1fa5a8e [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x64c0e961594a - std::panicking::panic_handler::{{closure}}::hafeef6f707d43542 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x64c0e960f939 - std::sys::backtrace::__rust_end_short_backtrace::h08cbc3319a3d0120 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x64c0e95f65ad - __rustc[ce5c411ff86ab1b2]::rust_begin_unwind [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x64c0e9656830 - core::panicking::panic_fmt::h774fb860369a0f7b [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x64c0e96554f6 - core::result::unwrap_failed::h72ee8fcbf1bf8ff9 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1862:5 [INFO] [stdout] 20: 0x64c0e8b3f05b - core::result::Result::unwrap::h684f7c72affd3dee [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1233:23 [INFO] [stdout] 21: 0x64c0e8b3f05b - wgsl_bindgen::generate::bind_group::tests::bind_groups_module_acceleration_structure::{{closure}}::h451c101721fc67b7 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x64c0e8ac572f - insta::settings::Settings::bind::he4f117f5c410abbb [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.2/src/settings.rs:509:9 [INFO] [stdout] 23: 0x64c0e8b3eb85 - wgsl_bindgen::generate::bind_group::tests::bind_groups_module_acceleration_structure::he90ebaafc570db55 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x64c0e8b3f157 - wgsl_bindgen::generate::bind_group::tests::bind_groups_module_acceleration_structure::{{closure}}::hf010d65325247a5b [INFO] [stdout] at /opt/rustwide/workdir/src/generate/bind_group/mod.rs:536:49 [INFO] [stdout] 25: 0x64c0e8afeaf6 - core::ops::function::FnOnce::call_once::h7c2fe717fd8b2e15 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x64c0e8d48c5b - core::ops::function::FnOnce::call_once::h4f6eabe90cccb47d [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x64c0e8d48c5b - test::__rust_begin_short_backtrace::h94208530f2b4c8c7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x64c0e8d5cc6d - test::run_test_in_process::{{closure}}::hbdc6a45a78c46404 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x64c0e8d5cc6d - as core::ops::function::FnOnce<()>>::call_once::h7f9d8efc7eedd165 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x64c0e8d5cc6d - std::panicking::catch_unwind::do_call::he5edbaf126c13b99 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x64c0e8d5cc6d - std::panicking::catch_unwind::h3d6a8652eceeabce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x64c0e8d5cc6d - std::panic::catch_unwind::hbef0c501dd7bb498 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x64c0e8d5cc6d - test::run_test_in_process::h400008a46a5006a0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x64c0e8d5cc6d - test::run_test::{{closure}}::h9a131655b31d9427 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x64c0e8d361b4 - test::run_test::{{closure}}::he4a7177c216308c0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x64c0e8d361b4 - std::sys::backtrace::__rust_begin_short_backtrace::hd3980e9c55d6c539 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x64c0e8d39aea - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h18552df67c7aa9b8 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:562:17 [INFO] [stdout] 38: 0x64c0e8d39aea - as core::ops::function::FnOnce<()>>::call_once::h3d7b285234641a08 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x64c0e8d39aea - std::panicking::catch_unwind::do_call::h5a2b5cf36528a5b2 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x64c0e8d39aea - std::panicking::catch_unwind::h7e8b531bbda77d20 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x64c0e8d39aea - std::panic::catch_unwind::hf9bbb2040b4f1e6c [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x64c0e8d39aea - std::thread::Builder::spawn_unchecked_::{{closure}}::h600f92cf68549574 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:560:30 [INFO] [stdout] 43: 0x64c0e8d39aea - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb6607307df8a1847 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x64c0e960ab4f - as core::ops::function::FnOnce>::call_once::h6891ad53a5ed6f52 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2085:9 [INFO] [stdout] 45: 0x64c0e960ab4f - std::sys::thread::unix::Thread::new::thread_start::h7f3e77fa86df70af [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/thread/unix.rs:124:17 [INFO] [stdout] 46: 0x7f6eeb82aaa4 - [INFO] [stdout] 47: 0x7f6eeb8b7a64 - 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 'c2e32f1c9652b13ed99608599c1e855462f421f3'. [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] 1 1 │ #[derive(Debug)] [INFO] [stdout] 2 2 │ pub struct FragmentEntry { [INFO] [stdout] 3 │- pub entry_point: &'static str, [INFO] [stdout] 4 │- pub targets: [Option; N], [INFO] [stdout] 5 │- pub constants: Vec<(&'static str, f64)>, [INFO] [stdout] 3 │+ pub entry_point: &'static str, [INFO] [stdout] 4 │+ pub targets: [Option; N], [INFO] [stdout] 5 │+ pub constants: Vec<(&'static str, f64)>, [INFO] [stdout] 6 6 │ } [INFO] [stdout] 7 7 │ pub fn fragment_state<'a, const N: usize>( [INFO] [stdout] 8 │- module: &'a wgpu::ShaderModule, [INFO] [stdout] 9 │- entry: &'a FragmentEntry, [INFO] [stdout] 8 │+ module: &'a wgpu::ShaderModule, [INFO] [stdout] 9 │+ entry: &'a FragmentEntry, [INFO] [stdout] 10 10 │ ) -> wgpu::FragmentState<'a> { [INFO] [stdout] 11 │- wgpu::FragmentState { [INFO] [stdout] 12 │- module, [INFO] [stdout] 13 │- entry_point: Some(entry.entry_point), [INFO] [stdout] 14 │- targets: &entry.targets, [INFO] [stdout] 15 │- compilation_options: wgpu::PipelineCompilationOptions { [INFO] [stdout] 16 │- constants: &entry.constants, [INFO] [stdout] 17 │- ..Default::default() [INFO] [stdout] 18 │- }, [INFO] [stdout] 19 │- } [INFO] [stdout] 11 │+ wgpu::FragmentState { [INFO] [stdout] 12 │+ module, [INFO] [stdout] 13 │+ entry_point: Some(entry.entry_point), [INFO] [stdout] 14 │+ targets: &entry.targets, [INFO] [stdout] 15 │+ compilation_options: wgpu::PipelineCompilationOptions { [INFO] [stdout] 16 │+ constants: &entry.constants, [INFO] [stdout] 17 │+ ..Default::default() [INFO] [stdout] 18 │+ }, [INFO] [stdout] 19 │+ } [INFO] [stdout] 20 20 │ } [INFO] [stdout] 21 21 │ pub fn fs_multiple_entry( [INFO] [stdout] 22 │- targets: [Option; 2], [INFO] [stdout] 22 │+ targets: [Option; 2], [INFO] [stdout] 23 23 │ ) -> FragmentEntry<2> { [INFO] [stdout] 24 │- FragmentEntry { [INFO] [stdout] 25 │- entry_point: ENTRY_FS_MULTIPLE, [INFO] [stdout] 26 │- targets, [INFO] [stdout] 27 │- constants: Default::default(), [INFO] [stdout] 28 │- } [INFO] [stdout] 24 │+ FragmentEntry { [INFO] [stdout] 25 │+ entry_point: ENTRY_FS_MULTIPLE, [INFO] [stdout] 26 │+ targets, [INFO] [stdout] 27 │+ constants: Default::default(), [INFO] [stdout] 28 │+ } [INFO] [stdout] 29 29 │ } [INFO] [stdout] 30 │-pub fn fs_single_entry(targets: [Option; 1]) -> FragmentEntry<1> { [INFO] [stdout] 31 │- FragmentEntry { [INFO] [stdout] 32 │- entry_point: ENTRY_FS_SINGLE, [INFO] [stdout] 33 │- targets, [INFO] [stdout] 34 │- constants: Default::default(), [INFO] [stdout] 35 │- } [INFO] [stdout] 30 │+pub fn fs_single_entry( [INFO] [stdout] 31 │+ targets: [Option; 1], [INFO] [stdout] 32 │+) -> FragmentEntry<1> { [INFO] [stdout] 33 │+ FragmentEntry { [INFO] [stdout] 34 │+ entry_point: ENTRY_FS_SINGLE, [INFO] [stdout] 35 │+ targets, [INFO] [stdout] 36 │+ constants: Default::default(), [INFO] [stdout] 37 │+ } [INFO] [stdout] 36 38 │ } [INFO] [stdout] 37 39 │ pub fn fs_single_builtin_entry( [INFO] [stdout] 38 │- targets: [Option; 0], [INFO] [stdout] 40 │+ targets: [Option; 0], [INFO] [stdout] 39 41 │ ) -> FragmentEntry<0> { [INFO] [stdout] 40 │- FragmentEntry { [INFO] [stdout] 41 │- entry_point: ENTRY_FS_SINGLE_BUILTIN, [INFO] [stdout] 42 │- targets, [INFO] [stdout] 43 │- constants: Default::default(), [INFO] [stdout] 44 │- } [INFO] [stdout] 42 │+ FragmentEntry { [INFO] [stdout] 43 │+ entry_point: ENTRY_FS_SINGLE_BUILTIN, [INFO] [stdout] 44 │+ targets, [INFO] [stdout] 45 │+ constants: Default::default(), [INFO] [stdout] 46 │+ } [INFO] [stdout] 45 47 │ } [INFO] [stdout] 46 48 │ pub fn fs_empty_entry(targets: [Option; 0]) -> FragmentEntry<0> { [INFO] [stdout] 47 │- FragmentEntry { [INFO] [stdout] 48 │- entry_point: ENTRY_FS_EMPTY, [INFO] [stdout] 49 │- targets, [INFO] [stdout] 50 │- constants: Default::default(), [INFO] [stdout] 51 │- } [INFO] [stdout] 49 │+ FragmentEntry { [INFO] [stdout] 50 │+ entry_point: ENTRY_FS_EMPTY, [INFO] [stdout] 51 │+ targets, [INFO] [stdout] 52 │+ constants: Default::default(), [INFO] [stdout] 53 │+ } [INFO] [stdout] 52 54 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'generate::entry::test::write_fragment_states_multiple_entries' (69) 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: 0x64c0e9637a32 - std::backtrace_rs::backtrace::libunwind::trace::h9ea1e07ac77a25d7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x64c0e9637a32 - std::backtrace_rs::backtrace::trace_unsynchronized::h72b75eb83b53d15a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x64c0e9637a32 - std::sys::backtrace::_print_fmt::h255777b7ec902439 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x64c0e9637a32 - ::fmt::h8a1ac49fcd7ee8ce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x64c0e964b7af - core::fmt::rt::Argument::fmt::h635cbf3c6754cc90 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x64c0e964b7af - core::fmt::write::hbdcc0ec4f1bab1db [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x64c0e9602ef3 - std::io::default_write_fmt::h2580ece0d4b58e51 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x64c0e9602ef3 - std::io::Write::write_fmt::hac9e42858f273b87 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x64c0e960f802 - std::sys::backtrace::BacktraceLock::print::h052febbd86f7bf07 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x64c0e96154df - std::panicking::default_hook::{{closure}}::h66aeee20dd470abb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x64c0e9615371 - std::panicking::default_hook::h9d66b9642014ce48 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x64c0e8d48e0e - as core::ops::function::Fn>::call::h8c698701e444e564 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 12: 0x64c0e8d48e0e - test::test_main_with_exit_callback::{{closure}}::ha1c98e7b69c4defb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x64c0e9615b9f - as core::ops::function::Fn>::call::hc4f222a8a57c637a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 14: 0x64c0e9615b9f - std::panicking::panic_with_hook::h6d5921a1a1fa5a8e [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x64c0e961594a - std::panicking::panic_handler::{{closure}}::hafeef6f707d43542 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x64c0e960f939 - std::sys::backtrace::__rust_end_short_backtrace::h08cbc3319a3d0120 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x64c0e95f65ad - __rustc[ce5c411ff86ab1b2]::rust_begin_unwind [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x64c0e9656830 - core::panicking::panic_fmt::h774fb860369a0f7b [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x64c0e96554f6 - core::result::unwrap_failed::h72ee8fcbf1bf8ff9 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1862:5 [INFO] [stdout] 20: 0x64c0e8b4478b - core::result::Result::unwrap::h684f7c72affd3dee [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1233:23 [INFO] [stdout] 21: 0x64c0e8b4478b - wgsl_bindgen::generate::entry::test::write_fragment_states_multiple_entries::{{closure}}::hb0052539173fade1 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x64c0e8ac4b4f - insta::settings::Settings::bind::h72245b0529df1c2b [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.2/src/settings.rs:509:9 [INFO] [stdout] 23: 0x64c0e8b442cf - wgsl_bindgen::generate::entry::test::write_fragment_states_multiple_entries::h74f9e9421c7b557b [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x64c0e8b44887 - wgsl_bindgen::generate::entry::test::write_fragment_states_multiple_entries::{{closure}}::hba9a029b3413a01d [INFO] [stdout] at /opt/rustwide/workdir/src/generate/entry.rs:500:46 [INFO] [stdout] 25: 0x64c0e8afe436 - core::ops::function::FnOnce::call_once::h4fa43145ca653b6b [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x64c0e8d48c5b - core::ops::function::FnOnce::call_once::h4f6eabe90cccb47d [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x64c0e8d48c5b - test::__rust_begin_short_backtrace::h94208530f2b4c8c7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x64c0e8d5cc6d - test::run_test_in_process::{{closure}}::hbdc6a45a78c46404 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x64c0e8d5cc6d - as core::ops::function::FnOnce<()>>::call_once::h7f9d8efc7eedd165 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x64c0e8d5cc6d - std::panicking::catch_unwind::do_call::he5edbaf126c13b99 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x64c0e8d5cc6d - std::panicking::catch_unwind::h3d6a8652eceeabce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x64c0e8d5cc6d - std::panic::catch_unwind::hbef0c501dd7bb498 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x64c0e8d5cc6d - test::run_test_in_process::h400008a46a5006a0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x64c0e8d5cc6d - test::run_test::{{closure}}::h9a131655b31d9427 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x64c0e8d361b4 - test::run_test::{{closure}}::he4a7177c216308c0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x64c0e8d361b4 - std::sys::backtrace::__rust_begin_short_backtrace::hd3980e9c55d6c539 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x64c0e8d39aea - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h18552df67c7aa9b8 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:562:17 [INFO] [stdout] 38: 0x64c0e8d39aea - as core::ops::function::FnOnce<()>>::call_once::h3d7b285234641a08 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x64c0e8d39aea - std::panicking::catch_unwind::do_call::h5a2b5cf36528a5b2 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x64c0e8d39aea - std::panicking::catch_unwind::h7e8b531bbda77d20 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x64c0e8d39aea - std::panic::catch_unwind::hf9bbb2040b4f1e6c [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x64c0e8d39aea - std::thread::Builder::spawn_unchecked_::{{closure}}::h600f92cf68549574 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:560:30 [INFO] [stdout] 43: 0x64c0e8d39aea - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb6607307df8a1847 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x64c0e960ab4f - as core::ops::function::FnOnce>::call_once::h6891ad53a5ed6f52 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2085:9 [INFO] [stdout] 45: 0x64c0e960ab4f - std::sys::thread::unix::Thread::new::thread_start::h7f3e77fa86df70af [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/thread/unix.rs:124:17 [INFO] [stdout] 46: 0x7f6eeb82aaa4 - [INFO] [stdout] 47: 0x7f6eeb8b7a64 - 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 'c2e32f1c9652b13ed99608599c1e855462f421f3'. [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] 1 1 │ #[derive(Debug)] [INFO] [stdout] 2 2 │ pub struct WgpuBindGroup0EntriesParams<'a> { [INFO] [stdout] 3 │- pub transforms: wgpu::BufferBinding<'a>, [INFO] [stdout] 3 │+ pub transforms: wgpu::BufferBinding<'a>, [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] 7 │+ pub transforms: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 8 8 │ } [INFO] [stdout] 9 9 │ impl<'a> WgpuBindGroup0Entries<'a> { [INFO] [stdout] 10 │- pub fn new(params: WgpuBindGroup0EntriesParams<'a>) -> Self { [INFO] [stdout] 11 │- Self { [INFO] [stdout] 12 │- transforms: wgpu::BindGroupEntry { [INFO] [stdout] 13 │- binding: 0, [INFO] [stdout] 14 │- resource: wgpu::BindingResource::Buffer(params.transforms), [INFO] [stdout] 15 │- }, [INFO] [stdout] 10 │+ pub fn new(params: WgpuBindGroup0EntriesParams<'a>) -> Self { [INFO] [stdout] 11 │+ Self { [INFO] [stdout] 12 │+ transforms: wgpu::BindGroupEntry { [INFO] [stdout] 13 │+ binding: 0, [INFO] [stdout] 14 │+ resource: wgpu::BindingResource::Buffer(params.transforms), [INFO] [stdout] 15 │+ }, [INFO] [stdout] 16 │+ } [INFO] [stdout] 17 │+ } [INFO] [stdout] 18 │+ pub fn into_array(self) -> [wgpu::BindGroupEntry<'a>; 1] { [INFO] [stdout] 19 │+ [self.transforms] [INFO] [stdout] 20 │+ } [INFO] [stdout] 21 │+ pub fn collect>>(self) -> B { [INFO] [stdout] 22 │+ self.into_array().into_iter().collect() [INFO] [stdout] 16 23 │ } [INFO] [stdout] 17 │- } [INFO] [stdout] 18 │- pub fn into_array(self) -> [wgpu::BindGroupEntry<'a>; 1] { [INFO] [stdout] 19 │- [self.transforms] [INFO] [stdout] 20 │- } [INFO] [stdout] 21 │- pub fn collect>>(self) -> B { [INFO] [stdout] 22 │- self.into_array().into_iter().collect() [INFO] [stdout] 23 │- } [INFO] [stdout] 24 24 │ } [INFO] [stdout] 25 25 │ #[derive(Debug)] [INFO] [stdout] 26 26 │ pub struct WgpuBindGroup0(wgpu::BindGroup); [INFO] [stdout] 27 27 │ impl WgpuBindGroup0 { [INFO] [stdout] 28 │- pub const LAYOUT_DESCRIPTOR: wgpu::BindGroupLayoutDescriptor<'static> = [INFO] [stdout] 29 │- wgpu::BindGroupLayoutDescriptor { [INFO] [stdout] 30 │- label: Some("Test::BindGroup0::LayoutDescriptor"), [INFO] [stdout] 31 │- entries: &[ [INFO] [stdout] 32 │- #[doc = " @binding(0): \"transforms\""] [INFO] [stdout] 33 │- wgpu::BindGroupLayoutEntry { [INFO] [stdout] 34 │- binding: 0, [INFO] [stdout] 35 │- visibility: wgpu::ShaderStages::FRAGMENT, [INFO] [stdout] 36 │- ty: wgpu::BindingType::Buffer { [INFO] [stdout] 37 │- ty: wgpu::BufferBindingType::Uniform, [INFO] [stdout] 38 │- has_dynamic_offset: false, [INFO] [stdout] 39 │- min_binding_size: std::num::NonZeroU64::new(std::mem::size_of::< [INFO] [stdout] 40 │- _root::test::Transforms, [INFO] [stdout] 41 │- >() as _), [INFO] [stdout] 42 │- }, [INFO] [stdout] 43 │- count: None, [INFO] [stdout] 44 │- }, [INFO] [stdout] 45 │- ], [INFO] [stdout] 28 │+ pub const LAYOUT_DESCRIPTOR: wgpu::BindGroupLayoutDescriptor<'static> = wgpu::BindGroupLayoutDescriptor { [INFO] [stdout] 29 │+ label: Some("Test::BindGroup0::LayoutDescriptor"), [INFO] [stdout] 30 │+ entries: &[ [INFO] [stdout] 31 │+ /// @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( [INFO] [stdout] 39 │+ std::mem::size_of::<_root::test::Transforms>() as _, [INFO] [stdout] 40 │+ ), [INFO] [stdout] 41 │+ }, [INFO] [stdout] 42 │+ count: None, [INFO] [stdout] 43 │+ }, [INFO] [stdout] 44 │+ ], [INFO] [stdout] 46 45 │ }; [INFO] [stdout] 47 │- pub fn get_bind_group_layout(device: &wgpu::Device) -> wgpu::BindGroupLayout { [INFO] [stdout] 48 │- device.create_bind_group_layout(&Self::LAYOUT_DESCRIPTOR) [INFO] [stdout] 49 │- } [INFO] [stdout] 50 │- pub fn from_bindings(device: &wgpu::Device, bindings: WgpuBindGroup0Entries) -> Self { [INFO] [stdout] 51 │- let bind_group_layout = Self::get_bind_group_layout(device); [INFO] [stdout] 52 │- let entries = bindings.into_array(); [INFO] [stdout] 53 │- let bind_group = device.create_bind_group(&wgpu::BindGroupDescriptor { [INFO] [stdout] 54 │- label: Some("Test::BindGroup0"), [INFO] [stdout] 55 │- layout: &bind_group_layout, [INFO] [stdout] 56 │- entries: &entries, [INFO] [stdout] 57 │- }); [INFO] [stdout] 58 │- Self(bind_group) [INFO] [stdout] 59 │- } [INFO] [stdout] 60 │- pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 61 │- pass.set_bind_group(0, &self.0, &[]); [INFO] [stdout] 62 │- } [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( [INFO] [stdout] 50 │+ device: &wgpu::Device, [INFO] [stdout] 51 │+ bindings: WgpuBindGroup0Entries, [INFO] [stdout] 52 │+ ) -> Self { [INFO] [stdout] 53 │+ let bind_group_layout = Self::get_bind_group_layout(device); [INFO] [stdout] 54 │+ let entries = bindings.into_array(); [INFO] [stdout] 55 │+ let bind_group = device [INFO] [stdout] 56 │+ .create_bind_group( [INFO] [stdout] 57 │+ &wgpu::BindGroupDescriptor { [INFO] [stdout] 58 │+ label: Some("Test::BindGroup0"), [INFO] [stdout] 59 │+ layout: &bind_group_layout, [INFO] [stdout] 60 │+ entries: &entries, [INFO] [stdout] 61 │+ }, [INFO] [stdout] 62 │+ ); [INFO] [stdout] 63 │+ Self(bind_group) [INFO] [stdout] 64 │+ } [INFO] [stdout] 65 │+ pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 66 │+ pass.set_bind_group(0, &self.0, &[]); [INFO] [stdout] 67 │+ } [INFO] [stdout] 63 68 │ } [INFO] [stdout] 64 │-#[doc = " Bind groups can be set individually using their set(render_pass) method, or all at once using `WgpuBindGroups::set`."] [INFO] [stdout] 65 │-#[doc = " For optimal performance with many draw calls, it's recommended to organize bindings into bind groups based on update frequency:"] [INFO] [stdout] 66 │-#[doc = " - Bind group 0: Least frequent updates (e.g. per frame resources)"] [INFO] [stdout] 67 │-#[doc = " - Bind group 1: More frequent updates"] [INFO] [stdout] 68 │-#[doc = " - Bind group 2: More frequent updates"] [INFO] [stdout] 69 │-#[doc = " - Bind group 3: Most frequent updates (e.g. per draw resources)"] [INFO] [stdout] 69 │+/// Bind groups can be set individually using their set(render_pass) method, or all at once using `WgpuBindGroups::set`. [INFO] [stdout] 70 │+/// For optimal performance with many draw calls, it's recommended to organize bindings into bind groups based on update frequency: [INFO] [stdout] 71 │+/// - Bind group 0: Least frequent updates (e.g. per frame resources) [INFO] [stdout] 72 │+/// - Bind group 1: More frequent updates [INFO] [stdout] 73 │+/// - Bind group 2: More frequent updates [INFO] [stdout] 74 │+/// - Bind group 3: Most frequent updates (e.g. per draw resources) [INFO] [stdout] 70 75 │ #[derive(Debug, Copy, Clone)] [INFO] [stdout] 71 76 │ pub struct WgpuBindGroups<'a> { [INFO] [stdout] 72 │- pub bind_group0: &'a WgpuBindGroup0, [INFO] [stdout] 77 │+ pub bind_group0: &'a WgpuBindGroup0, [INFO] [stdout] 73 78 │ } [INFO] [stdout] 74 79 │ impl<'a> WgpuBindGroups<'a> { [INFO] [stdout] 75 │- pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 76 │- self.bind_group0.set(pass); [INFO] [stdout] 77 │- } [INFO] [stdout] 80 │+ pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 81 │+ self.bind_group0.set(pass); [INFO] [stdout] 82 │+ } [INFO] [stdout] 78 83 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'generate::bind_group::tests::bind_groups_module_fragment' (44) 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: 0x64c0e9637a32 - std::backtrace_rs::backtrace::libunwind::trace::h9ea1e07ac77a25d7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x64c0e9637a32 - std::backtrace_rs::backtrace::trace_unsynchronized::h72b75eb83b53d15a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x64c0e9637a32 - std::sys::backtrace::_print_fmt::h255777b7ec902439 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x64c0e9637a32 - ::fmt::h8a1ac49fcd7ee8ce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x64c0e964b7af - core::fmt::rt::Argument::fmt::h635cbf3c6754cc90 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x64c0e964b7af - core::fmt::write::hbdcc0ec4f1bab1db [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x64c0e9602ef3 - std::io::default_write_fmt::h2580ece0d4b58e51 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x64c0e9602ef3 - std::io::Write::write_fmt::hac9e42858f273b87 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x64c0e960f802 - std::sys::backtrace::BacktraceLock::print::h052febbd86f7bf07 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x64c0e96154df - std::panicking::default_hook::{{closure}}::h66aeee20dd470abb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x64c0e9615371 - std::panicking::default_hook::h9d66b9642014ce48 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x64c0e8d48e0e - as core::ops::function::Fn>::call::h8c698701e444e564 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 12: 0x64c0e8d48e0e - test::test_main_with_exit_callback::{{closure}}::ha1c98e7b69c4defb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x64c0e9615b9f - as core::ops::function::Fn>::call::hc4f222a8a57c637a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 14: 0x64c0e9615b9f - std::panicking::panic_with_hook::h6d5921a1a1fa5a8e [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x64c0e961594a - std::panicking::panic_handler::{{closure}}::hafeef6f707d43542 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x64c0e960f939 - std::sys::backtrace::__rust_end_short_backtrace::h08cbc3319a3d0120 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x64c0e95f65ad - __rustc[ce5c411ff86ab1b2]::rust_begin_unwind [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x64c0e9656830 - core::panicking::panic_fmt::h774fb860369a0f7b [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x64c0e96554f6 - core::result::unwrap_failed::h72ee8fcbf1bf8ff9 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1862:5 [INFO] [stdout] 20: 0x64c0e8b3c34b - core::result::Result::unwrap::h684f7c72affd3dee [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1233:23 [INFO] [stdout] 21: 0x64c0e8b3c34b - wgsl_bindgen::generate::bind_group::tests::bind_groups_module_fragment::{{closure}}::h68594a042209c1a1 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x64c0e8ac536f - insta::settings::Settings::bind::hbe6b34c6df0d3477 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.2/src/settings.rs:509:9 [INFO] [stdout] 23: 0x64c0e8b3be75 - wgsl_bindgen::generate::bind_group::tests::bind_groups_module_fragment::hc5216e056ecc2706 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x64c0e8b3c447 - wgsl_bindgen::generate::bind_group::tests::bind_groups_module_fragment::{{closure}}::hac707c4a3257c925 [INFO] [stdout] at /opt/rustwide/workdir/src/generate/bind_group/mod.rs:503:35 [INFO] [stdout] 25: 0x64c0e8afebb6 - core::ops::function::FnOnce::call_once::h7d9fddd7cb221fe9 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x64c0e8d48c5b - core::ops::function::FnOnce::call_once::h4f6eabe90cccb47d [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x64c0e8d48c5b - test::__rust_begin_short_backtrace::h94208530f2b4c8c7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x64c0e8d5cc6d - test::run_test_in_process::{{closure}}::hbdc6a45a78c46404 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x64c0e8d5cc6d - as core::ops::function::FnOnce<()>>::call_once::h7f9d8efc7eedd165 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x64c0e8d5cc6d - std::panicking::catch_unwind::do_call::he5edbaf126c13b99 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x64c0e8d5cc6d - std::panicking::catch_unwind::h3d6a8652eceeabce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x64c0e8d5cc6d - std::panic::catch_unwind::hbef0c501dd7bb498 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x64c0e8d5cc6d - test::run_test_in_process::h400008a46a5006a0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x64c0e8d5cc6d - test::run_test::{{closure}}::h9a131655b31d9427 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x64c0e8d361b4 - test::run_test::{{closure}}::he4a7177c216308c0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x64c0e8d361b4 - std::sys::backtrace::__rust_begin_short_backtrace::hd3980e9c55d6c539 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x64c0e8d39aea - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h18552df67c7aa9b8 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:562:17 [INFO] [stdout] 38: 0x64c0e8d39aea - as core::ops::function::FnOnce<()>>::call_once::h3d7b285234641a08 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x64c0e8d39aea - std::panicking::catch_unwind::do_call::h5a2b5cf36528a5b2 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x64c0e8d39aea - std::panicking::catch_unwind::h7e8b531bbda77d20 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x64c0e8d39aea - std::panic::catch_unwind::hf9bbb2040b4f1e6c [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x64c0e8d39aea - std::thread::Builder::spawn_unchecked_::{{closure}}::h600f92cf68549574 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:560:30 [INFO] [stdout] 43: 0x64c0e8d39aea - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb6607307df8a1847 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x64c0e960ab4f - as core::ops::function::FnOnce>::call_once::h6891ad53a5ed6f52 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2085:9 [INFO] [stdout] 45: 0x64c0e960ab4f - std::sys::thread::unix::Thread::new::thread_start::h7f3e77fa86df70af [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/thread/unix.rs:124:17 [INFO] [stdout] 46: 0x7f6eeb82aaa4 - [INFO] [stdout] 47: 0x7f6eeb8b7a64 - 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 'c2e32f1c9652b13ed99608599c1e855462f421f3'. [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] 1 1 │ impl VertexInput0 { [INFO] [stdout] 2 │- pub const VERTEX_ATTRIBUTES: [wgpu::VertexAttribute; 4] = [ [INFO] [stdout] 3 │- wgpu::VertexAttribute { [INFO] [stdout] 4 │- format: wgpu::VertexFormat::Float32, [INFO] [stdout] 5 │- offset: std::mem::offset_of!(Self, a) as u64, [INFO] [stdout] 6 │- shader_location: 0, [INFO] [stdout] 7 │- }, [INFO] [stdout] 8 │- wgpu::VertexAttribute { [INFO] [stdout] 9 │- format: wgpu::VertexFormat::Float32x2, [INFO] [stdout] 10 │- offset: std::mem::offset_of!(Self, b) as u64, [INFO] [stdout] 11 │- shader_location: 1, [INFO] [stdout] 12 │- }, [INFO] [stdout] 13 │- wgpu::VertexAttribute { [INFO] [stdout] 14 │- format: wgpu::VertexFormat::Float32x3, [INFO] [stdout] 15 │- offset: std::mem::offset_of!(Self, c) as u64, [INFO] [stdout] 16 │- shader_location: 2, [INFO] [stdout] 17 │- }, [INFO] [stdout] 18 │- wgpu::VertexAttribute { [INFO] [stdout] 19 │- format: wgpu::VertexFormat::Float32x4, [INFO] [stdout] 20 │- offset: std::mem::offset_of!(Self, d) as u64, [INFO] [stdout] 21 │- shader_location: 3, [INFO] [stdout] 22 │- }, [INFO] [stdout] 23 │- ]; [INFO] [stdout] 24 │- pub const fn vertex_buffer_layout( [INFO] [stdout] 25 │- step_mode: wgpu::VertexStepMode, [INFO] [stdout] 26 │- ) -> wgpu::VertexBufferLayout<'static> { [INFO] [stdout] 27 │- wgpu::VertexBufferLayout { [INFO] [stdout] 28 │- array_stride: std::mem::size_of::() as u64, [INFO] [stdout] 29 │- step_mode, [INFO] [stdout] 30 │- attributes: &Self::VERTEX_ATTRIBUTES, [INFO] [stdout] 2 │+ pub const VERTEX_ATTRIBUTES: [wgpu::VertexAttribute; 4] = [ [INFO] [stdout] 3 │+ wgpu::VertexAttribute { [INFO] [stdout] 4 │+ format: wgpu::VertexFormat::Float32, [INFO] [stdout] 5 │+ offset: std::mem::offset_of!(Self, a) as u64, [INFO] [stdout] 6 │+ shader_location: 0, [INFO] [stdout] 7 │+ }, [INFO] [stdout] 8 │+ wgpu::VertexAttribute { [INFO] [stdout] 9 │+ format: wgpu::VertexFormat::Float32x2, [INFO] [stdout] 10 │+ offset: std::mem::offset_of!(Self, b) as u64, [INFO] [stdout] 11 │+ shader_location: 1, [INFO] [stdout] 12 │+ }, [INFO] [stdout] 13 │+ wgpu::VertexAttribute { [INFO] [stdout] 14 │+ format: wgpu::VertexFormat::Float32x3, [INFO] [stdout] 15 │+ offset: std::mem::offset_of!(Self, c) as u64, [INFO] [stdout] 16 │+ shader_location: 2, [INFO] [stdout] 17 │+ }, [INFO] [stdout] 18 │+ wgpu::VertexAttribute { [INFO] [stdout] 19 │+ format: wgpu::VertexFormat::Float32x4, [INFO] [stdout] 20 │+ offset: std::mem::offset_of!(Self, d) as u64, [INFO] [stdout] 21 │+ shader_location: 3, [INFO] [stdout] 22 │+ }, [INFO] [stdout] 23 │+ ]; [INFO] [stdout] 24 │+ pub const fn vertex_buffer_layout( [INFO] [stdout] 25 │+ step_mode: wgpu::VertexStepMode, [INFO] [stdout] 26 │+ ) -> wgpu::VertexBufferLayout<'static> { [INFO] [stdout] 27 │+ wgpu::VertexBufferLayout { [INFO] [stdout] 28 │+ array_stride: std::mem::size_of::() as u64, [INFO] [stdout] 29 │+ step_mode, [INFO] [stdout] 30 │+ attributes: &Self::VERTEX_ATTRIBUTES, [INFO] [stdout] 31 │+ } [INFO] [stdout] 31 32 │ } [INFO] [stdout] 32 │- } [INFO] [stdout] 33 33 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'generate::entry::test::write_vertex_module_single_input_float32' (231) 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: 0x64c0e9637a32 - std::backtrace_rs::backtrace::libunwind::trace::h9ea1e07ac77a25d7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x64c0e9637a32 - std::backtrace_rs::backtrace::trace_unsynchronized::h72b75eb83b53d15a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x64c0e9637a32 - std::sys::backtrace::_print_fmt::h255777b7ec902439 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x64c0e9637a32 - ::fmt::h8a1ac49fcd7ee8ce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x64c0e964b7af - core::fmt::rt::Argument::fmt::h635cbf3c6754cc90 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x64c0e964b7af - core::fmt::write::hbdcc0ec4f1bab1db [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x64c0e9602ef3 - std::io::default_write_fmt::h2580ece0d4b58e51 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x64c0e9602ef3 - std::io::Write::write_fmt::hac9e42858f273b87 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x64c0e960f802 - std::sys::backtrace::BacktraceLock::print::h052febbd86f7bf07 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x64c0e96154df - std::panicking::default_hook::{{closure}}::h66aeee20dd470abb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x64c0e9615371 - std::panicking::default_hook::h9d66b9642014ce48 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x64c0e8d48e0e - as core::ops::function::Fn>::call::h8c698701e444e564 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 12: 0x64c0e8d48e0e - test::test_main_with_exit_callback::{{closure}}::ha1c98e7b69c4defb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x64c0e9615b9f - as core::ops::function::Fn>::call::hc4f222a8a57c637a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 14: 0x64c0e9615b9f - std::panicking::panic_with_hook::h6d5921a1a1fa5a8e [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x64c0e961594a - std::panicking::panic_handler::{{closure}}::hafeef6f707d43542 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x64c0e960f939 - std::sys::backtrace::__rust_end_short_backtrace::h08cbc3319a3d0120 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x64c0e95f65ad - __rustc[ce5c411ff86ab1b2]::rust_begin_unwind [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x64c0e9656830 - core::panicking::panic_fmt::h774fb860369a0f7b [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x64c0e96554f6 - core::result::unwrap_failed::h72ee8fcbf1bf8ff9 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1862:5 [INFO] [stdout] 20: 0x64c0e8b459db - core::result::Result::unwrap::h684f7c72affd3dee [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1233:23 [INFO] [stdout] 21: 0x64c0e8b459db - wgsl_bindgen::generate::entry::test::write_vertex_module_single_input_float32::{{closure}}::h15d8c91aea5121f0 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x64c0e8ac4a0f - insta::settings::Settings::bind::h6986170d273f8c73 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.2/src/settings.rs:509:9 [INFO] [stdout] 23: 0x64c0e8b45525 - wgsl_bindgen::generate::entry::test::write_vertex_module_single_input_float32::h632d07a9f5a2d810 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x64c0e8b45b27 - wgsl_bindgen::generate::entry::test::write_vertex_module_single_input_float32::{{closure}}::h8b04141508200dd8 [INFO] [stdout] at /opt/rustwide/workdir/src/generate/entry.rs:336:48 [INFO] [stdout] 25: 0x64c0e8afec86 - core::ops::function::FnOnce::call_once::h81bf31be14411a29 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x64c0e8d48c5b - core::ops::function::FnOnce::call_once::h4f6eabe90cccb47d [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x64c0e8d48c5b - test::__rust_begin_short_backtrace::h94208530f2b4c8c7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x64c0e8d5cc6d - test::run_test_in_process::{{closure}}::hbdc6a45a78c46404 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x64c0e8d5cc6d - as core::ops::function::FnOnce<()>>::call_once::h7f9d8efc7eedd165 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x64c0e8d5cc6d - std::panicking::catch_unwind::do_call::he5edbaf126c13b99 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x64c0e8d5cc6d - std::panicking::catch_unwind::h3d6a8652eceeabce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x64c0e8d5cc6d - std::panic::catch_unwind::hbef0c501dd7bb498 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x64c0e8d5cc6d - test::run_test_in_process::h400008a46a5006a0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x64c0e8d5cc6d - test::run_test::{{closure}}::h9a131655b31d9427 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x64c0e8d361b4 - test::run_test::{{closure}}::he4a7177c216308c0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x64c0e8d361b4 - std::sys::backtrace::__rust_begin_short_backtrace::hd3980e9c55d6c539 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x64c0e8d39aea - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h18552df67c7aa9b8 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:562:17 [INFO] [stdout] 38: 0x64c0e8d39aea - as core::ops::function::FnOnce<()>>::call_once::h3d7b285234641a08 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x64c0e8d39aea - std::panicking::catch_unwind::do_call::h5a2b5cf36528a5b2 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x64c0e8d39aea - std::panicking::catch_unwind::h7e8b531bbda77d20 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x64c0e8d39aea - std::panic::catch_unwind::hf9bbb2040b4f1e6c [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x64c0e8d39aea - std::thread::Builder::spawn_unchecked_::{{closure}}::h600f92cf68549574 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:560:30 [INFO] [stdout] 43: 0x64c0e8d39aea - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb6607307df8a1847 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x64c0e960ab4f - as core::ops::function::FnOnce>::call_once::h6891ad53a5ed6f52 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2085:9 [INFO] [stdout] 45: 0x64c0e960ab4f - std::sys::thread::unix::Thread::new::thread_start::h7f3e77fa86df70af [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/thread/unix.rs:124:17 [INFO] [stdout] 46: 0x7f6eeb82aaa4 - [INFO] [stdout] 47: 0x7f6eeb8b7a64 - 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 'c2e32f1c9652b13ed99608599c1e855462f421f3'. [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] 1 1 │ #[derive(Debug)] [INFO] [stdout] 2 2 │ pub struct WgpuBindGroup0EntriesParams<'a> { [INFO] [stdout] 3 │- pub color_texture: &'a wgpu::TextureView, [INFO] [stdout] 4 │- pub color_texture_i32: &'a wgpu::TextureView, [INFO] [stdout] 5 │- pub color_texture_u32: &'a wgpu::TextureView, [INFO] [stdout] 6 │- pub color_sampler: &'a wgpu::Sampler, [INFO] [stdout] 7 │- pub depth_texture: &'a wgpu::TextureView, [INFO] [stdout] 8 │- pub comparison_sampler: &'a wgpu::Sampler, [INFO] [stdout] 9 │- pub storage_tex_read: &'a wgpu::TextureView, [INFO] [stdout] 10 │- pub storage_tex_write: &'a wgpu::TextureView, [INFO] [stdout] 11 │- pub storage_tex_read_write: &'a wgpu::TextureView, [INFO] [stdout] 12 │- pub color_texture_msaa: &'a wgpu::TextureView, [INFO] [stdout] 13 │- pub depth_texture_msaa: &'a wgpu::TextureView, [INFO] [stdout] 3 │+ pub color_texture: &'a wgpu::TextureView, [INFO] [stdout] 4 │+ pub color_texture_i32: &'a wgpu::TextureView, [INFO] [stdout] 5 │+ pub color_texture_u32: &'a wgpu::TextureView, [INFO] [stdout] 6 │+ pub color_sampler: &'a wgpu::Sampler, [INFO] [stdout] 7 │+ pub depth_texture: &'a wgpu::TextureView, [INFO] [stdout] 8 │+ pub comparison_sampler: &'a wgpu::Sampler, [INFO] [stdout] 9 │+ pub storage_tex_read: &'a wgpu::TextureView, [INFO] [stdout] 10 │+ pub storage_tex_write: &'a wgpu::TextureView, [INFO] [stdout] 11 │+ pub storage_tex_read_write: &'a wgpu::TextureView, [INFO] [stdout] 12 │+ pub color_texture_msaa: &'a wgpu::TextureView, [INFO] [stdout] 13 │+ pub depth_texture_msaa: &'a wgpu::TextureView, [INFO] [stdout] 14 14 │ } [INFO] [stdout] 15 15 │ #[derive(Clone, Debug)] [INFO] [stdout] 16 16 │ pub struct WgpuBindGroup0Entries<'a> { [INFO] [stdout] 17 │- pub color_texture: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 18 │- pub color_texture_i32: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 19 │- pub color_texture_u32: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 20 │- pub color_sampler: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 21 │- pub depth_texture: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 22 │- pub comparison_sampler: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 23 │- pub storage_tex_read: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 24 │- pub storage_tex_write: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 25 │- pub storage_tex_read_write: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 26 │- pub color_texture_msaa: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 27 │- pub depth_texture_msaa: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 17 │+ pub color_texture: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 18 │+ pub color_texture_i32: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 19 │+ pub color_texture_u32: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 20 │+ pub color_sampler: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 21 │+ pub depth_texture: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 22 │+ pub comparison_sampler: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 23 │+ pub storage_tex_read: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 24 │+ pub storage_tex_write: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 25 │+ pub storage_tex_read_write: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 26 │+ pub color_texture_msaa: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 27 │+ pub depth_texture_msaa: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 28 28 │ } [INFO] [stdout] 29 29 │ impl<'a> WgpuBindGroup0Entries<'a> { [INFO] [stdout] 30 │- pub fn new(params: WgpuBindGroup0EntriesParams<'a>) -> Self { [INFO] [stdout] 31 │- Self { [INFO] [stdout] 32 │- color_texture: wgpu::BindGroupEntry { [INFO] [stdout] 33 │- binding: 0, [INFO] [stdout] 34 │- resource: wgpu::BindingResource::TextureView(params.color_texture), [INFO] [stdout] 35 │- }, [INFO] [stdout] 36 │- color_texture_i32: wgpu::BindGroupEntry { [INFO] [stdout] 37 │- binding: 1, [INFO] [stdout] 38 │- resource: wgpu::BindingResource::TextureView(params.color_texture_i32), [INFO] [stdout] 39 │- }, [INFO] [stdout] 40 │- color_texture_u32: wgpu::BindGroupEntry { [INFO] [stdout] 41 │- binding: 2, [INFO] [stdout] 42 │- resource: wgpu::BindingResource::TextureView(params.color_texture_u32), [INFO] [stdout] 43 │- }, [INFO] [stdout] 44 │- color_sampler: wgpu::BindGroupEntry { [INFO] [stdout] 45 │- binding: 3, [INFO] [stdout] 46 │- resource: wgpu::BindingResource::Sampler(params.color_sampler), [INFO] [stdout] 47 │- }, [INFO] [stdout] 48 │- depth_texture: wgpu::BindGroupEntry { [INFO] [stdout] 49 │- binding: 4, [INFO] [stdout] 50 │- resource: wgpu::BindingResource::TextureView(params.depth_texture), [INFO] [stdout] 51 │- }, [INFO] [stdout] 52 │- comparison_sampler: wgpu::BindGroupEntry { [INFO] [stdout] 53 │- binding: 5, [INFO] [stdout] 54 │- resource: wgpu::BindingResource::Sampler(params.comparison_sampler), [INFO] [stdout] 55 │- }, [INFO] [stdout] 56 │- storage_tex_read: wgpu::BindGroupEntry { [INFO] [stdout] 57 │- binding: 6, [INFO] [stdout] 58 │- resource: wgpu::BindingResource::TextureView(params.storage_tex_read), [INFO] [stdout] 59 │- }, [INFO] [stdout] 60 │- storage_tex_write: wgpu::BindGroupEntry { [INFO] [stdout] 61 │- binding: 7, [INFO] [stdout] 62 │- resource: wgpu::BindingResource::TextureView(params.storage_tex_write), [INFO] [stdout] 63 │- }, [INFO] [stdout] 64 │- storage_tex_read_write: wgpu::BindGroupEntry { [INFO] [stdout] 65 │- binding: 8, [INFO] [stdout] 66 │- resource: wgpu::BindingResource::TextureView(params.storage_tex_read_write), [INFO] [stdout] 67 │- }, [INFO] [stdout] 68 │- color_texture_msaa: wgpu::BindGroupEntry { [INFO] [stdout] 69 │- binding: 9, [INFO] [stdout] 70 │- resource: wgpu::BindingResource::TextureView(params.color_texture_msaa), [INFO] [stdout] 71 │- }, [INFO] [stdout] 72 │- depth_texture_msaa: wgpu::BindGroupEntry { [INFO] [stdout] 73 │- binding: 10, [INFO] [stdout] 74 │- resource: wgpu::BindingResource::TextureView(params.depth_texture_msaa), [INFO] [stdout] 75 │- }, [INFO] [stdout] 30 │+ pub fn new(params: WgpuBindGroup0EntriesParams<'a>) -> Self { [INFO] [stdout] 31 │+ Self { [INFO] [stdout] 32 │+ color_texture: wgpu::BindGroupEntry { [INFO] [stdout] 33 │+ binding: 0, [INFO] [stdout] 34 │+ resource: wgpu::BindingResource::TextureView(params.color_texture), [INFO] [stdout] 35 │+ }, [INFO] [stdout] 36 │+ color_texture_i32: wgpu::BindGroupEntry { [INFO] [stdout] 37 │+ binding: 1, [INFO] [stdout] 38 │+ resource: wgpu::BindingResource::TextureView(params.color_texture_i32), [INFO] [stdout] 39 │+ }, [INFO] [stdout] 40 │+ color_texture_u32: wgpu::BindGroupEntry { [INFO] [stdout] 41 │+ binding: 2, [INFO] [stdout] 42 │+ resource: wgpu::BindingResource::TextureView(params.color_texture_u32), [INFO] [stdout] 43 │+ }, [INFO] [stdout] 44 │+ color_sampler: wgpu::BindGroupEntry { [INFO] [stdout] 45 │+ binding: 3, [INFO] [stdout] 46 │+ resource: wgpu::BindingResource::Sampler(params.color_sampler), [INFO] [stdout] 47 │+ }, [INFO] [stdout] 48 │+ depth_texture: wgpu::BindGroupEntry { [INFO] [stdout] 49 │+ binding: 4, [INFO] [stdout] 50 │+ resource: wgpu::BindingResource::TextureView(params.depth_texture), [INFO] [stdout] 51 │+ }, [INFO] [stdout] 52 │+ comparison_sampler: wgpu::BindGroupEntry { [INFO] [stdout] 53 │+ binding: 5, [INFO] [stdout] 54 │+ resource: wgpu::BindingResource::Sampler(params.comparison_sampler), [INFO] [stdout] 55 │+ }, [INFO] [stdout] 56 │+ storage_tex_read: wgpu::BindGroupEntry { [INFO] [stdout] 57 │+ binding: 6, [INFO] [stdout] 58 │+ resource: wgpu::BindingResource::TextureView(params.storage_tex_read), [INFO] [stdout] 59 │+ }, [INFO] [stdout] 60 │+ storage_tex_write: wgpu::BindGroupEntry { [INFO] [stdout] 61 │+ binding: 7, [INFO] [stdout] 62 │+ resource: wgpu::BindingResource::TextureView(params.storage_tex_write), [INFO] [stdout] 63 │+ }, [INFO] [stdout] 64 │+ storage_tex_read_write: wgpu::BindGroupEntry { [INFO] [stdout] 65 │+ binding: 8, [INFO] [stdout] 66 │+ resource: wgpu::BindingResource::TextureView( [INFO] [stdout] 67 │+ params.storage_tex_read_write, [INFO] [stdout] 68 │+ ), [INFO] [stdout] 69 │+ }, [INFO] [stdout] 70 │+ color_texture_msaa: wgpu::BindGroupEntry { [INFO] [stdout] 71 │+ binding: 9, [INFO] [stdout] 72 │+ resource: wgpu::BindingResource::TextureView(params.color_texture_msaa), [INFO] [stdout] 73 │+ }, [INFO] [stdout] 74 │+ depth_texture_msaa: wgpu::BindGroupEntry { [INFO] [stdout] 75 │+ binding: 10, [INFO] [stdout] 76 │+ resource: wgpu::BindingResource::TextureView(params.depth_texture_msaa), [INFO] [stdout] 77 │+ }, [INFO] [stdout] 78 │+ } [INFO] [stdout] 79 │+ } [INFO] [stdout] 80 │+ pub fn into_array(self) -> [wgpu::BindGroupEntry<'a>; 11] { [INFO] [stdout] 81 │+ [ [INFO] [stdout] 82 │+ self.color_texture, [INFO] [stdout] 83 │+ self.color_texture_i32, [INFO] [stdout] 84 │+ self.color_texture_u32, [INFO] [stdout] 85 │+ self.color_sampler, [INFO] [stdout] 86 │+ self.depth_texture, [INFO] [stdout] 87 │+ self.comparison_sampler, [INFO] [stdout] 88 │+ self.storage_tex_read, [INFO] [stdout] 89 │+ self.storage_tex_write, [INFO] [stdout] 90 │+ self.storage_tex_read_write, [INFO] [stdout] 91 │+ self.color_texture_msaa, [INFO] [stdout] 92 │+ self.depth_texture_msaa, [INFO] [stdout] 93 │+ ] [INFO] [stdout] 94 │+ } [INFO] [stdout] 95 │+ pub fn collect>>(self) -> B { [INFO] [stdout] 96 │+ self.into_array().into_iter().collect() [INFO] [stdout] 76 97 │ } [INFO] [stdout] 77 │- } [INFO] [stdout] 78 │- pub fn into_array(self) -> [wgpu::BindGroupEntry<'a>; 11] { [INFO] [stdout] 79 │- [ [INFO] [stdout] 80 │- self.color_texture, [INFO] [stdout] 81 │- self.color_texture_i32, [INFO] [stdout] 82 │- self.color_texture_u32, [INFO] [stdout] 83 │- self.color_sampler, [INFO] [stdout] 84 │- self.depth_texture, [INFO] [stdout] 85 │- self.comparison_sampler, [INFO] [stdout] 86 │- self.storage_tex_read, [INFO] [stdout] 87 │- self.storage_tex_write, [INFO] [stdout] 88 │- self.storage_tex_read_write, [INFO] [stdout] 89 │- self.color_texture_msaa, [INFO] [stdout] 90 │- self.depth_texture_msaa, [INFO] [stdout] 91 │- ] [INFO] [stdout] 92 │- } [INFO] [stdout] 93 │- pub fn collect>>(self) -> B { [INFO] [stdout] 94 │- self.into_array().into_iter().collect() [INFO] [stdout] 95 │- } [INFO] [stdout] 96 98 │ } [INFO] [stdout] 97 99 │ #[derive(Debug)] [INFO] [stdout] 98 100 │ pub struct WgpuBindGroup0(wgpu::BindGroup); [INFO] [stdout] 99 101 │ impl WgpuBindGroup0 { [INFO] [stdout] 100 │- pub const LAYOUT_DESCRIPTOR: wgpu::BindGroupLayoutDescriptor<'static> = [INFO] [stdout] 101 │- wgpu::BindGroupLayoutDescriptor { [INFO] [stdout] 102 │- label: Some("Test::BindGroup0::LayoutDescriptor"), [INFO] [stdout] 103 │- entries: &[ [INFO] [stdout] 104 │- #[doc = " @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 { filterable: true }, [INFO] [stdout] 110 │- view_dimension: wgpu::TextureViewDimension::D2, [INFO] [stdout] 111 │- multisampled: false, [INFO] [stdout] 112 │- }, [INFO] [stdout] 113 │- count: None, [INFO] [stdout] 114 │- }, [INFO] [stdout] 115 │- #[doc = " @binding(1): \"color_texture_i32\""] [INFO] [stdout] 116 │- wgpu::BindGroupLayoutEntry { [INFO] [stdout] 117 │- binding: 1, [INFO] [stdout] 118 │- visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 119 │- ty: wgpu::BindingType::Texture { [INFO] [stdout] 120 │- sample_type: wgpu::TextureSampleType::Sint, [INFO] [stdout] 121 │- view_dimension: wgpu::TextureViewDimension::D2, [INFO] [stdout] 122 │- multisampled: false, [INFO] [stdout] 123 │- }, [INFO] [stdout] 124 │- count: None, [INFO] [stdout] 125 │- }, [INFO] [stdout] 126 │- #[doc = " @binding(2): \"color_texture_u32\""] [INFO] [stdout] 127 │- wgpu::BindGroupLayoutEntry { [INFO] [stdout] 128 │- binding: 2, [INFO] [stdout] 129 │- visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 130 │- ty: wgpu::BindingType::Texture { [INFO] [stdout] 131 │- sample_type: wgpu::TextureSampleType::Uint, [INFO] [stdout] 132 │- view_dimension: wgpu::TextureViewDimension::D2, [INFO] [stdout] 133 │- multisampled: false, [INFO] [stdout] 134 │- }, [INFO] [stdout] 135 │- count: None, [INFO] [stdout] 136 │- }, [INFO] [stdout] 137 │- #[doc = " @binding(3): \"color_sampler\""] [INFO] [stdout] 138 │- wgpu::BindGroupLayoutEntry { [INFO] [stdout] 139 │- binding: 3, [INFO] [stdout] 140 │- visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 141 │- ty: wgpu::BindingType::Sampler(wgpu::SamplerBindingType::Filtering), [INFO] [stdout] 142 │- count: None, [INFO] [stdout] 143 │- }, [INFO] [stdout] 144 │- #[doc = " @binding(4): \"depth_texture\""] [INFO] [stdout] 145 │- wgpu::BindGroupLayoutEntry { [INFO] [stdout] 146 │- binding: 4, [INFO] [stdout] 147 │- visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 148 │- ty: wgpu::BindingType::Texture { [INFO] [stdout] 149 │- sample_type: wgpu::TextureSampleType::Depth, [INFO] [stdout] 150 │- view_dimension: wgpu::TextureViewDimension::D2, [INFO] [stdout] 151 │- multisampled: false, [INFO] [stdout] 152 │- }, [INFO] [stdout] 153 │- count: None, [INFO] [stdout] 154 │- }, [INFO] [stdout] 155 │- #[doc = " @binding(5): \"comparison_sampler\""] [INFO] [stdout] 156 │- wgpu::BindGroupLayoutEntry { [INFO] [stdout] 157 │- binding: 5, [INFO] [stdout] 158 │- visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 159 │- ty: wgpu::BindingType::Sampler(wgpu::SamplerBindingType::Comparison), [INFO] [stdout] 160 │- count: None, [INFO] [stdout] 161 │- }, [INFO] [stdout] 162 │- #[doc = " @binding(6): \"storage_tex_read\""] [INFO] [stdout] 163 │- wgpu::BindGroupLayoutEntry { [INFO] [stdout] 164 │- binding: 6, [INFO] [stdout] 165 │- visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 166 │- ty: wgpu::BindingType::StorageTexture { [INFO] [stdout] 167 │- access: wgpu::StorageTextureAccess::ReadOnly, [INFO] [stdout] 168 │- format: wgpu::TextureFormat::R32Float, [INFO] [stdout] 169 │- view_dimension: wgpu::TextureViewDimension::D2, [INFO] [stdout] 170 │- }, [INFO] [stdout] 171 │- count: None, [INFO] [stdout] 172 │- }, [INFO] [stdout] 173 │- #[doc = " @binding(7): \"storage_tex_write\""] [INFO] [stdout] 174 │- wgpu::BindGroupLayoutEntry { [INFO] [stdout] 175 │- binding: 7, [INFO] [stdout] 176 │- visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 177 │- ty: wgpu::BindingType::StorageTexture { [INFO] [stdout] 178 │- access: wgpu::StorageTextureAccess::WriteOnly, [INFO] [stdout] 179 │- format: wgpu::TextureFormat::Rg32Sint, [INFO] [stdout] 180 │- view_dimension: wgpu::TextureViewDimension::D2, [INFO] [stdout] 181 │- }, [INFO] [stdout] 182 │- count: None, [INFO] [stdout] 183 │- }, [INFO] [stdout] 184 │- #[doc = " @binding(8): \"storage_tex_read_write\""] [INFO] [stdout] 185 │- wgpu::BindGroupLayoutEntry { [INFO] [stdout] 186 │- binding: 8, [INFO] [stdout] 187 │- visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 188 │- ty: wgpu::BindingType::StorageTexture { [INFO] [stdout] 189 │- access: wgpu::StorageTextureAccess::ReadWrite, [INFO] [stdout] 190 │- format: wgpu::TextureFormat::Rgba8Uint, [INFO] [stdout] 191 │- view_dimension: wgpu::TextureViewDimension::D2, [INFO] [stdout] 192 │- }, [INFO] [stdout] 193 │- count: None, [INFO] [stdout] 194 │- }, [INFO] [stdout] 195 │- #[doc = " @binding(9): \"color_texture_msaa\""] [INFO] [stdout] 196 │- wgpu::BindGroupLayoutEntry { [INFO] [stdout] 197 │- binding: 9, [INFO] [stdout] 198 │- visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 199 │- ty: wgpu::BindingType::Texture { [INFO] [stdout] 200 │- sample_type: wgpu::TextureSampleType::Float { filterable: true }, [INFO] [stdout] 201 │- view_dimension: wgpu::TextureViewDimension::D2, [INFO] [stdout] 202 │- multisampled: true, [INFO] [stdout] 203 │- }, [INFO] [stdout] 204 │- count: None, [INFO] [stdout] 205 │- }, [INFO] [stdout] 206 │- #[doc = " @binding(10): \"depth_texture_msaa\""] [INFO] [stdout] 207 │- wgpu::BindGroupLayoutEntry { [INFO] [stdout] 208 │- binding: 10, [INFO] [stdout] 209 │- visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 210 │- ty: wgpu::BindingType::Texture { [INFO] [stdout] 211 │- sample_type: wgpu::TextureSampleType::Depth, [INFO] [stdout] 212 │- view_dimension: wgpu::TextureViewDimension::D2, [INFO] [stdout] 213 │- multisampled: true, [INFO] [stdout] 214 │- }, [INFO] [stdout] 215 │- count: None, [INFO] [stdout] 216 │- }, [INFO] [stdout] 217 │- ], [INFO] [stdout] 102 │+ pub const LAYOUT_DESCRIPTOR: wgpu::BindGroupLayoutDescriptor<'static> = wgpu::BindGroupLayoutDescriptor { [INFO] [stdout] 103 │+ label: Some("Test::BindGroup0::LayoutDescriptor"), [INFO] [stdout] 104 │+ entries: &[ [INFO] [stdout] 105 │+ /// @binding(0): "color_texture" [INFO] [stdout] 106 │+ wgpu::BindGroupLayoutEntry { [INFO] [stdout] 107 │+ binding: 0, [INFO] [stdout] 108 │+ visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 109 │+ ty: wgpu::BindingType::Texture { [INFO] [stdout] 110 │+ sample_type: wgpu::TextureSampleType::Float { [INFO] [stdout] 111 │+ filterable: true, [INFO] [stdout] 112 │+ }, [INFO] [stdout] 113 │+ view_dimension: wgpu::TextureViewDimension::D2, [INFO] [stdout] 114 │+ multisampled: false, [INFO] [stdout] 115 │+ }, [INFO] [stdout] 116 │+ count: None, [INFO] [stdout] 117 │+ }, [INFO] [stdout] 118 │+ /// @binding(1): "color_texture_i32" [INFO] [stdout] 119 │+ wgpu::BindGroupLayoutEntry { [INFO] [stdout] 120 │+ binding: 1, [INFO] [stdout] 121 │+ visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 122 │+ ty: wgpu::BindingType::Texture { [INFO] [stdout] 123 │+ sample_type: wgpu::TextureSampleType::Sint, [INFO] [stdout] 124 │+ view_dimension: wgpu::TextureViewDimension::D2, [INFO] [stdout] 125 │+ multisampled: false, [INFO] [stdout] 126 │+ }, [INFO] [stdout] 127 │+ count: None, [INFO] [stdout] 128 │+ }, [INFO] [stdout] 129 │+ /// @binding(2): "color_texture_u32" [INFO] [stdout] 130 │+ wgpu::BindGroupLayoutEntry { [INFO] [stdout] 131 │+ binding: 2, [INFO] [stdout] 132 │+ visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 133 │+ ty: wgpu::BindingType::Texture { [INFO] [stdout] 134 │+ sample_type: wgpu::TextureSampleType::Uint, [INFO] [stdout] 135 │+ view_dimension: wgpu::TextureViewDimension::D2, [INFO] [stdout] 136 │+ multisampled: false, [INFO] [stdout] 137 │+ }, [INFO] [stdout] 138 │+ count: None, [INFO] [stdout] 139 │+ }, [INFO] [stdout] 140 │+ /// @binding(3): "color_sampler" [INFO] [stdout] 141 │+ wgpu::BindGroupLayoutEntry { [INFO] [stdout] 142 │+ binding: 3, [INFO] [stdout] 143 │+ visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 144 │+ ty: wgpu::BindingType::Sampler(wgpu::SamplerBindingType::Filtering), [INFO] [stdout] 145 │+ count: None, [INFO] [stdout] 146 │+ }, [INFO] [stdout] 147 │+ /// @binding(4): "depth_texture" [INFO] [stdout] 148 │+ wgpu::BindGroupLayoutEntry { [INFO] [stdout] 149 │+ binding: 4, [INFO] [stdout] 150 │+ visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 151 │+ ty: wgpu::BindingType::Texture { [INFO] [stdout] 152 │+ sample_type: wgpu::TextureSampleType::Depth, [INFO] [stdout] 153 │+ view_dimension: wgpu::TextureViewDimension::D2, [INFO] [stdout] 154 │+ multisampled: false, [INFO] [stdout] 155 │+ }, [INFO] [stdout] 156 │+ count: None, [INFO] [stdout] 157 │+ }, [INFO] [stdout] 158 │+ /// @binding(5): "comparison_sampler" [INFO] [stdout] 159 │+ wgpu::BindGroupLayoutEntry { [INFO] [stdout] 160 │+ binding: 5, [INFO] [stdout] 161 │+ visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 162 │+ ty: wgpu::BindingType::Sampler(wgpu::SamplerBindingType::Comparison), [INFO] [stdout] 163 │+ count: None, [INFO] [stdout] 164 │+ }, [INFO] [stdout] 165 │+ /// @binding(6): "storage_tex_read" [INFO] [stdout] 166 │+ wgpu::BindGroupLayoutEntry { [INFO] [stdout] 167 │+ binding: 6, [INFO] [stdout] 168 │+ visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 169 │+ ty: wgpu::BindingType::StorageTexture { [INFO] [stdout] 170 │+ access: wgpu::StorageTextureAccess::ReadOnly, [INFO] [stdout] 171 │+ format: wgpu::TextureFormat::R32Float, [INFO] [stdout] 172 │+ view_dimension: wgpu::TextureViewDimension::D2, [INFO] [stdout] 173 │+ }, [INFO] [stdout] 174 │+ count: None, [INFO] [stdout] 175 │+ }, [INFO] [stdout] 176 │+ /// @binding(7): "storage_tex_write" [INFO] [stdout] 177 │+ wgpu::BindGroupLayoutEntry { [INFO] [stdout] 178 │+ binding: 7, [INFO] [stdout] 179 │+ visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 180 │+ ty: wgpu::BindingType::StorageTexture { [INFO] [stdout] 181 │+ access: wgpu::StorageTextureAccess::WriteOnly, [INFO] [stdout] 182 │+ format: wgpu::TextureFormat::Rg32Sint, [INFO] [stdout] 183 │+ view_dimension: wgpu::TextureViewDimension::D2, [INFO] [stdout] 184 │+ }, [INFO] [stdout] 185 │+ count: None, [INFO] [stdout] 186 │+ }, [INFO] [stdout] 187 │+ /// @binding(8): "storage_tex_read_write" [INFO] [stdout] 188 │+ wgpu::BindGroupLayoutEntry { [INFO] [stdout] 189 │+ binding: 8, [INFO] [stdout] 190 │+ visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 191 │+ ty: wgpu::BindingType::StorageTexture { [INFO] [stdout] 192 │+ access: wgpu::StorageTextureAccess::ReadWrite, [INFO] [stdout] 193 │+ format: wgpu::TextureFormat::Rgba8Uint, [INFO] [stdout] 194 │+ view_dimension: wgpu::TextureViewDimension::D2, [INFO] [stdout] 195 │+ }, [INFO] [stdout] 196 │+ count: None, [INFO] [stdout] 197 │+ }, [INFO] [stdout] 198 │+ /// @binding(9): "color_texture_msaa" [INFO] [stdout] 199 │+ wgpu::BindGroupLayoutEntry { [INFO] [stdout] 200 │+ binding: 9, [INFO] [stdout] 201 │+ visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 202 │+ ty: wgpu::BindingType::Texture { [INFO] [stdout] 203 │+ sample_type: wgpu::TextureSampleType::Float { [INFO] [stdout] 204 │+ filterable: true, [INFO] [stdout] 205 │+ }, [INFO] [stdout] 206 │+ view_dimension: wgpu::TextureViewDimension::D2, [INFO] [stdout] 207 │+ multisampled: true, [INFO] [stdout] 208 │+ }, [INFO] [stdout] 209 │+ count: None, [INFO] [stdout] 210 │+ }, [INFO] [stdout] 211 │+ /// @binding(10): "depth_texture_msaa" [INFO] [stdout] 212 │+ wgpu::BindGroupLayoutEntry { [INFO] [stdout] 213 │+ binding: 10, [INFO] [stdout] 214 │+ visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 215 │+ ty: wgpu::BindingType::Texture { [INFO] [stdout] 216 │+ sample_type: wgpu::TextureSampleType::Depth, [INFO] [stdout] 217 │+ view_dimension: wgpu::TextureViewDimension::D2, [INFO] [stdout] 218 │+ multisampled: true, [INFO] [stdout] 219 │+ }, [INFO] [stdout] 220 │+ count: None, [INFO] [stdout] 221 │+ }, [INFO] [stdout] 222 │+ ], [INFO] [stdout] 218 223 │ }; [INFO] [stdout] 219 │- pub fn get_bind_group_layout(device: &wgpu::Device) -> wgpu::BindGroupLayout { [INFO] [stdout] 220 │- device.create_bind_group_layout(&Self::LAYOUT_DESCRIPTOR) [INFO] [stdout] 221 │- } [INFO] [stdout] 222 │- pub fn from_bindings(device: &wgpu::Device, bindings: WgpuBindGroup0Entries) -> Self { [INFO] [stdout] 223 │- let bind_group_layout = Self::get_bind_group_layout(device); [INFO] [stdout] 224 │- let entries = bindings.into_array(); [INFO] [stdout] 225 │- let bind_group = device.create_bind_group(&wgpu::BindGroupDescriptor { [INFO] [stdout] 226 │- label: Some("Test::BindGroup0"), [INFO] [stdout] 227 │- layout: &bind_group_layout, [INFO] [stdout] 228 │- entries: &entries, [INFO] [stdout] 229 │- }); [INFO] [stdout] 230 │- Self(bind_group) [INFO] [stdout] 231 │- } [INFO] [stdout] 232 │- pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 233 │- pass.set_bind_group(0, &self.0, &[]); [INFO] [stdout] 234 │- } [INFO] [stdout] 224 │+ pub fn get_bind_group_layout(device: &wgpu::Device) -> wgpu::BindGroupLayout { [INFO] [stdout] 225 │+ device.create_bind_group_layout(&Self::LAYOUT_DESCRIPTOR) [INFO] [stdout] 226 │+ } [INFO] [stdout] 227 │+ pub fn from_bindings( [INFO] [stdout] 228 │+ device: &wgpu::Device, [INFO] [stdout] 229 │+ bindings: WgpuBindGroup0Entries, [INFO] [stdout] 230 │+ ) -> Self { [INFO] [stdout] 231 │+ let bind_group_layout = Self::get_bind_group_layout(device); [INFO] [stdout] 232 │+ let entries = bindings.into_array(); [INFO] [stdout] 233 │+ let bind_group = device [INFO] [stdout] 234 │+ .create_bind_group( [INFO] [stdout] 235 │+ &wgpu::BindGroupDescriptor { [INFO] [stdout] 236 │+ label: Some("Test::BindGroup0"), [INFO] [stdout] 237 │+ layout: &bind_group_layout, [INFO] [stdout] 238 │+ entries: &entries, [INFO] [stdout] 239 │+ }, [INFO] [stdout] 240 │+ ); [INFO] [stdout] 241 │+ Self(bind_group) [INFO] [stdout] 242 │+ } [INFO] [stdout] 243 │+ pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 244 │+ pass.set_bind_group(0, &self.0, &[]); [INFO] [stdout] 245 │+ } [INFO] [stdout] 235 246 │ } [INFO] [stdout] 236 247 │ #[derive(Debug)] [INFO] [stdout] 237 248 │ pub struct WgpuBindGroup1EntriesParams<'a> { [INFO] [stdout] 238 │- pub transforms: wgpu::BufferBinding<'a>, [INFO] [stdout] 239 │- pub one: wgpu::BufferBinding<'a>, [INFO] [stdout] 249 │+ pub transforms: wgpu::BufferBinding<'a>, [INFO] [stdout] 250 │+ pub one: wgpu::BufferBinding<'a>, [INFO] [stdout] 240 251 │ } [INFO] [stdout] 241 252 │ #[derive(Clone, Debug)] [INFO] [stdout] 242 253 │ pub struct WgpuBindGroup1Entries<'a> { [INFO] [stdout] 243 │- pub transforms: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 244 │- pub one: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 254 │+ pub transforms: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 255 │+ pub one: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 245 256 │ } [INFO] [stdout] 246 257 │ impl<'a> WgpuBindGroup1Entries<'a> { [INFO] [stdout] 247 │- pub fn new(params: WgpuBindGroup1EntriesParams<'a>) -> Self { [INFO] [stdout] 248 │- Self { [INFO] [stdout] 249 │- transforms: wgpu::BindGroupEntry { [INFO] [stdout] 250 │- binding: 0, [INFO] [stdout] 251 │- resource: wgpu::BindingResource::Buffer(params.transforms), [INFO] [stdout] 252 │- }, [INFO] [stdout] 253 │- one: wgpu::BindGroupEntry { [INFO] [stdout] 254 │- binding: 1, [INFO] [stdout] 255 │- resource: wgpu::BindingResource::Buffer(params.one), [INFO] [stdout] 256 │- }, [INFO] [stdout] 258 │+ pub fn new(params: WgpuBindGroup1EntriesParams<'a>) -> Self { [INFO] [stdout] 259 │+ Self { [INFO] [stdout] 260 │+ transforms: wgpu::BindGroupEntry { [INFO] [stdout] 261 │+ binding: 0, [INFO] [stdout] 262 │+ resource: wgpu::BindingResource::Buffer(params.transforms), [INFO] [stdout] 263 │+ }, [INFO] [stdout] 264 │+ one: wgpu::BindGroupEntry { [INFO] [stdout] 265 │+ binding: 1, [INFO] [stdout] 266 │+ resource: wgpu::BindingResource::Buffer(params.one), [INFO] [stdout] 267 │+ }, [INFO] [stdout] 268 │+ } [INFO] [stdout] 269 │+ } [INFO] [stdout] 270 │+ pub fn into_array(self) -> [wgpu::BindGroupEntry<'a>; 2] { [INFO] [stdout] 271 │+ [self.transforms, self.one] [INFO] [stdout] 272 │+ } [INFO] [stdout] 273 │+ pub fn collect>>(self) -> B { [INFO] [stdout] 274 │+ self.into_array().into_iter().collect() [INFO] [stdout] 257 275 │ } [INFO] [stdout] 258 │- } [INFO] [stdout] 259 │- pub fn into_array(self) -> [wgpu::BindGroupEntry<'a>; 2] { [INFO] [stdout] 260 │- [self.transforms, self.one] [INFO] [stdout] 261 │- } [INFO] [stdout] 262 │- pub fn collect>>(self) -> B { [INFO] [stdout] 263 │- self.into_array().into_iter().collect() [INFO] [stdout] 264 │- } [INFO] [stdout] 265 276 │ } [INFO] [stdout] 266 277 │ #[derive(Debug)] [INFO] [stdout] 267 278 │ pub struct WgpuBindGroup1(wgpu::BindGroup); [INFO] [stdout] 268 279 │ impl WgpuBindGroup1 { [INFO] [stdout] 269 │- pub const LAYOUT_DESCRIPTOR: wgpu::BindGroupLayoutDescriptor<'static> = [INFO] [stdout] 270 │- wgpu::BindGroupLayoutDescriptor { [INFO] [stdout] 271 │- label: Some("Test::BindGroup1::LayoutDescriptor"), [INFO] [stdout] 272 │- entries: &[ [INFO] [stdout] 273 │- #[doc = " @binding(0): \"transforms\""] [INFO] [stdout] 274 │- wgpu::BindGroupLayoutEntry { [INFO] [stdout] 275 │- binding: 0, [INFO] [stdout] 276 │- visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 277 │- ty: wgpu::BindingType::Buffer { [INFO] [stdout] 278 │- ty: wgpu::BufferBindingType::Uniform, [INFO] [stdout] 279 │- has_dynamic_offset: false, [INFO] [stdout] 280 │- min_binding_size: std::num::NonZeroU64::new(std::mem::size_of::< [INFO] [stdout] 281 │- _root::test::Transforms, [INFO] [stdout] 282 │- >() as _), [INFO] [stdout] 283 │- }, [INFO] [stdout] 284 │- count: None, [INFO] [stdout] 285 │- }, [INFO] [stdout] 286 │- #[doc = " @binding(1): \"one\""] [INFO] [stdout] 287 │- wgpu::BindGroupLayoutEntry { [INFO] [stdout] 288 │- binding: 1, [INFO] [stdout] 289 │- visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 290 │- ty: wgpu::BindingType::Buffer { [INFO] [stdout] 291 │- ty: wgpu::BufferBindingType::Uniform, [INFO] [stdout] 292 │- has_dynamic_offset: false, [INFO] [stdout] 293 │- min_binding_size: std::num::NonZeroU64::new(std::mem::size_of::() as _), [INFO] [stdout] 294 │- }, [INFO] [stdout] 295 │- count: None, [INFO] [stdout] 296 │- }, [INFO] [stdout] 297 │- ], [INFO] [stdout] 280 │+ pub const LAYOUT_DESCRIPTOR: wgpu::BindGroupLayoutDescriptor<'static> = wgpu::BindGroupLayoutDescriptor { [INFO] [stdout] 281 │+ label: Some("Test::BindGroup1::LayoutDescriptor"), [INFO] [stdout] 282 │+ entries: &[ [INFO] [stdout] 283 │+ /// @binding(0): "transforms" [INFO] [stdout] 284 │+ wgpu::BindGroupLayoutEntry { [INFO] [stdout] 285 │+ binding: 0, [INFO] [stdout] 286 │+ visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 287 │+ ty: wgpu::BindingType::Buffer { [INFO] [stdout] 288 │+ ty: wgpu::BufferBindingType::Uniform, [INFO] [stdout] 289 │+ has_dynamic_offset: false, [INFO] [stdout] 290 │+ min_binding_size: std::num::NonZeroU64::new( [INFO] [stdout] 291 │+ std::mem::size_of::<_root::test::Transforms>() as _, [INFO] [stdout] 292 │+ ), [INFO] [stdout] 293 │+ }, [INFO] [stdout] 294 │+ count: None, [INFO] [stdout] 295 │+ }, [INFO] [stdout] 296 │+ /// @binding(1): "one" [INFO] [stdout] 297 │+ wgpu::BindGroupLayoutEntry { [INFO] [stdout] 298 │+ binding: 1, [INFO] [stdout] 299 │+ visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 300 │+ ty: wgpu::BindingType::Buffer { [INFO] [stdout] 301 │+ ty: wgpu::BufferBindingType::Uniform, [INFO] [stdout] 302 │+ has_dynamic_offset: false, [INFO] [stdout] 303 │+ min_binding_size: std::num::NonZeroU64::new( [INFO] [stdout] 304 │+ std::mem::size_of::() as _, [INFO] [stdout] 305 │+ ), [INFO] [stdout] 306 │+ }, [INFO] [stdout] 307 │+ count: None, [INFO] [stdout] 308 │+ }, [INFO] [stdout] 309 │+ ], [INFO] [stdout] 298 310 │ }; [INFO] [stdout] 299 │- pub fn get_bind_group_layout(device: &wgpu::Device) -> wgpu::BindGroupLayout { [INFO] [stdout] 300 │- device.create_bind_group_layout(&Self::LAYOUT_DESCRIPTOR) [INFO] [stdout] 301 │- } [INFO] [stdout] 302 │- pub fn from_bindings(device: &wgpu::Device, bindings: WgpuBindGroup1Entries) -> Self { [INFO] [stdout] 303 │- let bind_group_layout = Self::get_bind_group_layout(device); [INFO] [stdout] 304 │- let entries = bindings.into_array(); [INFO] [stdout] 305 │- let bind_group = device.create_bind_group(&wgpu::BindGroupDescriptor { [INFO] [stdout] 306 │- label: Some("Test::BindGroup1"), [INFO] [stdout] 307 │- layout: &bind_group_layout, [INFO] [stdout] 308 │- entries: &entries, [INFO] [stdout] 309 │- }); [INFO] [stdout] 310 │- Self(bind_group) [INFO] [stdout] 311 │- } [INFO] [stdout] 312 │- pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 313 │- pass.set_bind_group(1, &self.0, &[]); [INFO] [stdout] 314 │- } [INFO] [stdout] 311 │+ pub fn get_bind_group_layout(device: &wgpu::Device) -> wgpu::BindGroupLayout { [INFO] [stdout] 312 │+ device.create_bind_group_layout(&Self::LAYOUT_DESCRIPTOR) [INFO] [stdout] 313 │+ } [INFO] [stdout] 314 │+ pub fn from_bindings( [INFO] [stdout] 315 │+ device: &wgpu::Device, [INFO] [stdout] 316 │+ bindings: WgpuBindGroup1Entries, [INFO] [stdout] 317 │+ ) -> Self { [INFO] [stdout] 318 │+ let bind_group_layout = Self::get_bind_group_layout(device); [INFO] [stdout] 319 │+ let entries = bindings.into_array(); [INFO] [stdout] 320 │+ let bind_group = device [INFO] [stdout] 321 │+ .create_bind_group( [INFO] [stdout] 322 │+ &wgpu::BindGroupDescriptor { [INFO] [stdout] 323 │+ label: Some("Test::BindGroup1"), [INFO] [stdout] 324 │+ layout: &bind_group_layout, [INFO] [stdout] 325 │+ entries: &entries, [INFO] [stdout] 326 │+ }, [INFO] [stdout] 327 │+ ); [INFO] [stdout] 328 │+ Self(bind_group) [INFO] [stdout] 329 │+ } [INFO] [stdout] 330 │+ pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 331 │+ pass.set_bind_group(1, &self.0, &[]); [INFO] [stdout] 332 │+ } [INFO] [stdout] 315 333 │ } [INFO] [stdout] 316 │-#[doc = " Bind groups can be set individually using their set(render_pass) method, or all at once using `WgpuBindGroups::set`."] [INFO] [stdout] 317 │-#[doc = " For optimal performance with many draw calls, it's recommended to organize bindings into bind groups based on update frequency:"] [INFO] [stdout] 318 │-#[doc = " - Bind group 0: Least frequent updates (e.g. per frame resources)"] [INFO] [stdout] 319 │-#[doc = " - Bind group 1: More frequent updates"] [INFO] [stdout] 320 │-#[doc = " - Bind group 2: More frequent updates"] [INFO] [stdout] 321 │-#[doc = " - Bind group 3: Most frequent updates (e.g. per draw resources)"] [INFO] [stdout] 334 │+/// Bind groups can be set individually using their set(render_pass) method, or all at once using `WgpuBindGroups::set`. [INFO] [stdout] 335 │+/// For optimal performance with many draw calls, it's recommended to organize bindings into bind groups based on update frequency: [INFO] [stdout] 336 │+/// - Bind group 0: Least frequent updates (e.g. per frame resources) [INFO] [stdout] 337 │+/// - Bind group 1: More frequent updates [INFO] [stdout] 338 │+/// - Bind group 2: More frequent updates [INFO] [stdout] 339 │+/// - Bind group 3: Most frequent updates (e.g. per draw resources) [INFO] [stdout] 322 340 │ #[derive(Debug, Copy, Clone)] [INFO] [stdout] 323 341 │ pub struct WgpuBindGroups<'a> { [INFO] [stdout] 324 │- pub bind_group0: &'a WgpuBindGroup0, [INFO] [stdout] 325 │- pub bind_group1: &'a WgpuBindGroup1, [INFO] [stdout] 342 │+ pub bind_group0: &'a WgpuBindGroup0, [INFO] [stdout] 343 │+ pub bind_group1: &'a WgpuBindGroup1, [INFO] [stdout] 326 344 │ } [INFO] [stdout] 327 345 │ impl<'a> WgpuBindGroups<'a> { [INFO] [stdout] 328 │- pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 329 │- self.bind_group0.set(pass); [INFO] [stdout] 330 │- self.bind_group1.set(pass); [INFO] [stdout] 331 │- } [INFO] [stdout] 346 │+ pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 347 │+ self.bind_group0.set(pass); [INFO] [stdout] 348 │+ self.bind_group1.set(pass); [INFO] [stdout] 349 │+ } [INFO] [stdout] 332 350 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'generate::bind_group::tests::bind_groups_module_vertex_fragment' (46) 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: 0x64c0e9637a32 - std::backtrace_rs::backtrace::libunwind::trace::h9ea1e07ac77a25d7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x64c0e9637a32 - std::backtrace_rs::backtrace::trace_unsynchronized::h72b75eb83b53d15a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x64c0e9637a32 - std::sys::backtrace::_print_fmt::h255777b7ec902439 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x64c0e9637a32 - ::fmt::h8a1ac49fcd7ee8ce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x64c0e964b7af - core::fmt::rt::Argument::fmt::h635cbf3c6754cc90 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x64c0e964b7af - core::fmt::write::hbdcc0ec4f1bab1db [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x64c0e9602ef3 - std::io::default_write_fmt::h2580ece0d4b58e51 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x64c0e9602ef3 - std::io::Write::write_fmt::hac9e42858f273b87 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x64c0e960f802 - std::sys::backtrace::BacktraceLock::print::h052febbd86f7bf07 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x64c0e96154df - std::panicking::default_hook::{{closure}}::h66aeee20dd470abb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x64c0e9615371 - std::panicking::default_hook::h9d66b9642014ce48 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x64c0e8d48e0e - as core::ops::function::Fn>::call::h8c698701e444e564 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 12: 0x64c0e8d48e0e - test::test_main_with_exit_callback::{{closure}}::ha1c98e7b69c4defb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x64c0e9615b9f - as core::ops::function::Fn>::call::hc4f222a8a57c637a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 14: 0x64c0e9615b9f - std::panicking::panic_with_hook::h6d5921a1a1fa5a8e [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x64c0e961594a - std::panicking::panic_handler::{{closure}}::hafeef6f707d43542 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x64c0e960f939 - std::sys::backtrace::__rust_end_short_backtrace::h08cbc3319a3d0120 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x64c0e95f65ad - __rustc[ce5c411ff86ab1b2]::rust_begin_unwind [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x64c0e9656830 - core::panicking::panic_fmt::h774fb860369a0f7b [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x64c0e96554f6 - core::result::unwrap_failed::h72ee8fcbf1bf8ff9 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1862:5 [INFO] [stdout] 20: 0x64c0e8b3de8b - core::result::Result::unwrap::h684f7c72affd3dee [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1233:23 [INFO] [stdout] 21: 0x64c0e8b3de8b - wgsl_bindgen::generate::bind_group::tests::bind_groups_module_vertex_fragment::{{closure}}::h203ab4493745d1dd [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x64c0e8ac54af - insta::settings::Settings::bind::hc5a32c574390d4c2 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.2/src/settings.rs:509:9 [INFO] [stdout] 23: 0x64c0e8b3d9b5 - wgsl_bindgen::generate::bind_group::tests::bind_groups_module_vertex_fragment::hef2273471a77075f [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x64c0e8b3df87 - wgsl_bindgen::generate::bind_group::tests::bind_groups_module_vertex_fragment::{{closure}}::ha532b5e246a57c23 [INFO] [stdout] at /opt/rustwide/workdir/src/generate/bind_group/mod.rs:407:42 [INFO] [stdout] 25: 0x64c0e8afda36 - core::ops::function::FnOnce::call_once::h0b77bb146375b8e0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x64c0e8d48c5b - core::ops::function::FnOnce::call_once::h4f6eabe90cccb47d [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x64c0e8d48c5b - test::__rust_begin_short_backtrace::h94208530f2b4c8c7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x64c0e8d5cc6d - test::run_test_in_process::{{closure}}::hbdc6a45a78c46404 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x64c0e8d5cc6d - as core::ops::function::FnOnce<()>>::call_once::h7f9d8efc7eedd165 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x64c0e8d5cc6d - std::panicking::catch_unwind::do_call::he5edbaf126c13b99 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x64c0e8d5cc6d - std::panicking::catch_unwind::h3d6a8652eceeabce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x64c0e8d5cc6d - std::panic::catch_unwind::hbef0c501dd7bb498 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x64c0e8d5cc6d - test::run_test_in_process::h400008a46a5006a0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x64c0e8d5cc6d - test::run_test::{{closure}}::h9a131655b31d9427 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x64c0e8d361b4 - test::run_test::{{closure}}::he4a7177c216308c0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x64c0e8d361b4 - std::sys::backtrace::__rust_begin_short_backtrace::hd3980e9c55d6c539 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x64c0e8d39aea - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h18552df67c7aa9b8 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:562:17 [INFO] [stdout] 38: 0x64c0e8d39aea - as core::ops::function::FnOnce<()>>::call_once::h3d7b285234641a08 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x64c0e8d39aea - std::panicking::catch_unwind::do_call::h5a2b5cf36528a5b2 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x64c0e8d39aea - std::panicking::catch_unwind::h7e8b531bbda77d20 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x64c0e8d39aea - std::panic::catch_unwind::hf9bbb2040b4f1e6c [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x64c0e8d39aea - std::thread::Builder::spawn_unchecked_::{{closure}}::h600f92cf68549574 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:560:30 [INFO] [stdout] 43: 0x64c0e8d39aea - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb6607307df8a1847 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x64c0e960ab4f - as core::ops::function::FnOnce>::call_once::h6891ad53a5ed6f52 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2085:9 [INFO] [stdout] 45: 0x64c0e960ab4f - std::sys::thread::unix::Thread::new::thread_start::h7f3e77fa86df70af [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/thread/unix.rs:124:17 [INFO] [stdout] 46: 0x7f6eeb82aaa4 - [INFO] [stdout] 47: 0x7f6eeb8b7a64 - 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 'c2e32f1c9652b13ed99608599c1e855462f421f3'. [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] 1 1 │ #[derive(Debug)] [INFO] [stdout] 2 2 │ pub struct WgpuBindGroup0EntriesParams<'a> { [INFO] [stdout] 3 │- pub transforms: wgpu::BufferBinding<'a>, [INFO] [stdout] 4 │- pub texture_array: &'a [&'a wgpu::TextureView], [INFO] [stdout] 5 │- pub sampler_array: &'a [&'a wgpu::Sampler], [INFO] [stdout] 3 │+ pub transforms: wgpu::BufferBinding<'a>, [INFO] [stdout] 4 │+ pub texture_array: &'a [&'a wgpu::TextureView], [INFO] [stdout] 5 │+ pub sampler_array: &'a [&'a wgpu::Sampler], [INFO] [stdout] 6 6 │ } [INFO] [stdout] 7 7 │ #[derive(Clone, Debug)] [INFO] [stdout] 8 8 │ pub struct WgpuBindGroup0Entries<'a> { [INFO] [stdout] 9 │- pub transforms: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 10 │- pub texture_array: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 11 │- pub sampler_array: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 9 │+ pub transforms: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 10 │+ pub texture_array: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 11 │+ pub sampler_array: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 12 12 │ } [INFO] [stdout] 13 13 │ impl<'a> WgpuBindGroup0Entries<'a> { [INFO] [stdout] 14 │- pub fn new(params: WgpuBindGroup0EntriesParams<'a>) -> Self { [INFO] [stdout] 15 │- Self { [INFO] [stdout] 16 │- transforms: wgpu::BindGroupEntry { [INFO] [stdout] 17 │- binding: 0, [INFO] [stdout] 18 │- resource: wgpu::BindingResource::Buffer(params.transforms), [INFO] [stdout] 19 │- }, [INFO] [stdout] 20 │- texture_array: wgpu::BindGroupEntry { [INFO] [stdout] 21 │- binding: 1, [INFO] [stdout] 22 │- resource: wgpu::BindingResource::TextureViewArray(params.texture_array), [INFO] [stdout] 23 │- }, [INFO] [stdout] 24 │- sampler_array: wgpu::BindGroupEntry { [INFO] [stdout] 25 │- binding: 2, [INFO] [stdout] 26 │- resource: wgpu::BindingResource::SamplerArray(params.sampler_array), [INFO] [stdout] 27 │- }, [INFO] [stdout] 14 │+ pub fn new(params: WgpuBindGroup0EntriesParams<'a>) -> Self { [INFO] [stdout] 15 │+ Self { [INFO] [stdout] 16 │+ transforms: wgpu::BindGroupEntry { [INFO] [stdout] 17 │+ binding: 0, [INFO] [stdout] 18 │+ resource: wgpu::BindingResource::Buffer(params.transforms), [INFO] [stdout] 19 │+ }, [INFO] [stdout] 20 │+ texture_array: wgpu::BindGroupEntry { [INFO] [stdout] 21 │+ binding: 1, [INFO] [stdout] 22 │+ resource: wgpu::BindingResource::TextureViewArray(params.texture_array), [INFO] [stdout] 23 │+ }, [INFO] [stdout] 24 │+ sampler_array: wgpu::BindGroupEntry { [INFO] [stdout] 25 │+ binding: 2, [INFO] [stdout] 26 │+ resource: wgpu::BindingResource::SamplerArray(params.sampler_array), [INFO] [stdout] 27 │+ }, [INFO] [stdout] 28 │+ } [INFO] [stdout] 29 │+ } [INFO] [stdout] 30 │+ pub fn into_array(self) -> [wgpu::BindGroupEntry<'a>; 3] { [INFO] [stdout] 31 │+ [self.transforms, self.texture_array, self.sampler_array] [INFO] [stdout] 32 │+ } [INFO] [stdout] 33 │+ pub fn collect>>(self) -> B { [INFO] [stdout] 34 │+ self.into_array().into_iter().collect() [INFO] [stdout] 28 35 │ } [INFO] [stdout] 29 │- } [INFO] [stdout] 30 │- pub fn into_array(self) -> [wgpu::BindGroupEntry<'a>; 3] { [INFO] [stdout] 31 │- [self.transforms, self.texture_array, self.sampler_array] [INFO] [stdout] 32 │- } [INFO] [stdout] 33 │- pub fn collect>>(self) -> B { [INFO] [stdout] 34 │- self.into_array().into_iter().collect() [INFO] [stdout] 35 │- } [INFO] [stdout] 36 36 │ } [INFO] [stdout] 37 37 │ #[derive(Debug)] [INFO] [stdout] 38 38 │ pub struct WgpuBindGroup0(wgpu::BindGroup); [INFO] [stdout] 39 39 │ impl WgpuBindGroup0 { [INFO] [stdout] 40 │- pub const LAYOUT_DESCRIPTOR: wgpu::BindGroupLayoutDescriptor<'static> = [INFO] [stdout] 41 │- wgpu::BindGroupLayoutDescriptor { [INFO] [stdout] 42 │- label: Some("Test::BindGroup0::LayoutDescriptor"), [INFO] [stdout] 43 │- entries: &[ [INFO] [stdout] 44 │- #[doc = " @binding(0): \"transforms\""] [INFO] [stdout] 45 │- wgpu::BindGroupLayoutEntry { [INFO] [stdout] 46 │- binding: 0, [INFO] [stdout] 47 │- visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 48 │- ty: wgpu::BindingType::Buffer { [INFO] [stdout] 49 │- ty: wgpu::BufferBindingType::Uniform, [INFO] [stdout] 50 │- has_dynamic_offset: false, [INFO] [stdout] 51 │- min_binding_size: std::num::NonZeroU64::new(std::mem::size_of::< [INFO] [stdout] 52 │- _root::test::Transforms, [INFO] [stdout] 53 │- >() as _), [INFO] [stdout] 54 │- }, [INFO] [stdout] 55 │- count: None, [INFO] [stdout] 56 │- }, [INFO] [stdout] 57 │- #[doc = " @binding(1): \"texture_array\""] [INFO] [stdout] 58 │- wgpu::BindGroupLayoutEntry { [INFO] [stdout] 59 │- binding: 1, [INFO] [stdout] 60 │- visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 61 │- ty: wgpu::BindingType::Texture { [INFO] [stdout] 62 │- sample_type: wgpu::TextureSampleType::Float { filterable: true }, [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 │- #[doc = " @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] 40 │+ pub const LAYOUT_DESCRIPTOR: wgpu::BindGroupLayoutDescriptor<'static> = wgpu::BindGroupLayoutDescriptor { [INFO] [stdout] 41 │+ label: Some("Test::BindGroup0::LayoutDescriptor"), [INFO] [stdout] 42 │+ entries: &[ [INFO] [stdout] 43 │+ /// @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( [INFO] [stdout] 51 │+ std::mem::size_of::<_root::test::Transforms>() as _, [INFO] [stdout] 52 │+ ), [INFO] [stdout] 53 │+ }, [INFO] [stdout] 54 │+ count: None, [INFO] [stdout] 55 │+ }, [INFO] [stdout] 56 │+ /// @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 { [INFO] [stdout] 62 │+ filterable: true, [INFO] [stdout] 63 │+ }, [INFO] [stdout] 64 │+ view_dimension: wgpu::TextureViewDimension::D2, [INFO] [stdout] 65 │+ multisampled: false, [INFO] [stdout] 66 │+ }, [INFO] [stdout] 67 │+ count: Some(std::num::NonZeroU32::new(4u32).unwrap()), [INFO] [stdout] 68 │+ }, [INFO] [stdout] 69 │+ /// @binding(2): "sampler_array" [INFO] [stdout] 70 │+ wgpu::BindGroupLayoutEntry { [INFO] [stdout] 71 │+ binding: 2, [INFO] [stdout] 72 │+ visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 73 │+ ty: wgpu::BindingType::Sampler(wgpu::SamplerBindingType::Filtering), [INFO] [stdout] 74 │+ count: Some(std::num::NonZeroU32::new(3u32).unwrap()), [INFO] [stdout] 75 │+ }, [INFO] [stdout] 76 │+ ], [INFO] [stdout] 76 77 │ }; [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(device: &wgpu::Device, bindings: WgpuBindGroup0Entries) -> Self { [INFO] [stdout] 81 │- let bind_group_layout = Self::get_bind_group_layout(device); [INFO] [stdout] 82 │- let entries = bindings.into_array(); [INFO] [stdout] 83 │- let bind_group = device.create_bind_group(&wgpu::BindGroupDescriptor { [INFO] [stdout] 84 │- label: Some("Test::BindGroup0"), [INFO] [stdout] 85 │- layout: &bind_group_layout, [INFO] [stdout] 86 │- entries: &entries, [INFO] [stdout] 87 │- }); [INFO] [stdout] 88 │- Self(bind_group) [INFO] [stdout] 89 │- } [INFO] [stdout] 90 │- pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 91 │- pass.set_bind_group(0, &self.0, &[]); [INFO] [stdout] 92 │- } [INFO] [stdout] 78 │+ pub fn get_bind_group_layout(device: &wgpu::Device) -> wgpu::BindGroupLayout { [INFO] [stdout] 79 │+ device.create_bind_group_layout(&Self::LAYOUT_DESCRIPTOR) [INFO] [stdout] 80 │+ } [INFO] [stdout] 81 │+ pub fn from_bindings( [INFO] [stdout] 82 │+ device: &wgpu::Device, [INFO] [stdout] 83 │+ bindings: WgpuBindGroup0Entries, [INFO] [stdout] 84 │+ ) -> Self { [INFO] [stdout] 85 │+ let bind_group_layout = Self::get_bind_group_layout(device); [INFO] [stdout] 86 │+ let entries = bindings.into_array(); [INFO] [stdout] 87 │+ let bind_group = device [INFO] [stdout] 88 │+ .create_bind_group( [INFO] [stdout] 89 │+ &wgpu::BindGroupDescriptor { [INFO] [stdout] 90 │+ label: Some("Test::BindGroup0"), [INFO] [stdout] 91 │+ layout: &bind_group_layout, [INFO] [stdout] 92 │+ entries: &entries, [INFO] [stdout] 93 │+ }, [INFO] [stdout] 94 │+ ); [INFO] [stdout] 95 │+ Self(bind_group) [INFO] [stdout] 96 │+ } [INFO] [stdout] 97 │+ pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 98 │+ pass.set_bind_group(0, &self.0, &[]); [INFO] [stdout] 99 │+ } [INFO] [stdout] 93 100 │ } [INFO] [stdout] 94 │-#[doc = " Bind groups can be set individually using their set(render_pass) method, or all at once using `WgpuBindGroups::set`."] [INFO] [stdout] 95 │-#[doc = " For optimal performance with many draw calls, it's recommended to organize bindings into bind groups based on update frequency:"] [INFO] [stdout] 96 │-#[doc = " - Bind group 0: Least frequent updates (e.g. per frame resources)"] [INFO] [stdout] 97 │-#[doc = " - Bind group 1: More frequent updates"] [INFO] [stdout] 98 │-#[doc = " - Bind group 2: More frequent updates"] [INFO] [stdout] 99 │-#[doc = " - Bind group 3: Most frequent updates (e.g. per draw resources)"] [INFO] [stdout] 101 │+/// Bind groups can be set individually using their set(render_pass) method, or all at once using `WgpuBindGroups::set`. [INFO] [stdout] 102 │+/// For optimal performance with many draw calls, it's recommended to organize bindings into bind groups based on update frequency: [INFO] [stdout] 103 │+/// - Bind group 0: Least frequent updates (e.g. per frame resources) [INFO] [stdout] 104 │+/// - Bind group 1: More frequent updates [INFO] [stdout] 105 │+/// - Bind group 2: More frequent updates [INFO] [stdout] 106 │+/// - Bind group 3: Most frequent updates (e.g. per draw resources) [INFO] [stdout] 100 107 │ #[derive(Debug, Copy, Clone)] [INFO] [stdout] 101 108 │ pub struct WgpuBindGroups<'a> { [INFO] [stdout] 102 │- pub bind_group0: &'a WgpuBindGroup0, [INFO] [stdout] 109 │+ pub bind_group0: &'a WgpuBindGroup0, [INFO] [stdout] 103 110 │ } [INFO] [stdout] 104 111 │ impl<'a> WgpuBindGroups<'a> { [INFO] [stdout] 105 │- pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 106 │- self.bind_group0.set(pass); [INFO] [stdout] 107 │- } [INFO] [stdout] 112 │+ pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 113 │+ self.bind_group0.set(pass); [INFO] [stdout] 114 │+ } [INFO] [stdout] 108 115 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'generate::bind_group::tests::bind_groups_module_array_bindings' (42) 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: 0x64c0e9637a32 - std::backtrace_rs::backtrace::libunwind::trace::h9ea1e07ac77a25d7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x64c0e9637a32 - std::backtrace_rs::backtrace::trace_unsynchronized::h72b75eb83b53d15a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x64c0e9637a32 - std::sys::backtrace::_print_fmt::h255777b7ec902439 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x64c0e9637a32 - ::fmt::h8a1ac49fcd7ee8ce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x64c0e964b7af - core::fmt::rt::Argument::fmt::h635cbf3c6754cc90 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x64c0e964b7af - core::fmt::write::hbdcc0ec4f1bab1db [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x64c0e9602ef3 - std::io::default_write_fmt::h2580ece0d4b58e51 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x64c0e9602ef3 - std::io::Write::write_fmt::hac9e42858f273b87 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x64c0e960f802 - std::sys::backtrace::BacktraceLock::print::h052febbd86f7bf07 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x64c0e96154df - std::panicking::default_hook::{{closure}}::h66aeee20dd470abb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x64c0e9615371 - std::panicking::default_hook::h9d66b9642014ce48 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x64c0e8d48e0e - as core::ops::function::Fn>::call::h8c698701e444e564 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 12: 0x64c0e8d48e0e - test::test_main_with_exit_callback::{{closure}}::ha1c98e7b69c4defb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x64c0e9615b9f - as core::ops::function::Fn>::call::hc4f222a8a57c637a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 14: 0x64c0e9615b9f - std::panicking::panic_with_hook::h6d5921a1a1fa5a8e [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x64c0e961594a - std::panicking::panic_handler::{{closure}}::hafeef6f707d43542 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x64c0e960f939 - std::sys::backtrace::__rust_end_short_backtrace::h08cbc3319a3d0120 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x64c0e95f65ad - __rustc[ce5c411ff86ab1b2]::rust_begin_unwind [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x64c0e9656830 - core::panicking::panic_fmt::h774fb860369a0f7b [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x64c0e96554f6 - core::result::unwrap_failed::h72ee8fcbf1bf8ff9 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1862:5 [INFO] [stdout] 20: 0x64c0e8b3d3db - core::result::Result::unwrap::h684f7c72affd3dee [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1233:23 [INFO] [stdout] 21: 0x64c0e8b3d3db - wgsl_bindgen::generate::bind_group::tests::bind_groups_module_array_bindings::{{closure}}::h334a422d7d5544fa [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x64c0e8ac504f - insta::settings::Settings::bind::hb29d3e95018d0238 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.2/src/settings.rs:509:9 [INFO] [stdout] 23: 0x64c0e8b3cf05 - wgsl_bindgen::generate::bind_group::tests::bind_groups_module_array_bindings::h1c2cd0227796b227 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x64c0e8b3d4d7 - wgsl_bindgen::generate::bind_group::tests::bind_groups_module_array_bindings::{{closure}}::hc731433af7b52917 [INFO] [stdout] at /opt/rustwide/workdir/src/generate/bind_group/mod.rs:572:41 [INFO] [stdout] 25: 0x64c0e8afde36 - core::ops::function::FnOnce::call_once::h23a8ee1235ffb9c0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x64c0e8d48c5b - core::ops::function::FnOnce::call_once::h4f6eabe90cccb47d [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x64c0e8d48c5b - test::__rust_begin_short_backtrace::h94208530f2b4c8c7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x64c0e8d5cc6d - test::run_test_in_process::{{closure}}::hbdc6a45a78c46404 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x64c0e8d5cc6d - as core::ops::function::FnOnce<()>>::call_once::h7f9d8efc7eedd165 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x64c0e8d5cc6d - std::panicking::catch_unwind::do_call::he5edbaf126c13b99 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x64c0e8d5cc6d - std::panicking::catch_unwind::h3d6a8652eceeabce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x64c0e8d5cc6d - std::panic::catch_unwind::hbef0c501dd7bb498 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x64c0e8d5cc6d - test::run_test_in_process::h400008a46a5006a0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x64c0e8d5cc6d - test::run_test::{{closure}}::h9a131655b31d9427 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x64c0e8d361b4 - test::run_test::{{closure}}::he4a7177c216308c0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x64c0e8d361b4 - std::sys::backtrace::__rust_begin_short_backtrace::hd3980e9c55d6c539 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x64c0e8d39aea - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h18552df67c7aa9b8 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:562:17 [INFO] [stdout] 38: 0x64c0e8d39aea - as core::ops::function::FnOnce<()>>::call_once::h3d7b285234641a08 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x64c0e8d39aea - std::panicking::catch_unwind::do_call::h5a2b5cf36528a5b2 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x64c0e8d39aea - std::panicking::catch_unwind::h7e8b531bbda77d20 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x64c0e8d39aea - std::panic::catch_unwind::hf9bbb2040b4f1e6c [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x64c0e8d39aea - std::thread::Builder::spawn_unchecked_::{{closure}}::h600f92cf68549574 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:560:30 [INFO] [stdout] 43: 0x64c0e8d39aea - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb6607307df8a1847 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x64c0e960ab4f - as core::ops::function::FnOnce>::call_once::h6891ad53a5ed6f52 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2085:9 [INFO] [stdout] 45: 0x64c0e960ab4f - std::sys::thread::unix::Thread::new::thread_start::h7f3e77fa86df70af [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/thread/unix.rs:124:17 [INFO] [stdout] 46: 0x7f6eeb82aaa4 - [INFO] [stdout] 47: 0x7f6eeb8b7a64 - 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 'c2e32f1c9652b13ed99608599c1e855462f421f3'. [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] 1 1 │ pub struct OverrideConstants { [INFO] [stdout] 2 │- pub b1: Option, [INFO] [stdout] 3 │- pub b2: Option, [INFO] [stdout] 4 │- pub b3: bool, [INFO] [stdout] 5 │- pub f1: Option, [INFO] [stdout] 6 │- pub f2: f32, [INFO] [stdout] 7 │- pub i1: Option, [INFO] [stdout] 8 │- pub i2: i32, [INFO] [stdout] 9 │- pub i3: Option, [INFO] [stdout] 10 │- pub a: Option, [INFO] [stdout] 11 │- pub b: Option, [INFO] [stdout] 2 │+ pub b1: Option, [INFO] [stdout] 3 │+ pub b2: Option, [INFO] [stdout] 4 │+ pub b3: bool, [INFO] [stdout] 5 │+ pub f1: Option, [INFO] [stdout] 6 │+ pub f2: f32, [INFO] [stdout] 7 │+ pub i1: Option, [INFO] [stdout] 8 │+ pub i2: i32, [INFO] [stdout] 9 │+ pub i3: Option, [INFO] [stdout] 10 │+ pub a: Option, [INFO] [stdout] 11 │+ pub b: Option, [INFO] [stdout] 12 12 │ } [INFO] [stdout] 13 13 │ impl OverrideConstants { [INFO] [stdout] 14 │- pub fn constants(&self) -> Vec<(&'static str, f64)> { [INFO] [stdout] 15 │- let mut entries = vec![ [INFO] [stdout] 16 │- ("b3".to_owned(), if self.b3 { 1.0 } else { 0.0 }), [INFO] [stdout] 17 │- ("f2".to_owned(), self.f2 as f64), [INFO] [stdout] 18 │- ("i2".to_owned(), self.i2 as f64), [INFO] [stdout] 19 │- ]; [INFO] [stdout] 20 │- if let Some(value) = self.b1 { [INFO] [stdout] 21 │- entries.insert("b1".to_owned(), if value { 1.0 } else { 0.0 }); [INFO] [stdout] 22 │- }; [INFO] [stdout] 23 │- if let Some(value) = self.b2 { [INFO] [stdout] 24 │- entries.insert("b2".to_owned(), if value { 1.0 } else { 0.0 }); [INFO] [stdout] 25 │- }; [INFO] [stdout] 26 │- if let Some(value) = self.f1 { [INFO] [stdout] 27 │- entries.insert("f1".to_owned(), value as f64); [INFO] [stdout] 28 │- }; [INFO] [stdout] 29 │- if let Some(value) = self.i1 { [INFO] [stdout] 30 │- entries.insert("i1".to_owned(), value as f64); [INFO] [stdout] 31 │- }; [INFO] [stdout] 32 │- if let Some(value) = self.i3 { [INFO] [stdout] 33 │- entries.insert("i3".to_owned(), value as f64); [INFO] [stdout] 34 │- }; [INFO] [stdout] 35 │- if let Some(value) = self.a { [INFO] [stdout] 36 │- entries.insert("0".to_owned(), value as f64); [INFO] [stdout] 37 │- }; [INFO] [stdout] 38 │- if let Some(value) = self.b { [INFO] [stdout] 39 │- entries.insert("35".to_owned(), value as f64); [INFO] [stdout] 14 │+ pub fn constants(&self) -> Vec<(&'static str, f64)> { [INFO] [stdout] 15 │+ let mut entries = vec![ [INFO] [stdout] 16 │+ ("b3".to_owned(), if self.b3 { 1.0 } else { 0.0 }), ("f2".to_owned(), self.f2 [INFO] [stdout] 17 │+ as f64), ("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] 39 │+ } [INFO] [stdout] 40 │+ entries [INFO] [stdout] 40 41 │ } [INFO] [stdout] 41 │- entries [INFO] [stdout] 42 │- } [INFO] [stdout] 43 42 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'generate::consts::tests::write_pipeline_overrideable_constants' (48) 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: 0x64c0e9637a32 - std::backtrace_rs::backtrace::libunwind::trace::h9ea1e07ac77a25d7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x64c0e9637a32 - std::backtrace_rs::backtrace::trace_unsynchronized::h72b75eb83b53d15a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x64c0e9637a32 - std::sys::backtrace::_print_fmt::h255777b7ec902439 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x64c0e9637a32 - ::fmt::h8a1ac49fcd7ee8ce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x64c0e964b7af - core::fmt::rt::Argument::fmt::h635cbf3c6754cc90 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x64c0e964b7af - core::fmt::write::hbdcc0ec4f1bab1db [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x64c0e9602ef3 - std::io::default_write_fmt::h2580ece0d4b58e51 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x64c0e9602ef3 - std::io::Write::write_fmt::hac9e42858f273b87 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x64c0e960f802 - std::sys::backtrace::BacktraceLock::print::h052febbd86f7bf07 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x64c0e96154df - std::panicking::default_hook::{{closure}}::h66aeee20dd470abb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x64c0e9615371 - std::panicking::default_hook::h9d66b9642014ce48 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x64c0e8d48e0e - as core::ops::function::Fn>::call::h8c698701e444e564 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 12: 0x64c0e8d48e0e - test::test_main_with_exit_callback::{{closure}}::ha1c98e7b69c4defb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x64c0e9615b9f - as core::ops::function::Fn>::call::hc4f222a8a57c637a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 14: 0x64c0e9615b9f - std::panicking::panic_with_hook::h6d5921a1a1fa5a8e [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x64c0e961594a - std::panicking::panic_handler::{{closure}}::hafeef6f707d43542 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x64c0e960f939 - std::sys::backtrace::__rust_end_short_backtrace::h08cbc3319a3d0120 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x64c0e95f65ad - __rustc[ce5c411ff86ab1b2]::rust_begin_unwind [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x64c0e9656830 - core::panicking::panic_fmt::h774fb860369a0f7b [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x64c0e96554f6 - core::result::unwrap_failed::h72ee8fcbf1bf8ff9 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1862:5 [INFO] [stdout] 20: 0x64c0e8b47f9b - core::result::Result::unwrap::h684f7c72affd3dee [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1233:23 [INFO] [stdout] 21: 0x64c0e8b47f9b - wgsl_bindgen::generate::consts::tests::write_pipeline_overrideable_constants::{{closure}}::h317b26f05a279574 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x64c0e8ac52cf - insta::settings::Settings::bind::hbb82e78f1949f646 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.2/src/settings.rs:509:9 [INFO] [stdout] 23: 0x64c0e8b47ae8 - wgsl_bindgen::generate::consts::tests::write_pipeline_overrideable_constants::hc8ae15c2a5b8ce7a [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x64c0e8b48097 - wgsl_bindgen::generate::consts::tests::write_pipeline_overrideable_constants::{{closure}}::h6c7eb274e684c2df [INFO] [stdout] at /opt/rustwide/workdir/src/generate/consts.rs:207:45 [INFO] [stdout] 25: 0x64c0e8aff146 - core::ops::function::FnOnce::call_once::ha260e1a6729d3bbd [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x64c0e8d48c5b - core::ops::function::FnOnce::call_once::h4f6eabe90cccb47d [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x64c0e8d48c5b - test::__rust_begin_short_backtrace::h94208530f2b4c8c7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x64c0e8d5cc6d - test::run_test_in_process::{{closure}}::hbdc6a45a78c46404 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x64c0e8d5cc6d - as core::ops::function::FnOnce<()>>::call_once::h7f9d8efc7eedd165 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x64c0e8d5cc6d - std::panicking::catch_unwind::do_call::he5edbaf126c13b99 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x64c0e8d5cc6d - std::panicking::catch_unwind::h3d6a8652eceeabce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x64c0e8d5cc6d - std::panic::catch_unwind::hbef0c501dd7bb498 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x64c0e8d5cc6d - test::run_test_in_process::h400008a46a5006a0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x64c0e8d5cc6d - test::run_test::{{closure}}::h9a131655b31d9427 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x64c0e8d361b4 - test::run_test::{{closure}}::he4a7177c216308c0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x64c0e8d361b4 - std::sys::backtrace::__rust_begin_short_backtrace::hd3980e9c55d6c539 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x64c0e8d39aea - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h18552df67c7aa9b8 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:562:17 [INFO] [stdout] 38: 0x64c0e8d39aea - as core::ops::function::FnOnce<()>>::call_once::h3d7b285234641a08 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x64c0e8d39aea - std::panicking::catch_unwind::do_call::h5a2b5cf36528a5b2 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x64c0e8d39aea - std::panicking::catch_unwind::h7e8b531bbda77d20 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x64c0e8d39aea - std::panic::catch_unwind::hf9bbb2040b4f1e6c [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x64c0e8d39aea - std::thread::Builder::spawn_unchecked_::{{closure}}::h600f92cf68549574 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:560:30 [INFO] [stdout] 43: 0x64c0e8d39aea - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb6607307df8a1847 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x64c0e960ab4f - as core::ops::function::FnOnce>::call_once::h6891ad53a5ed6f52 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2085:9 [INFO] [stdout] 45: 0x64c0e960ab4f - std::sys::thread::unix::Thread::new::thread_start::h7f3e77fa86df70af [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/thread/unix.rs:124:17 [INFO] [stdout] 46: 0x7f6eeb82aaa4 - [INFO] [stdout] 47: 0x7f6eeb8b7a64 - 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 'c2e32f1c9652b13ed99608599c1e855462f421f3'. [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] 1 1 │ impl VertexInput0 { [INFO] [stdout] 2 │- pub const VERTEX_ATTRIBUTES: [wgpu::VertexAttribute; 4] = [ [INFO] [stdout] 3 │- wgpu::VertexAttribute { [INFO] [stdout] 4 │- format: wgpu::VertexFormat::Uint32, [INFO] [stdout] 5 │- offset: std::mem::offset_of!(Self, a) as u64, [INFO] [stdout] 6 │- shader_location: 0, [INFO] [stdout] 7 │- }, [INFO] [stdout] 8 │- wgpu::VertexAttribute { [INFO] [stdout] 9 │- format: wgpu::VertexFormat::Uint32x2, [INFO] [stdout] 10 │- offset: std::mem::offset_of!(Self, b) as u64, [INFO] [stdout] 11 │- shader_location: 1, [INFO] [stdout] 12 │- }, [INFO] [stdout] 13 │- wgpu::VertexAttribute { [INFO] [stdout] 14 │- format: wgpu::VertexFormat::Uint32x3, [INFO] [stdout] 15 │- offset: std::mem::offset_of!(Self, c) as u64, [INFO] [stdout] 16 │- shader_location: 2, [INFO] [stdout] 17 │- }, [INFO] [stdout] 18 │- wgpu::VertexAttribute { [INFO] [stdout] 19 │- format: wgpu::VertexFormat::Uint32x4, [INFO] [stdout] 20 │- offset: std::mem::offset_of!(Self, d) as u64, [INFO] [stdout] 21 │- shader_location: 3, [INFO] [stdout] 22 │- }, [INFO] [stdout] 23 │- ]; [INFO] [stdout] 24 │- pub const fn vertex_buffer_layout( [INFO] [stdout] 25 │- step_mode: wgpu::VertexStepMode, [INFO] [stdout] 26 │- ) -> wgpu::VertexBufferLayout<'static> { [INFO] [stdout] 27 │- wgpu::VertexBufferLayout { [INFO] [stdout] 28 │- array_stride: std::mem::size_of::() as u64, [INFO] [stdout] 29 │- step_mode, [INFO] [stdout] 30 │- attributes: &Self::VERTEX_ATTRIBUTES, [INFO] [stdout] 2 │+ pub const VERTEX_ATTRIBUTES: [wgpu::VertexAttribute; 4] = [ [INFO] [stdout] 3 │+ wgpu::VertexAttribute { [INFO] [stdout] 4 │+ format: wgpu::VertexFormat::Uint32, [INFO] [stdout] 5 │+ offset: std::mem::offset_of!(Self, a) as u64, [INFO] [stdout] 6 │+ shader_location: 0, [INFO] [stdout] 7 │+ }, [INFO] [stdout] 8 │+ wgpu::VertexAttribute { [INFO] [stdout] 9 │+ format: wgpu::VertexFormat::Uint32x2, [INFO] [stdout] 10 │+ offset: std::mem::offset_of!(Self, b) as u64, [INFO] [stdout] 11 │+ shader_location: 1, [INFO] [stdout] 12 │+ }, [INFO] [stdout] 13 │+ wgpu::VertexAttribute { [INFO] [stdout] 14 │+ format: wgpu::VertexFormat::Uint32x3, [INFO] [stdout] 15 │+ offset: std::mem::offset_of!(Self, c) as u64, [INFO] [stdout] 16 │+ shader_location: 2, [INFO] [stdout] 17 │+ }, [INFO] [stdout] 18 │+ wgpu::VertexAttribute { [INFO] [stdout] 19 │+ format: wgpu::VertexFormat::Uint32x4, [INFO] [stdout] 20 │+ offset: std::mem::offset_of!(Self, d) as u64, [INFO] [stdout] 21 │+ shader_location: 3, [INFO] [stdout] 22 │+ }, [INFO] [stdout] 23 │+ ]; [INFO] [stdout] 24 │+ pub const fn vertex_buffer_layout( [INFO] [stdout] 25 │+ step_mode: wgpu::VertexStepMode, [INFO] [stdout] 26 │+ ) -> wgpu::VertexBufferLayout<'static> { [INFO] [stdout] 27 │+ wgpu::VertexBufferLayout { [INFO] [stdout] 28 │+ array_stride: std::mem::size_of::() as u64, [INFO] [stdout] 29 │+ step_mode, [INFO] [stdout] 30 │+ attributes: &Self::VERTEX_ATTRIBUTES, [INFO] [stdout] 31 │+ } [INFO] [stdout] 31 32 │ } [INFO] [stdout] 32 │- } [INFO] [stdout] 33 33 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'generate::entry::test::write_vertex_module_single_input_uint32' (1283) 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: 0x64c0e9637a32 - std::backtrace_rs::backtrace::libunwind::trace::h9ea1e07ac77a25d7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x64c0e9637a32 - std::backtrace_rs::backtrace::trace_unsynchronized::h72b75eb83b53d15a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x64c0e9637a32 - std::sys::backtrace::_print_fmt::h255777b7ec902439 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x64c0e9637a32 - ::fmt::h8a1ac49fcd7ee8ce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x64c0e964b7af - core::fmt::rt::Argument::fmt::h635cbf3c6754cc90 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x64c0e964b7af - core::fmt::write::hbdcc0ec4f1bab1db [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x64c0e9602ef3 - std::io::default_write_fmt::h2580ece0d4b58e51 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x64c0e9602ef3 - std::io::Write::write_fmt::hac9e42858f273b87 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x64c0e960f802 - std::sys::backtrace::BacktraceLock::print::h052febbd86f7bf07 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x64c0e96154df - std::panicking::default_hook::{{closure}}::h66aeee20dd470abb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x64c0e9615371 - std::panicking::default_hook::h9d66b9642014ce48 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x64c0e8d48e0e - as core::ops::function::Fn>::call::h8c698701e444e564 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 12: 0x64c0e8d48e0e - test::test_main_with_exit_callback::{{closure}}::ha1c98e7b69c4defb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x64c0e9615b9f - as core::ops::function::Fn>::call::hc4f222a8a57c637a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 14: 0x64c0e9615b9f - std::panicking::panic_with_hook::h6d5921a1a1fa5a8e [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x64c0e961594a - std::panicking::panic_handler::{{closure}}::hafeef6f707d43542 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x64c0e960f939 - std::sys::backtrace::__rust_end_short_backtrace::h08cbc3319a3d0120 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x64c0e95f65ad - __rustc[ce5c411ff86ab1b2]::rust_begin_unwind [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x64c0e9656830 - core::panicking::panic_fmt::h774fb860369a0f7b [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x64c0e96554f6 - core::result::unwrap_failed::h72ee8fcbf1bf8ff9 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1862:5 [INFO] [stdout] 20: 0x64c0e8b450bb - core::result::Result::unwrap::h684f7c72affd3dee [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1233:23 [INFO] [stdout] 21: 0x64c0e8b450bb - wgsl_bindgen::generate::entry::test::write_vertex_module_single_input_uint32::{{closure}}::hb014de72d7a0445f [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x64c0e8ac450f - insta::settings::Settings::bind::h4545cb1d949e1065 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.2/src/settings.rs:509:9 [INFO] [stdout] 23: 0x64c0e8b44bd5 - wgsl_bindgen::generate::entry::test::write_vertex_module_single_input_uint32::h2d3a31a4c1f57809 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x64c0e8b44c87 - wgsl_bindgen::generate::entry::test::write_vertex_module_single_input_uint32::{{closure}}::ha920e0ea239e9b98 [INFO] [stdout] at /opt/rustwide/workdir/src/generate/entry.rs:382:47 [INFO] [stdout] 25: 0x64c0e8afdd26 - core::ops::function::FnOnce::call_once::h1ff04b2c16d502f1 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x64c0e8d48c5b - core::ops::function::FnOnce::call_once::h4f6eabe90cccb47d [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x64c0e8d48c5b - test::__rust_begin_short_backtrace::h94208530f2b4c8c7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x64c0e8d5cc6d - test::run_test_in_process::{{closure}}::hbdc6a45a78c46404 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x64c0e8d5cc6d - as core::ops::function::FnOnce<()>>::call_once::h7f9d8efc7eedd165 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x64c0e8d5cc6d - std::panicking::catch_unwind::do_call::he5edbaf126c13b99 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x64c0e8d5cc6d - std::panicking::catch_unwind::h3d6a8652eceeabce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x64c0e8d5cc6d - std::panic::catch_unwind::hbef0c501dd7bb498 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x64c0e8d5cc6d - test::run_test_in_process::h400008a46a5006a0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x64c0e8d5cc6d - test::run_test::{{closure}}::h9a131655b31d9427 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x64c0e8d361b4 - test::run_test::{{closure}}::he4a7177c216308c0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x64c0e8d361b4 - std::sys::backtrace::__rust_begin_short_backtrace::hd3980e9c55d6c539 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x64c0e8d39aea - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h18552df67c7aa9b8 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:562:17 [INFO] [stdout] 38: 0x64c0e8d39aea - as core::ops::function::FnOnce<()>>::call_once::h3d7b285234641a08 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x64c0e8d39aea - std::panicking::catch_unwind::do_call::h5a2b5cf36528a5b2 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x64c0e8d39aea - std::panicking::catch_unwind::h7e8b531bbda77d20 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x64c0e8d39aea - std::panic::catch_unwind::hf9bbb2040b4f1e6c [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x64c0e8d39aea - std::thread::Builder::spawn_unchecked_::{{closure}}::h600f92cf68549574 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:560:30 [INFO] [stdout] 43: 0x64c0e8d39aea - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb6607307df8a1847 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x64c0e960ab4f - as core::ops::function::FnOnce>::call_once::h6891ad53a5ed6f52 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2085:9 [INFO] [stdout] 45: 0x64c0e960ab4f - std::sys::thread::unix::Thread::new::thread_start::h7f3e77fa86df70af [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/thread/unix.rs:124:17 [INFO] [stdout] 46: 0x7f6eeb82aaa4 - [INFO] [stdout] 47: 0x7f6eeb8b7a64 - clone [INFO] [stdout] 48: 0x0 - [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 'c2e32f1c9652b13ed99608599c1e855462f421f3'. [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] 1 1 │ #[derive(Debug)] [INFO] [stdout] 2 2 │ pub struct WgpuBindGroup0EntriesParams<'a> { [INFO] [stdout] 3 │- pub transforms: wgpu::BufferBinding<'a>, [INFO] [stdout] 3 │+ pub transforms: wgpu::BufferBinding<'a>, [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] 7 │+ pub transforms: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 8 8 │ } [INFO] [stdout] 9 9 │ impl<'a> WgpuBindGroup0Entries<'a> { [INFO] [stdout] 10 │- pub fn new(params: WgpuBindGroup0EntriesParams<'a>) -> Self { [INFO] [stdout] 11 │- Self { [INFO] [stdout] 12 │- transforms: wgpu::BindGroupEntry { [INFO] [stdout] 13 │- binding: 0, [INFO] [stdout] 14 │- resource: wgpu::BindingResource::Buffer(params.transforms), [INFO] [stdout] 15 │- }, [INFO] [stdout] 10 │+ pub fn new(params: WgpuBindGroup0EntriesParams<'a>) -> Self { [INFO] [stdout] 11 │+ Self { [INFO] [stdout] 12 │+ transforms: wgpu::BindGroupEntry { [INFO] [stdout] 13 │+ binding: 0, [INFO] [stdout] 14 │+ resource: wgpu::BindingResource::Buffer(params.transforms), [INFO] [stdout] 15 │+ }, [INFO] [stdout] 16 │+ } [INFO] [stdout] 17 │+ } [INFO] [stdout] 18 │+ pub fn into_array(self) -> [wgpu::BindGroupEntry<'a>; 1] { [INFO] [stdout] 19 │+ [self.transforms] [INFO] [stdout] 20 │+ } [INFO] [stdout] 21 │+ pub fn collect>>(self) -> B { [INFO] [stdout] 22 │+ self.into_array().into_iter().collect() [INFO] [stdout] 16 23 │ } [INFO] [stdout] 17 │- } [INFO] [stdout] 18 │- pub fn into_array(self) -> [wgpu::BindGroupEntry<'a>; 1] { [INFO] [stdout] 19 │- [self.transforms] [INFO] [stdout] 20 │- } [INFO] [stdout] 21 │- pub fn collect>>(self) -> B { [INFO] [stdout] 22 │- self.into_array().into_iter().collect() [INFO] [stdout] 23 │- } [INFO] [stdout] 24 24 │ } [INFO] [stdout] 25 25 │ #[derive(Debug)] [INFO] [stdout] 26 26 │ pub struct WgpuBindGroup0(wgpu::BindGroup); [INFO] [stdout] 27 27 │ impl WgpuBindGroup0 { [INFO] [stdout] 28 │- pub const LAYOUT_DESCRIPTOR: wgpu::BindGroupLayoutDescriptor<'static> = [INFO] [stdout] 29 │- wgpu::BindGroupLayoutDescriptor { [INFO] [stdout] 30 │- label: Some("Test::BindGroup0::LayoutDescriptor"), [INFO] [stdout] 31 │- entries: &[ [INFO] [stdout] 32 │- #[doc = " @binding(0): \"transforms\""] [INFO] [stdout] 33 │- wgpu::BindGroupLayoutEntry { [INFO] [stdout] 34 │- binding: 0, [INFO] [stdout] 35 │- visibility: wgpu::ShaderStages::VERTEX, [INFO] [stdout] 36 │- ty: wgpu::BindingType::Buffer { [INFO] [stdout] 37 │- ty: wgpu::BufferBindingType::Uniform, [INFO] [stdout] 38 │- has_dynamic_offset: false, [INFO] [stdout] 39 │- min_binding_size: std::num::NonZeroU64::new(std::mem::size_of::< [INFO] [stdout] 40 │- _root::test::Transforms, [INFO] [stdout] 41 │- >() as _), [INFO] [stdout] 42 │- }, [INFO] [stdout] 43 │- count: None, [INFO] [stdout] 44 │- }, [INFO] [stdout] 45 │- ], [INFO] [stdout] 28 │+ pub const LAYOUT_DESCRIPTOR: wgpu::BindGroupLayoutDescriptor<'static> = wgpu::BindGroupLayoutDescriptor { [INFO] [stdout] 29 │+ label: Some("Test::BindGroup0::LayoutDescriptor"), [INFO] [stdout] 30 │+ entries: &[ [INFO] [stdout] 31 │+ /// @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( [INFO] [stdout] 39 │+ std::mem::size_of::<_root::test::Transforms>() as _, [INFO] [stdout] 40 │+ ), [INFO] [stdout] 41 │+ }, [INFO] [stdout] 42 │+ count: None, [INFO] [stdout] 43 │+ }, [INFO] [stdout] 44 │+ ], [INFO] [stdout] 46 45 │ }; [INFO] [stdout] 47 │- pub fn get_bind_group_layout(device: &wgpu::Device) -> wgpu::BindGroupLayout { [INFO] [stdout] 48 │- device.create_bind_group_layout(&Self::LAYOUT_DESCRIPTOR) [INFO] [stdout] 49 │- } [INFO] [stdout] 50 │- pub fn from_bindings(device: &wgpu::Device, bindings: WgpuBindGroup0Entries) -> Self { [INFO] [stdout] 51 │- let bind_group_layout = Self::get_bind_group_layout(device); [INFO] [stdout] 52 │- let entries = bindings.into_array(); [INFO] [stdout] 53 │- let bind_group = device.create_bind_group(&wgpu::BindGroupDescriptor { [INFO] [stdout] 54 │- label: Some("Test::BindGroup0"), [INFO] [stdout] 55 │- layout: &bind_group_layout, [INFO] [stdout] 56 │- entries: &entries, [INFO] [stdout] 57 │- }); [INFO] [stdout] 58 │- Self(bind_group) [INFO] [stdout] 59 │- } [INFO] [stdout] 60 │- pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 61 │- pass.set_bind_group(0, &self.0, &[]); [INFO] [stdout] 62 │- } [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( [INFO] [stdout] 50 │+ device: &wgpu::Device, [INFO] [stdout] 51 │+ bindings: WgpuBindGroup0Entries, [INFO] [stdout] 52 │+ ) -> Self { [INFO] [stdout] 53 │+ let bind_group_layout = Self::get_bind_group_layout(device); [INFO] [stdout] 54 │+ let entries = bindings.into_array(); [INFO] [stdout] 55 │+ let bind_group = device [INFO] [stdout] 56 │+ .create_bind_group( [INFO] [stdout] 57 │+ &wgpu::BindGroupDescriptor { [INFO] [stdout] 58 │+ label: Some("Test::BindGroup0"), [INFO] [stdout] 59 │+ layout: &bind_group_layout, [INFO] [stdout] 60 │+ entries: &entries, [INFO] [stdout] 61 │+ }, [INFO] [stdout] 62 │+ ); [INFO] [stdout] 63 │+ Self(bind_group) [INFO] [stdout] 64 │+ } [INFO] [stdout] 65 │+ pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 66 │+ pass.set_bind_group(0, &self.0, &[]); [INFO] [stdout] 67 │+ } [INFO] [stdout] 63 68 │ } [INFO] [stdout] 64 │-#[doc = " Bind groups can be set individually using their set(render_pass) method, or all at once using `WgpuBindGroups::set`."] [INFO] [stdout] 65 │-#[doc = " For optimal performance with many draw calls, it's recommended to organize bindings into bind groups based on update frequency:"] [INFO] [stdout] 66 │-#[doc = " - Bind group 0: Least frequent updates (e.g. per frame resources)"] [INFO] [stdout] 67 │-#[doc = " - Bind group 1: More frequent updates"] [INFO] [stdout] 68 │-#[doc = " - Bind group 2: More frequent updates"] [INFO] [stdout] 69 │-#[doc = " - Bind group 3: Most frequent updates (e.g. per draw resources)"] [INFO] [stdout] 69 │+/// Bind groups can be set individually using their set(render_pass) method, or all at once using `WgpuBindGroups::set`. [INFO] [stdout] 70 │+/// For optimal performance with many draw calls, it's recommended to organize bindings into bind groups based on update frequency: [INFO] [stdout] 71 │+/// - Bind group 0: Least frequent updates (e.g. per frame resources) [INFO] [stdout] 72 │+/// - Bind group 1: More frequent updates [INFO] [stdout] 73 │+/// - Bind group 2: More frequent updates [INFO] [stdout] 74 │+/// - Bind group 3: Most frequent updates (e.g. per draw resources) [INFO] [stdout] 70 75 │ #[derive(Debug, Copy, Clone)] [INFO] [stdout] 71 76 │ pub struct WgpuBindGroups<'a> { [INFO] [stdout] 72 │- pub bind_group0: &'a WgpuBindGroup0, [INFO] [stdout] 77 │+ pub bind_group0: &'a WgpuBindGroup0, [INFO] [stdout] 73 78 │ } [INFO] [stdout] 74 79 │ impl<'a> WgpuBindGroups<'a> { [INFO] [stdout] 75 │- pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 76 │- self.bind_group0.set(pass); [INFO] [stdout] 77 │- } [INFO] [stdout] 80 │+ pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 81 │+ self.bind_group0.set(pass); [INFO] [stdout] 82 │+ } [INFO] [stdout] 78 83 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'generate::bind_group::tests::bind_groups_module_vertex' (45) 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: 0x64c0e9637a32 - std::backtrace_rs::backtrace::libunwind::trace::h9ea1e07ac77a25d7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x64c0e9637a32 - std::backtrace_rs::backtrace::trace_unsynchronized::h72b75eb83b53d15a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x64c0e9637a32 - std::sys::backtrace::_print_fmt::h255777b7ec902439 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x64c0e9637a32 - ::fmt::h8a1ac49fcd7ee8ce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x64c0e964b7af - core::fmt::rt::Argument::fmt::h635cbf3c6754cc90 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x64c0e964b7af - core::fmt::write::hbdcc0ec4f1bab1db [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x64c0e9602ef3 - std::io::default_write_fmt::h2580ece0d4b58e51 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x64c0e9602ef3 - std::io::Write::write_fmt::hac9e42858f273b87 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x64c0e960f802 - std::sys::backtrace::BacktraceLock::print::h052febbd86f7bf07 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x64c0e96154df - std::panicking::default_hook::{{closure}}::h66aeee20dd470abb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x64c0e9615371 - std::panicking::default_hook::h9d66b9642014ce48 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x64c0e8d48e0e - as core::ops::function::Fn>::call::h8c698701e444e564 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 12: 0x64c0e8d48e0e - test::test_main_with_exit_callback::{{closure}}::ha1c98e7b69c4defb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x64c0e9615b9f - as core::ops::function::Fn>::call::hc4f222a8a57c637a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 14: 0x64c0e9615b9f - std::panicking::panic_with_hook::h6d5921a1a1fa5a8e [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x64c0e961594a - std::panicking::panic_handler::{{closure}}::hafeef6f707d43542 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x64c0e960f939 - std::sys::backtrace::__rust_end_short_backtrace::h08cbc3319a3d0120 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x64c0e95f65ad - __rustc[ce5c411ff86ab1b2]::rust_begin_unwind [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x64c0e9656830 - core::panicking::panic_fmt::h774fb860369a0f7b [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x64c0e96554f6 - core::result::unwrap_failed::h72ee8fcbf1bf8ff9 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1862:5 [INFO] [stdout] 20: 0x64c0e8b3ae1b - core::result::Result::unwrap::h684f7c72affd3dee [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1233:23 [INFO] [stdout] 21: 0x64c0e8b3ae1b - wgsl_bindgen::generate::bind_group::tests::bind_groups_module_vertex::{{closure}}::ha8d1b4a53aaf473b [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x64c0e8ac4c8f - insta::settings::Settings::bind::h85de62891b36281e [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.2/src/settings.rs:509:9 [INFO] [stdout] 23: 0x64c0e8b3a915 - wgsl_bindgen::generate::bind_group::tests::bind_groups_module_vertex::h6f633bd58770d0a8 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x64c0e8b3a9e7 - wgsl_bindgen::generate::bind_group::tests::bind_groups_module_vertex::{{closure}}::h267914564dee96c2 [INFO] [stdout] at /opt/rustwide/workdir/src/generate/bind_group/mod.rs:470:33 [INFO] [stdout] 25: 0x64c0e8affc46 - core::ops::function::FnOnce::call_once::hebf25d147b224796 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x64c0e8d48c5b - core::ops::function::FnOnce::call_once::h4f6eabe90cccb47d [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x64c0e8d48c5b - test::__rust_begin_short_backtrace::h94208530f2b4c8c7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x64c0e8d5cc6d - test::run_test_in_process::{{closure}}::hbdc6a45a78c46404 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x64c0e8d5cc6d - as core::ops::function::FnOnce<()>>::call_once::h7f9d8efc7eedd165 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x64c0e8d5cc6d - std::panicking::catch_unwind::do_call::he5edbaf126c13b99 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x64c0e8d5cc6d - std::panicking::catch_unwind::h3d6a8652eceeabce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x64c0e8d5cc6d - std::panic::catch_unwind::hbef0c501dd7bb498 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x64c0e8d5cc6d - test::run_test_in_process::h400008a46a5006a0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x64c0e8d5cc6d - test::run_test::{{closure}}::h9a131655b31d9427 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x64c0e8d361b4 - test::run_test::{{closure}}::he4a7177c216308c0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x64c0e8d361b4 - std::sys::backtrace::__rust_begin_short_backtrace::hd3980e9c55d6c539 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x64c0e8d39aea - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h18552df67c7aa9b8 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:562:17 [INFO] [stdout] 38: 0x64c0e8d39aea - as core::ops::function::FnOnce<()>>::call_once::h3d7b285234641a08 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x64c0e8d39aea - std::panicking::catch_unwind::do_call::h5a2b5cf36528a5b2 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x64c0e8d39aea - std::panicking::catch_unwind::h7e8b531bbda77d20 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x64c0e8d39aea - std::panic::catch_unwind::hf9bbb2040b4f1e6c [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x64c0e8d39aea - std::thread::Builder::spawn_unchecked_::{{closure}}::h600f92cf68549574 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:560:30 [INFO] [stdout] 43: 0x64c0e8d39aea - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb6607307df8a1847 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x64c0e960ab4f - as core::ops::function::FnOnce>::call_once::h6891ad53a5ed6f52 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2085:9 [INFO] [stdout] 45: 0x64c0e960ab4f - std::sys::thread::unix::Thread::new::thread_start::h7f3e77fa86df70af [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/thread/unix.rs:124:17 [INFO] [stdout] 46: 0x7f6eeb82aaa4 - [INFO] [stdout] 47: 0x7f6eeb8b7a64 - 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 'c2e32f1c9652b13ed99608599c1e855462f421f3'. [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] 1 1 │ #[derive(Debug)] [INFO] [stdout] 2 2 │ pub struct WgpuBindGroup0EntriesParams<'a> { [INFO] [stdout] 3 │- pub src: wgpu::BufferBinding<'a>, [INFO] [stdout] 4 │- pub vertex_weights: wgpu::BufferBinding<'a>, [INFO] [stdout] 5 │- pub dst: wgpu::BufferBinding<'a>, [INFO] [stdout] 3 │+ pub src: wgpu::BufferBinding<'a>, [INFO] [stdout] 4 │+ pub vertex_weights: wgpu::BufferBinding<'a>, [INFO] [stdout] 5 │+ pub dst: wgpu::BufferBinding<'a>, [INFO] [stdout] 6 6 │ } [INFO] [stdout] 7 7 │ #[derive(Clone, Debug)] [INFO] [stdout] 8 8 │ pub struct WgpuBindGroup0Entries<'a> { [INFO] [stdout] 9 │- pub src: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 10 │- pub vertex_weights: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 11 │- pub dst: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 9 │+ pub src: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 10 │+ pub vertex_weights: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 11 │+ pub dst: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 12 12 │ } [INFO] [stdout] 13 13 │ impl<'a> WgpuBindGroup0Entries<'a> { [INFO] [stdout] 14 │- pub fn new(params: WgpuBindGroup0EntriesParams<'a>) -> Self { [INFO] [stdout] 15 │- Self { [INFO] [stdout] 16 │- src: wgpu::BindGroupEntry { [INFO] [stdout] 17 │- binding: 0, [INFO] [stdout] 18 │- resource: wgpu::BindingResource::Buffer(params.src), [INFO] [stdout] 19 │- }, [INFO] [stdout] 20 │- vertex_weights: wgpu::BindGroupEntry { [INFO] [stdout] 21 │- binding: 1, [INFO] [stdout] 22 │- resource: wgpu::BindingResource::Buffer(params.vertex_weights), [INFO] [stdout] 23 │- }, [INFO] [stdout] 24 │- dst: wgpu::BindGroupEntry { [INFO] [stdout] 25 │- binding: 2, [INFO] [stdout] 26 │- resource: wgpu::BindingResource::Buffer(params.dst), [INFO] [stdout] 27 │- }, [INFO] [stdout] 14 │+ pub fn new(params: WgpuBindGroup0EntriesParams<'a>) -> Self { [INFO] [stdout] 15 │+ Self { [INFO] [stdout] 16 │+ src: wgpu::BindGroupEntry { [INFO] [stdout] 17 │+ binding: 0, [INFO] [stdout] 18 │+ resource: wgpu::BindingResource::Buffer(params.src), [INFO] [stdout] 19 │+ }, [INFO] [stdout] 20 │+ vertex_weights: wgpu::BindGroupEntry { [INFO] [stdout] 21 │+ binding: 1, [INFO] [stdout] 22 │+ resource: wgpu::BindingResource::Buffer(params.vertex_weights), [INFO] [stdout] 23 │+ }, [INFO] [stdout] 24 │+ dst: wgpu::BindGroupEntry { [INFO] [stdout] 25 │+ binding: 2, [INFO] [stdout] 26 │+ resource: wgpu::BindingResource::Buffer(params.dst), [INFO] [stdout] 27 │+ }, [INFO] [stdout] 28 │+ } [INFO] [stdout] 29 │+ } [INFO] [stdout] 30 │+ pub fn into_array(self) -> [wgpu::BindGroupEntry<'a>; 3] { [INFO] [stdout] 31 │+ [self.src, self.vertex_weights, self.dst] [INFO] [stdout] 32 │+ } [INFO] [stdout] 33 │+ pub fn collect>>(self) -> B { [INFO] [stdout] 34 │+ self.into_array().into_iter().collect() [INFO] [stdout] 28 35 │ } [INFO] [stdout] 29 │- } [INFO] [stdout] 30 │- pub fn into_array(self) -> [wgpu::BindGroupEntry<'a>; 3] { [INFO] [stdout] 31 │- [self.src, self.vertex_weights, self.dst] [INFO] [stdout] 32 │- } [INFO] [stdout] 33 │- pub fn collect>>(self) -> B { [INFO] [stdout] 34 │- self.into_array().into_iter().collect() [INFO] [stdout] 35 │- } [INFO] [stdout] 36 36 │ } [INFO] [stdout] 37 37 │ #[derive(Debug)] [INFO] [stdout] 38 38 │ pub struct WgpuBindGroup0(wgpu::BindGroup); [INFO] [stdout] 39 39 │ impl WgpuBindGroup0 { [INFO] [stdout] 40 │- pub const LAYOUT_DESCRIPTOR: wgpu::BindGroupLayoutDescriptor<'static> = [INFO] [stdout] 41 │- wgpu::BindGroupLayoutDescriptor { [INFO] [stdout] 42 │- label: Some("Test::BindGroup0::LayoutDescriptor"), [INFO] [stdout] 43 │- entries: &[ [INFO] [stdout] 44 │- #[doc = " @binding(0): \"src\""] [INFO] [stdout] 45 │- wgpu::BindGroupLayoutEntry { [INFO] [stdout] 46 │- binding: 0, [INFO] [stdout] 47 │- visibility: wgpu::ShaderStages::COMPUTE, [INFO] [stdout] 48 │- ty: wgpu::BindingType::Buffer { [INFO] [stdout] 49 │- ty: wgpu::BufferBindingType::Storage { read_only: true }, [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 │- #[doc = " @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 { read_only: true }, [INFO] [stdout] 61 │- has_dynamic_offset: false, [INFO] [stdout] 62 │- min_binding_size: std::num::NonZeroU64::new(std::mem::size_of::< [INFO] [stdout] 63 │- _root::test::VertexWeights, [INFO] [stdout] 64 │- >() as _), [INFO] [stdout] 65 │- }, [INFO] [stdout] 66 │- count: None, [INFO] [stdout] 67 │- }, [INFO] [stdout] 68 │- #[doc = " @binding(2): \"dst\""] [INFO] [stdout] 69 │- wgpu::BindGroupLayoutEntry { [INFO] [stdout] 70 │- binding: 2, [INFO] [stdout] 71 │- visibility: wgpu::ShaderStages::COMPUTE, [INFO] [stdout] 72 │- ty: wgpu::BindingType::Buffer { [INFO] [stdout] 73 │- ty: wgpu::BufferBindingType::Storage { read_only: false }, [INFO] [stdout] 74 │- has_dynamic_offset: false, [INFO] [stdout] 75 │- min_binding_size: std::num::NonZeroU64::new(std::mem::size_of::< [INFO] [stdout] 76 │- _root::test::Vertices, [INFO] [stdout] 77 │- >() as _), [INFO] [stdout] 78 │- }, [INFO] [stdout] 79 │- count: None, [INFO] [stdout] 80 │- }, [INFO] [stdout] 81 │- ], [INFO] [stdout] 40 │+ pub const LAYOUT_DESCRIPTOR: wgpu::BindGroupLayoutDescriptor<'static> = wgpu::BindGroupLayoutDescriptor { [INFO] [stdout] 41 │+ label: Some("Test::BindGroup0::LayoutDescriptor"), [INFO] [stdout] 42 │+ entries: &[ [INFO] [stdout] 43 │+ /// @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 { [INFO] [stdout] 49 │+ read_only: true, [INFO] [stdout] 50 │+ }, [INFO] [stdout] 51 │+ has_dynamic_offset: false, [INFO] [stdout] 52 │+ min_binding_size: None, [INFO] [stdout] 53 │+ }, [INFO] [stdout] 54 │+ count: None, [INFO] [stdout] 55 │+ }, [INFO] [stdout] 56 │+ /// @binding(1): "vertex_weights" [INFO] [stdout] 57 │+ wgpu::BindGroupLayoutEntry { [INFO] [stdout] 58 │+ binding: 1, [INFO] [stdout] 59 │+ visibility: wgpu::ShaderStages::COMPUTE, [INFO] [stdout] 60 │+ ty: wgpu::BindingType::Buffer { [INFO] [stdout] 61 │+ ty: wgpu::BufferBindingType::Storage { [INFO] [stdout] 62 │+ read_only: true, [INFO] [stdout] 63 │+ }, [INFO] [stdout] 64 │+ has_dynamic_offset: false, [INFO] [stdout] 65 │+ min_binding_size: std::num::NonZeroU64::new( [INFO] [stdout] 66 │+ std::mem::size_of::<_root::test::VertexWeights>() as _, [INFO] [stdout] 67 │+ ), [INFO] [stdout] 68 │+ }, [INFO] [stdout] 69 │+ count: None, [INFO] [stdout] 70 │+ }, [INFO] [stdout] 71 │+ /// @binding(2): "dst" [INFO] [stdout] 72 │+ wgpu::BindGroupLayoutEntry { [INFO] [stdout] 73 │+ binding: 2, [INFO] [stdout] 74 │+ visibility: wgpu::ShaderStages::COMPUTE, [INFO] [stdout] 75 │+ ty: wgpu::BindingType::Buffer { [INFO] [stdout] 76 │+ ty: wgpu::BufferBindingType::Storage { [INFO] [stdout] 77 │+ read_only: false, [INFO] [stdout] 78 │+ }, [INFO] [stdout] 79 │+ has_dynamic_offset: false, [INFO] [stdout] 80 │+ min_binding_size: std::num::NonZeroU64::new( [INFO] [stdout] 81 │+ std::mem::size_of::<_root::test::Vertices>() as _, [INFO] [stdout] 82 │+ ), [INFO] [stdout] 83 │+ }, [INFO] [stdout] 84 │+ count: None, [INFO] [stdout] 85 │+ }, [INFO] [stdout] 86 │+ ], [INFO] [stdout] 82 87 │ }; [INFO] [stdout] 83 │- pub fn get_bind_group_layout(device: &wgpu::Device) -> wgpu::BindGroupLayout { [INFO] [stdout] 84 │- device.create_bind_group_layout(&Self::LAYOUT_DESCRIPTOR) [INFO] [stdout] 85 │- } [INFO] [stdout] 86 │- pub fn from_bindings(device: &wgpu::Device, bindings: WgpuBindGroup0Entries) -> Self { [INFO] [stdout] 87 │- let bind_group_layout = Self::get_bind_group_layout(device); [INFO] [stdout] 88 │- let entries = bindings.into_array(); [INFO] [stdout] 89 │- let bind_group = device.create_bind_group(&wgpu::BindGroupDescriptor { [INFO] [stdout] 90 │- label: Some("Test::BindGroup0"), [INFO] [stdout] 91 │- layout: &bind_group_layout, [INFO] [stdout] 92 │- entries: &entries, [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] 88 │+ pub fn get_bind_group_layout(device: &wgpu::Device) -> wgpu::BindGroupLayout { [INFO] [stdout] 89 │+ device.create_bind_group_layout(&Self::LAYOUT_DESCRIPTOR) [INFO] [stdout] 90 │+ } [INFO] [stdout] 91 │+ pub fn from_bindings( [INFO] [stdout] 92 │+ device: &wgpu::Device, [INFO] [stdout] 93 │+ bindings: WgpuBindGroup0Entries, [INFO] [stdout] 94 │+ ) -> Self { [INFO] [stdout] 95 │+ let bind_group_layout = Self::get_bind_group_layout(device); [INFO] [stdout] 96 │+ let entries = bindings.into_array(); [INFO] [stdout] 97 │+ let bind_group = device [INFO] [stdout] 98 │+ .create_bind_group( [INFO] [stdout] 99 │+ &wgpu::BindGroupDescriptor { [INFO] [stdout] 100 │+ label: Some("Test::BindGroup0"), [INFO] [stdout] 101 │+ layout: &bind_group_layout, [INFO] [stdout] 102 │+ entries: &entries, [INFO] [stdout] 103 │+ }, [INFO] [stdout] 104 │+ ); [INFO] [stdout] 105 │+ Self(bind_group) [INFO] [stdout] 106 │+ } [INFO] [stdout] 107 │+ pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 108 │+ pass.set_bind_group(0, &self.0, &[]); [INFO] [stdout] 109 │+ } [INFO] [stdout] 99 110 │ } [INFO] [stdout] 100 111 │ #[derive(Debug)] [INFO] [stdout] 101 112 │ pub struct WgpuBindGroup1EntriesParams<'a> { [INFO] [stdout] 102 │- pub transforms: wgpu::BufferBinding<'a>, [INFO] [stdout] 113 │+ pub transforms: wgpu::BufferBinding<'a>, [INFO] [stdout] 103 114 │ } [INFO] [stdout] 104 115 │ #[derive(Clone, Debug)] [INFO] [stdout] 105 116 │ pub struct WgpuBindGroup1Entries<'a> { [INFO] [stdout] 106 │- pub transforms: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 117 │+ pub transforms: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 107 118 │ } [INFO] [stdout] 108 119 │ impl<'a> WgpuBindGroup1Entries<'a> { [INFO] [stdout] 109 │- pub fn new(params: WgpuBindGroup1EntriesParams<'a>) -> Self { [INFO] [stdout] 110 │- Self { [INFO] [stdout] 111 │- transforms: wgpu::BindGroupEntry { [INFO] [stdout] 112 │- binding: 0, [INFO] [stdout] 113 │- resource: wgpu::BindingResource::Buffer(params.transforms), [INFO] [stdout] 114 │- }, [INFO] [stdout] 120 │+ pub fn new(params: WgpuBindGroup1EntriesParams<'a>) -> Self { [INFO] [stdout] 121 │+ Self { [INFO] [stdout] 122 │+ transforms: wgpu::BindGroupEntry { [INFO] [stdout] 123 │+ binding: 0, [INFO] [stdout] 124 │+ resource: wgpu::BindingResource::Buffer(params.transforms), [INFO] [stdout] 125 │+ }, [INFO] [stdout] 126 │+ } [INFO] [stdout] 127 │+ } [INFO] [stdout] 128 │+ pub fn into_array(self) -> [wgpu::BindGroupEntry<'a>; 1] { [INFO] [stdout] 129 │+ [self.transforms] [INFO] [stdout] 130 │+ } [INFO] [stdout] 131 │+ pub fn collect>>(self) -> B { [INFO] [stdout] 132 │+ self.into_array().into_iter().collect() [INFO] [stdout] 115 133 │ } [INFO] [stdout] 116 │- } [INFO] [stdout] 117 │- pub fn into_array(self) -> [wgpu::BindGroupEntry<'a>; 1] { [INFO] [stdout] 118 │- [self.transforms] [INFO] [stdout] 119 │- } [INFO] [stdout] 120 │- pub fn collect>>(self) -> B { [INFO] [stdout] 121 │- self.into_array().into_iter().collect() [INFO] [stdout] 122 │- } [INFO] [stdout] 123 134 │ } [INFO] [stdout] 124 135 │ #[derive(Debug)] [INFO] [stdout] 125 136 │ pub struct WgpuBindGroup1(wgpu::BindGroup); [INFO] [stdout] 126 137 │ impl WgpuBindGroup1 { [INFO] [stdout] 127 │- pub const LAYOUT_DESCRIPTOR: wgpu::BindGroupLayoutDescriptor<'static> = [INFO] [stdout] 128 │- wgpu::BindGroupLayoutDescriptor { [INFO] [stdout] 129 │- label: Some("Test::BindGroup1::LayoutDescriptor"), [INFO] [stdout] 130 │- entries: &[ [INFO] [stdout] 131 │- #[doc = " @binding(0): \"transforms\""] [INFO] [stdout] 132 │- wgpu::BindGroupLayoutEntry { [INFO] [stdout] 133 │- binding: 0, [INFO] [stdout] 134 │- visibility: wgpu::ShaderStages::COMPUTE, [INFO] [stdout] 135 │- ty: wgpu::BindingType::Buffer { [INFO] [stdout] 136 │- ty: wgpu::BufferBindingType::Uniform, [INFO] [stdout] 137 │- has_dynamic_offset: false, [INFO] [stdout] 138 │- min_binding_size: std::num::NonZeroU64::new(std::mem::size_of::< [INFO] [stdout] 139 │- _root::test::Transforms, [INFO] [stdout] 140 │- >() as _), [INFO] [stdout] 141 │- }, [INFO] [stdout] 142 │- count: None, [INFO] [stdout] 143 │- }, [INFO] [stdout] 144 │- ], [INFO] [stdout] 138 │+ pub const LAYOUT_DESCRIPTOR: wgpu::BindGroupLayoutDescriptor<'static> = wgpu::BindGroupLayoutDescriptor { [INFO] [stdout] 139 │+ label: Some("Test::BindGroup1::LayoutDescriptor"), [INFO] [stdout] 140 │+ entries: &[ [INFO] [stdout] 141 │+ /// @binding(0): "transforms" [INFO] [stdout] 142 │+ wgpu::BindGroupLayoutEntry { [INFO] [stdout] 143 │+ binding: 0, [INFO] [stdout] 144 │+ visibility: wgpu::ShaderStages::COMPUTE, [INFO] [stdout] 145 │+ ty: wgpu::BindingType::Buffer { [INFO] [stdout] 146 │+ ty: wgpu::BufferBindingType::Uniform, [INFO] [stdout] 147 │+ has_dynamic_offset: false, [INFO] [stdout] 148 │+ min_binding_size: std::num::NonZeroU64::new( [INFO] [stdout] 149 │+ std::mem::size_of::<_root::test::Transforms>() as _, [INFO] [stdout] 150 │+ ), [INFO] [stdout] 151 │+ }, [INFO] [stdout] 152 │+ count: None, [INFO] [stdout] 153 │+ }, [INFO] [stdout] 154 │+ ], [INFO] [stdout] 145 155 │ }; [INFO] [stdout] 146 │- pub fn get_bind_group_layout(device: &wgpu::Device) -> wgpu::BindGroupLayout { [INFO] [stdout] 147 │- device.create_bind_group_layout(&Self::LAYOUT_DESCRIPTOR) [INFO] [stdout] 148 │- } [INFO] [stdout] 149 │- pub fn from_bindings(device: &wgpu::Device, bindings: WgpuBindGroup1Entries) -> Self { [INFO] [stdout] 150 │- let bind_group_layout = Self::get_bind_group_layout(device); [INFO] [stdout] 151 │- let entries = bindings.into_array(); [INFO] [stdout] 152 │- let bind_group = device.create_bind_group(&wgpu::BindGroupDescriptor { [INFO] [stdout] 153 │- label: Some("Test::BindGroup1"), [INFO] [stdout] 154 │- layout: &bind_group_layout, [INFO] [stdout] 155 │- entries: &entries, [INFO] [stdout] 156 │- }); [INFO] [stdout] 157 │- Self(bind_group) [INFO] [stdout] 158 │- } [INFO] [stdout] 159 │- pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 160 │- pass.set_bind_group(1, &self.0, &[]); [INFO] [stdout] 161 │- } [INFO] [stdout] 156 │+ pub fn get_bind_group_layout(device: &wgpu::Device) -> wgpu::BindGroupLayout { [INFO] [stdout] 157 │+ device.create_bind_group_layout(&Self::LAYOUT_DESCRIPTOR) [INFO] [stdout] 158 │+ } [INFO] [stdout] 159 │+ pub fn from_bindings( [INFO] [stdout] 160 │+ device: &wgpu::Device, [INFO] [stdout] 161 │+ bindings: WgpuBindGroup1Entries, [INFO] [stdout] 162 │+ ) -> Self { [INFO] [stdout] 163 │+ let bind_group_layout = Self::get_bind_group_layout(device); [INFO] [stdout] 164 │+ let entries = bindings.into_array(); [INFO] [stdout] 165 │+ let bind_group = device [INFO] [stdout] 166 │+ .create_bind_group( [INFO] [stdout] 167 │+ &wgpu::BindGroupDescriptor { [INFO] [stdout] 168 │+ label: Some("Test::BindGroup1"), [INFO] [stdout] 169 │+ layout: &bind_group_layout, [INFO] [stdout] 170 │+ entries: &entries, [INFO] [stdout] 171 │+ }, [INFO] [stdout] 172 │+ ); [INFO] [stdout] 173 │+ Self(bind_group) [INFO] [stdout] 174 │+ } [INFO] [stdout] 175 │+ pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 176 │+ pass.set_bind_group(1, &self.0, &[]); [INFO] [stdout] 177 │+ } [INFO] [stdout] 162 178 │ } [INFO] [stdout] 163 │-#[doc = " Bind groups can be set individually using their set(render_pass) method, or all at once using `WgpuBindGroups::set`."] [INFO] [stdout] 164 │-#[doc = " For optimal performance with many draw calls, it's recommended to organize bindings into bind groups based on update frequency:"] [INFO] [stdout] 165 │-#[doc = " - Bind group 0: Least frequent updates (e.g. per frame resources)"] [INFO] [stdout] 166 │-#[doc = " - Bind group 1: More frequent updates"] [INFO] [stdout] 167 │-#[doc = " - Bind group 2: More frequent updates"] [INFO] [stdout] 168 │-#[doc = " - Bind group 3: Most frequent updates (e.g. per draw resources)"] [INFO] [stdout] 179 │+/// Bind groups can be set individually using their set(render_pass) method, or all at once using `WgpuBindGroups::set`. [INFO] [stdout] 180 │+/// For optimal performance with many draw calls, it's recommended to organize bindings into bind groups based on update frequency: [INFO] [stdout] 181 │+/// - Bind group 0: Least frequent updates (e.g. per frame resources) [INFO] [stdout] 182 │+/// - Bind group 1: More frequent updates [INFO] [stdout] 183 │+/// - Bind group 2: More frequent updates [INFO] [stdout] 184 │+/// - Bind group 3: Most frequent updates (e.g. per draw resources) [INFO] [stdout] 169 185 │ #[derive(Debug, Copy, Clone)] [INFO] [stdout] 170 186 │ pub struct WgpuBindGroups<'a> { [INFO] [stdout] 171 │- pub bind_group0: &'a WgpuBindGroup0, [INFO] [stdout] 172 │- pub bind_group1: &'a WgpuBindGroup1, [INFO] [stdout] 187 │+ pub bind_group0: &'a WgpuBindGroup0, [INFO] [stdout] 188 │+ pub bind_group1: &'a WgpuBindGroup1, [INFO] [stdout] 173 189 │ } [INFO] [stdout] 174 190 │ impl<'a> WgpuBindGroups<'a> { [INFO] [stdout] 175 │- pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 176 │- self.bind_group0.set(pass); [INFO] [stdout] 177 │- self.bind_group1.set(pass); [INFO] [stdout] 178 │- } [INFO] [stdout] 191 │+ pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 192 │+ self.bind_group0.set(pass); [INFO] [stdout] 193 │+ self.bind_group1.set(pass); [INFO] [stdout] 194 │+ } [INFO] [stdout] 179 195 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'generate::bind_group::tests::bind_groups_module_compute' (43) 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: 0x64c0e9637a32 - std::backtrace_rs::backtrace::libunwind::trace::h9ea1e07ac77a25d7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x64c0e9637a32 - std::backtrace_rs::backtrace::trace_unsynchronized::h72b75eb83b53d15a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x64c0e9637a32 - std::sys::backtrace::_print_fmt::h255777b7ec902439 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x64c0e9637a32 - ::fmt::h8a1ac49fcd7ee8ce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x64c0e964b7af - core::fmt::rt::Argument::fmt::h635cbf3c6754cc90 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x64c0e964b7af - core::fmt::write::hbdcc0ec4f1bab1db [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x64c0e9602ef3 - std::io::default_write_fmt::h2580ece0d4b58e51 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x64c0e9602ef3 - std::io::Write::write_fmt::hac9e42858f273b87 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x64c0e960f802 - std::sys::backtrace::BacktraceLock::print::h052febbd86f7bf07 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x64c0e96154df - std::panicking::default_hook::{{closure}}::h66aeee20dd470abb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x64c0e9615371 - std::panicking::default_hook::h9d66b9642014ce48 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x64c0e8d48e0e - as core::ops::function::Fn>::call::h8c698701e444e564 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 12: 0x64c0e8d48e0e - test::test_main_with_exit_callback::{{closure}}::ha1c98e7b69c4defb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x64c0e9615b9f - as core::ops::function::Fn>::call::hc4f222a8a57c637a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 14: 0x64c0e9615b9f - std::panicking::panic_with_hook::h6d5921a1a1fa5a8e [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x64c0e961594a - std::panicking::panic_handler::{{closure}}::hafeef6f707d43542 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x64c0e960f939 - std::sys::backtrace::__rust_end_short_backtrace::h08cbc3319a3d0120 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x64c0e95f65ad - __rustc[ce5c411ff86ab1b2]::rust_begin_unwind [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x64c0e9656830 - core::panicking::panic_fmt::h774fb860369a0f7b [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x64c0e96554f6 - core::result::unwrap_failed::h72ee8fcbf1bf8ff9 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1862:5 [INFO] [stdout] 20: 0x64c0e8b3b8cb - core::result::Result::unwrap::h684f7c72affd3dee [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1233:23 [INFO] [stdout] 21: 0x64c0e8b3b8cb - wgsl_bindgen::generate::bind_group::tests::bind_groups_module_compute::{{closure}}::he03adcaabc055c01 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x64c0e8ac586f - insta::settings::Settings::bind::hf680d4d58ae07ce8 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.2/src/settings.rs:509:9 [INFO] [stdout] 23: 0x64c0e8b3b3c5 - wgsl_bindgen::generate::bind_group::tests::bind_groups_module_compute::h8a77c83817a10bdf [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x64c0e8b3b497 - wgsl_bindgen::generate::bind_group::tests::bind_groups_module_compute::{{closure}}::h05690fb8769b5e0b [INFO] [stdout] at /opt/rustwide/workdir/src/generate/bind_group/mod.rs:367:34 [INFO] [stdout] 25: 0x64c0e8aff616 - core::ops::function::FnOnce::call_once::hbcc2c447dcb76b1f [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x64c0e8d48c5b - core::ops::function::FnOnce::call_once::h4f6eabe90cccb47d [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x64c0e8d48c5b - test::__rust_begin_short_backtrace::h94208530f2b4c8c7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x64c0e8d5cc6d - test::run_test_in_process::{{closure}}::hbdc6a45a78c46404 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x64c0e8d5cc6d - as core::ops::function::FnOnce<()>>::call_once::h7f9d8efc7eedd165 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x64c0e8d5cc6d - std::panicking::catch_unwind::do_call::he5edbaf126c13b99 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x64c0e8d5cc6d - std::panicking::catch_unwind::h3d6a8652eceeabce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x64c0e8d5cc6d - std::panic::catch_unwind::hbef0c501dd7bb498 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x64c0e8d5cc6d - test::run_test_in_process::h400008a46a5006a0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x64c0e8d5cc6d - test::run_test::{{closure}}::h9a131655b31d9427 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x64c0e8d361b4 - test::run_test::{{closure}}::he4a7177c216308c0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x64c0e8d361b4 - std::sys::backtrace::__rust_begin_short_backtrace::hd3980e9c55d6c539 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x64c0e8d39aea - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h18552df67c7aa9b8 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:562:17 [INFO] [stdout] 38: 0x64c0e8d39aea - as core::ops::function::FnOnce<()>>::call_once::h3d7b285234641a08 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x64c0e8d39aea - std::panicking::catch_unwind::do_call::h5a2b5cf36528a5b2 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x64c0e8d39aea - std::panicking::catch_unwind::h7e8b531bbda77d20 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x64c0e8d39aea - std::panic::catch_unwind::hf9bbb2040b4f1e6c [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x64c0e8d39aea - std::thread::Builder::spawn_unchecked_::{{closure}}::h600f92cf68549574 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:560:30 [INFO] [stdout] 43: 0x64c0e8d39aea - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb6607307df8a1847 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x64c0e960ab4f - as core::ops::function::FnOnce>::call_once::h6891ad53a5ed6f52 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2085:9 [INFO] [stdout] 45: 0x64c0e960ab4f - std::sys::thread::unix::Thread::new::thread_start::h7f3e77fa86df70af [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/thread/unix.rs:124:17 [INFO] [stdout] 46: 0x7f6eeb82aaa4 - [INFO] [stdout] 47: 0x7f6eeb8b7a64 - 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 'c2e32f1c9652b13ed99608599c1e855462f421f3'. [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] 1 1 │ impl VertexInput0 { [INFO] [stdout] 2 │- pub const VERTEX_ATTRIBUTES: [wgpu::VertexAttribute; 4] = [ [INFO] [stdout] 3 │- wgpu::VertexAttribute { [INFO] [stdout] 4 │- format: wgpu::VertexFormat::Float64, [INFO] [stdout] 5 │- offset: std::mem::offset_of!(Self, a) as u64, [INFO] [stdout] 6 │- shader_location: 0, [INFO] [stdout] 7 │- }, [INFO] [stdout] 8 │- wgpu::VertexAttribute { [INFO] [stdout] 9 │- format: wgpu::VertexFormat::Float64x2, [INFO] [stdout] 10 │- offset: std::mem::offset_of!(Self, b) as u64, [INFO] [stdout] 11 │- shader_location: 1, [INFO] [stdout] 12 │- }, [INFO] [stdout] 13 │- wgpu::VertexAttribute { [INFO] [stdout] 14 │- format: wgpu::VertexFormat::Float64x3, [INFO] [stdout] 15 │- offset: std::mem::offset_of!(Self, c) as u64, [INFO] [stdout] 16 │- shader_location: 2, [INFO] [stdout] 17 │- }, [INFO] [stdout] 18 │- wgpu::VertexAttribute { [INFO] [stdout] 19 │- format: wgpu::VertexFormat::Float64x4, [INFO] [stdout] 20 │- offset: std::mem::offset_of!(Self, d) as u64, [INFO] [stdout] 21 │- shader_location: 3, [INFO] [stdout] 22 │- }, [INFO] [stdout] 23 │- ]; [INFO] [stdout] 24 │- pub const fn vertex_buffer_layout( [INFO] [stdout] 25 │- step_mode: wgpu::VertexStepMode, [INFO] [stdout] 26 │- ) -> wgpu::VertexBufferLayout<'static> { [INFO] [stdout] 27 │- wgpu::VertexBufferLayout { [INFO] [stdout] 28 │- array_stride: std::mem::size_of::() as u64, [INFO] [stdout] 29 │- step_mode, [INFO] [stdout] 30 │- attributes: &Self::VERTEX_ATTRIBUTES, [INFO] [stdout] 2 │+ pub const VERTEX_ATTRIBUTES: [wgpu::VertexAttribute; 4] = [ [INFO] [stdout] 3 │+ wgpu::VertexAttribute { [INFO] [stdout] 4 │+ format: wgpu::VertexFormat::Float64, [INFO] [stdout] 5 │+ offset: std::mem::offset_of!(Self, a) as u64, [INFO] [stdout] 6 │+ shader_location: 0, [INFO] [stdout] 7 │+ }, [INFO] [stdout] 8 │+ wgpu::VertexAttribute { [INFO] [stdout] 9 │+ format: wgpu::VertexFormat::Float64x2, [INFO] [stdout] 10 │+ offset: std::mem::offset_of!(Self, b) as u64, [INFO] [stdout] 11 │+ shader_location: 1, [INFO] [stdout] 12 │+ }, [INFO] [stdout] 13 │+ wgpu::VertexAttribute { [INFO] [stdout] 14 │+ format: wgpu::VertexFormat::Float64x3, [INFO] [stdout] 15 │+ offset: std::mem::offset_of!(Self, c) as u64, [INFO] [stdout] 16 │+ shader_location: 2, [INFO] [stdout] 17 │+ }, [INFO] [stdout] 18 │+ wgpu::VertexAttribute { [INFO] [stdout] 19 │+ format: wgpu::VertexFormat::Float64x4, [INFO] [stdout] 20 │+ offset: std::mem::offset_of!(Self, d) as u64, [INFO] [stdout] 21 │+ shader_location: 3, [INFO] [stdout] 22 │+ }, [INFO] [stdout] 23 │+ ]; [INFO] [stdout] 24 │+ pub const fn vertex_buffer_layout( [INFO] [stdout] 25 │+ step_mode: wgpu::VertexStepMode, [INFO] [stdout] 26 │+ ) -> wgpu::VertexBufferLayout<'static> { [INFO] [stdout] 27 │+ wgpu::VertexBufferLayout { [INFO] [stdout] 28 │+ array_stride: std::mem::size_of::() as u64, [INFO] [stdout] 29 │+ step_mode, [INFO] [stdout] 30 │+ attributes: &Self::VERTEX_ATTRIBUTES, [INFO] [stdout] 31 │+ } [INFO] [stdout] 31 32 │ } [INFO] [stdout] 32 │- } [INFO] [stdout] 33 33 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'generate::entry::test::write_vertex_module_single_input_float64' (1254) 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: 0x64c0e9637a32 - std::backtrace_rs::backtrace::libunwind::trace::h9ea1e07ac77a25d7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x64c0e9637a32 - std::backtrace_rs::backtrace::trace_unsynchronized::h72b75eb83b53d15a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x64c0e9637a32 - std::sys::backtrace::_print_fmt::h255777b7ec902439 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x64c0e9637a32 - ::fmt::h8a1ac49fcd7ee8ce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x64c0e964b7af - core::fmt::rt::Argument::fmt::h635cbf3c6754cc90 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x64c0e964b7af - core::fmt::write::hbdcc0ec4f1bab1db [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x64c0e9602ef3 - std::io::default_write_fmt::h2580ece0d4b58e51 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x64c0e9602ef3 - std::io::Write::write_fmt::hac9e42858f273b87 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x64c0e960f802 - std::sys::backtrace::BacktraceLock::print::h052febbd86f7bf07 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x64c0e96154df - std::panicking::default_hook::{{closure}}::h66aeee20dd470abb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x64c0e9615371 - std::panicking::default_hook::h9d66b9642014ce48 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x64c0e8d48e0e - as core::ops::function::Fn>::call::h8c698701e444e564 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 12: 0x64c0e8d48e0e - test::test_main_with_exit_callback::{{closure}}::ha1c98e7b69c4defb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x64c0e9615b9f - as core::ops::function::Fn>::call::hc4f222a8a57c637a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 14: 0x64c0e9615b9f - std::panicking::panic_with_hook::h6d5921a1a1fa5a8e [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x64c0e961594a - std::panicking::panic_handler::{{closure}}::hafeef6f707d43542 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x64c0e960f939 - std::sys::backtrace::__rust_end_short_backtrace::h08cbc3319a3d0120 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x64c0e95f65ad - __rustc[ce5c411ff86ab1b2]::rust_begin_unwind [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x64c0e9656830 - core::panicking::panic_fmt::h774fb860369a0f7b [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x64c0e96554f6 - core::result::unwrap_failed::h72ee8fcbf1bf8ff9 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1862:5 [INFO] [stdout] 20: 0x64c0e8b4635b - core::result::Result::unwrap::h684f7c72affd3dee [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1233:23 [INFO] [stdout] 21: 0x64c0e8b4635b - wgsl_bindgen::generate::entry::test::write_vertex_module_single_input_float64::{{closure}}::ha18fbf71c1875c8c [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x64c0e8ac522f - insta::settings::Settings::bind::hb7c7008928c75ddc [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.2/src/settings.rs:509:9 [INFO] [stdout] 23: 0x64c0e8b45e75 - wgsl_bindgen::generate::entry::test::write_vertex_module_single_input_float64::h29c6b999d7440aed [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x64c0e8b45f27 - wgsl_bindgen::generate::entry::test::write_vertex_module_single_input_float64::{{closure}}::h95771c91d0d71dc4 [INFO] [stdout] at /opt/rustwide/workdir/src/generate/entry.rs:359:48 [INFO] [stdout] 25: 0x64c0e8aff516 - core::ops::function::FnOnce::call_once::hb94ad963a1b2cc30 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x64c0e8d48c5b - core::ops::function::FnOnce::call_once::h4f6eabe90cccb47d [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x64c0e8d48c5b - test::__rust_begin_short_backtrace::h94208530f2b4c8c7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x64c0e8d5cc6d - test::run_test_in_process::{{closure}}::hbdc6a45a78c46404 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x64c0e8d5cc6d - as core::ops::function::FnOnce<()>>::call_once::h7f9d8efc7eedd165 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x64c0e8d5cc6d - std::panicking::catch_unwind::do_call::he5edbaf126c13b99 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x64c0e8d5cc6d - std::panicking::catch_unwind::h3d6a8652eceeabce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x64c0e8d5cc6d - std::panic::catch_unwind::hbef0c501dd7bb498 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x64c0e8d5cc6d - test::run_test_in_process::h400008a46a5006a0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x64c0e8d5cc6d - test::run_test::{{closure}}::h9a131655b31d9427 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x64c0e8d361b4 - test::run_test::{{closure}}::he4a7177c216308c0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x64c0e8d361b4 - std::sys::backtrace::__rust_begin_short_backtrace::hd3980e9c55d6c539 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x64c0e8d39aea - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h18552df67c7aa9b8 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:562:17 [INFO] [stdout] 38: 0x64c0e8d39aea - as core::ops::function::FnOnce<()>>::call_once::h3d7b285234641a08 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x64c0e8d39aea - std::panicking::catch_unwind::do_call::h5a2b5cf36528a5b2 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x64c0e8d39aea - std::panicking::catch_unwind::h7e8b531bbda77d20 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x64c0e8d39aea - std::panic::catch_unwind::hf9bbb2040b4f1e6c [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x64c0e8d39aea - std::thread::Builder::spawn_unchecked_::{{closure}}::h600f92cf68549574 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:560:30 [INFO] [stdout] 43: 0x64c0e8d39aea - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb6607307df8a1847 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x64c0e960ab4f - as core::ops::function::FnOnce>::call_once::h6891ad53a5ed6f52 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2085:9 [INFO] [stdout] 45: 0x64c0e960ab4f - std::sys::thread::unix::Thread::new::thread_start::h7f3e77fa86df70af [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/thread/unix.rs:124:17 [INFO] [stdout] 46: 0x7f6eeb82aaa4 - [INFO] [stdout] 47: 0x7f6eeb8b7a64 - 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 'c2e32f1c9652b13ed99608599c1e855462f421f3'. [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] 1 1 │ pub mod compute { [INFO] [stdout] 2 │- use super::{_root, _root::*}; [INFO] [stdout] 3 │- pub const MAIN1_WORKGROUP_SIZE: [u32; 3] = [1, 2, 3]; [INFO] [stdout] 4 │- pub fn create_main1_pipeline_embed_source( [INFO] [stdout] 5 │- device: &wgpu::Device, [INFO] [stdout] 6 │- ) -> wgpu::ComputePipeline { [INFO] [stdout] 7 │- let module = super::create_shader_module_embed_source(device); [INFO] [stdout] 8 │- let layout = super::create_pipeline_layout(device); [INFO] [stdout] 9 │- device.create_compute_pipeline(&wgpu::ComputePipelineDescriptor { [INFO] [stdout] 10 │- label: Some("Compute Pipeline main1"), [INFO] [stdout] 11 │- layout: Some(&layout), [INFO] [stdout] 12 │- module: &module, [INFO] [stdout] 13 │- entry_point: Some("main1"), [INFO] [stdout] 14 │- compilation_options: Default::default(), [INFO] [stdout] 15 │- cache: None, [INFO] [stdout] 16 │- }) [INFO] [stdout] 17 │- } [INFO] [stdout] 18 │- pub const MAIN2_WORKGROUP_SIZE: [u32; 3] = [256, 1, 1]; [INFO] [stdout] 19 │- pub fn create_main2_pipeline_embed_source( [INFO] [stdout] 20 │- device: &wgpu::Device, [INFO] [stdout] 21 │- ) -> wgpu::ComputePipeline { [INFO] [stdout] 22 │- let module = super::create_shader_module_embed_source(device); [INFO] [stdout] 23 │- let layout = super::create_pipeline_layout(device); [INFO] [stdout] 24 │- device.create_compute_pipeline(&wgpu::ComputePipelineDescriptor { [INFO] [stdout] 25 │- label: Some("Compute Pipeline main2"), [INFO] [stdout] 26 │- layout: Some(&layout), [INFO] [stdout] 27 │- module: &module, [INFO] [stdout] 28 │- entry_point: Some("main2"), [INFO] [stdout] 29 │- compilation_options: Default::default(), [INFO] [stdout] 30 │- cache: None, [INFO] [stdout] 31 │- }) [INFO] [stdout] 32 │- } [INFO] [stdout] 2 │+ use super::{_root, _root::*}; [INFO] [stdout] 3 │+ pub const MAIN1_WORKGROUP_SIZE: [u32; 3] = [1, 2, 3]; [INFO] [stdout] 4 │+ pub fn create_main1_pipeline_embed_source( [INFO] [stdout] 5 │+ device: &wgpu::Device, [INFO] [stdout] 6 │+ ) -> wgpu::ComputePipeline { [INFO] [stdout] 7 │+ let module = super::create_shader_module_embed_source(device); [INFO] [stdout] 8 │+ let layout = super::create_pipeline_layout(device); [INFO] [stdout] 9 │+ device [INFO] [stdout] 10 │+ .create_compute_pipeline( [INFO] [stdout] 11 │+ &wgpu::ComputePipelineDescriptor { [INFO] [stdout] 12 │+ label: Some("Compute Pipeline main1"), [INFO] [stdout] 13 │+ layout: Some(&layout), [INFO] [stdout] 14 │+ module: &module, [INFO] [stdout] 15 │+ entry_point: Some("main1"), [INFO] [stdout] 16 │+ compilation_options: Default::default(), [INFO] [stdout] 17 │+ cache: None, [INFO] [stdout] 18 │+ }, [INFO] [stdout] 19 │+ ) [INFO] [stdout] 20 │+ } [INFO] [stdout] 21 │+ pub const MAIN2_WORKGROUP_SIZE: [u32; 3] = [256, 1, 1]; [INFO] [stdout] 22 │+ pub fn create_main2_pipeline_embed_source( [INFO] [stdout] 23 │+ device: &wgpu::Device, [INFO] [stdout] 24 │+ ) -> wgpu::ComputePipeline { [INFO] [stdout] 25 │+ let module = super::create_shader_module_embed_source(device); [INFO] [stdout] 26 │+ let layout = super::create_pipeline_layout(device); [INFO] [stdout] 27 │+ device [INFO] [stdout] 28 │+ .create_compute_pipeline( [INFO] [stdout] 29 │+ &wgpu::ComputePipelineDescriptor { [INFO] [stdout] 30 │+ label: Some("Compute Pipeline main2"), [INFO] [stdout] 31 │+ layout: Some(&layout), [INFO] [stdout] 32 │+ module: &module, [INFO] [stdout] 33 │+ entry_point: Some("main2"), [INFO] [stdout] 34 │+ compilation_options: Default::default(), [INFO] [stdout] 35 │+ cache: None, [INFO] [stdout] 36 │+ }, [INFO] [stdout] 37 │+ ) [INFO] [stdout] 38 │+ } [INFO] [stdout] 33 39 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'generate::shader_module::tests::write_compute_module_multiple_entries' (4972) 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: 0x64c0e9637a32 - std::backtrace_rs::backtrace::libunwind::trace::h9ea1e07ac77a25d7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x64c0e9637a32 - std::backtrace_rs::backtrace::trace_unsynchronized::h72b75eb83b53d15a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x64c0e9637a32 - std::sys::backtrace::_print_fmt::h255777b7ec902439 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x64c0e9637a32 - ::fmt::h8a1ac49fcd7ee8ce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x64c0e964b7af - core::fmt::rt::Argument::fmt::h635cbf3c6754cc90 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x64c0e964b7af - core::fmt::write::hbdcc0ec4f1bab1db [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x64c0e9602ef3 - std::io::default_write_fmt::h2580ece0d4b58e51 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x64c0e9602ef3 - std::io::Write::write_fmt::hac9e42858f273b87 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x64c0e960f802 - std::sys::backtrace::BacktraceLock::print::h052febbd86f7bf07 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x64c0e96154df - std::panicking::default_hook::{{closure}}::h66aeee20dd470abb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x64c0e9615371 - std::panicking::default_hook::h9d66b9642014ce48 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x64c0e8d48e0e - as core::ops::function::Fn>::call::h8c698701e444e564 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 12: 0x64c0e8d48e0e - test::test_main_with_exit_callback::{{closure}}::ha1c98e7b69c4defb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x64c0e9615b9f - as core::ops::function::Fn>::call::hc4f222a8a57c637a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 14: 0x64c0e9615b9f - std::panicking::panic_with_hook::h6d5921a1a1fa5a8e [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x64c0e961594a - std::panicking::panic_handler::{{closure}}::hafeef6f707d43542 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x64c0e960f939 - std::sys::backtrace::__rust_end_short_backtrace::h08cbc3319a3d0120 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x64c0e95f65ad - __rustc[ce5c411ff86ab1b2]::rust_begin_unwind [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x64c0e9656830 - core::panicking::panic_fmt::h774fb860369a0f7b [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x64c0e96554f6 - core::result::unwrap_failed::h72ee8fcbf1bf8ff9 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1862:5 [INFO] [stdout] 20: 0x64c0e8b409eb - core::result::Result::unwrap::h684f7c72affd3dee [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1233:23 [INFO] [stdout] 21: 0x64c0e8b409eb - wgsl_bindgen::generate::shader_module::tests::write_compute_module_multiple_entries::{{closure}}::h3a290d12e90ad98b [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x64c0e8ac57cf - insta::settings::Settings::bind::he9b7e0a47e6bccb6 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.2/src/settings.rs:509:9 [INFO] [stdout] 23: 0x64c0e8b40538 - wgsl_bindgen::generate::shader_module::tests::write_compute_module_multiple_entries::h7247b7ccd5108971 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x64c0e8b40ae7 - wgsl_bindgen::generate::shader_module::tests::write_compute_module_multiple_entries::{{closure}}::hb655dec97c53cfb7 [INFO] [stdout] at /opt/rustwide/workdir/src/generate/shader_module.rs:815:45 [INFO] [stdout] 25: 0x64c0e8aff106 - core::ops::function::FnOnce::call_once::ha1834d5b8c440fc4 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x64c0e8d48c5b - core::ops::function::FnOnce::call_once::h4f6eabe90cccb47d [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x64c0e8d48c5b - test::__rust_begin_short_backtrace::h94208530f2b4c8c7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x64c0e8d5cc6d - test::run_test_in_process::{{closure}}::hbdc6a45a78c46404 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x64c0e8d5cc6d - as core::ops::function::FnOnce<()>>::call_once::h7f9d8efc7eedd165 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x64c0e8d5cc6d - std::panicking::catch_unwind::do_call::he5edbaf126c13b99 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x64c0e8d5cc6d - std::panicking::catch_unwind::h3d6a8652eceeabce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x64c0e8d5cc6d - std::panic::catch_unwind::hbef0c501dd7bb498 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x64c0e8d5cc6d - test::run_test_in_process::h400008a46a5006a0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x64c0e8d5cc6d - test::run_test::{{closure}}::h9a131655b31d9427 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x64c0e8d361b4 - test::run_test::{{closure}}::he4a7177c216308c0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x64c0e8d361b4 - std::sys::backtrace::__rust_begin_short_backtrace::hd3980e9c55d6c539 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x64c0e8d39aea - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h18552df67c7aa9b8 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:562:17 [INFO] [stdout] 38: 0x64c0e8d39aea - as core::ops::function::FnOnce<()>>::call_once::h3d7b285234641a08 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x64c0e8d39aea - std::panicking::catch_unwind::do_call::h5a2b5cf36528a5b2 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x64c0e8d39aea - std::panicking::catch_unwind::h7e8b531bbda77d20 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x64c0e8d39aea - std::panic::catch_unwind::hf9bbb2040b4f1e6c [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x64c0e8d39aea - std::thread::Builder::spawn_unchecked_::{{closure}}::h600f92cf68549574 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:560:30 [INFO] [stdout] 43: 0x64c0e8d39aea - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb6607307df8a1847 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x64c0e960ab4f - as core::ops::function::FnOnce>::call_once::h6891ad53a5ed6f52 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2085:9 [INFO] [stdout] 45: 0x64c0e960ab4f - std::sys::thread::unix::Thread::new::thread_start::h7f3e77fa86df70af [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/thread/unix.rs:124:17 [INFO] [stdout] 46: 0x7f6eeb82aaa4 - [INFO] [stdout] 47: 0x7f6eeb8b7a64 - 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 'c2e32f1c9652b13ed99608599c1e855462f421f3'. [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] 1 1 │ pub mod a { [INFO] [stdout] 2 │- pub mod b { [INFO] [stdout] 3 │- pub mod c { [INFO] [stdout] 4 │- struct A; [INFO] [stdout] 5 │- struct C; [INFO] [stdout] 2 │+ pub mod b { [INFO] [stdout] 3 │+ pub mod c { [INFO] [stdout] 4 │+ struct A; [INFO] [stdout] 5 │+ struct C; [INFO] [stdout] 6 │+ } [INFO] [stdout] 7 │+ pub mod d { [INFO] [stdout] 8 │+ struct B; [INFO] [stdout] 9 │+ } [INFO] [stdout] 10 │+ pub mod e { [INFO] [stdout] 11 │+ struct D; [INFO] [stdout] 12 │+ } [INFO] [stdout] 6 13 │ } [INFO] [stdout] 7 │- pub mod d { [INFO] [stdout] 8 │- struct B; [INFO] [stdout] 9 │- } [INFO] [stdout] 10 │- pub mod e { [INFO] [stdout] 11 │- struct D; [INFO] [stdout] 12 │- } [INFO] [stdout] 13 │- } [INFO] [stdout] 14 14 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'quote_gen::rust_module_builder::tests::test_merge' (5226) 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: 0x64c0e9637a32 - std::backtrace_rs::backtrace::libunwind::trace::h9ea1e07ac77a25d7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x64c0e9637a32 - std::backtrace_rs::backtrace::trace_unsynchronized::h72b75eb83b53d15a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x64c0e9637a32 - std::sys::backtrace::_print_fmt::h255777b7ec902439 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x64c0e9637a32 - ::fmt::h8a1ac49fcd7ee8ce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x64c0e964b7af - core::fmt::rt::Argument::fmt::h635cbf3c6754cc90 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x64c0e964b7af - core::fmt::write::hbdcc0ec4f1bab1db [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x64c0e9602ef3 - std::io::default_write_fmt::h2580ece0d4b58e51 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x64c0e9602ef3 - std::io::Write::write_fmt::hac9e42858f273b87 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x64c0e960f802 - std::sys::backtrace::BacktraceLock::print::h052febbd86f7bf07 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x64c0e96154df - std::panicking::default_hook::{{closure}}::h66aeee20dd470abb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x64c0e9615371 - std::panicking::default_hook::h9d66b9642014ce48 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x64c0e8d48e0e - as core::ops::function::Fn>::call::h8c698701e444e564 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 12: 0x64c0e8d48e0e - test::test_main_with_exit_callback::{{closure}}::ha1c98e7b69c4defb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x64c0e9615b9f - as core::ops::function::Fn>::call::hc4f222a8a57c637a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 14: 0x64c0e9615b9f - std::panicking::panic_with_hook::h6d5921a1a1fa5a8e [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x64c0e961594a - std::panicking::panic_handler::{{closure}}::hafeef6f707d43542 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x64c0e960f939 - std::sys::backtrace::__rust_end_short_backtrace::h08cbc3319a3d0120 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x64c0e95f65ad - __rustc[ce5c411ff86ab1b2]::rust_begin_unwind [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x64c0e9656830 - core::panicking::panic_fmt::h774fb860369a0f7b [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x64c0e96554f6 - core::result::unwrap_failed::h72ee8fcbf1bf8ff9 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1862:5 [INFO] [stdout] 20: 0x64c0e8ae0b6b - core::result::Result::unwrap::h684f7c72affd3dee [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1233:23 [INFO] [stdout] 21: 0x64c0e8ae0b6b - wgsl_bindgen::quote_gen::rust_module_builder::tests::test_merge::{{closure}}::h7fb42d74bf8646fc [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x64c0e8ac48cf - insta::settings::Settings::bind::h5afa29259d16b299 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.2/src/settings.rs:509:9 [INFO] [stdout] 23: 0x64c0e8ae0694 - wgsl_bindgen::quote_gen::rust_module_builder::tests::test_merge::haab53b69396589f3 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x64c0e8ae0c67 - wgsl_bindgen::quote_gen::rust_module_builder::tests::test_merge::{{closure}}::hae3d5919705d30e8 [INFO] [stdout] at /opt/rustwide/workdir/src/quote_gen/rust_module_builder.rs:363:18 [INFO] [stdout] 25: 0x64c0e8afe856 - core::ops::function::FnOnce::call_once::h6e80297232325e14 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x64c0e8d48c5b - core::ops::function::FnOnce::call_once::h4f6eabe90cccb47d [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x64c0e8d48c5b - test::__rust_begin_short_backtrace::h94208530f2b4c8c7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x64c0e8d5cc6d - test::run_test_in_process::{{closure}}::hbdc6a45a78c46404 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x64c0e8d5cc6d - as core::ops::function::FnOnce<()>>::call_once::h7f9d8efc7eedd165 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x64c0e8d5cc6d - std::panicking::catch_unwind::do_call::he5edbaf126c13b99 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x64c0e8d5cc6d - std::panicking::catch_unwind::h3d6a8652eceeabce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x64c0e8d5cc6d - std::panic::catch_unwind::hbef0c501dd7bb498 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x64c0e8d5cc6d - test::run_test_in_process::h400008a46a5006a0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x64c0e8d5cc6d - test::run_test::{{closure}}::h9a131655b31d9427 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x64c0e8d361b4 - test::run_test::{{closure}}::he4a7177c216308c0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x64c0e8d361b4 - std::sys::backtrace::__rust_begin_short_backtrace::hd3980e9c55d6c539 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x64c0e8d39aea - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h18552df67c7aa9b8 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:562:17 [INFO] [stdout] 38: 0x64c0e8d39aea - as core::ops::function::FnOnce<()>>::call_once::h3d7b285234641a08 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x64c0e8d39aea - std::panicking::catch_unwind::do_call::h5a2b5cf36528a5b2 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x64c0e8d39aea - std::panicking::catch_unwind::h7e8b531bbda77d20 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x64c0e8d39aea - std::panic::catch_unwind::hf9bbb2040b4f1e6c [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x64c0e8d39aea - std::thread::Builder::spawn_unchecked_::{{closure}}::h600f92cf68549574 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:560:30 [INFO] [stdout] 43: 0x64c0e8d39aea - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb6607307df8a1847 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x64c0e960ab4f - as core::ops::function::FnOnce>::call_once::h6891ad53a5ed6f52 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2085:9 [INFO] [stdout] 45: 0x64c0e960ab4f - std::sys::thread::unix::Thread::new::thread_start::h7f3e77fa86df70af [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/thread/unix.rs:124:17 [INFO] [stdout] 46: 0x7f6eeb82aaa4 - [INFO] [stdout] 47: 0x7f6eeb8b7a64 - 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 'c2e32f1c9652b13ed99608599c1e855462f421f3'. [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] 1 1 │ #[derive(Debug)] [INFO] [stdout] 2 2 │ pub struct VertexEntry { [INFO] [stdout] 3 │- pub entry_point: &'static str, [INFO] [stdout] 4 │- pub buffers: [wgpu::VertexBufferLayout<'static>; N], [INFO] [stdout] 5 │- pub constants: Vec<(&'static str, f64)>, [INFO] [stdout] 3 │+ pub entry_point: &'static str, [INFO] [stdout] 4 │+ pub buffers: [wgpu::VertexBufferLayout<'static>; N], [INFO] [stdout] 5 │+ pub constants: Vec<(&'static str, f64)>, [INFO] [stdout] 6 6 │ } [INFO] [stdout] 7 7 │ pub fn vertex_state<'a, const N: usize>( [INFO] [stdout] 8 │- module: &'a wgpu::ShaderModule, [INFO] [stdout] 9 │- entry: &'a VertexEntry, [INFO] [stdout] 8 │+ module: &'a wgpu::ShaderModule, [INFO] [stdout] 9 │+ entry: &'a VertexEntry, [INFO] [stdout] 10 10 │ ) -> wgpu::VertexState<'a> { [INFO] [stdout] 11 │- wgpu::VertexState { [INFO] [stdout] 12 │- module, [INFO] [stdout] 13 │- entry_point: Some(entry.entry_point), [INFO] [stdout] 14 │- buffers: &entry.buffers, [INFO] [stdout] 15 │- compilation_options: wgpu::PipelineCompilationOptions { [INFO] [stdout] 16 │- constants: &entry.constants, [INFO] [stdout] 17 │- ..Default::default() [INFO] [stdout] 18 │- }, [INFO] [stdout] 19 │- } [INFO] [stdout] 11 │+ wgpu::VertexState { [INFO] [stdout] 12 │+ module, [INFO] [stdout] 13 │+ entry_point: Some(entry.entry_point), [INFO] [stdout] 14 │+ buffers: &entry.buffers, [INFO] [stdout] 15 │+ compilation_options: wgpu::PipelineCompilationOptions { [INFO] [stdout] 16 │+ constants: &entry.constants, [INFO] [stdout] 17 │+ ..Default::default() [INFO] [stdout] 18 │+ }, [INFO] [stdout] 19 │+ } [INFO] [stdout] 20 20 │ } [INFO] [stdout] 21 21 │ pub fn vs_main_1_entry(vertex_input: wgpu::VertexStepMode) -> VertexEntry<1> { [INFO] [stdout] 22 │- VertexEntry { [INFO] [stdout] 23 │- entry_point: ENTRY_VS_MAIN_1, [INFO] [stdout] 24 │- buffers: [VertexInput::vertex_buffer_layout(vertex_input)], [INFO] [stdout] 25 │- constants: Default::default(), [INFO] [stdout] 26 │- } [INFO] [stdout] 22 │+ VertexEntry { [INFO] [stdout] 23 │+ entry_point: ENTRY_VS_MAIN_1, [INFO] [stdout] 24 │+ buffers: [VertexInput::vertex_buffer_layout(vertex_input)], [INFO] [stdout] 25 │+ constants: Default::default(), [INFO] [stdout] 26 │+ } [INFO] [stdout] 27 27 │ } [INFO] [stdout] 28 28 │ pub fn vs_main_2_entry(vertex_input: wgpu::VertexStepMode) -> VertexEntry<1> { [INFO] [stdout] 29 │- VertexEntry { [INFO] [stdout] 30 │- entry_point: ENTRY_VS_MAIN_2, [INFO] [stdout] 31 │- buffers: [VertexInput::vertex_buffer_layout(vertex_input)], [INFO] [stdout] 32 │- constants: Default::default(), [INFO] [stdout] 33 │- } [INFO] [stdout] 29 │+ VertexEntry { [INFO] [stdout] 30 │+ entry_point: ENTRY_VS_MAIN_2, [INFO] [stdout] 31 │+ buffers: [VertexInput::vertex_buffer_layout(vertex_input)], [INFO] [stdout] 32 │+ constants: Default::default(), [INFO] [stdout] 33 │+ } [INFO] [stdout] 34 34 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'generate::entry::test::write_vertex_shader_multiple_entries' (4863) 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: 0x64c0e9637a32 - std::backtrace_rs::backtrace::libunwind::trace::h9ea1e07ac77a25d7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x64c0e9637a32 - std::backtrace_rs::backtrace::trace_unsynchronized::h72b75eb83b53d15a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x64c0e9637a32 - std::sys::backtrace::_print_fmt::h255777b7ec902439 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x64c0e9637a32 - ::fmt::h8a1ac49fcd7ee8ce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x64c0e964b7af - core::fmt::rt::Argument::fmt::h635cbf3c6754cc90 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x64c0e964b7af - core::fmt::write::hbdcc0ec4f1bab1db [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x64c0e9602ef3 - std::io::default_write_fmt::h2580ece0d4b58e51 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x64c0e9602ef3 - std::io::Write::write_fmt::hac9e42858f273b87 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x64c0e960f802 - std::sys::backtrace::BacktraceLock::print::h052febbd86f7bf07 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x64c0e96154df - std::panicking::default_hook::{{closure}}::h66aeee20dd470abb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x64c0e9615371 - std::panicking::default_hook::h9d66b9642014ce48 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x64c0e8d48e0e - as core::ops::function::Fn>::call::h8c698701e444e564 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 12: 0x64c0e8d48e0e - test::test_main_with_exit_callback::{{closure}}::ha1c98e7b69c4defb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x64c0e9615b9f - as core::ops::function::Fn>::call::hc4f222a8a57c637a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 14: 0x64c0e9615b9f - std::panicking::panic_with_hook::h6d5921a1a1fa5a8e [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x64c0e961594a - std::panicking::panic_handler::{{closure}}::hafeef6f707d43542 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x64c0e960f939 - std::sys::backtrace::__rust_end_short_backtrace::h08cbc3319a3d0120 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x64c0e95f65ad - __rustc[ce5c411ff86ab1b2]::rust_begin_unwind [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x64c0e9656830 - core::panicking::panic_fmt::h774fb860369a0f7b [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x64c0e96554f6 - core::result::unwrap_failed::h72ee8fcbf1bf8ff9 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1862:5 [INFO] [stdout] 20: 0x64c0e8b43edb - core::result::Result::unwrap::h684f7c72affd3dee [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1233:23 [INFO] [stdout] 21: 0x64c0e8b43edb - wgsl_bindgen::generate::entry::test::write_vertex_shader_multiple_entries::{{closure}}::h3a6d3eb1e0faafd0 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x64c0e8ac5a4f - insta::settings::Settings::bind::hfc4d44ca47acb6dd [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.2/src/settings.rs:509:9 [INFO] [stdout] 23: 0x64c0e8b43a1b - wgsl_bindgen::generate::entry::test::write_vertex_shader_multiple_entries::hc4b978c543f42cac [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x64c0e8b43fd7 - wgsl_bindgen::generate::entry::test::write_vertex_shader_multiple_entries::{{closure}}::h621d5eca439f0b46 [INFO] [stdout] at /opt/rustwide/workdir/src/generate/entry.rs:442:44 [INFO] [stdout] 25: 0x64c0e8aff8c6 - core::ops::function::FnOnce::call_once::hceac6dacd6af7c30 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x64c0e8d48c5b - core::ops::function::FnOnce::call_once::h4f6eabe90cccb47d [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x64c0e8d48c5b - test::__rust_begin_short_backtrace::h94208530f2b4c8c7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x64c0e8d5cc6d - test::run_test_in_process::{{closure}}::hbdc6a45a78c46404 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x64c0e8d5cc6d - as core::ops::function::FnOnce<()>>::call_once::h7f9d8efc7eedd165 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x64c0e8d5cc6d - std::panicking::catch_unwind::do_call::he5edbaf126c13b99 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x64c0e8d5cc6d - std::panicking::catch_unwind::h3d6a8652eceeabce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x64c0e8d5cc6d - std::panic::catch_unwind::hbef0c501dd7bb498 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x64c0e8d5cc6d - test::run_test_in_process::h400008a46a5006a0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x64c0e8d5cc6d - test::run_test::{{closure}}::h9a131655b31d9427 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x64c0e8d361b4 - test::run_test::{{closure}}::he4a7177c216308c0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x64c0e8d361b4 - std::sys::backtrace::__rust_begin_short_backtrace::hd3980e9c55d6c539 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x64c0e8d39aea - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h18552df67c7aa9b8 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:562:17 [INFO] [stdout] 38: 0x64c0e8d39aea - as core::ops::function::FnOnce<()>>::call_once::h3d7b285234641a08 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x64c0e8d39aea - std::panicking::catch_unwind::do_call::h5a2b5cf36528a5b2 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x64c0e8d39aea - std::panicking::catch_unwind::h7e8b531bbda77d20 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x64c0e8d39aea - std::panic::catch_unwind::hf9bbb2040b4f1e6c [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x64c0e8d39aea - std::thread::Builder::spawn_unchecked_::{{closure}}::h600f92cf68549574 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:560:30 [INFO] [stdout] 43: 0x64c0e8d39aea - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb6607307df8a1847 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x64c0e960ab4f - as core::ops::function::FnOnce>::call_once::h6891ad53a5ed6f52 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2085:9 [INFO] [stdout] 45: 0x64c0e960ab4f - std::sys::thread::unix::Thread::new::thread_start::h7f3e77fa86df70af [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/thread/unix.rs:124:17 [INFO] [stdout] 46: 0x7f6eeb82aaa4 - [INFO] [stdout] 47: 0x7f6eeb8b7a64 - 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 'c2e32f1c9652b13ed99608599c1e855462f421f3'. [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] 1 1 │ pub mod a { [INFO] [stdout] 2 │- pub mod b { [INFO] [stdout] 3 │- pub mod c { [INFO] [stdout] 4 │- struct B; [INFO] [stdout] 5 │- struct C; [INFO] [stdout] 6 │- pub mod d { [INFO] [stdout] 7 │- struct A; [INFO] [stdout] 8 │- } [INFO] [stdout] 2 │+ pub mod b { [INFO] [stdout] 3 │+ pub mod c { [INFO] [stdout] 4 │+ struct B; [INFO] [stdout] 5 │+ struct C; [INFO] [stdout] 6 │+ pub mod d { [INFO] [stdout] 7 │+ struct A; [INFO] [stdout] 8 │+ } [INFO] [stdout] 9 │+ } [INFO] [stdout] 9 10 │ } [INFO] [stdout] 10 │- } [INFO] [stdout] 11 11 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'quote_gen::rust_module_builder::tests::test_module_generation_works' (5816) 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: 0x64c0e9637a32 - std::backtrace_rs::backtrace::libunwind::trace::h9ea1e07ac77a25d7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x64c0e9637a32 - std::backtrace_rs::backtrace::trace_unsynchronized::h72b75eb83b53d15a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x64c0e9637a32 - std::sys::backtrace::_print_fmt::h255777b7ec902439 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x64c0e9637a32 - ::fmt::h8a1ac49fcd7ee8ce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x64c0e964b7af - core::fmt::rt::Argument::fmt::h635cbf3c6754cc90 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x64c0e964b7af - core::fmt::write::hbdcc0ec4f1bab1db [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x64c0e9602ef3 - std::io::default_write_fmt::h2580ece0d4b58e51 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x64c0e9602ef3 - std::io::Write::write_fmt::hac9e42858f273b87 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x64c0e960f802 - std::sys::backtrace::BacktraceLock::print::h052febbd86f7bf07 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x64c0e96154df - std::panicking::default_hook::{{closure}}::h66aeee20dd470abb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x64c0e9615371 - std::panicking::default_hook::h9d66b9642014ce48 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x64c0e8d48e0e - as core::ops::function::Fn>::call::h8c698701e444e564 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 12: 0x64c0e8d48e0e - test::test_main_with_exit_callback::{{closure}}::ha1c98e7b69c4defb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x64c0e9615b9f - as core::ops::function::Fn>::call::hc4f222a8a57c637a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 14: 0x64c0e9615b9f - std::panicking::panic_with_hook::h6d5921a1a1fa5a8e [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x64c0e961594a - std::panicking::panic_handler::{{closure}}::hafeef6f707d43542 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x64c0e960f939 - std::sys::backtrace::__rust_end_short_backtrace::h08cbc3319a3d0120 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x64c0e95f65ad - __rustc[ce5c411ff86ab1b2]::rust_begin_unwind [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x64c0e9656830 - core::panicking::panic_fmt::h774fb860369a0f7b [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x64c0e96554f6 - core::result::unwrap_failed::h72ee8fcbf1bf8ff9 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1862:5 [INFO] [stdout] 20: 0x64c0e8ae2beb - core::result::Result::unwrap::h684f7c72affd3dee [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1233:23 [INFO] [stdout] 21: 0x64c0e8ae2beb - wgsl_bindgen::quote_gen::rust_module_builder::tests::test_module_generation_works::{{closure}}::ha8cf742f7b94e591 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x64c0e8ac4aaf - insta::settings::Settings::bind::h6f7cfcef41396ddb [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.2/src/settings.rs:509:9 [INFO] [stdout] 23: 0x64c0e8ae2704 - wgsl_bindgen::quote_gen::rust_module_builder::tests::test_module_generation_works::h8578312f1b0f7672 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x64c0e8ae27b7 - wgsl_bindgen::quote_gen::rust_module_builder::tests::test_module_generation_works::{{closure}}::h563fafa0c10002ce [INFO] [stdout] at /opt/rustwide/workdir/src/quote_gen/rust_module_builder.rs:294:36 [INFO] [stdout] 25: 0x64c0e8afdd66 - core::ops::function::FnOnce::call_once::h200d2dd86c8428c7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x64c0e8d48c5b - core::ops::function::FnOnce::call_once::h4f6eabe90cccb47d [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x64c0e8d48c5b - test::__rust_begin_short_backtrace::h94208530f2b4c8c7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x64c0e8d5cc6d - test::run_test_in_process::{{closure}}::hbdc6a45a78c46404 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x64c0e8d5cc6d - as core::ops::function::FnOnce<()>>::call_once::h7f9d8efc7eedd165 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x64c0e8d5cc6d - std::panicking::catch_unwind::do_call::he5edbaf126c13b99 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x64c0e8d5cc6d - std::panicking::catch_unwind::h3d6a8652eceeabce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x64c0e8d5cc6d - std::panic::catch_unwind::hbef0c501dd7bb498 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x64c0e8d5cc6d - test::run_test_in_process::h400008a46a5006a0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x64c0e8d5cc6d - test::run_test::{{closure}}::h9a131655b31d9427 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x64c0e8d361b4 - test::run_test::{{closure}}::he4a7177c216308c0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x64c0e8d361b4 - std::sys::backtrace::__rust_begin_short_backtrace::hd3980e9c55d6c539 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x64c0e8d39aea - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h18552df67c7aa9b8 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:562:17 [INFO] [stdout] 38: 0x64c0e8d39aea - as core::ops::function::FnOnce<()>>::call_once::h3d7b285234641a08 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x64c0e8d39aea - std::panicking::catch_unwind::do_call::h5a2b5cf36528a5b2 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x64c0e8d39aea - std::panicking::catch_unwind::h7e8b531bbda77d20 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x64c0e8d39aea - std::panic::catch_unwind::hf9bbb2040b4f1e6c [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x64c0e8d39aea - std::thread::Builder::spawn_unchecked_::{{closure}}::h600f92cf68549574 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:560:30 [INFO] [stdout] 43: 0x64c0e8d39aea - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb6607307df8a1847 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x64c0e960ab4f - as core::ops::function::FnOnce>::call_once::h6891ad53a5ed6f52 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2085:9 [INFO] [stdout] 45: 0x64c0e960ab4f - std::sys::thread::unix::Thread::new::thread_start::h7f3e77fa86df70af [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/thread/unix.rs:124:17 [INFO] [stdout] 46: 0x7f6eeb82aaa4 - [INFO] [stdout] 47: 0x7f6eeb8b7a64 - 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 'c2e32f1c9652b13ed99608599c1e855462f421f3'. [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] 1 1 │ #[derive(Debug)] [INFO] [stdout] 2 2 │ pub struct VertexEntry { [INFO] [stdout] 3 │- pub entry_point: &'static str, [INFO] [stdout] 4 │- pub buffers: [wgpu::VertexBufferLayout<'static>; N], [INFO] [stdout] 5 │- pub constants: Vec<(&'static str, f64)>, [INFO] [stdout] 3 │+ pub entry_point: &'static str, [INFO] [stdout] 4 │+ pub buffers: [wgpu::VertexBufferLayout<'static>; N], [INFO] [stdout] 5 │+ pub constants: Vec<(&'static str, f64)>, [INFO] [stdout] 6 6 │ } [INFO] [stdout] 7 7 │ pub fn vertex_state<'a, const N: usize>( [INFO] [stdout] 8 │- module: &'a wgpu::ShaderModule, [INFO] [stdout] 9 │- entry: &'a VertexEntry, [INFO] [stdout] 8 │+ module: &'a wgpu::ShaderModule, [INFO] [stdout] 9 │+ entry: &'a VertexEntry, [INFO] [stdout] 10 10 │ ) -> wgpu::VertexState<'a> { [INFO] [stdout] 11 │- wgpu::VertexState { [INFO] [stdout] 12 │- module, [INFO] [stdout] 13 │- entry_point: Some(entry.entry_point), [INFO] [stdout] 14 │- buffers: &entry.buffers, [INFO] [stdout] 15 │- compilation_options: wgpu::PipelineCompilationOptions { [INFO] [stdout] 16 │- constants: &entry.constants, [INFO] [stdout] 17 │- ..Default::default() [INFO] [stdout] 18 │- }, [INFO] [stdout] 19 │- } [INFO] [stdout] 11 │+ wgpu::VertexState { [INFO] [stdout] 12 │+ module, [INFO] [stdout] 13 │+ entry_point: Some(entry.entry_point), [INFO] [stdout] 14 │+ buffers: &entry.buffers, [INFO] [stdout] 15 │+ compilation_options: wgpu::PipelineCompilationOptions { [INFO] [stdout] 16 │+ constants: &entry.constants, [INFO] [stdout] 17 │+ ..Default::default() [INFO] [stdout] 18 │+ }, [INFO] [stdout] 19 │+ } [INFO] [stdout] 20 20 │ } [INFO] [stdout] 21 21 │ pub fn vs_main_entry() -> VertexEntry<0> { [INFO] [stdout] 22 │- VertexEntry { [INFO] [stdout] 23 │- entry_point: ENTRY_VS_MAIN, [INFO] [stdout] 24 │- buffers: [], [INFO] [stdout] 25 │- constants: Default::default(), [INFO] [stdout] 26 │- } [INFO] [stdout] 22 │+ VertexEntry { [INFO] [stdout] 23 │+ entry_point: ENTRY_VS_MAIN, [INFO] [stdout] 24 │+ buffers: [], [INFO] [stdout] 25 │+ constants: Default::default(), [INFO] [stdout] 26 │+ } [INFO] [stdout] 27 27 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'generate::entry::test::write_vertex_shader_entry_no_buffers' (4565) 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: 0x64c0e9637a32 - std::backtrace_rs::backtrace::libunwind::trace::h9ea1e07ac77a25d7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x64c0e9637a32 - std::backtrace_rs::backtrace::trace_unsynchronized::h72b75eb83b53d15a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x64c0e9637a32 - std::sys::backtrace::_print_fmt::h255777b7ec902439 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x64c0e9637a32 - ::fmt::h8a1ac49fcd7ee8ce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x64c0e964b7af - core::fmt::rt::Argument::fmt::h635cbf3c6754cc90 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x64c0e964b7af - core::fmt::write::hbdcc0ec4f1bab1db [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x64c0e9602ef3 - std::io::default_write_fmt::h2580ece0d4b58e51 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x64c0e9602ef3 - std::io::Write::write_fmt::hac9e42858f273b87 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x64c0e960f802 - std::sys::backtrace::BacktraceLock::print::h052febbd86f7bf07 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x64c0e96154df - std::panicking::default_hook::{{closure}}::h66aeee20dd470abb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x64c0e9615371 - std::panicking::default_hook::h9d66b9642014ce48 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x64c0e8d48e0e - as core::ops::function::Fn>::call::h8c698701e444e564 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 12: 0x64c0e8d48e0e - test::test_main_with_exit_callback::{{closure}}::ha1c98e7b69c4defb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x64c0e9615b9f - as core::ops::function::Fn>::call::hc4f222a8a57c637a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 14: 0x64c0e9615b9f - std::panicking::panic_with_hook::h6d5921a1a1fa5a8e [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x64c0e961594a - std::panicking::panic_handler::{{closure}}::hafeef6f707d43542 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x64c0e960f939 - std::sys::backtrace::__rust_end_short_backtrace::h08cbc3319a3d0120 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x64c0e95f65ad - __rustc[ce5c411ff86ab1b2]::rust_begin_unwind [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x64c0e9656830 - core::panicking::panic_fmt::h774fb860369a0f7b [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x64c0e96554f6 - core::result::unwrap_failed::h72ee8fcbf1bf8ff9 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1862:5 [INFO] [stdout] 20: 0x64c0e8b4364b - core::result::Result::unwrap::h684f7c72affd3dee [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1233:23 [INFO] [stdout] 21: 0x64c0e8b4364b - wgsl_bindgen::generate::entry::test::write_vertex_shader_entry_no_buffers::{{closure}}::h763eae4018072429 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x64c0e8ac4d2f - insta::settings::Settings::bind::h8ab658cb527354a9 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.2/src/settings.rs:509:9 [INFO] [stdout] 23: 0x64c0e8b4315b - wgsl_bindgen::generate::entry::test::write_vertex_shader_entry_no_buffers::h14c78371fca5e842 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x64c0e8b43217 - wgsl_bindgen::generate::entry::test::write_vertex_shader_entry_no_buffers::{{closure}}::h381d92e1d0963c91 [INFO] [stdout] at /opt/rustwide/workdir/src/generate/entry.rs:428:44 [INFO] [stdout] 25: 0x64c0e8aff656 - core::ops::function::FnOnce::call_once::hbd50de0857f83a9c [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x64c0e8d48c5b - core::ops::function::FnOnce::call_once::h4f6eabe90cccb47d [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x64c0e8d48c5b - test::__rust_begin_short_backtrace::h94208530f2b4c8c7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x64c0e8d5cc6d - test::run_test_in_process::{{closure}}::hbdc6a45a78c46404 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x64c0e8d5cc6d - as core::ops::function::FnOnce<()>>::call_once::h7f9d8efc7eedd165 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x64c0e8d5cc6d - std::panicking::catch_unwind::do_call::he5edbaf126c13b99 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x64c0e8d5cc6d - std::panicking::catch_unwind::h3d6a8652eceeabce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x64c0e8d5cc6d - std::panic::catch_unwind::hbef0c501dd7bb498 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x64c0e8d5cc6d - test::run_test_in_process::h400008a46a5006a0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x64c0e8d5cc6d - test::run_test::{{closure}}::h9a131655b31d9427 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x64c0e8d361b4 - test::run_test::{{closure}}::he4a7177c216308c0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x64c0e8d361b4 - std::sys::backtrace::__rust_begin_short_backtrace::hd3980e9c55d6c539 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x64c0e8d39aea - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h18552df67c7aa9b8 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:562:17 [INFO] [stdout] 38: 0x64c0e8d39aea - as core::ops::function::FnOnce<()>>::call_once::h3d7b285234641a08 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x64c0e8d39aea - std::panicking::catch_unwind::do_call::h5a2b5cf36528a5b2 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x64c0e8d39aea - std::panicking::catch_unwind::h7e8b531bbda77d20 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x64c0e8d39aea - std::panic::catch_unwind::hf9bbb2040b4f1e6c [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x64c0e8d39aea - std::thread::Builder::spawn_unchecked_::{{closure}}::h600f92cf68549574 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:560:30 [INFO] [stdout] 43: 0x64c0e8d39aea - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb6607307df8a1847 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x64c0e960ab4f - as core::ops::function::FnOnce>::call_once::h6891ad53a5ed6f52 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2085:9 [INFO] [stdout] 45: 0x64c0e960ab4f - std::sys::thread::unix::Thread::new::thread_start::h7f3e77fa86df70af [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/thread/unix.rs:124:17 [INFO] [stdout] 46: 0x7f6eeb82aaa4 - [INFO] [stdout] 47: 0x7f6eeb8b7a64 - 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 'c2e32f1c9652b13ed99608599c1e855462f421f3'. [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] 1 1 │ #[derive(Debug)] [INFO] [stdout] 2 2 │ pub struct VertexEntry { [INFO] [stdout] 3 │- pub entry_point: &'static str, [INFO] [stdout] 4 │- pub buffers: [wgpu::VertexBufferLayout<'static>; N], [INFO] [stdout] 5 │- pub constants: Vec<(&'static str, f64)>, [INFO] [stdout] 3 │+ pub entry_point: &'static str, [INFO] [stdout] 4 │+ pub buffers: [wgpu::VertexBufferLayout<'static>; N], [INFO] [stdout] 5 │+ pub constants: Vec<(&'static str, f64)>, [INFO] [stdout] 6 6 │ } [INFO] [stdout] 7 7 │ pub fn vertex_state<'a, const N: usize>( [INFO] [stdout] 8 │- module: &'a wgpu::ShaderModule, [INFO] [stdout] 9 │- entry: &'a VertexEntry, [INFO] [stdout] 8 │+ module: &'a wgpu::ShaderModule, [INFO] [stdout] 9 │+ entry: &'a VertexEntry, [INFO] [stdout] 10 10 │ ) -> wgpu::VertexState<'a> { [INFO] [stdout] 11 │- wgpu::VertexState { [INFO] [stdout] 12 │- module, [INFO] [stdout] 13 │- entry_point: Some(entry.entry_point), [INFO] [stdout] 14 │- buffers: &entry.buffers, [INFO] [stdout] 15 │- compilation_options: wgpu::PipelineCompilationOptions { [INFO] [stdout] 16 │- constants: &entry.constants, [INFO] [stdout] 17 │- ..Default::default() [INFO] [stdout] 18 │- }, [INFO] [stdout] 19 │- } [INFO] [stdout] 11 │+ wgpu::VertexState { [INFO] [stdout] 12 │+ module, [INFO] [stdout] 13 │+ entry_point: Some(entry.entry_point), [INFO] [stdout] 14 │+ buffers: &entry.buffers, [INFO] [stdout] 15 │+ compilation_options: wgpu::PipelineCompilationOptions { [INFO] [stdout] 16 │+ constants: &entry.constants, [INFO] [stdout] 17 │+ ..Default::default() [INFO] [stdout] 18 │+ }, [INFO] [stdout] 19 │+ } [INFO] [stdout] 20 20 │ } [INFO] [stdout] 21 21 │ pub fn vs_main_entry( [INFO] [stdout] 22 │- input0: wgpu::VertexStepMode, [INFO] [stdout] 23 │- input1: wgpu::VertexStepMode, [INFO] [stdout] 24 │- overrides: &OverrideConstants, [INFO] [stdout] 22 │+ input0: wgpu::VertexStepMode, [INFO] [stdout] 23 │+ input1: wgpu::VertexStepMode, [INFO] [stdout] 24 │+ overrides: &OverrideConstants, [INFO] [stdout] 25 25 │ ) -> VertexEntry<2> { [INFO] [stdout] 26 │- VertexEntry { [INFO] [stdout] 27 │- entry_point: ENTRY_VS_MAIN, [INFO] [stdout] 28 │- buffers: [ [INFO] [stdout] 29 │- Input0::vertex_buffer_layout(input0), [INFO] [stdout] 30 │- Input1::vertex_buffer_layout(input1), [INFO] [stdout] 31 │- ], [INFO] [stdout] 32 │- constants: overrides.constants(), [INFO] [stdout] 33 │- } [INFO] [stdout] 26 │+ VertexEntry { [INFO] [stdout] 27 │+ entry_point: ENTRY_VS_MAIN, [INFO] [stdout] 28 │+ buffers: [ [INFO] [stdout] 29 │+ Input0::vertex_buffer_layout(input0), [INFO] [stdout] 30 │+ Input1::vertex_buffer_layout(input1), [INFO] [stdout] 31 │+ ], [INFO] [stdout] 32 │+ constants: overrides.constants(), [INFO] [stdout] 33 │+ } [INFO] [stdout] 34 34 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'generate::entry::test::write_vertex_shader_entry_multiple_buffers' (4106) 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: 0x64c0e9637a32 - std::backtrace_rs::backtrace::libunwind::trace::h9ea1e07ac77a25d7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x64c0e9637a32 - std::backtrace_rs::backtrace::trace_unsynchronized::h72b75eb83b53d15a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x64c0e9637a32 - std::sys::backtrace::_print_fmt::h255777b7ec902439 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x64c0e9637a32 - ::fmt::h8a1ac49fcd7ee8ce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x64c0e964b7af - core::fmt::rt::Argument::fmt::h635cbf3c6754cc90 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x64c0e964b7af - core::fmt::write::hbdcc0ec4f1bab1db [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x64c0e9602ef3 - std::io::default_write_fmt::h2580ece0d4b58e51 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x64c0e9602ef3 - std::io::Write::write_fmt::hac9e42858f273b87 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x64c0e960f802 - std::sys::backtrace::BacktraceLock::print::h052febbd86f7bf07 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x64c0e96154df - std::panicking::default_hook::{{closure}}::h66aeee20dd470abb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x64c0e9615371 - std::panicking::default_hook::h9d66b9642014ce48 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x64c0e8d48e0e - as core::ops::function::Fn>::call::h8c698701e444e564 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 12: 0x64c0e8d48e0e - test::test_main_with_exit_callback::{{closure}}::ha1c98e7b69c4defb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x64c0e9615b9f - as core::ops::function::Fn>::call::hc4f222a8a57c637a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 14: 0x64c0e9615b9f - std::panicking::panic_with_hook::h6d5921a1a1fa5a8e [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x64c0e961594a - std::panicking::panic_handler::{{closure}}::hafeef6f707d43542 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x64c0e960f939 - std::sys::backtrace::__rust_end_short_backtrace::h08cbc3319a3d0120 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x64c0e95f65ad - __rustc[ce5c411ff86ab1b2]::rust_begin_unwind [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x64c0e9656830 - core::panicking::panic_fmt::h774fb860369a0f7b [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x64c0e96554f6 - core::result::unwrap_failed::h72ee8fcbf1bf8ff9 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1862:5 [INFO] [stdout] 20: 0x64c0e8b46c6b - core::result::Result::unwrap::h684f7c72affd3dee [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1233:23 [INFO] [stdout] 21: 0x64c0e8b46c6b - wgsl_bindgen::generate::entry::test::write_vertex_shader_entry_multiple_buffers::{{closure}}::h79ebeaca7349e6b7 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x64c0e8ac482f - insta::settings::Settings::bind::h59ddb1cf2117c86a [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.2/src/settings.rs:509:9 [INFO] [stdout] 23: 0x64c0e8b4677b - wgsl_bindgen::generate::entry::test::write_vertex_shader_entry_multiple_buffers::h415e18cd84a7bf94 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x64c0e8b46837 - wgsl_bindgen::generate::entry::test::write_vertex_shader_entry_multiple_buffers::{{closure}}::h01314e5f34047ae1 [INFO] [stdout] at /opt/rustwide/workdir/src/generate/entry.rs:462:50 [INFO] [stdout] 25: 0x64c0e8afe0f6 - core::ops::function::FnOnce::call_once::h3fb4b25bbaad46d4 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x64c0e8d48c5b - core::ops::function::FnOnce::call_once::h4f6eabe90cccb47d [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x64c0e8d48c5b - test::__rust_begin_short_backtrace::h94208530f2b4c8c7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x64c0e8d5cc6d - test::run_test_in_process::{{closure}}::hbdc6a45a78c46404 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x64c0e8d5cc6d - as core::ops::function::FnOnce<()>>::call_once::h7f9d8efc7eedd165 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x64c0e8d5cc6d - std::panicking::catch_unwind::do_call::he5edbaf126c13b99 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x64c0e8d5cc6d - std::panicking::catch_unwind::h3d6a8652eceeabce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x64c0e8d5cc6d - std::panic::catch_unwind::hbef0c501dd7bb498 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x64c0e8d5cc6d - test::run_test_in_process::h400008a46a5006a0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x64c0e8d5cc6d - test::run_test::{{closure}}::h9a131655b31d9427 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x64c0e8d361b4 - test::run_test::{{closure}}::he4a7177c216308c0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x64c0e8d361b4 - std::sys::backtrace::__rust_begin_short_backtrace::hd3980e9c55d6c539 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x64c0e8d39aea - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h18552df67c7aa9b8 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:562:17 [INFO] [stdout] 38: 0x64c0e8d39aea - as core::ops::function::FnOnce<()>>::call_once::h3d7b285234641a08 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x64c0e8d39aea - std::panicking::catch_unwind::do_call::h5a2b5cf36528a5b2 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x64c0e8d39aea - std::panicking::catch_unwind::h7e8b531bbda77d20 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x64c0e8d39aea - std::panic::catch_unwind::hf9bbb2040b4f1e6c [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x64c0e8d39aea - std::thread::Builder::spawn_unchecked_::{{closure}}::h600f92cf68549574 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:560:30 [INFO] [stdout] 43: 0x64c0e8d39aea - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb6607307df8a1847 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x64c0e960ab4f - as core::ops::function::FnOnce>::call_once::h6891ad53a5ed6f52 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2085:9 [INFO] [stdout] 45: 0x64c0e960ab4f - std::sys::thread::unix::Thread::new::thread_start::h7f3e77fa86df70af [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/thread/unix.rs:124:17 [INFO] [stdout] 46: 0x7f6eeb82aaa4 - [INFO] [stdout] 47: 0x7f6eeb8b7a64 - 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 'c2e32f1c9652b13ed99608599c1e855462f421f3'. [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] 1 1 │ pub mod a { [INFO] [stdout] 2 │- use super::{_root, _root::*}; [INFO] [stdout] 3 │- struct B { [INFO] [stdout] 4 │- a: a::b::A, [INFO] [stdout] 5 │- } [INFO] [stdout] 6 │- pub mod b { [INFO] [stdout] 7 2 │ use super::{_root, _root::*}; [INFO] [stdout] 8 │- struct A; [INFO] [stdout] 9 │- } [INFO] [stdout] 3 │+ struct B { [INFO] [stdout] 4 │+ a: a::b::A, [INFO] [stdout] 5 │+ } [INFO] [stdout] 6 │+ pub mod b { [INFO] [stdout] 7 │+ use super::{_root, _root::*}; [INFO] [stdout] 8 │+ struct A; [INFO] [stdout] 9 │+ } [INFO] [stdout] 10 10 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'quote_gen::rust_module_builder::tests::test_include_relative_root_but_dont_generate_it' (5020) 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: 0x64c0e9637a32 - std::backtrace_rs::backtrace::libunwind::trace::h9ea1e07ac77a25d7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x64c0e9637a32 - std::backtrace_rs::backtrace::trace_unsynchronized::h72b75eb83b53d15a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x64c0e9637a32 - std::sys::backtrace::_print_fmt::h255777b7ec902439 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x64c0e9637a32 - ::fmt::h8a1ac49fcd7ee8ce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x64c0e964b7af - core::fmt::rt::Argument::fmt::h635cbf3c6754cc90 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x64c0e964b7af - core::fmt::write::hbdcc0ec4f1bab1db [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x64c0e9602ef3 - std::io::default_write_fmt::h2580ece0d4b58e51 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x64c0e9602ef3 - std::io::Write::write_fmt::hac9e42858f273b87 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x64c0e960f802 - std::sys::backtrace::BacktraceLock::print::h052febbd86f7bf07 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x64c0e96154df - std::panicking::default_hook::{{closure}}::h66aeee20dd470abb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x64c0e9615371 - std::panicking::default_hook::h9d66b9642014ce48 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x64c0e8d48e0e - as core::ops::function::Fn>::call::h8c698701e444e564 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 12: 0x64c0e8d48e0e - test::test_main_with_exit_callback::{{closure}}::ha1c98e7b69c4defb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x64c0e9615b9f - as core::ops::function::Fn>::call::hc4f222a8a57c637a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 14: 0x64c0e9615b9f - std::panicking::panic_with_hook::h6d5921a1a1fa5a8e [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x64c0e961594a - std::panicking::panic_handler::{{closure}}::hafeef6f707d43542 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x64c0e960f939 - std::sys::backtrace::__rust_end_short_backtrace::h08cbc3319a3d0120 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x64c0e95f65ad - __rustc[ce5c411ff86ab1b2]::rust_begin_unwind [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x64c0e9656830 - core::panicking::panic_fmt::h774fb860369a0f7b [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x64c0e96554f6 - core::result::unwrap_failed::h72ee8fcbf1bf8ff9 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1862:5 [INFO] [stdout] 20: 0x64c0e8ae3abb - core::result::Result::unwrap::h684f7c72affd3dee [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1233:23 [INFO] [stdout] 21: 0x64c0e8ae3abb - wgsl_bindgen::quote_gen::rust_module_builder::tests::test_include_relative_root_but_dont_generate_it::{{closure}}::h77ee7d17849c7a9a [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x64c0e8ac414f - insta::settings::Settings::bind::h1ae4746721e05c52 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.2/src/settings.rs:509:9 [INFO] [stdout] 23: 0x64c0e8ae35d8 - wgsl_bindgen::quote_gen::rust_module_builder::tests::test_include_relative_root_but_dont_generate_it::hc96e54e6b1f591d7 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x64c0e8ae3687 - wgsl_bindgen::quote_gen::rust_module_builder::tests::test_include_relative_root_but_dont_generate_it::{{closure}}::h63d52d5370c9ce52 [INFO] [stdout] at /opt/rustwide/workdir/src/quote_gen/rust_module_builder.rs:322:55 [INFO] [stdout] 25: 0x64c0e8afeab6 - core::ops::function::FnOnce::call_once::h7c16ab3d409ff23d [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x64c0e8d48c5b - core::ops::function::FnOnce::call_once::h4f6eabe90cccb47d [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x64c0e8d48c5b - test::__rust_begin_short_backtrace::h94208530f2b4c8c7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x64c0e8d5cc6d - test::run_test_in_process::{{closure}}::hbdc6a45a78c46404 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x64c0e8d5cc6d - as core::ops::function::FnOnce<()>>::call_once::h7f9d8efc7eedd165 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x64c0e8d5cc6d - std::panicking::catch_unwind::do_call::he5edbaf126c13b99 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x64c0e8d5cc6d - std::panicking::catch_unwind::h3d6a8652eceeabce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x64c0e8d5cc6d - std::panic::catch_unwind::hbef0c501dd7bb498 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x64c0e8d5cc6d - test::run_test_in_process::h400008a46a5006a0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x64c0e8d5cc6d - test::run_test::{{closure}}::h9a131655b31d9427 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x64c0e8d361b4 - test::run_test::{{closure}}::he4a7177c216308c0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x64c0e8d361b4 - std::sys::backtrace::__rust_begin_short_backtrace::hd3980e9c55d6c539 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x64c0e8d39aea - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h18552df67c7aa9b8 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:562:17 [INFO] [stdout] 38: 0x64c0e8d39aea - as core::ops::function::FnOnce<()>>::call_once::h3d7b285234641a08 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x64c0e8d39aea - std::panicking::catch_unwind::do_call::h5a2b5cf36528a5b2 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x64c0e8d39aea - std::panicking::catch_unwind::h7e8b531bbda77d20 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x64c0e8d39aea - std::panic::catch_unwind::hf9bbb2040b4f1e6c [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x64c0e8d39aea - std::thread::Builder::spawn_unchecked_::{{closure}}::h600f92cf68549574 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:560:30 [INFO] [stdout] 43: 0x64c0e8d39aea - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb6607307df8a1847 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x64c0e960ab4f - as core::ops::function::FnOnce>::call_once::h6891ad53a5ed6f52 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2085:9 [INFO] [stdout] 45: 0x64c0e960ab4f - std::sys::thread::unix::Thread::new::thread_start::h7f3e77fa86df70af [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/thread/unix.rs:124:17 [INFO] [stdout] 46: 0x7f6eeb82aaa4 - [INFO] [stdout] 47: 0x7f6eeb8b7a64 - 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 'c2e32f1c9652b13ed99608599c1e855462f421f3'. [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] 1 1 │ pub mod a { [INFO] [stdout] 2 │- struct B; [INFO] [stdout] 3 │- pub mod b { [INFO] [stdout] 4 │- struct A; [INFO] [stdout] 5 │- } [INFO] [stdout] 2 │+ struct B; [INFO] [stdout] 3 │+ pub mod b { [INFO] [stdout] 4 │+ struct A; [INFO] [stdout] 5 │+ } [INFO] [stdout] 6 6 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'quote_gen::rust_module_builder::tests::test_module_add_duplicates' (5690) 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: 0x64c0e9637a32 - std::backtrace_rs::backtrace::libunwind::trace::h9ea1e07ac77a25d7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x64c0e9637a32 - std::backtrace_rs::backtrace::trace_unsynchronized::h72b75eb83b53d15a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x64c0e9637a32 - std::sys::backtrace::_print_fmt::h255777b7ec902439 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x64c0e9637a32 - ::fmt::h8a1ac49fcd7ee8ce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x64c0e964b7af - core::fmt::rt::Argument::fmt::h635cbf3c6754cc90 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x64c0e964b7af - core::fmt::write::hbdcc0ec4f1bab1db [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x64c0e9602ef3 - std::io::default_write_fmt::h2580ece0d4b58e51 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x64c0e9602ef3 - std::io::Write::write_fmt::hac9e42858f273b87 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x64c0e960f802 - std::sys::backtrace::BacktraceLock::print::h052febbd86f7bf07 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x64c0e96154df - std::panicking::default_hook::{{closure}}::h66aeee20dd470abb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x64c0e9615371 - std::panicking::default_hook::h9d66b9642014ce48 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x64c0e8d48e0e - as core::ops::function::Fn>::call::h8c698701e444e564 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 12: 0x64c0e8d48e0e - test::test_main_with_exit_callback::{{closure}}::ha1c98e7b69c4defb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x64c0e9615b9f - as core::ops::function::Fn>::call::hc4f222a8a57c637a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 14: 0x64c0e9615b9f - std::panicking::panic_with_hook::h6d5921a1a1fa5a8e [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x64c0e961594a - std::panicking::panic_handler::{{closure}}::hafeef6f707d43542 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x64c0e960f939 - std::sys::backtrace::__rust_end_short_backtrace::h08cbc3319a3d0120 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x64c0e95f65ad - __rustc[ce5c411ff86ab1b2]::rust_begin_unwind [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x64c0e9656830 - core::panicking::panic_fmt::h774fb860369a0f7b [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x64c0e96554f6 - core::result::unwrap_failed::h72ee8fcbf1bf8ff9 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1862:5 [INFO] [stdout] 20: 0x64c0e8ae17bb - core::result::Result::unwrap::h684f7c72affd3dee [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1233:23 [INFO] [stdout] 21: 0x64c0e8ae17bb - wgsl_bindgen::quote_gen::rust_module_builder::tests::test_module_add_duplicates::{{closure}}::h2e8370577cb7edbe [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x64c0e8ac4faf - insta::settings::Settings::bind::hb0ade487af6c3d68 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.2/src/settings.rs:509:9 [INFO] [stdout] 23: 0x64c0e8ae12ea - wgsl_bindgen::quote_gen::rust_module_builder::tests::test_module_add_duplicates::hf4448ed0ab18dd1b [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x64c0e8ae18bd - wgsl_bindgen::quote_gen::rust_module_builder::tests::test_module_add_duplicates::{{closure}}::hb97df1b3be826d0b [INFO] [stdout] at /opt/rustwide/workdir/src/quote_gen/rust_module_builder.rs:338:38 [INFO] [stdout] 25: 0x64c0e8afe616 - core::ops::function::FnOnce::call_once::h63e1125a398e5a99 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x64c0e8d48c5b - core::ops::function::FnOnce::call_once::h4f6eabe90cccb47d [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x64c0e8d48c5b - test::__rust_begin_short_backtrace::h94208530f2b4c8c7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x64c0e8d5cc6d - test::run_test_in_process::{{closure}}::hbdc6a45a78c46404 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x64c0e8d5cc6d - as core::ops::function::FnOnce<()>>::call_once::h7f9d8efc7eedd165 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x64c0e8d5cc6d - std::panicking::catch_unwind::do_call::he5edbaf126c13b99 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x64c0e8d5cc6d - std::panicking::catch_unwind::h3d6a8652eceeabce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x64c0e8d5cc6d - std::panic::catch_unwind::hbef0c501dd7bb498 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x64c0e8d5cc6d - test::run_test_in_process::h400008a46a5006a0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x64c0e8d5cc6d - test::run_test::{{closure}}::h9a131655b31d9427 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x64c0e8d361b4 - test::run_test::{{closure}}::he4a7177c216308c0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x64c0e8d361b4 - std::sys::backtrace::__rust_begin_short_backtrace::hd3980e9c55d6c539 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x64c0e8d39aea - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h18552df67c7aa9b8 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:562:17 [INFO] [stdout] 38: 0x64c0e8d39aea - as core::ops::function::FnOnce<()>>::call_once::h3d7b285234641a08 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x64c0e8d39aea - std::panicking::catch_unwind::do_call::h5a2b5cf36528a5b2 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x64c0e8d39aea - std::panicking::catch_unwind::h7e8b531bbda77d20 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x64c0e8d39aea - std::panic::catch_unwind::hf9bbb2040b4f1e6c [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x64c0e8d39aea - std::thread::Builder::spawn_unchecked_::{{closure}}::h600f92cf68549574 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:560:30 [INFO] [stdout] 43: 0x64c0e8d39aea - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb6607307df8a1847 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x64c0e960ab4f - as core::ops::function::FnOnce>::call_once::h6891ad53a5ed6f52 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2085:9 [INFO] [stdout] 45: 0x64c0e960ab4f - std::sys::thread::unix::Thread::new::thread_start::h7f3e77fa86df70af [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/thread/unix.rs:124:17 [INFO] [stdout] 46: 0x7f6eeb82aaa4 - [INFO] [stdout] 47: 0x7f6eeb8b7a64 - 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 'c2e32f1c9652b13ed99608599c1e855462f421f3'. [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] 1 1 │ #[repr(C)] [INFO] [stdout] 2 2 │ #[derive(Debug, PartialEq, Clone, Copy)] [INFO] [stdout] 3 3 │ pub struct Input0 { [INFO] [stdout] 4 │- pub a: u32, [INFO] [stdout] 5 │- pub b: i32, [INFO] [stdout] 6 │- pub c: f32, [INFO] [stdout] 4 │+ pub a: u32, [INFO] [stdout] 5 │+ pub b: i32, [INFO] [stdout] 6 │+ pub c: f32, [INFO] [stdout] 7 7 │ } [INFO] [stdout] 8 8 │ impl Input0 { [INFO] [stdout] 9 │- pub const fn new(a: u32, b: i32, c: f32) -> Self { [INFO] [stdout] 10 │- Self { a, b, c } [INFO] [stdout] 11 │- } [INFO] [stdout] 9 │+ pub const fn new(a: u32, b: i32, c: f32) -> Self { [INFO] [stdout] 10 │+ Self { a, b, c } [INFO] [stdout] 11 │+ } [INFO] [stdout] 12 12 │ } [INFO] [stdout] 13 13 │ unsafe impl bytemuck::Zeroable for Input0 {} [INFO] [stdout] 14 14 │ unsafe impl bytemuck::Pod for Input0 {} [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'structs::tests::write_all_structs_bytemuck_skip_input_layout_validation' (6116) 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: 0x64c0e9637a32 - std::backtrace_rs::backtrace::libunwind::trace::h9ea1e07ac77a25d7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x64c0e9637a32 - std::backtrace_rs::backtrace::trace_unsynchronized::h72b75eb83b53d15a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x64c0e9637a32 - std::sys::backtrace::_print_fmt::h255777b7ec902439 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x64c0e9637a32 - ::fmt::h8a1ac49fcd7ee8ce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x64c0e964b7af - core::fmt::rt::Argument::fmt::h635cbf3c6754cc90 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x64c0e964b7af - core::fmt::write::hbdcc0ec4f1bab1db [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x64c0e9602ef3 - std::io::default_write_fmt::h2580ece0d4b58e51 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x64c0e9602ef3 - std::io::Write::write_fmt::hac9e42858f273b87 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x64c0e960f802 - std::sys::backtrace::BacktraceLock::print::h052febbd86f7bf07 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x64c0e96154df - std::panicking::default_hook::{{closure}}::h66aeee20dd470abb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x64c0e9615371 - std::panicking::default_hook::h9d66b9642014ce48 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x64c0e8d48e0e - as core::ops::function::Fn>::call::h8c698701e444e564 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 12: 0x64c0e8d48e0e - test::test_main_with_exit_callback::{{closure}}::ha1c98e7b69c4defb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x64c0e9615b9f - as core::ops::function::Fn>::call::hc4f222a8a57c637a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 14: 0x64c0e9615b9f - std::panicking::panic_with_hook::h6d5921a1a1fa5a8e [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x64c0e961594a - std::panicking::panic_handler::{{closure}}::hafeef6f707d43542 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x64c0e960f939 - std::sys::backtrace::__rust_end_short_backtrace::h08cbc3319a3d0120 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x64c0e95f65ad - __rustc[ce5c411ff86ab1b2]::rust_begin_unwind [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x64c0e9656830 - core::panicking::panic_fmt::h774fb860369a0f7b [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x64c0e96554f6 - core::result::unwrap_failed::h72ee8fcbf1bf8ff9 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1862:5 [INFO] [stdout] 20: 0x64c0e8b3a27b - core::result::Result::unwrap::h684f7c72affd3dee [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1233:23 [INFO] [stdout] 21: 0x64c0e8b3a27b - wgsl_bindgen::structs::tests::write_all_structs_bytemuck_skip_input_layout_validation::{{closure}}::h2183e853c07f90eb [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x64c0e8ac41ef - insta::settings::Settings::bind::h2163eb3478b113a1 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.2/src/settings.rs:509:9 [INFO] [stdout] 23: 0x64c0e8b39d9a - wgsl_bindgen::structs::tests::write_all_structs_bytemuck_skip_input_layout_validation::h86fb5b9f9e4b0a8e [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x64c0e8b3a377 - wgsl_bindgen::structs::tests::write_all_structs_bytemuck_skip_input_layout_validation::{{closure}}::hf4875eb3cd8e4547 [INFO] [stdout] at /opt/rustwide/workdir/src/structs.rs:549:63 [INFO] [stdout] 25: 0x64c0e8aff946 - core::ops::function::FnOnce::call_once::hd5a3b6f598dddbbd [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x64c0e8d48c5b - core::ops::function::FnOnce::call_once::h4f6eabe90cccb47d [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x64c0e8d48c5b - test::__rust_begin_short_backtrace::h94208530f2b4c8c7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x64c0e8d5cc6d - test::run_test_in_process::{{closure}}::hbdc6a45a78c46404 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x64c0e8d5cc6d - as core::ops::function::FnOnce<()>>::call_once::h7f9d8efc7eedd165 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x64c0e8d5cc6d - std::panicking::catch_unwind::do_call::he5edbaf126c13b99 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x64c0e8d5cc6d - std::panicking::catch_unwind::h3d6a8652eceeabce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x64c0e8d5cc6d - std::panic::catch_unwind::hbef0c501dd7bb498 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x64c0e8d5cc6d - test::run_test_in_process::h400008a46a5006a0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x64c0e8d5cc6d - test::run_test::{{closure}}::h9a131655b31d9427 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x64c0e8d361b4 - test::run_test::{{closure}}::he4a7177c216308c0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x64c0e8d361b4 - std::sys::backtrace::__rust_begin_short_backtrace::hd3980e9c55d6c539 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x64c0e8d39aea - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h18552df67c7aa9b8 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:562:17 [INFO] [stdout] 38: 0x64c0e8d39aea - as core::ops::function::FnOnce<()>>::call_once::h3d7b285234641a08 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x64c0e8d39aea - std::panicking::catch_unwind::do_call::h5a2b5cf36528a5b2 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x64c0e8d39aea - std::panicking::catch_unwind::h7e8b531bbda77d20 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x64c0e8d39aea - std::panic::catch_unwind::hf9bbb2040b4f1e6c [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x64c0e8d39aea - std::thread::Builder::spawn_unchecked_::{{closure}}::h600f92cf68549574 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:560:30 [INFO] [stdout] 43: 0x64c0e8d39aea - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb6607307df8a1847 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x64c0e960ab4f - as core::ops::function::FnOnce>::call_once::h6891ad53a5ed6f52 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2085:9 [INFO] [stdout] 45: 0x64c0e960ab4f - std::sys::thread::unix::Thread::new::thread_start::h7f3e77fa86df70af [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/thread/unix.rs:124:17 [INFO] [stdout] 46: 0x7f6eeb82aaa4 - [INFO] [stdout] 47: 0x7f6eeb8b7a64 - 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 'c2e32f1c9652b13ed99608599c1e855462f421f3'. [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] 1 1 │ mod _root { [INFO] [stdout] 2 │- pub use super::*; [INFO] [stdout] 2 │+ pub use super::*; [INFO] [stdout] 3 3 │ } [INFO] [stdout] 4 4 │ pub mod a { [INFO] [stdout] 5 │- use super::{_root, _root::*}; [INFO] [stdout] 6 │- struct B { [INFO] [stdout] 7 │- a: a::b::A, [INFO] [stdout] 8 │- } [INFO] [stdout] 9 │- pub mod b { [INFO] [stdout] 10 5 │ use super::{_root, _root::*}; [INFO] [stdout] 11 │- struct A; [INFO] [stdout] 12 │- } [INFO] [stdout] 6 │+ struct B { [INFO] [stdout] 7 │+ a: a::b::A, [INFO] [stdout] 8 │+ } [INFO] [stdout] 9 │+ pub mod b { [INFO] [stdout] 10 │+ use super::{_root, _root::*}; [INFO] [stdout] 11 │+ struct A; [INFO] [stdout] 12 │+ } [INFO] [stdout] 13 13 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'quote_gen::rust_module_builder::tests::test_relative_root_feature' (5831) 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: 0x64c0e9637a32 - std::backtrace_rs::backtrace::libunwind::trace::h9ea1e07ac77a25d7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x64c0e9637a32 - std::backtrace_rs::backtrace::trace_unsynchronized::h72b75eb83b53d15a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x64c0e9637a32 - std::sys::backtrace::_print_fmt::h255777b7ec902439 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x64c0e9637a32 - ::fmt::h8a1ac49fcd7ee8ce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x64c0e964b7af - core::fmt::rt::Argument::fmt::h635cbf3c6754cc90 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x64c0e964b7af - core::fmt::write::hbdcc0ec4f1bab1db [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x64c0e9602ef3 - std::io::default_write_fmt::h2580ece0d4b58e51 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x64c0e9602ef3 - std::io::Write::write_fmt::hac9e42858f273b87 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x64c0e960f802 - std::sys::backtrace::BacktraceLock::print::h052febbd86f7bf07 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x64c0e96154df - std::panicking::default_hook::{{closure}}::h66aeee20dd470abb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x64c0e9615371 - std::panicking::default_hook::h9d66b9642014ce48 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x64c0e8d48e0e - as core::ops::function::Fn>::call::h8c698701e444e564 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 12: 0x64c0e8d48e0e - test::test_main_with_exit_callback::{{closure}}::ha1c98e7b69c4defb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x64c0e9615b9f - as core::ops::function::Fn>::call::hc4f222a8a57c637a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 14: 0x64c0e9615b9f - std::panicking::panic_with_hook::h6d5921a1a1fa5a8e [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x64c0e961594a - std::panicking::panic_handler::{{closure}}::hafeef6f707d43542 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x64c0e960f939 - std::sys::backtrace::__rust_end_short_backtrace::h08cbc3319a3d0120 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x64c0e95f65ad - __rustc[ce5c411ff86ab1b2]::rust_begin_unwind [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x64c0e9656830 - core::panicking::panic_fmt::h774fb860369a0f7b [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x64c0e96554f6 - core::result::unwrap_failed::h72ee8fcbf1bf8ff9 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1862:5 [INFO] [stdout] 20: 0x64c0e8ae21eb - core::result::Result::unwrap::h684f7c72affd3dee [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1233:23 [INFO] [stdout] 21: 0x64c0e8ae21eb - wgsl_bindgen::quote_gen::rust_module_builder::tests::test_relative_root_feature::{{closure}}::h1deb660e61a17bbb [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x64c0e8ac4e6f - insta::settings::Settings::bind::h96a2a2e2039608e0 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.2/src/settings.rs:509:9 [INFO] [stdout] 23: 0x64c0e8ae1d38 - wgsl_bindgen::quote_gen::rust_module_builder::tests::test_relative_root_feature::h9245905be8acc22a [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x64c0e8ae22e7 - wgsl_bindgen::quote_gen::rust_module_builder::tests::test_relative_root_feature::{{closure}}::hb35f23fce670938d [INFO] [stdout] at /opt/rustwide/workdir/src/quote_gen/rust_module_builder.rs:306:34 [INFO] [stdout] 25: 0x64c0e8afe5d6 - core::ops::function::FnOnce::call_once::h63b3638bd6ae6b0c [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x64c0e8d48c5b - core::ops::function::FnOnce::call_once::h4f6eabe90cccb47d [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x64c0e8d48c5b - test::__rust_begin_short_backtrace::h94208530f2b4c8c7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x64c0e8d5cc6d - test::run_test_in_process::{{closure}}::hbdc6a45a78c46404 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x64c0e8d5cc6d - as core::ops::function::FnOnce<()>>::call_once::h7f9d8efc7eedd165 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x64c0e8d5cc6d - std::panicking::catch_unwind::do_call::he5edbaf126c13b99 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x64c0e8d5cc6d - std::panicking::catch_unwind::h3d6a8652eceeabce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x64c0e8d5cc6d - std::panic::catch_unwind::hbef0c501dd7bb498 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x64c0e8d5cc6d - test::run_test_in_process::h400008a46a5006a0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x64c0e8d5cc6d - test::run_test::{{closure}}::h9a131655b31d9427 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x64c0e8d361b4 - test::run_test::{{closure}}::he4a7177c216308c0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x64c0e8d361b4 - std::sys::backtrace::__rust_begin_short_backtrace::hd3980e9c55d6c539 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x64c0e8d39aea - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h18552df67c7aa9b8 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:562:17 [INFO] [stdout] 38: 0x64c0e8d39aea - as core::ops::function::FnOnce<()>>::call_once::h3d7b285234641a08 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x64c0e8d39aea - std::panicking::catch_unwind::do_call::h5a2b5cf36528a5b2 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x64c0e8d39aea - std::panicking::catch_unwind::h7e8b531bbda77d20 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x64c0e8d39aea - std::panic::catch_unwind::hf9bbb2040b4f1e6c [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x64c0e8d39aea - std::thread::Builder::spawn_unchecked_::{{closure}}::h600f92cf68549574 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:560:30 [INFO] [stdout] 43: 0x64c0e8d39aea - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb6607307df8a1847 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x64c0e960ab4f - as core::ops::function::FnOnce>::call_once::h6891ad53a5ed6f52 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2085:9 [INFO] [stdout] 45: 0x64c0e960ab4f - std::sys::thread::unix::Thread::new::thread_start::h7f3e77fa86df70af [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/thread/unix.rs:124:17 [INFO] [stdout] 46: 0x7f6eeb82aaa4 - [INFO] [stdout] 47: 0x7f6eeb8b7a64 - 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 'c2e32f1c9652b13ed99608599c1e855462f421f3'. [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] 1 1 │ #[repr(C)] [INFO] [stdout] 2 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 2 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 3 3 │ pub(crate) struct Scalars { [INFO] [stdout] 4 │- pub a: u32, [INFO] [stdout] 5 │- pub b: i32, [INFO] [stdout] 6 │- pub c: f32, [INFO] [stdout] 4 │+ pub a: u32, [INFO] [stdout] 5 │+ pub b: i32, [INFO] [stdout] 6 │+ pub c: f32, [INFO] [stdout] 7 7 │ } [INFO] [stdout] 8 8 │ impl Scalars { [INFO] [stdout] 9 │- pub const fn new(a: u32, b: i32, c: f32) -> Self { [INFO] [stdout] 10 │- Self { a, b, c } [INFO] [stdout] 11 │- } [INFO] [stdout] 9 │+ pub const fn new(a: u32, b: i32, c: f32) -> Self { [INFO] [stdout] 10 │+ Self { a, b, c } [INFO] [stdout] 11 │+ } [INFO] [stdout] 12 12 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'structs::tests::test_struct_visibility' (6070) 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: 0x64c0e9637a32 - std::backtrace_rs::backtrace::libunwind::trace::h9ea1e07ac77a25d7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x64c0e9637a32 - std::backtrace_rs::backtrace::trace_unsynchronized::h72b75eb83b53d15a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x64c0e9637a32 - std::sys::backtrace::_print_fmt::h255777b7ec902439 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x64c0e9637a32 - ::fmt::h8a1ac49fcd7ee8ce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x64c0e964b7af - core::fmt::rt::Argument::fmt::h635cbf3c6754cc90 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x64c0e964b7af - core::fmt::write::hbdcc0ec4f1bab1db [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x64c0e9602ef3 - std::io::default_write_fmt::h2580ece0d4b58e51 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x64c0e9602ef3 - std::io::Write::write_fmt::hac9e42858f273b87 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x64c0e960f802 - std::sys::backtrace::BacktraceLock::print::h052febbd86f7bf07 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x64c0e96154df - std::panicking::default_hook::{{closure}}::h66aeee20dd470abb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x64c0e9615371 - std::panicking::default_hook::h9d66b9642014ce48 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x64c0e8d48e0e - as core::ops::function::Fn>::call::h8c698701e444e564 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 12: 0x64c0e8d48e0e - test::test_main_with_exit_callback::{{closure}}::ha1c98e7b69c4defb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x64c0e9615b9f - as core::ops::function::Fn>::call::hc4f222a8a57c637a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 14: 0x64c0e9615b9f - std::panicking::panic_with_hook::h6d5921a1a1fa5a8e [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x64c0e961594a - std::panicking::panic_handler::{{closure}}::hafeef6f707d43542 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x64c0e960f939 - std::sys::backtrace::__rust_end_short_backtrace::h08cbc3319a3d0120 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x64c0e95f65ad - __rustc[ce5c411ff86ab1b2]::rust_begin_unwind [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x64c0e9656830 - core::panicking::panic_fmt::h774fb860369a0f7b [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x64c0e96554f6 - core::result::unwrap_failed::h72ee8fcbf1bf8ff9 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1862:5 [INFO] [stdout] 20: 0x64c0e8b2e55b - core::result::Result::unwrap::h684f7c72affd3dee [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1233:23 [INFO] [stdout] 21: 0x64c0e8b2e55b - wgsl_bindgen::structs::tests::test_struct_visibility::{{closure}}::h87f886b0c006aa79 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x64c0e8ac428f - insta::settings::Settings::bind::h28a2292959cf12a9 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.2/src/settings.rs:509:9 [INFO] [stdout] 23: 0x64c0e8b2e05e - wgsl_bindgen::structs::tests::test_struct_visibility::hd09a8b8d744ce7ce [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x64c0e8b2e127 - wgsl_bindgen::structs::tests::test_struct_visibility::{{closure}}::h6d76a3c838b9f38a [INFO] [stdout] at /opt/rustwide/workdir/src/structs.rs:828:30 [INFO] [stdout] 25: 0x64c0e8afdce6 - core::ops::function::FnOnce::call_once::h1e9be837b92f0cb7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x64c0e8d48c5b - core::ops::function::FnOnce::call_once::h4f6eabe90cccb47d [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x64c0e8d48c5b - test::__rust_begin_short_backtrace::h94208530f2b4c8c7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x64c0e8d5cc6d - test::run_test_in_process::{{closure}}::hbdc6a45a78c46404 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x64c0e8d5cc6d - as core::ops::function::FnOnce<()>>::call_once::h7f9d8efc7eedd165 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x64c0e8d5cc6d - std::panicking::catch_unwind::do_call::he5edbaf126c13b99 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x64c0e8d5cc6d - std::panicking::catch_unwind::h3d6a8652eceeabce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x64c0e8d5cc6d - std::panic::catch_unwind::hbef0c501dd7bb498 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x64c0e8d5cc6d - test::run_test_in_process::h400008a46a5006a0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x64c0e8d5cc6d - test::run_test::{{closure}}::h9a131655b31d9427 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x64c0e8d361b4 - test::run_test::{{closure}}::he4a7177c216308c0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x64c0e8d361b4 - std::sys::backtrace::__rust_begin_short_backtrace::hd3980e9c55d6c539 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x64c0e8d39aea - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h18552df67c7aa9b8 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:562:17 [INFO] [stdout] 38: 0x64c0e8d39aea - as core::ops::function::FnOnce<()>>::call_once::h3d7b285234641a08 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x64c0e8d39aea - std::panicking::catch_unwind::do_call::h5a2b5cf36528a5b2 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x64c0e8d39aea - std::panicking::catch_unwind::h7e8b531bbda77d20 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x64c0e8d39aea - std::panic::catch_unwind::hf9bbb2040b4f1e6c [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x64c0e8d39aea - std::thread::Builder::spawn_unchecked_::{{closure}}::h600f92cf68549574 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:560:30 [INFO] [stdout] 43: 0x64c0e8d39aea - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb6607307df8a1847 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x64c0e960ab4f - as core::ops::function::FnOnce>::call_once::h6891ad53a5ed6f52 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2085:9 [INFO] [stdout] 45: 0x64c0e960ab4f - std::sys::thread::unix::Thread::new::thread_start::h7f3e77fa86df70af [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/thread/unix.rs:124:17 [INFO] [stdout] 46: 0x7f6eeb82aaa4 - [INFO] [stdout] 47: 0x7f6eeb8b7a64 - 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 'c2e32f1c9652b13ed99608599c1e855462f421f3'. [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] 1 1 │ #[repr(C)] [INFO] [stdout] 2 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 2 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 3 3 │ pub struct Scalars { [INFO] [stdout] 4 │- pub a: u32, [INFO] [stdout] 5 │- pub b: i32, [INFO] [stdout] 6 │- pub c: f32, [INFO] [stdout] 4 │+ pub a: u32, [INFO] [stdout] 5 │+ pub b: i32, [INFO] [stdout] 6 │+ pub c: f32, [INFO] [stdout] 7 7 │ } [INFO] [stdout] 8 8 │ impl Scalars { [INFO] [stdout] 9 │- pub const fn new(a: u32, b: i32, c: f32) -> Self { [INFO] [stdout] 10 │- Self { a, b, c } [INFO] [stdout] 11 │- } [INFO] [stdout] 9 │+ pub const fn new(a: u32, b: i32, c: f32) -> Self { [INFO] [stdout] 10 │+ Self { a, b, c } [INFO] [stdout] 11 │+ } [INFO] [stdout] 12 12 │ } [INFO] [stdout] 13 13 │ #[repr(C)] [INFO] [stdout] 14 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 14 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 15 15 │ pub struct VectorsU32 { [INFO] [stdout] 16 │- pub a: [u32; 2], [INFO] [stdout] 17 │- pub b: [u32; 4], [INFO] [stdout] 18 │- pub c: [u32; 4], [INFO] [stdout] 16 │+ pub a: [u32; 2], [INFO] [stdout] 17 │+ pub b: [u32; 4], [INFO] [stdout] 18 │+ pub c: [u32; 4], [INFO] [stdout] 19 19 │ } [INFO] [stdout] 20 20 │ impl VectorsU32 { [INFO] [stdout] 21 │- pub const fn new(a: [u32; 2], b: [u32; 4], c: [u32; 4]) -> Self { [INFO] [stdout] 22 │- Self { a, b, c } [INFO] [stdout] 23 │- } [INFO] [stdout] 21 │+ pub const fn new(a: [u32; 2], b: [u32; 4], c: [u32; 4]) -> Self { [INFO] [stdout] 22 │+ Self { a, b, c } [INFO] [stdout] 23 │+ } [INFO] [stdout] 24 24 │ } [INFO] [stdout] 25 25 │ #[repr(C)] [INFO] [stdout] 26 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 26 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 27 27 │ pub struct VectorsI32 { [INFO] [stdout] 28 │- pub a: [i32; 2], [INFO] [stdout] 29 │- pub b: [i32; 4], [INFO] [stdout] 30 │- pub c: [i32; 4], [INFO] [stdout] 28 │+ pub a: [i32; 2], [INFO] [stdout] 29 │+ pub b: [i32; 4], [INFO] [stdout] 30 │+ pub c: [i32; 4], [INFO] [stdout] 31 31 │ } [INFO] [stdout] 32 32 │ impl VectorsI32 { [INFO] [stdout] 33 │- pub const fn new(a: [i32; 2], b: [i32; 4], c: [i32; 4]) -> Self { [INFO] [stdout] 34 │- Self { a, b, c } [INFO] [stdout] 35 │- } [INFO] [stdout] 33 │+ pub const fn new(a: [i32; 2], b: [i32; 4], c: [i32; 4]) -> Self { [INFO] [stdout] 34 │+ Self { a, b, c } [INFO] [stdout] 35 │+ } [INFO] [stdout] 36 36 │ } [INFO] [stdout] 37 37 │ #[repr(C)] [INFO] [stdout] 38 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 38 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 39 39 │ pub struct VectorsF32 { [INFO] [stdout] 40 │- pub a: [f32; 2], [INFO] [stdout] 41 │- pub b: [f32; 4], [INFO] [stdout] 42 │- pub c: [f32; 4], [INFO] [stdout] 40 │+ pub a: [f32; 2], [INFO] [stdout] 41 │+ pub b: [f32; 4], [INFO] [stdout] 42 │+ pub c: [f32; 4], [INFO] [stdout] 43 43 │ } [INFO] [stdout] 44 44 │ impl VectorsF32 { [INFO] [stdout] 45 │- pub const fn new(a: [f32; 2], b: [f32; 4], c: [f32; 4]) -> Self { [INFO] [stdout] 46 │- Self { a, b, c } [INFO] [stdout] 47 │- } [INFO] [stdout] 45 │+ pub const fn new(a: [f32; 2], b: [f32; 4], c: [f32; 4]) -> Self { [INFO] [stdout] 46 │+ Self { a, b, c } [INFO] [stdout] 47 │+ } [INFO] [stdout] 48 48 │ } [INFO] [stdout] 49 49 │ #[repr(C)] [INFO] [stdout] 50 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 50 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 51 51 │ pub struct VectorsF64 { [INFO] [stdout] 52 │- pub a: [f64; 2], [INFO] [stdout] 53 │- pub b: [f64; 4], [INFO] [stdout] 54 │- pub c: [f64; 4], [INFO] [stdout] 52 │+ pub a: [f64; 2], [INFO] [stdout] 53 │+ pub b: [f64; 4], [INFO] [stdout] 54 │+ pub c: [f64; 4], [INFO] [stdout] 55 55 │ } [INFO] [stdout] 56 56 │ impl VectorsF64 { [INFO] [stdout] 57 │- pub const fn new(a: [f64; 2], b: [f64; 4], c: [f64; 4]) -> Self { [INFO] [stdout] 58 │- Self { a, b, c } [INFO] [stdout] 59 │- } [INFO] [stdout] 57 │+ pub const fn new(a: [f64; 2], b: [f64; 4], c: [f64; 4]) -> Self { [INFO] [stdout] 58 │+ Self { a, b, c } [INFO] [stdout] 59 │+ } [INFO] [stdout] 60 60 │ } [INFO] [stdout] 61 61 │ #[repr(C)] [INFO] [stdout] 62 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 62 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 63 63 │ pub struct MatricesF32 { [INFO] [stdout] 64 │- pub a: [[f32; 4]; 4], [INFO] [stdout] 65 │- pub b: [[f32; 4]; 4], [INFO] [stdout] 66 │- pub c: [[f32; 2]; 4], [INFO] [stdout] 67 │- pub d: [[f32; 4]; 3], [INFO] [stdout] 68 │- pub e: [[f32; 4]; 3], [INFO] [stdout] 69 │- pub f: [[f32; 2]; 3], [INFO] [stdout] 70 │- pub g: [[f32; 4]; 2], [INFO] [stdout] 71 │- pub h: [[f32; 4]; 2], [INFO] [stdout] 72 │- pub i: [[f32; 2]; 2], [INFO] [stdout] 64 │+ pub a: [[f32; 4]; 4], [INFO] [stdout] 65 │+ pub b: [[f32; 4]; 4], [INFO] [stdout] 66 │+ pub c: [[f32; 2]; 4], [INFO] [stdout] 67 │+ pub d: [[f32; 4]; 3], [INFO] [stdout] 68 │+ pub e: [[f32; 4]; 3], [INFO] [stdout] 69 │+ pub f: [[f32; 2]; 3], [INFO] [stdout] 70 │+ pub g: [[f32; 4]; 2], [INFO] [stdout] 71 │+ pub h: [[f32; 4]; 2], [INFO] [stdout] 72 │+ pub i: [[f32; 2]; 2], [INFO] [stdout] 73 73 │ } [INFO] [stdout] 74 74 │ impl MatricesF32 { [INFO] [stdout] 75 │- pub const fn new( [INFO] [stdout] 76 │- a: [[f32; 4]; 4], [INFO] [stdout] 77 │- b: [[f32; 4]; 4], [INFO] [stdout] 78 │- c: [[f32; 2]; 4], [INFO] [stdout] 79 │- d: [[f32; 4]; 3], [INFO] [stdout] 80 │- e: [[f32; 4]; 3], [INFO] [stdout] 81 │- f: [[f32; 2]; 3], [INFO] [stdout] 82 │- g: [[f32; 4]; 2], [INFO] [stdout] 83 │- h: [[f32; 4]; 2], [INFO] [stdout] 84 │- i: [[f32; 2]; 2], [INFO] [stdout] 85 │- ) -> Self { [INFO] [stdout] 86 │- Self { [INFO] [stdout] 87 │- a, [INFO] [stdout] 88 │- b, [INFO] [stdout] 89 │- c, [INFO] [stdout] 90 │- d, [INFO] [stdout] 91 │- e, [INFO] [stdout] 92 │- f, [INFO] [stdout] 93 │- g, [INFO] [stdout] 94 │- h, [INFO] [stdout] 95 │- i, [INFO] [stdout] 75 │+ pub const fn new( [INFO] [stdout] 76 │+ a: [[f32; 4]; 4], [INFO] [stdout] 77 │+ b: [[f32; 4]; 4], [INFO] [stdout] 78 │+ c: [[f32; 2]; 4], [INFO] [stdout] 79 │+ d: [[f32; 4]; 3], [INFO] [stdout] 80 │+ e: [[f32; 4]; 3], [INFO] [stdout] 81 │+ f: [[f32; 2]; 3], [INFO] [stdout] 82 │+ g: [[f32; 4]; 2], [INFO] [stdout] 83 │+ h: [[f32; 4]; 2], [INFO] [stdout] 84 │+ i: [[f32; 2]; 2], [INFO] [stdout] 85 │+ ) -> Self { [INFO] [stdout] 86 │+ Self { a, b, c, d, e, f, g, h, i } [INFO] [stdout] 96 87 │ } [INFO] [stdout] 97 │- } [INFO] [stdout] 98 88 │ } [INFO] [stdout] 99 89 │ #[repr(C)] [INFO] [stdout] 100 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 90 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 101 91 │ pub struct MatricesF64 { [INFO] [stdout] 102 │- pub a: [[f64; 4]; 4], [INFO] [stdout] 103 │- pub b: [[f64; 4]; 4], [INFO] [stdout] 104 │- pub c: [[f64; 2]; 4], [INFO] [stdout] 105 │- pub d: [[f64; 4]; 3], [INFO] [stdout] 106 │- pub e: [[f64; 4]; 3], [INFO] [stdout] 107 │- pub f: [[f64; 2]; 3], [INFO] [stdout] 108 │- pub g: [[f64; 4]; 2], [INFO] [stdout] 109 │- pub h: [[f64; 4]; 2], [INFO] [stdout] 110 │- pub i: [[f64; 2]; 2], [INFO] [stdout] 92 │+ pub a: [[f64; 4]; 4], [INFO] [stdout] 93 │+ pub b: [[f64; 4]; 4], [INFO] [stdout] 94 │+ pub c: [[f64; 2]; 4], [INFO] [stdout] 95 │+ pub d: [[f64; 4]; 3], [INFO] [stdout] 96 │+ pub e: [[f64; 4]; 3], [INFO] [stdout] 97 │+ pub f: [[f64; 2]; 3], [INFO] [stdout] 98 │+ pub g: [[f64; 4]; 2], [INFO] [stdout] 99 │+ pub h: [[f64; 4]; 2], [INFO] [stdout] 100 │+ pub i: [[f64; 2]; 2], [INFO] [stdout] 111 101 │ } [INFO] [stdout] 112 102 │ impl MatricesF64 { [INFO] [stdout] 113 │- pub const fn new( [INFO] [stdout] 114 │- a: [[f64; 4]; 4], [INFO] [stdout] 115 │- b: [[f64; 4]; 4], [INFO] [stdout] 116 │- c: [[f64; 2]; 4], [INFO] [stdout] 117 │- d: [[f64; 4]; 3], [INFO] [stdout] 118 │- e: [[f64; 4]; 3], [INFO] [stdout] 119 │- f: [[f64; 2]; 3], [INFO] [stdout] 120 │- g: [[f64; 4]; 2], [INFO] [stdout] 121 │- h: [[f64; 4]; 2], [INFO] [stdout] 122 │- i: [[f64; 2]; 2], [INFO] [stdout] 123 │- ) -> Self { [INFO] [stdout] 124 │- Self { [INFO] [stdout] 125 │- a, [INFO] [stdout] 126 │- b, [INFO] [stdout] 127 │- c, [INFO] [stdout] 128 │- d, [INFO] [stdout] 129 │- e, [INFO] [stdout] 130 │- f, [INFO] [stdout] 131 │- g, [INFO] [stdout] 132 │- h, [INFO] [stdout] 133 │- i, [INFO] [stdout] 103 │+ pub const fn new( [INFO] [stdout] 104 │+ a: [[f64; 4]; 4], [INFO] [stdout] 105 │+ b: [[f64; 4]; 4], [INFO] [stdout] 106 │+ c: [[f64; 2]; 4], [INFO] [stdout] 107 │+ d: [[f64; 4]; 3], [INFO] [stdout] 108 │+ e: [[f64; 4]; 3], [INFO] [stdout] 109 │+ f: [[f64; 2]; 3], [INFO] [stdout] 110 │+ g: [[f64; 4]; 2], [INFO] [stdout] 111 │+ h: [[f64; 4]; 2], [INFO] [stdout] 112 │+ i: [[f64; 2]; 2], [INFO] [stdout] 113 │+ ) -> Self { [INFO] [stdout] 114 │+ Self { a, b, c, d, e, f, g, h, i } [INFO] [stdout] 134 115 │ } [INFO] [stdout] 135 │- } [INFO] [stdout] 136 116 │ } [INFO] [stdout] 137 117 │ #[repr(C)] [INFO] [stdout] 138 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 118 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 139 119 │ pub struct StaticArrays { [INFO] [stdout] 140 │- pub a: [u32; 5], [INFO] [stdout] 141 │- pub b: [f32; 3], [INFO] [stdout] 142 │- pub c: [[[f32; 4]; 4]; 512], [INFO] [stdout] 120 │+ pub a: [u32; 5], [INFO] [stdout] 121 │+ pub b: [f32; 3], [INFO] [stdout] 122 │+ pub c: [[[f32; 4]; 4]; 512], [INFO] [stdout] 143 123 │ } [INFO] [stdout] 144 124 │ impl StaticArrays { [INFO] [stdout] 145 │- pub const fn new(a: [u32; 5], b: [f32; 3], c: [[[f32; 4]; 4]; 512]) -> Self { [INFO] [stdout] 146 │- Self { a, b, c } [INFO] [stdout] 147 │- } [INFO] [stdout] 125 │+ pub const fn new(a: [u32; 5], b: [f32; 3], c: [[[f32; 4]; 4]; 512]) -> Self { [INFO] [stdout] 126 │+ Self { a, b, c } [INFO] [stdout] 127 │+ } [INFO] [stdout] 148 128 │ } [INFO] [stdout] 149 129 │ #[repr(C)] [INFO] [stdout] 150 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 130 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 151 131 │ pub struct Nested { [INFO] [stdout] 152 │- pub a: MatricesF32, [INFO] [stdout] 153 │- pub b: MatricesF64, [INFO] [stdout] 132 │+ pub a: MatricesF32, [INFO] [stdout] 133 │+ pub b: MatricesF64, [INFO] [stdout] 154 134 │ } [INFO] [stdout] 155 135 │ impl Nested { [INFO] [stdout] 156 │- pub const fn new(a: MatricesF32, b: MatricesF64) -> Self { [INFO] [stdout] 157 │- Self { a, b } [INFO] [stdout] 158 │- } [INFO] [stdout] 136 │+ pub const fn new(a: MatricesF32, b: MatricesF64) -> Self { [INFO] [stdout] 137 │+ Self { a, b } [INFO] [stdout] 138 │+ } [INFO] [stdout] 159 139 │ } [INFO] [stdout] 160 140 │ #[repr(C)] [INFO] [stdout] 161 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 141 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 162 142 │ pub struct VectorsF16 { [INFO] [stdout] 163 │- pub a: [half::f16; 2], [INFO] [stdout] 164 │- pub b: [half::f16; 4], [INFO] [stdout] 143 │+ pub a: [half::f16; 2], [INFO] [stdout] 144 │+ pub b: [half::f16; 4], [INFO] [stdout] 165 145 │ } [INFO] [stdout] 166 146 │ impl VectorsF16 { [INFO] [stdout] 167 │- pub const fn new(a: [half::f16; 2], b: [half::f16; 4]) -> Self { [INFO] [stdout] 168 │- Self { a, b } [INFO] [stdout] 169 │- } [INFO] [stdout] 147 │+ pub const fn new(a: [half::f16; 2], b: [half::f16; 4]) -> Self { [INFO] [stdout] 148 │+ Self { a, b } [INFO] [stdout] 149 │+ } [INFO] [stdout] 170 150 │ } [INFO] [stdout] 171 151 │ #[repr(C)] [INFO] [stdout] 172 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 152 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 173 153 │ pub struct MatricesF16 { [INFO] [stdout] 174 │- pub a: [[half::f16; 4]; 4], [INFO] [stdout] 175 │- pub b: [[half::f16; 4]; 4], [INFO] [stdout] 176 │- pub c: [[half::f16; 2]; 4], [INFO] [stdout] 177 │- pub d: [[half::f16; 4]; 3], [INFO] [stdout] 178 │- pub e: [[half::f16; 4]; 3], [INFO] [stdout] 179 │- pub f: [[half::f16; 2]; 3], [INFO] [stdout] 180 │- pub g: [[half::f16; 4]; 2], [INFO] [stdout] 181 │- pub h: [[half::f16; 4]; 2], [INFO] [stdout] 182 │- pub i: [[half::f16; 2]; 2], [INFO] [stdout] 154 │+ pub a: [[half::f16; 4]; 4], [INFO] [stdout] 155 │+ pub b: [[half::f16; 4]; 4], [INFO] [stdout] 156 │+ pub c: [[half::f16; 2]; 4], [INFO] [stdout] 157 │+ pub d: [[half::f16; 4]; 3], [INFO] [stdout] 158 │+ pub e: [[half::f16; 4]; 3], [INFO] [stdout] 159 │+ pub f: [[half::f16; 2]; 3], [INFO] [stdout] 160 │+ pub g: [[half::f16; 4]; 2], [INFO] [stdout] 161 │+ pub h: [[half::f16; 4]; 2], [INFO] [stdout] 162 │+ pub i: [[half::f16; 2]; 2], [INFO] [stdout] 183 163 │ } [INFO] [stdout] 184 164 │ impl MatricesF16 { [INFO] [stdout] 185 │- pub const fn new( [INFO] [stdout] 186 │- a: [[half::f16; 4]; 4], [INFO] [stdout] 187 │- b: [[half::f16; 4]; 4], [INFO] [stdout] 188 │- c: [[half::f16; 2]; 4], [INFO] [stdout] 189 │- d: [[half::f16; 4]; 3], [INFO] [stdout] 190 │- e: [[half::f16; 4]; 3], [INFO] [stdout] 191 │- f: [[half::f16; 2]; 3], [INFO] [stdout] 192 │- g: [[half::f16; 4]; 2], [INFO] [stdout] 193 │- h: [[half::f16; 4]; 2], [INFO] [stdout] 194 │- i: [[half::f16; 2]; 2], [INFO] [stdout] 195 │- ) -> Self { [INFO] [stdout] 196 │- Self { [INFO] [stdout] 197 │- a, [INFO] [stdout] 198 │- b, [INFO] [stdout] 199 │- c, [INFO] [stdout] 200 │- d, [INFO] [stdout] 201 │- e, [INFO] [stdout] 202 │- f, [INFO] [stdout] 203 │- g, [INFO] [stdout] 204 │- h, [INFO] [stdout] 205 │- i, [INFO] [stdout] 165 │+ pub const fn new( [INFO] [stdout] 166 │+ a: [[half::f16; 4]; 4], [INFO] [stdout] 167 │+ b: [[half::f16; 4]; 4], [INFO] [stdout] 168 │+ c: [[half::f16; 2]; 4], [INFO] [stdout] 169 │+ d: [[half::f16; 4]; 3], [INFO] [stdout] 170 │+ e: [[half::f16; 4]; 3], [INFO] [stdout] 171 │+ f: [[half::f16; 2]; 3], [INFO] [stdout] 172 │+ g: [[half::f16; 4]; 2], [INFO] [stdout] 173 │+ h: [[half::f16; 4]; 2], [INFO] [stdout] 174 │+ i: [[half::f16; 2]; 2], [INFO] [stdout] 175 │+ ) -> Self { [INFO] [stdout] 176 │+ Self { a, b, c, d, e, f, g, h, i } [INFO] [stdout] 206 177 │ } [INFO] [stdout] 207 │- } [INFO] [stdout] 208 178 │ } [INFO] [stdout] 209 179 │ #[repr(C)] [INFO] [stdout] 210 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 180 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 211 181 │ pub struct Atomics { [INFO] [stdout] 212 │- pub num: u32, [INFO] [stdout] 213 │- pub numi: i32, [INFO] [stdout] 182 │+ pub num: u32, [INFO] [stdout] 183 │+ pub numi: i32, [INFO] [stdout] 214 184 │ } [INFO] [stdout] 215 185 │ impl Atomics { [INFO] [stdout] 216 │- pub const fn new(num: u32, numi: i32) -> Self { [INFO] [stdout] 217 │- Self { num, numi } [INFO] [stdout] 218 │- } [INFO] [stdout] 186 │+ pub const fn new(num: u32, numi: i32) -> Self { [INFO] [stdout] 187 │+ Self { num, numi } [INFO] [stdout] 188 │+ } [INFO] [stdout] 219 189 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'structs::tests::write_all_structs_rust' (8613) 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: 0x64c0e9637a32 - std::backtrace_rs::backtrace::libunwind::trace::h9ea1e07ac77a25d7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x64c0e9637a32 - std::backtrace_rs::backtrace::trace_unsynchronized::h72b75eb83b53d15a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x64c0e9637a32 - std::sys::backtrace::_print_fmt::h255777b7ec902439 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x64c0e9637a32 - ::fmt::h8a1ac49fcd7ee8ce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x64c0e964b7af - core::fmt::rt::Argument::fmt::h635cbf3c6754cc90 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x64c0e964b7af - core::fmt::write::hbdcc0ec4f1bab1db [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x64c0e9602ef3 - std::io::default_write_fmt::h2580ece0d4b58e51 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x64c0e9602ef3 - std::io::Write::write_fmt::hac9e42858f273b87 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x64c0e960f802 - std::sys::backtrace::BacktraceLock::print::h052febbd86f7bf07 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x64c0e96154df - std::panicking::default_hook::{{closure}}::h66aeee20dd470abb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x64c0e9615371 - std::panicking::default_hook::h9d66b9642014ce48 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x64c0e8d48e0e - as core::ops::function::Fn>::call::h8c698701e444e564 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 12: 0x64c0e8d48e0e - test::test_main_with_exit_callback::{{closure}}::ha1c98e7b69c4defb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x64c0e9615b9f - as core::ops::function::Fn>::call::hc4f222a8a57c637a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 14: 0x64c0e9615b9f - std::panicking::panic_with_hook::h6d5921a1a1fa5a8e [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x64c0e961594a - std::panicking::panic_handler::{{closure}}::hafeef6f707d43542 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x64c0e960f939 - std::sys::backtrace::__rust_end_short_backtrace::h08cbc3319a3d0120 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x64c0e95f65ad - __rustc[ce5c411ff86ab1b2]::rust_begin_unwind [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x64c0e9656830 - core::panicking::panic_fmt::h774fb860369a0f7b [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x64c0e96554f6 - core::result::unwrap_failed::h72ee8fcbf1bf8ff9 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1862:5 [INFO] [stdout] 20: 0x64c0e8b2fd4b - core::result::Result::unwrap::h684f7c72affd3dee [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1233:23 [INFO] [stdout] 21: 0x64c0e8b2fd4b - wgsl_bindgen::structs::tests::write_all_structs_rust::{{closure}}::hf5e317fdc6994501 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x64c0e8ac568f - insta::settings::Settings::bind::he398a821acb70f83 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.2/src/settings.rs:509:9 [INFO] [stdout] 23: 0x64c0e8b2f847 - wgsl_bindgen::structs::tests::write_all_structs_rust::h59f800ea2a9b1f1c [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x64c0e8b2f917 - wgsl_bindgen::structs::tests::write_all_structs_rust::{{closure}}::hd7fe6153e31ddcf5 [INFO] [stdout] at /opt/rustwide/workdir/src/structs.rs:169:30 [INFO] [stdout] 25: 0x64c0e8afee16 - core::ops::function::FnOnce::call_once::h8e008856e87b0b04 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x64c0e8d48c5b - core::ops::function::FnOnce::call_once::h4f6eabe90cccb47d [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x64c0e8d48c5b - test::__rust_begin_short_backtrace::h94208530f2b4c8c7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x64c0e8d5cc6d - test::run_test_in_process::{{closure}}::hbdc6a45a78c46404 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x64c0e8d5cc6d - as core::ops::function::FnOnce<()>>::call_once::h7f9d8efc7eedd165 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x64c0e8d5cc6d - std::panicking::catch_unwind::do_call::he5edbaf126c13b99 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x64c0e8d5cc6d - std::panicking::catch_unwind::h3d6a8652eceeabce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x64c0e8d5cc6d - std::panic::catch_unwind::hbef0c501dd7bb498 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x64c0e8d5cc6d - test::run_test_in_process::h400008a46a5006a0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x64c0e8d5cc6d - test::run_test::{{closure}}::h9a131655b31d9427 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x64c0e8d361b4 - test::run_test::{{closure}}::he4a7177c216308c0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x64c0e8d361b4 - std::sys::backtrace::__rust_begin_short_backtrace::hd3980e9c55d6c539 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x64c0e8d39aea - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h18552df67c7aa9b8 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:562:17 [INFO] [stdout] 38: 0x64c0e8d39aea - as core::ops::function::FnOnce<()>>::call_once::h3d7b285234641a08 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x64c0e8d39aea - std::panicking::catch_unwind::do_call::h5a2b5cf36528a5b2 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x64c0e8d39aea - std::panicking::catch_unwind::h7e8b531bbda77d20 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x64c0e8d39aea - std::panic::catch_unwind::hf9bbb2040b4f1e6c [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x64c0e8d39aea - std::thread::Builder::spawn_unchecked_::{{closure}}::h600f92cf68549574 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:560:30 [INFO] [stdout] 43: 0x64c0e8d39aea - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb6607307df8a1847 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x64c0e960ab4f - as core::ops::function::FnOnce>::call_once::h6891ad53a5ed6f52 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2085:9 [INFO] [stdout] 45: 0x64c0e960ab4f - std::sys::thread::unix::Thread::new::thread_start::h7f3e77fa86df70af [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/thread/unix.rs:124:17 [INFO] [stdout] 46: 0x7f6eeb82aaa4 - [INFO] [stdout] 47: 0x7f6eeb8b7a64 - 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 'c2e32f1c9652b13ed99608599c1e855462f421f3'. [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] 1 1 │ #[repr(C)] [INFO] [stdout] 2 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 2 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 3 3 │ pub struct Scalars { [INFO] [stdout] 4 │- pub a: u32, [INFO] [stdout] 5 │- pub b: i32, [INFO] [stdout] 6 │- pub c: f32, [INFO] [stdout] 4 │+ pub a: u32, [INFO] [stdout] 5 │+ pub b: i32, [INFO] [stdout] 6 │+ pub c: f32, [INFO] [stdout] 7 7 │ } [INFO] [stdout] 8 8 │ impl Scalars { [INFO] [stdout] 9 │- pub const fn new(a: u32, b: i32, c: f32) -> Self { [INFO] [stdout] 10 │- Self { a, b, c } [INFO] [stdout] 11 │- } [INFO] [stdout] 9 │+ pub const fn new(a: u32, b: i32, c: f32) -> Self { [INFO] [stdout] 10 │+ Self { a, b, c } [INFO] [stdout] 11 │+ } [INFO] [stdout] 12 12 │ } [INFO] [stdout] 13 13 │ #[repr(C)] [INFO] [stdout] 14 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 14 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 15 15 │ pub struct VectorsU32 { [INFO] [stdout] 16 │- pub a: [u32; 2], [INFO] [stdout] 17 │- pub b: [u32; 4], [INFO] [stdout] 18 │- pub c: [u32; 4], [INFO] [stdout] 16 │+ pub a: [u32; 2], [INFO] [stdout] 17 │+ pub b: [u32; 4], [INFO] [stdout] 18 │+ pub c: [u32; 4], [INFO] [stdout] 19 19 │ } [INFO] [stdout] 20 20 │ impl VectorsU32 { [INFO] [stdout] 21 │- pub const fn new(a: [u32; 2], b: [u32; 4], c: [u32; 4]) -> Self { [INFO] [stdout] 22 │- Self { a, b, c } [INFO] [stdout] 23 │- } [INFO] [stdout] 21 │+ pub const fn new(a: [u32; 2], b: [u32; 4], c: [u32; 4]) -> Self { [INFO] [stdout] 22 │+ Self { a, b, c } [INFO] [stdout] 23 │+ } [INFO] [stdout] 24 24 │ } [INFO] [stdout] 25 25 │ #[repr(C)] [INFO] [stdout] 26 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 26 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 27 27 │ pub struct VectorsI32 { [INFO] [stdout] 28 │- pub a: [i32; 2], [INFO] [stdout] 29 │- pub b: [i32; 4], [INFO] [stdout] 30 │- pub c: [i32; 4], [INFO] [stdout] 28 │+ pub a: [i32; 2], [INFO] [stdout] 29 │+ pub b: [i32; 4], [INFO] [stdout] 30 │+ pub c: [i32; 4], [INFO] [stdout] 31 31 │ } [INFO] [stdout] 32 32 │ impl VectorsI32 { [INFO] [stdout] 33 │- pub const fn new(a: [i32; 2], b: [i32; 4], c: [i32; 4]) -> Self { [INFO] [stdout] 34 │- Self { a, b, c } [INFO] [stdout] 35 │- } [INFO] [stdout] 33 │+ pub const fn new(a: [i32; 2], b: [i32; 4], c: [i32; 4]) -> Self { [INFO] [stdout] 34 │+ Self { a, b, c } [INFO] [stdout] 35 │+ } [INFO] [stdout] 36 36 │ } [INFO] [stdout] 37 37 │ #[repr(C)] [INFO] [stdout] 38 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 38 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 39 39 │ pub struct VectorsF32 { [INFO] [stdout] 40 │- pub a: [f32; 2], [INFO] [stdout] 41 │- pub b: [f32; 4], [INFO] [stdout] 42 │- pub c: [f32; 4], [INFO] [stdout] 40 │+ pub a: [f32; 2], [INFO] [stdout] 41 │+ pub b: [f32; 4], [INFO] [stdout] 42 │+ pub c: [f32; 4], [INFO] [stdout] 43 43 │ } [INFO] [stdout] 44 44 │ impl VectorsF32 { [INFO] [stdout] 45 │- pub const fn new(a: [f32; 2], b: [f32; 4], c: [f32; 4]) -> Self { [INFO] [stdout] 46 │- Self { a, b, c } [INFO] [stdout] 47 │- } [INFO] [stdout] 45 │+ pub const fn new(a: [f32; 2], b: [f32; 4], c: [f32; 4]) -> Self { [INFO] [stdout] 46 │+ Self { a, b, c } [INFO] [stdout] 47 │+ } [INFO] [stdout] 48 48 │ } [INFO] [stdout] 49 49 │ #[repr(C)] [INFO] [stdout] 50 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 50 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 51 51 │ pub struct MatricesF32 { [INFO] [stdout] 52 │- pub a: [[f32; 4]; 4], [INFO] [stdout] 53 │- pub b: [[f32; 4]; 4], [INFO] [stdout] 54 │- pub c: [[f32; 2]; 4], [INFO] [stdout] 55 │- pub d: [[f32; 4]; 3], [INFO] [stdout] 56 │- pub e: [[f32; 4]; 3], [INFO] [stdout] 57 │- pub f: [[f32; 2]; 3], [INFO] [stdout] 58 │- pub g: [[f32; 4]; 2], [INFO] [stdout] 59 │- pub h: [[f32; 4]; 2], [INFO] [stdout] 60 │- pub i: [[f32; 2]; 2], [INFO] [stdout] 52 │+ pub a: [[f32; 4]; 4], [INFO] [stdout] 53 │+ pub b: [[f32; 4]; 4], [INFO] [stdout] 54 │+ pub c: [[f32; 2]; 4], [INFO] [stdout] 55 │+ pub d: [[f32; 4]; 3], [INFO] [stdout] 56 │+ pub e: [[f32; 4]; 3], [INFO] [stdout] 57 │+ pub f: [[f32; 2]; 3], [INFO] [stdout] 58 │+ pub g: [[f32; 4]; 2], [INFO] [stdout] 59 │+ pub h: [[f32; 4]; 2], [INFO] [stdout] 60 │+ pub i: [[f32; 2]; 2], [INFO] [stdout] 61 61 │ } [INFO] [stdout] 62 62 │ impl MatricesF32 { [INFO] [stdout] 63 │- pub const fn new( [INFO] [stdout] 64 │- a: [[f32; 4]; 4], [INFO] [stdout] 65 │- b: [[f32; 4]; 4], [INFO] [stdout] 66 │- c: [[f32; 2]; 4], [INFO] [stdout] 67 │- d: [[f32; 4]; 3], [INFO] [stdout] 68 │- e: [[f32; 4]; 3], [INFO] [stdout] 69 │- f: [[f32; 2]; 3], [INFO] [stdout] 70 │- g: [[f32; 4]; 2], [INFO] [stdout] 71 │- h: [[f32; 4]; 2], [INFO] [stdout] 72 │- i: [[f32; 2]; 2], [INFO] [stdout] 73 │- ) -> Self { [INFO] [stdout] 74 │- Self { [INFO] [stdout] 75 │- a, [INFO] [stdout] 76 │- b, [INFO] [stdout] 77 │- c, [INFO] [stdout] 78 │- d, [INFO] [stdout] 79 │- e, [INFO] [stdout] 80 │- f, [INFO] [stdout] 81 │- g, [INFO] [stdout] 82 │- h, [INFO] [stdout] 83 │- i, [INFO] [stdout] 63 │+ pub const fn new( [INFO] [stdout] 64 │+ a: [[f32; 4]; 4], [INFO] [stdout] 65 │+ b: [[f32; 4]; 4], [INFO] [stdout] 66 │+ c: [[f32; 2]; 4], [INFO] [stdout] 67 │+ d: [[f32; 4]; 3], [INFO] [stdout] 68 │+ e: [[f32; 4]; 3], [INFO] [stdout] 69 │+ f: [[f32; 2]; 3], [INFO] [stdout] 70 │+ g: [[f32; 4]; 2], [INFO] [stdout] 71 │+ h: [[f32; 4]; 2], [INFO] [stdout] 72 │+ i: [[f32; 2]; 2], [INFO] [stdout] 73 │+ ) -> Self { [INFO] [stdout] 74 │+ Self { a, b, c, d, e, f, g, h, i } [INFO] [stdout] 84 75 │ } [INFO] [stdout] 85 │- } [INFO] [stdout] 86 76 │ } [INFO] [stdout] 87 77 │ #[repr(C)] [INFO] [stdout] 88 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 78 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 89 79 │ pub struct StaticArrays { [INFO] [stdout] 90 │- pub a: [u32; 5], [INFO] [stdout] 91 │- pub b: [f32; 3], [INFO] [stdout] 92 │- pub c: [[[f32; 4]; 4]; 512], [INFO] [stdout] 80 │+ pub a: [u32; 5], [INFO] [stdout] 81 │+ pub b: [f32; 3], [INFO] [stdout] 82 │+ pub c: [[[f32; 4]; 4]; 512], [INFO] [stdout] 93 83 │ } [INFO] [stdout] 94 84 │ impl StaticArrays { [INFO] [stdout] 95 │- pub const fn new(a: [u32; 5], b: [f32; 3], c: [[[f32; 4]; 4]; 512]) -> Self { [INFO] [stdout] 96 │- Self { a, b, c } [INFO] [stdout] 97 │- } [INFO] [stdout] 85 │+ pub const fn new(a: [u32; 5], b: [f32; 3], c: [[[f32; 4]; 4]; 512]) -> Self { [INFO] [stdout] 86 │+ Self { a, b, c } [INFO] [stdout] 87 │+ } [INFO] [stdout] 98 88 │ } [INFO] [stdout] 99 89 │ #[repr(C)] [INFO] [stdout] 100 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 90 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 101 91 │ pub struct Nested { [INFO] [stdout] 102 │- pub a: MatricesF32, [INFO] [stdout] 103 │- pub b: VectorsF32, [INFO] [stdout] 92 │+ pub a: MatricesF32, [INFO] [stdout] 93 │+ pub b: VectorsF32, [INFO] [stdout] 104 94 │ } [INFO] [stdout] 105 95 │ impl Nested { [INFO] [stdout] 106 │- pub const fn new(a: MatricesF32, b: VectorsF32) -> Self { [INFO] [stdout] 107 │- Self { a, b } [INFO] [stdout] 108 │- } [INFO] [stdout] 96 │+ pub const fn new(a: MatricesF32, b: VectorsF32) -> Self { [INFO] [stdout] 97 │+ Self { a, b } [INFO] [stdout] 98 │+ } [INFO] [stdout] 109 99 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'structs::tests::write_all_structs_nalgebra' (8403) 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: 0x64c0e9637a32 - std::backtrace_rs::backtrace::libunwind::trace::h9ea1e07ac77a25d7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x64c0e9637a32 - std::backtrace_rs::backtrace::trace_unsynchronized::h72b75eb83b53d15a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x64c0e9637a32 - std::sys::backtrace::_print_fmt::h255777b7ec902439 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x64c0e9637a32 - ::fmt::h8a1ac49fcd7ee8ce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x64c0e964b7af - core::fmt::rt::Argument::fmt::h635cbf3c6754cc90 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x64c0e964b7af - core::fmt::write::hbdcc0ec4f1bab1db [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x64c0e9602ef3 - std::io::default_write_fmt::h2580ece0d4b58e51 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x64c0e9602ef3 - std::io::Write::write_fmt::hac9e42858f273b87 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x64c0e960f802 - std::sys::backtrace::BacktraceLock::print::h052febbd86f7bf07 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x64c0e96154df - std::panicking::default_hook::{{closure}}::h66aeee20dd470abb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x64c0e9615371 - std::panicking::default_hook::h9d66b9642014ce48 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x64c0e8d48e0e - as core::ops::function::Fn>::call::h8c698701e444e564 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 12: 0x64c0e8d48e0e - test::test_main_with_exit_callback::{{closure}}::ha1c98e7b69c4defb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x64c0e9615b9f - as core::ops::function::Fn>::call::hc4f222a8a57c637a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 14: 0x64c0e9615b9f - std::panicking::panic_with_hook::h6d5921a1a1fa5a8e [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x64c0e961594a - std::panicking::panic_handler::{{closure}}::hafeef6f707d43542 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x64c0e960f939 - std::sys::backtrace::__rust_end_short_backtrace::h08cbc3319a3d0120 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x64c0e95f65ad - __rustc[ce5c411ff86ab1b2]::rust_begin_unwind [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x64c0e9656830 - core::panicking::panic_fmt::h774fb860369a0f7b [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x64c0e96554f6 - core::result::unwrap_failed::h72ee8fcbf1bf8ff9 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1862:5 [INFO] [stdout] 20: 0x64c0e8b3408b - core::result::Result::unwrap::h684f7c72affd3dee [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1233:23 [INFO] [stdout] 21: 0x64c0e8b3408b - wgsl_bindgen::structs::tests::write_all_structs_nalgebra::{{closure}}::h39e1cfc640aef7ed [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x64c0e8ac50ef - insta::settings::Settings::bind::hb36ce3c156cb9bc6 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.2/src/settings.rs:509:9 [INFO] [stdout] 23: 0x64c0e8b33ba3 - wgsl_bindgen::structs::tests::write_all_structs_nalgebra::h0b10ded8600f025c [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x64c0e8b34187 - wgsl_bindgen::structs::tests::write_all_structs_nalgebra::{{closure}}::h8828162ec80a6582 [INFO] [stdout] at /opt/rustwide/workdir/src/structs.rs:359:34 [INFO] [stdout] 25: 0x64c0e8afeb36 - core::ops::function::FnOnce::call_once::h7d3f0724b3bcf05e [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x64c0e8d48c5b - core::ops::function::FnOnce::call_once::h4f6eabe90cccb47d [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x64c0e8d48c5b - test::__rust_begin_short_backtrace::h94208530f2b4c8c7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x64c0e8d5cc6d - test::run_test_in_process::{{closure}}::hbdc6a45a78c46404 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x64c0e8d5cc6d - as core::ops::function::FnOnce<()>>::call_once::h7f9d8efc7eedd165 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x64c0e8d5cc6d - std::panicking::catch_unwind::do_call::he5edbaf126c13b99 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x64c0e8d5cc6d - std::panicking::catch_unwind::h3d6a8652eceeabce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x64c0e8d5cc6d - std::panic::catch_unwind::hbef0c501dd7bb498 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x64c0e8d5cc6d - test::run_test_in_process::h400008a46a5006a0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x64c0e8d5cc6d - test::run_test::{{closure}}::h9a131655b31d9427 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x64c0e8d361b4 - test::run_test::{{closure}}::he4a7177c216308c0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x64c0e8d361b4 - std::sys::backtrace::__rust_begin_short_backtrace::hd3980e9c55d6c539 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x64c0e8d39aea - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h18552df67c7aa9b8 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:562:17 [INFO] [stdout] 38: 0x64c0e8d39aea - as core::ops::function::FnOnce<()>>::call_once::h3d7b285234641a08 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x64c0e8d39aea - std::panicking::catch_unwind::do_call::h5a2b5cf36528a5b2 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x64c0e8d39aea - std::panicking::catch_unwind::h7e8b531bbda77d20 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x64c0e8d39aea - std::panic::catch_unwind::hf9bbb2040b4f1e6c [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x64c0e8d39aea - std::thread::Builder::spawn_unchecked_::{{closure}}::h600f92cf68549574 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:560:30 [INFO] [stdout] 43: 0x64c0e8d39aea - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb6607307df8a1847 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x64c0e960ab4f - as core::ops::function::FnOnce>::call_once::h6891ad53a5ed6f52 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2085:9 [INFO] [stdout] 45: 0x64c0e960ab4f - std::sys::thread::unix::Thread::new::thread_start::h7f3e77fa86df70af [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/thread/unix.rs:124:17 [INFO] [stdout] 46: 0x7f6eeb82aaa4 - [INFO] [stdout] 47: 0x7f6eeb8b7a64 - 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 'c2e32f1c9652b13ed99608599c1e855462f421f3'. [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] 1 1 │ #[repr(C, align(4))] [INFO] [stdout] 2 2 │ #[derive(Debug, PartialEq, Clone, Copy)] [INFO] [stdout] 3 3 │ pub struct Input0 { [INFO] [stdout] 4 │- #[doc = "offset: 0, size: 4, type: `u32`"] [INFO] [stdout] 5 │- pub a: u32, [INFO] [stdout] 6 │- pub _pad_a: [u8; 0x4], [INFO] [stdout] 7 │- #[doc = "offset: 8, size: 4, type: `i32`"] [INFO] [stdout] 8 │- pub b: i32, [INFO] [stdout] 9 │- pub _pad_b: [u8; 0x14], [INFO] [stdout] 10 │- #[doc = "offset: 32, size: 4, type: `f32`"] [INFO] [stdout] 11 │- pub c: f32, [INFO] [stdout] 12 │- pub _pad_d: [u8; 0x1C], [INFO] [stdout] 4 │+ ///offset: 0, size: 4, type: `u32` [INFO] [stdout] 5 │+ pub a: u32, [INFO] [stdout] 6 │+ pub _pad_a: [u8; 0x4], [INFO] [stdout] 7 │+ ///offset: 8, size: 4, type: `i32` [INFO] [stdout] 8 │+ pub b: i32, [INFO] [stdout] 9 │+ pub _pad_b: [u8; 0x14], [INFO] [stdout] 10 │+ ///offset: 32, size: 4, type: `f32` [INFO] [stdout] 11 │+ pub c: f32, [INFO] [stdout] 12 │+ pub _pad_d: [u8; 0x1C], [INFO] [stdout] 13 13 │ } [INFO] [stdout] 14 14 │ impl Input0 { [INFO] [stdout] 15 │- pub const fn new(a: u32, b: i32, c: f32) -> Self { [INFO] [stdout] 16 │- Self { [INFO] [stdout] 17 │- a, [INFO] [stdout] 18 │- _pad_a: [0; 0x4], [INFO] [stdout] 19 │- b, [INFO] [stdout] 20 │- _pad_b: [0; 0x14], [INFO] [stdout] 21 │- c, [INFO] [stdout] 22 │- _pad_d: [0; 0x1C], [INFO] [stdout] 15 │+ pub const fn new(a: u32, b: i32, c: f32) -> Self { [INFO] [stdout] 16 │+ Self { [INFO] [stdout] 17 │+ a, [INFO] [stdout] 18 │+ _pad_a: [0; 0x4], [INFO] [stdout] 19 │+ b, [INFO] [stdout] 20 │+ _pad_b: [0; 0x14], [INFO] [stdout] 21 │+ c, [INFO] [stdout] 22 │+ _pad_d: [0; 0x1C], [INFO] [stdout] 23 │+ } [INFO] [stdout] 23 24 │ } [INFO] [stdout] 24 │- } [INFO] [stdout] 25 25 │ } [INFO] [stdout] 26 26 │ #[repr(C)] [INFO] [stdout] 27 27 │ #[derive(Debug, PartialEq, Clone, Copy)] [INFO] [stdout] 28 28 │ pub struct Input0Init { [INFO] [stdout] 29 │- pub a: u32, [INFO] [stdout] 30 │- pub b: i32, [INFO] [stdout] 31 │- pub c: f32, [INFO] [stdout] 29 │+ pub a: u32, [INFO] [stdout] 30 │+ pub b: i32, [INFO] [stdout] 31 │+ pub c: f32, [INFO] [stdout] 32 32 │ } [INFO] [stdout] 33 33 │ impl Input0Init { [INFO] [stdout] 34 │- pub fn build(&self) -> Input0 { [INFO] [stdout] 35 │- Input0 { [INFO] [stdout] 36 │- a: self.a, [INFO] [stdout] 37 │- _pad_a: [0; 0x4], [INFO] [stdout] 38 │- b: self.b, [INFO] [stdout] 39 │- _pad_b: [0; 0x14], [INFO] [stdout] 40 │- c: self.c, [INFO] [stdout] 41 │- _pad_d: [0; 0x1C], [INFO] [stdout] 34 │+ pub fn build(&self) -> Input0 { [INFO] [stdout] 35 │+ Input0 { [INFO] [stdout] 36 │+ a: self.a, [INFO] [stdout] 37 │+ _pad_a: [0; 0x4], [INFO] [stdout] 38 │+ b: self.b, [INFO] [stdout] 39 │+ _pad_b: [0; 0x14], [INFO] [stdout] 40 │+ c: self.c, [INFO] [stdout] 41 │+ _pad_d: [0; 0x1C], [INFO] [stdout] 42 │+ } [INFO] [stdout] 42 43 │ } [INFO] [stdout] 43 │- } [INFO] [stdout] 44 44 │ } [INFO] [stdout] 45 45 │ impl From for Input0 { [INFO] [stdout] 46 │- fn from(data: Input0Init) -> Self { [INFO] [stdout] 47 │- data.build() [INFO] [stdout] 48 │- } [INFO] [stdout] 46 │+ fn from(data: Input0Init) -> Self { [INFO] [stdout] 47 │+ data.build() [INFO] [stdout] 48 │+ } [INFO] [stdout] 49 49 │ } [INFO] [stdout] 50 50 │ const INPUT0_ASSERTS: () = { [INFO] [stdout] 51 │- assert!(std::mem::offset_of!(Input0, a) == 0); [INFO] [stdout] 52 │- assert!(std::mem::offset_of!(Input0, b) == 8); [INFO] [stdout] 53 │- assert!(std::mem::offset_of!(Input0, c) == 32); [INFO] [stdout] 54 │- assert!(std::mem::size_of::() == 64); [INFO] [stdout] 51 │+ assert!(std::mem::offset_of!(Input0, a) == 0); [INFO] [stdout] 52 │+ assert!(std::mem::offset_of!(Input0, b) == 8); [INFO] [stdout] 53 │+ assert!(std::mem::offset_of!(Input0, c) == 32); [INFO] [stdout] 54 │+ assert!(std::mem::size_of:: < Input0 > () == 64); [INFO] [stdout] 55 55 │ }; [INFO] [stdout] 56 56 │ unsafe impl bytemuck::Zeroable for Input0 {} [INFO] [stdout] 57 57 │ unsafe impl bytemuck::Pod for Input0 {} [INFO] [stdout] 58 58 │ #[repr(C, align(4))] [INFO] [stdout] 59 59 │ #[derive(Debug, PartialEq, Clone, Copy)] [INFO] [stdout] 60 60 │ pub struct Inner { [INFO] [stdout] 61 │- #[doc = "offset: 0, size: 4, type: `f32`"] [INFO] [stdout] 62 │- pub a: f32, [INFO] [stdout] 61 │+ ///offset: 0, size: 4, type: `f32` [INFO] [stdout] 62 │+ pub a: f32, [INFO] [stdout] 63 63 │ } [INFO] [stdout] 64 64 │ impl Inner { [INFO] [stdout] 65 │- pub const fn new(a: f32) -> Self { [INFO] [stdout] 66 │- Self { a } [INFO] [stdout] 67 │- } [INFO] [stdout] 65 │+ pub const fn new(a: f32) -> Self { [INFO] [stdout] 66 │+ Self { a } [INFO] [stdout] 67 │+ } [INFO] [stdout] 68 68 │ } [INFO] [stdout] 69 69 │ const INNER_ASSERTS: () = { [INFO] [stdout] 70 │- assert!(std::mem::offset_of!(Inner, a) == 0); [INFO] [stdout] 71 │- assert!(std::mem::size_of::() == 4); [INFO] [stdout] 70 │+ assert!(std::mem::offset_of!(Inner, a) == 0); [INFO] [stdout] 71 │+ assert!(std::mem::size_of:: < Inner > () == 4); [INFO] [stdout] 72 72 │ }; [INFO] [stdout] 73 73 │ unsafe impl bytemuck::Zeroable for Inner {} [INFO] [stdout] 74 74 │ unsafe impl bytemuck::Pod for Inner {} [INFO] [stdout] 75 75 │ #[repr(C, align(4))] [INFO] [stdout] 76 76 │ #[derive(Debug, PartialEq, Clone, Copy)] [INFO] [stdout] 77 77 │ pub struct Outer { [INFO] [stdout] 78 │- #[doc = "offset: 0, size: 4, type: `Inner`"] [INFO] [stdout] 79 │- pub inner: Inner, [INFO] [stdout] 78 │+ ///offset: 0, size: 4, type: `Inner` [INFO] [stdout] 79 │+ pub inner: Inner, [INFO] [stdout] 80 80 │ } [INFO] [stdout] 81 81 │ impl Outer { [INFO] [stdout] 82 │- pub const fn new(inner: Inner) -> Self { [INFO] [stdout] 83 │- Self { inner } [INFO] [stdout] 84 │- } [INFO] [stdout] 82 │+ pub const fn new(inner: Inner) -> Self { [INFO] [stdout] 83 │+ Self { inner } [INFO] [stdout] 84 │+ } [INFO] [stdout] 85 85 │ } [INFO] [stdout] 86 86 │ const OUTER_ASSERTS: () = { [INFO] [stdout] 87 │- assert!(std::mem::offset_of!(Outer, inner) == 0); [INFO] [stdout] 88 │- assert!(std::mem::size_of::() == 4); [INFO] [stdout] 87 │+ assert!(std::mem::offset_of!(Outer, inner) == 0); [INFO] [stdout] 88 │+ assert!(std::mem::size_of:: < Outer > () == 4); [INFO] [stdout] 89 89 │ }; [INFO] [stdout] 90 90 │ unsafe impl bytemuck::Zeroable for Outer {} [INFO] [stdout] 91 91 │ unsafe impl bytemuck::Pod for Outer {} [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'structs::tests::write_all_structs_bytemuck_input_layout_validation' (6072) 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: 0x64c0e9637a32 - std::backtrace_rs::backtrace::libunwind::trace::h9ea1e07ac77a25d7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x64c0e9637a32 - std::backtrace_rs::backtrace::trace_unsynchronized::h72b75eb83b53d15a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x64c0e9637a32 - std::sys::backtrace::_print_fmt::h255777b7ec902439 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x64c0e9637a32 - ::fmt::h8a1ac49fcd7ee8ce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x64c0e964b7af - core::fmt::rt::Argument::fmt::h635cbf3c6754cc90 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x64c0e964b7af - core::fmt::write::hbdcc0ec4f1bab1db [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x64c0e9602ef3 - std::io::default_write_fmt::h2580ece0d4b58e51 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x64c0e9602ef3 - std::io::Write::write_fmt::hac9e42858f273b87 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x64c0e960f802 - std::sys::backtrace::BacktraceLock::print::h052febbd86f7bf07 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x64c0e96154df - std::panicking::default_hook::{{closure}}::h66aeee20dd470abb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x64c0e9615371 - std::panicking::default_hook::h9d66b9642014ce48 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x64c0e8d48e0e - as core::ops::function::Fn>::call::h8c698701e444e564 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 12: 0x64c0e8d48e0e - test::test_main_with_exit_callback::{{closure}}::ha1c98e7b69c4defb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x64c0e9615b9f - as core::ops::function::Fn>::call::hc4f222a8a57c637a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 14: 0x64c0e9615b9f - std::panicking::panic_with_hook::h6d5921a1a1fa5a8e [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x64c0e961594a - std::panicking::panic_handler::{{closure}}::hafeef6f707d43542 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x64c0e960f939 - std::sys::backtrace::__rust_end_short_backtrace::h08cbc3319a3d0120 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x64c0e95f65ad - __rustc[ce5c411ff86ab1b2]::rust_begin_unwind [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x64c0e9656830 - core::panicking::panic_fmt::h774fb860369a0f7b [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x64c0e96554f6 - core::result::unwrap_failed::h72ee8fcbf1bf8ff9 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1862:5 [INFO] [stdout] 20: 0x64c0e8b394eb - core::result::Result::unwrap::h684f7c72affd3dee [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1233:23 [INFO] [stdout] 21: 0x64c0e8b394eb - wgsl_bindgen::structs::tests::write_all_structs_bytemuck_input_layout_validation::{{closure}}::hcbade7dbb241e3f3 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x64c0e8ac540f - insta::settings::Settings::bind::hc097c6fbac848762 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.2/src/settings.rs:509:9 [INFO] [stdout] 23: 0x64c0e8b3900a - wgsl_bindgen::structs::tests::write_all_structs_bytemuck_input_layout_validation::h63fb14b054530f7d [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x64c0e8b395e7 - wgsl_bindgen::structs::tests::write_all_structs_bytemuck_input_layout_validation::{{closure}}::he009e26d39173674 [INFO] [stdout] at /opt/rustwide/workdir/src/structs.rs:582:58 [INFO] [stdout] 25: 0x64c0e8aff906 - core::ops::function::FnOnce::call_once::hd312c5d6445bfebb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x64c0e8d48c5b - core::ops::function::FnOnce::call_once::h4f6eabe90cccb47d [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x64c0e8d48c5b - test::__rust_begin_short_backtrace::h94208530f2b4c8c7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x64c0e8d5cc6d - test::run_test_in_process::{{closure}}::hbdc6a45a78c46404 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x64c0e8d5cc6d - as core::ops::function::FnOnce<()>>::call_once::h7f9d8efc7eedd165 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x64c0e8d5cc6d - std::panicking::catch_unwind::do_call::he5edbaf126c13b99 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x64c0e8d5cc6d - std::panicking::catch_unwind::h3d6a8652eceeabce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x64c0e8d5cc6d - std::panic::catch_unwind::hbef0c501dd7bb498 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x64c0e8d5cc6d - test::run_test_in_process::h400008a46a5006a0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x64c0e8d5cc6d - test::run_test::{{closure}}::h9a131655b31d9427 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x64c0e8d361b4 - test::run_test::{{closure}}::he4a7177c216308c0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x64c0e8d361b4 - std::sys::backtrace::__rust_begin_short_backtrace::hd3980e9c55d6c539 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x64c0e8d39aea - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h18552df67c7aa9b8 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:562:17 [INFO] [stdout] 38: 0x64c0e8d39aea - as core::ops::function::FnOnce<()>>::call_once::h3d7b285234641a08 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x64c0e8d39aea - std::panicking::catch_unwind::do_call::h5a2b5cf36528a5b2 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x64c0e8d39aea - std::panicking::catch_unwind::h7e8b531bbda77d20 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x64c0e8d39aea - std::panic::catch_unwind::hf9bbb2040b4f1e6c [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x64c0e8d39aea - std::thread::Builder::spawn_unchecked_::{{closure}}::h600f92cf68549574 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:560:30 [INFO] [stdout] 43: 0x64c0e8d39aea - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb6607307df8a1847 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x64c0e960ab4f - as core::ops::function::FnOnce>::call_once::h6891ad53a5ed6f52 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2085:9 [INFO] [stdout] 45: 0x64c0e960ab4f - std::sys::thread::unix::Thread::new::thread_start::h7f3e77fa86df70af [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/thread/unix.rs:124:17 [INFO] [stdout] 46: 0x7f6eeb82aaa4 - [INFO] [stdout] 47: 0x7f6eeb8b7a64 - 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 'c2e32f1c9652b13ed99608599c1e855462f421f3'. [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] 1 1 │ #[repr(C)] [INFO] [stdout] 2 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 2 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 3 3 │ pub struct Input0 { [INFO] [stdout] 4 │- pub a: u32, [INFO] [stdout] 5 │- pub b: i32, [INFO] [stdout] 6 │- pub c: f32, [INFO] [stdout] 4 │+ pub a: u32, [INFO] [stdout] 5 │+ pub b: i32, [INFO] [stdout] 6 │+ pub c: f32, [INFO] [stdout] 7 7 │ } [INFO] [stdout] 8 8 │ impl Input0 { [INFO] [stdout] 9 │- pub const fn new(a: u32, b: i32, c: f32) -> Self { [INFO] [stdout] 10 │- Self { a, b, c } [INFO] [stdout] 11 │- } [INFO] [stdout] 9 │+ pub const fn new(a: u32, b: i32, c: f32) -> Self { [INFO] [stdout] 10 │+ Self { a, b, c } [INFO] [stdout] 11 │+ } [INFO] [stdout] 12 12 │ } [INFO] [stdout] 13 13 │ #[repr(C)] [INFO] [stdout] 14 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 14 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 15 15 │ pub struct Nested { [INFO] [stdout] 16 │- pub a: Input0, [INFO] [stdout] 17 │- pub b: f32, [INFO] [stdout] 16 │+ pub a: Input0, [INFO] [stdout] 17 │+ pub b: f32, [INFO] [stdout] 18 18 │ } [INFO] [stdout] 19 19 │ impl Nested { [INFO] [stdout] 20 │- pub const fn new(a: Input0, b: f32) -> Self { [INFO] [stdout] 21 │- Self { a, b } [INFO] [stdout] 22 │- } [INFO] [stdout] 20 │+ pub const fn new(a: Input0, b: f32) -> Self { [INFO] [stdout] 21 │+ Self { a, b } [INFO] [stdout] 22 │+ } [INFO] [stdout] 23 23 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'structs::tests::write_all_structs_encase' (6189) 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: 0x64c0e9637a32 - std::backtrace_rs::backtrace::libunwind::trace::h9ea1e07ac77a25d7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x64c0e9637a32 - std::backtrace_rs::backtrace::trace_unsynchronized::h72b75eb83b53d15a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x64c0e9637a32 - std::sys::backtrace::_print_fmt::h255777b7ec902439 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x64c0e9637a32 - ::fmt::h8a1ac49fcd7ee8ce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x64c0e964b7af - core::fmt::rt::Argument::fmt::h635cbf3c6754cc90 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x64c0e964b7af - core::fmt::write::hbdcc0ec4f1bab1db [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x64c0e9602ef3 - std::io::default_write_fmt::h2580ece0d4b58e51 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x64c0e9602ef3 - std::io::Write::write_fmt::hac9e42858f273b87 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x64c0e960f802 - std::sys::backtrace::BacktraceLock::print::h052febbd86f7bf07 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x64c0e96154df - std::panicking::default_hook::{{closure}}::h66aeee20dd470abb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x64c0e9615371 - std::panicking::default_hook::h9d66b9642014ce48 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x64c0e8d48e0e - as core::ops::function::Fn>::call::h8c698701e444e564 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 12: 0x64c0e8d48e0e - test::test_main_with_exit_callback::{{closure}}::ha1c98e7b69c4defb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x64c0e9615b9f - as core::ops::function::Fn>::call::hc4f222a8a57c637a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 14: 0x64c0e9615b9f - std::panicking::panic_with_hook::h6d5921a1a1fa5a8e [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x64c0e961594a - std::panicking::panic_handler::{{closure}}::hafeef6f707d43542 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x64c0e960f939 - std::sys::backtrace::__rust_end_short_backtrace::h08cbc3319a3d0120 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x64c0e95f65ad - __rustc[ce5c411ff86ab1b2]::rust_begin_unwind [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x64c0e9656830 - core::panicking::panic_fmt::h774fb860369a0f7b [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x64c0e96554f6 - core::result::unwrap_failed::h72ee8fcbf1bf8ff9 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1862:5 [INFO] [stdout] 20: 0x64c0e8b30adb - core::result::Result::unwrap::h684f7c72affd3dee [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1233:23 [INFO] [stdout] 21: 0x64c0e8b30adb - wgsl_bindgen::structs::tests::write_all_structs_encase::{{closure}}::hcd37fb7236465f8d [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x64c0e8ac46ef - insta::settings::Settings::bind::h57c5a11dbd0c455b [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.2/src/settings.rs:509:9 [INFO] [stdout] 23: 0x64c0e8b305c7 - wgsl_bindgen::structs::tests::write_all_structs_encase::hd0831f74f99e19fa [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x64c0e8b306a7 - wgsl_bindgen::structs::tests::write_all_structs_encase::{{closure}}::h0e847309c09b97c2 [INFO] [stdout] at /opt/rustwide/workdir/src/structs.rs:434:32 [INFO] [stdout] 25: 0x64c0e8affb16 - core::ops::function::FnOnce::call_once::he4b39b924f233b08 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x64c0e8d48c5b - core::ops::function::FnOnce::call_once::h4f6eabe90cccb47d [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x64c0e8d48c5b - test::__rust_begin_short_backtrace::h94208530f2b4c8c7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x64c0e8d5cc6d - test::run_test_in_process::{{closure}}::hbdc6a45a78c46404 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x64c0e8d5cc6d - as core::ops::function::FnOnce<()>>::call_once::h7f9d8efc7eedd165 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x64c0e8d5cc6d - std::panicking::catch_unwind::do_call::he5edbaf126c13b99 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x64c0e8d5cc6d - std::panicking::catch_unwind::h3d6a8652eceeabce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x64c0e8d5cc6d - std::panic::catch_unwind::hbef0c501dd7bb498 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x64c0e8d5cc6d - test::run_test_in_process::h400008a46a5006a0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x64c0e8d5cc6d - test::run_test::{{closure}}::h9a131655b31d9427 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x64c0e8d361b4 - test::run_test::{{closure}}::he4a7177c216308c0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x64c0e8d361b4 - std::sys::backtrace::__rust_begin_short_backtrace::hd3980e9c55d6c539 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x64c0e8d39aea - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h18552df67c7aa9b8 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:562:17 [INFO] [stdout] 38: 0x64c0e8d39aea - as core::ops::function::FnOnce<()>>::call_once::h3d7b285234641a08 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x64c0e8d39aea - std::panicking::catch_unwind::do_call::h5a2b5cf36528a5b2 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x64c0e8d39aea - std::panicking::catch_unwind::h7e8b531bbda77d20 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x64c0e8d39aea - std::panic::catch_unwind::hf9bbb2040b4f1e6c [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x64c0e8d39aea - std::thread::Builder::spawn_unchecked_::{{closure}}::h600f92cf68549574 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:560:30 [INFO] [stdout] 43: 0x64c0e8d39aea - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb6607307df8a1847 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x64c0e960ab4f - as core::ops::function::FnOnce>::call_once::h6891ad53a5ed6f52 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2085:9 [INFO] [stdout] 45: 0x64c0e960ab4f - std::sys::thread::unix::Thread::new::thread_start::h7f3e77fa86df70af [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/thread/unix.rs:124:17 [INFO] [stdout] 46: 0x7f6eeb82aaa4 - [INFO] [stdout] 47: 0x7f6eeb8b7a64 - 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 'c2e32f1c9652b13ed99608599c1e855462f421f3'. [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] 1 1 │ #[repr(C, align(16))] [INFO] [stdout] 2 2 │ #[derive(Debug, PartialEq, Clone, Copy)] [INFO] [stdout] 3 3 │ pub struct MatricesF32 { [INFO] [stdout] 4 │- #[doc = "offset: 0, size: 64, type: `mat4x4`"] [INFO] [stdout] 5 │- pub a: [[f32; 4]; 4], [INFO] [stdout] 6 │- #[doc = "offset: 64, size: 64, type: `mat4x3`"] [INFO] [stdout] 7 │- pub b: [[f32; 4]; 4], [INFO] [stdout] 8 │- #[doc = "offset: 128, size: 32, type: `mat4x2`"] [INFO] [stdout] 9 │- pub c: [[f32; 2]; 4], [INFO] [stdout] 10 │- #[doc = "offset: 160, size: 48, type: `mat3x4`"] [INFO] [stdout] 11 │- pub d: [[f32; 4]; 3], [INFO] [stdout] 4 │+ ///offset: 0, size: 64, type: `mat4x4` [INFO] [stdout] 5 │+ pub a: [[f32; 4]; 4], [INFO] [stdout] 6 │+ ///offset: 64, size: 64, type: `mat4x3` [INFO] [stdout] 7 │+ pub b: [[f32; 4]; 4], [INFO] [stdout] 8 │+ ///offset: 128, size: 32, type: `mat4x2` [INFO] [stdout] 9 │+ pub c: [[f32; 2]; 4], [INFO] [stdout] 10 │+ ///offset: 160, size: 48, type: `mat3x4` [INFO] [stdout] 11 │+ pub d: [[f32; 4]; 3], [INFO] [stdout] 12 12 │ } [INFO] [stdout] 13 13 │ impl MatricesF32 { [INFO] [stdout] 14 │- pub const fn new( [INFO] [stdout] 15 │- a: [[f32; 4]; 4], [INFO] [stdout] 16 │- b: [[f32; 4]; 4], [INFO] [stdout] 17 │- c: [[f32; 2]; 4], [INFO] [stdout] 18 │- d: [[f32; 4]; 3], [INFO] [stdout] 19 │- ) -> Self { [INFO] [stdout] 20 │- Self { a, b, c, d } [INFO] [stdout] 21 │- } [INFO] [stdout] 14 │+ pub const fn new( [INFO] [stdout] 15 │+ a: [[f32; 4]; 4], [INFO] [stdout] 16 │+ b: [[f32; 4]; 4], [INFO] [stdout] 17 │+ c: [[f32; 2]; 4], [INFO] [stdout] 18 │+ d: [[f32; 4]; 3], [INFO] [stdout] 19 │+ ) -> Self { [INFO] [stdout] 20 │+ Self { a, b, c, d } [INFO] [stdout] 21 │+ } [INFO] [stdout] 22 22 │ } [INFO] [stdout] 23 23 │ const MATRICES_F32_ASSERTS: () = { [INFO] [stdout] 24 │- assert!(std::mem::offset_of!(MatricesF32, a) == 0); [INFO] [stdout] 25 │- assert!(std::mem::offset_of!(MatricesF32, b) == 64); [INFO] [stdout] 26 │- assert!(std::mem::offset_of!(MatricesF32, c) == 128); [INFO] [stdout] 27 │- assert!(std::mem::offset_of!(MatricesF32, d) == 160); [INFO] [stdout] 28 │- assert!(std::mem::size_of::() == 208); [INFO] [stdout] 24 │+ assert!(std::mem::offset_of!(MatricesF32, a) == 0); [INFO] [stdout] 25 │+ assert!(std::mem::offset_of!(MatricesF32, b) == 64); [INFO] [stdout] 26 │+ assert!(std::mem::offset_of!(MatricesF32, c) == 128); [INFO] [stdout] 27 │+ assert!(std::mem::offset_of!(MatricesF32, d) == 160); [INFO] [stdout] 28 │+ assert!(std::mem::size_of:: < MatricesF32 > () == 208); [INFO] [stdout] 29 29 │ }; [INFO] [stdout] 30 30 │ unsafe impl bytemuck::Zeroable for MatricesF32 {} [INFO] [stdout] 31 31 │ unsafe impl bytemuck::Pod for MatricesF32 {} [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'structs::tests::write_nonpower_of_2_mats' (9853) 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: 0x64c0e9637a32 - std::backtrace_rs::backtrace::libunwind::trace::h9ea1e07ac77a25d7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x64c0e9637a32 - std::backtrace_rs::backtrace::trace_unsynchronized::h72b75eb83b53d15a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x64c0e9637a32 - std::sys::backtrace::_print_fmt::h255777b7ec902439 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x64c0e9637a32 - ::fmt::h8a1ac49fcd7ee8ce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x64c0e964b7af - core::fmt::rt::Argument::fmt::h635cbf3c6754cc90 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x64c0e964b7af - core::fmt::write::hbdcc0ec4f1bab1db [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x64c0e9602ef3 - std::io::default_write_fmt::h2580ece0d4b58e51 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x64c0e9602ef3 - std::io::Write::write_fmt::hac9e42858f273b87 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x64c0e960f802 - std::sys::backtrace::BacktraceLock::print::h052febbd86f7bf07 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x64c0e96154df - std::panicking::default_hook::{{closure}}::h66aeee20dd470abb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x64c0e9615371 - std::panicking::default_hook::h9d66b9642014ce48 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x64c0e8d48e0e - as core::ops::function::Fn>::call::h8c698701e444e564 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 12: 0x64c0e8d48e0e - test::test_main_with_exit_callback::{{closure}}::ha1c98e7b69c4defb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x64c0e9615b9f - as core::ops::function::Fn>::call::hc4f222a8a57c637a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 14: 0x64c0e9615b9f - std::panicking::panic_with_hook::h6d5921a1a1fa5a8e [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x64c0e961594a - std::panicking::panic_handler::{{closure}}::hafeef6f707d43542 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x64c0e960f939 - std::sys::backtrace::__rust_end_short_backtrace::h08cbc3319a3d0120 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x64c0e95f65ad - __rustc[ce5c411ff86ab1b2]::rust_begin_unwind [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x64c0e9656830 - core::panicking::panic_fmt::h774fb860369a0f7b [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x64c0e96554f6 - core::result::unwrap_failed::h72ee8fcbf1bf8ff9 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1862:5 [INFO] [stdout] 20: 0x64c0e8b3186b - core::result::Result::unwrap::h684f7c72affd3dee [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1233:23 [INFO] [stdout] 21: 0x64c0e8b3186b - wgsl_bindgen::structs::tests::write_nonpower_of_2_mats::{{closure}}::hd5c73ba2349eafe7 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x64c0e8ac43cf - insta::settings::Settings::bind::h3408c0069fd4e746 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.2/src/settings.rs:509:9 [INFO] [stdout] 23: 0x64c0e8b31360 - wgsl_bindgen::structs::tests::write_nonpower_of_2_mats::hebf4e545c6aed542 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x64c0e8b31437 - wgsl_bindgen::structs::tests::write_nonpower_of_2_mats::{{closure}}::hae6cd3ba23ea01e0 [INFO] [stdout] at /opt/rustwide/workdir/src/structs.rs:775:32 [INFO] [stdout] 25: 0x64c0e8afdb16 - core::ops::function::FnOnce::call_once::h1133594a92d30dc9 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x64c0e8d48c5b - core::ops::function::FnOnce::call_once::h4f6eabe90cccb47d [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x64c0e8d48c5b - test::__rust_begin_short_backtrace::h94208530f2b4c8c7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x64c0e8d5cc6d - test::run_test_in_process::{{closure}}::hbdc6a45a78c46404 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x64c0e8d5cc6d - as core::ops::function::FnOnce<()>>::call_once::h7f9d8efc7eedd165 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x64c0e8d5cc6d - std::panicking::catch_unwind::do_call::he5edbaf126c13b99 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x64c0e8d5cc6d - std::panicking::catch_unwind::h3d6a8652eceeabce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x64c0e8d5cc6d - std::panic::catch_unwind::hbef0c501dd7bb498 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x64c0e8d5cc6d - test::run_test_in_process::h400008a46a5006a0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x64c0e8d5cc6d - test::run_test::{{closure}}::h9a131655b31d9427 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x64c0e8d361b4 - test::run_test::{{closure}}::he4a7177c216308c0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x64c0e8d361b4 - std::sys::backtrace::__rust_begin_short_backtrace::hd3980e9c55d6c539 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x64c0e8d39aea - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h18552df67c7aa9b8 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:562:17 [INFO] [stdout] 38: 0x64c0e8d39aea - as core::ops::function::FnOnce<()>>::call_once::h3d7b285234641a08 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x64c0e8d39aea - std::panicking::catch_unwind::do_call::h5a2b5cf36528a5b2 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x64c0e8d39aea - std::panicking::catch_unwind::h7e8b531bbda77d20 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x64c0e8d39aea - std::panic::catch_unwind::hf9bbb2040b4f1e6c [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x64c0e8d39aea - std::thread::Builder::spawn_unchecked_::{{closure}}::h600f92cf68549574 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:560:30 [INFO] [stdout] 43: 0x64c0e8d39aea - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb6607307df8a1847 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x64c0e960ab4f - as core::ops::function::FnOnce>::call_once::h6891ad53a5ed6f52 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2085:9 [INFO] [stdout] 45: 0x64c0e960ab4f - std::sys::thread::unix::Thread::new::thread_start::h7f3e77fa86df70af [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/thread/unix.rs:124:17 [INFO] [stdout] 46: 0x7f6eeb82aaa4 - [INFO] [stdout] 47: 0x7f6eeb8b7a64 - 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 'c2e32f1c9652b13ed99608599c1e855462f421f3'. [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] 1 1 │ #[repr(C)] [INFO] [stdout] 2 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 2 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 3 3 │ pub struct Scalars { [INFO] [stdout] 4 │- pub a: u32, [INFO] [stdout] 5 │- pub b: i32, [INFO] [stdout] 6 │- pub c: f32, [INFO] [stdout] 4 │+ pub a: u32, [INFO] [stdout] 5 │+ pub b: i32, [INFO] [stdout] 6 │+ pub c: f32, [INFO] [stdout] 7 7 │ } [INFO] [stdout] 8 8 │ impl Scalars { [INFO] [stdout] 9 │- pub const fn new(a: u32, b: i32, c: f32) -> Self { [INFO] [stdout] 10 │- Self { a, b, c } [INFO] [stdout] 11 │- } [INFO] [stdout] 9 │+ pub const fn new(a: u32, b: i32, c: f32) -> Self { [INFO] [stdout] 10 │+ Self { a, b, c } [INFO] [stdout] 11 │+ } [INFO] [stdout] 12 12 │ } [INFO] [stdout] 13 13 │ #[repr(C)] [INFO] [stdout] 14 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 14 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 15 15 │ pub struct VectorsU32 { [INFO] [stdout] 16 │- pub a: glam::UVec2, [INFO] [stdout] 17 │- pub b: glam::UVec3, [INFO] [stdout] 18 │- pub c: glam::UVec4, [INFO] [stdout] 16 │+ pub a: glam::UVec2, [INFO] [stdout] 17 │+ pub b: glam::UVec3, [INFO] [stdout] 18 │+ pub c: glam::UVec4, [INFO] [stdout] 19 19 │ } [INFO] [stdout] 20 20 │ impl VectorsU32 { [INFO] [stdout] 21 │- pub const fn new(a: glam::UVec2, b: glam::UVec3, c: glam::UVec4) -> Self { [INFO] [stdout] 22 │- Self { a, b, c } [INFO] [stdout] 23 │- } [INFO] [stdout] 21 │+ pub const fn new(a: glam::UVec2, b: glam::UVec3, c: glam::UVec4) -> Self { [INFO] [stdout] 22 │+ Self { a, b, c } [INFO] [stdout] 23 │+ } [INFO] [stdout] 24 24 │ } [INFO] [stdout] 25 25 │ #[repr(C)] [INFO] [stdout] 26 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 26 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 27 27 │ pub struct VectorsI32 { [INFO] [stdout] 28 │- pub a: glam::IVec2, [INFO] [stdout] 29 │- pub b: glam::IVec3, [INFO] [stdout] 30 │- pub c: glam::IVec4, [INFO] [stdout] 28 │+ pub a: glam::IVec2, [INFO] [stdout] 29 │+ pub b: glam::IVec3, [INFO] [stdout] 30 │+ pub c: glam::IVec4, [INFO] [stdout] 31 31 │ } [INFO] [stdout] 32 32 │ impl VectorsI32 { [INFO] [stdout] 33 │- pub const fn new(a: glam::IVec2, b: glam::IVec3, c: glam::IVec4) -> Self { [INFO] [stdout] 34 │- Self { a, b, c } [INFO] [stdout] 35 │- } [INFO] [stdout] 33 │+ pub const fn new(a: glam::IVec2, b: glam::IVec3, c: glam::IVec4) -> Self { [INFO] [stdout] 34 │+ Self { a, b, c } [INFO] [stdout] 35 │+ } [INFO] [stdout] 36 36 │ } [INFO] [stdout] 37 37 │ #[repr(C)] [INFO] [stdout] 38 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 38 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 39 39 │ pub struct VectorsF32 { [INFO] [stdout] 40 │- pub a: glam::Vec2, [INFO] [stdout] 41 │- pub b: glam::Vec3, [INFO] [stdout] 42 │- pub c: glam::Vec4, [INFO] [stdout] 40 │+ pub a: glam::Vec2, [INFO] [stdout] 41 │+ pub b: glam::Vec3, [INFO] [stdout] 42 │+ pub c: glam::Vec4, [INFO] [stdout] 43 43 │ } [INFO] [stdout] 44 44 │ impl VectorsF32 { [INFO] [stdout] 45 │- pub const fn new(a: glam::Vec2, b: glam::Vec3, c: glam::Vec4) -> Self { [INFO] [stdout] 46 │- Self { a, b, c } [INFO] [stdout] 47 │- } [INFO] [stdout] 45 │+ pub const fn new(a: glam::Vec2, b: glam::Vec3, c: glam::Vec4) -> Self { [INFO] [stdout] 46 │+ Self { a, b, c } [INFO] [stdout] 47 │+ } [INFO] [stdout] 48 48 │ } [INFO] [stdout] 49 49 │ #[repr(C)] [INFO] [stdout] 50 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 50 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 51 51 │ pub struct MatricesF32 { [INFO] [stdout] 52 │- pub a: glam::Mat4, [INFO] [stdout] 53 │- pub b: [[f32; 4]; 4], [INFO] [stdout] 54 │- pub c: [[f32; 2]; 4], [INFO] [stdout] 55 │- pub d: [[f32; 4]; 3], [INFO] [stdout] 56 │- pub e: glam::Mat3A, [INFO] [stdout] 57 │- pub f: [[f32; 2]; 3], [INFO] [stdout] 58 │- pub g: [[f32; 4]; 2], [INFO] [stdout] 59 │- pub h: [[f32; 4]; 2], [INFO] [stdout] 60 │- pub i: glam::Mat2, [INFO] [stdout] 52 │+ pub a: glam::Mat4, [INFO] [stdout] 53 │+ pub b: [[f32; 4]; 4], [INFO] [stdout] 54 │+ pub c: [[f32; 2]; 4], [INFO] [stdout] 55 │+ pub d: [[f32; 4]; 3], [INFO] [stdout] 56 │+ pub e: glam::Mat3A, [INFO] [stdout] 57 │+ pub f: [[f32; 2]; 3], [INFO] [stdout] 58 │+ pub g: [[f32; 4]; 2], [INFO] [stdout] 59 │+ pub h: [[f32; 4]; 2], [INFO] [stdout] 60 │+ pub i: glam::Mat2, [INFO] [stdout] 61 61 │ } [INFO] [stdout] 62 62 │ impl MatricesF32 { [INFO] [stdout] 63 │- pub const fn new( [INFO] [stdout] 64 │- a: glam::Mat4, [INFO] [stdout] 65 │- b: [[f32; 4]; 4], [INFO] [stdout] 66 │- c: [[f32; 2]; 4], [INFO] [stdout] 67 │- d: [[f32; 4]; 3], [INFO] [stdout] 68 │- e: glam::Mat3A, [INFO] [stdout] 69 │- f: [[f32; 2]; 3], [INFO] [stdout] 70 │- g: [[f32; 4]; 2], [INFO] [stdout] 71 │- h: [[f32; 4]; 2], [INFO] [stdout] 72 │- i: glam::Mat2, [INFO] [stdout] 73 │- ) -> Self { [INFO] [stdout] 74 │- Self { [INFO] [stdout] 75 │- a, [INFO] [stdout] 76 │- b, [INFO] [stdout] 77 │- c, [INFO] [stdout] 78 │- d, [INFO] [stdout] 79 │- e, [INFO] [stdout] 80 │- f, [INFO] [stdout] 81 │- g, [INFO] [stdout] 82 │- h, [INFO] [stdout] 83 │- i, [INFO] [stdout] 63 │+ pub const fn new( [INFO] [stdout] 64 │+ a: glam::Mat4, [INFO] [stdout] 65 │+ b: [[f32; 4]; 4], [INFO] [stdout] 66 │+ c: [[f32; 2]; 4], [INFO] [stdout] 67 │+ d: [[f32; 4]; 3], [INFO] [stdout] 68 │+ e: glam::Mat3A, [INFO] [stdout] 69 │+ f: [[f32; 2]; 3], [INFO] [stdout] 70 │+ g: [[f32; 4]; 2], [INFO] [stdout] 71 │+ h: [[f32; 4]; 2], [INFO] [stdout] 72 │+ i: glam::Mat2, [INFO] [stdout] 73 │+ ) -> Self { [INFO] [stdout] 74 │+ Self { a, b, c, d, e, f, g, h, i } [INFO] [stdout] 84 75 │ } [INFO] [stdout] 85 │- } [INFO] [stdout] 86 76 │ } [INFO] [stdout] 87 77 │ #[repr(C)] [INFO] [stdout] 88 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 78 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 89 79 │ pub struct StaticArrays { [INFO] [stdout] 90 │- pub a: [u32; 5], [INFO] [stdout] 91 │- pub b: [f32; 3], [INFO] [stdout] 92 │- pub c: [glam::Mat4; 512], [INFO] [stdout] 80 │+ pub a: [u32; 5], [INFO] [stdout] 81 │+ pub b: [f32; 3], [INFO] [stdout] 82 │+ pub c: [glam::Mat4; 512], [INFO] [stdout] 93 83 │ } [INFO] [stdout] 94 84 │ impl StaticArrays { [INFO] [stdout] 95 │- pub const fn new(a: [u32; 5], b: [f32; 3], c: [glam::Mat4; 512]) -> Self { [INFO] [stdout] 96 │- Self { a, b, c } [INFO] [stdout] 97 │- } [INFO] [stdout] 85 │+ pub const fn new(a: [u32; 5], b: [f32; 3], c: [glam::Mat4; 512]) -> Self { [INFO] [stdout] 86 │+ Self { a, b, c } [INFO] [stdout] 87 │+ } [INFO] [stdout] 98 88 │ } [INFO] [stdout] 99 89 │ #[repr(C)] [INFO] [stdout] 100 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 90 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 101 91 │ pub struct Nested { [INFO] [stdout] 102 │- pub a: MatricesF32, [INFO] [stdout] 103 │- pub b: VectorsF32, [INFO] [stdout] 92 │+ pub a: MatricesF32, [INFO] [stdout] 93 │+ pub b: VectorsF32, [INFO] [stdout] 104 94 │ } [INFO] [stdout] 105 95 │ impl Nested { [INFO] [stdout] 106 │- pub const fn new(a: MatricesF32, b: VectorsF32) -> Self { [INFO] [stdout] 107 │- Self { a, b } [INFO] [stdout] 108 │- } [INFO] [stdout] 96 │+ pub const fn new(a: MatricesF32, b: VectorsF32) -> Self { [INFO] [stdout] 97 │+ Self { a, b } [INFO] [stdout] 98 │+ } [INFO] [stdout] 109 99 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'structs::tests::write_all_structs_glam' (8379) 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: 0x64c0e9637a32 - std::backtrace_rs::backtrace::libunwind::trace::h9ea1e07ac77a25d7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x64c0e9637a32 - std::backtrace_rs::backtrace::trace_unsynchronized::h72b75eb83b53d15a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x64c0e9637a32 - std::sys::backtrace::_print_fmt::h255777b7ec902439 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x64c0e9637a32 - ::fmt::h8a1ac49fcd7ee8ce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x64c0e964b7af - core::fmt::rt::Argument::fmt::h635cbf3c6754cc90 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x64c0e964b7af - core::fmt::write::hbdcc0ec4f1bab1db [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x64c0e9602ef3 - std::io::default_write_fmt::h2580ece0d4b58e51 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x64c0e9602ef3 - std::io::Write::write_fmt::hac9e42858f273b87 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x64c0e960f802 - std::sys::backtrace::BacktraceLock::print::h052febbd86f7bf07 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x64c0e96154df - std::panicking::default_hook::{{closure}}::h66aeee20dd470abb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x64c0e9615371 - std::panicking::default_hook::h9d66b9642014ce48 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x64c0e8d48e0e - as core::ops::function::Fn>::call::h8c698701e444e564 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 12: 0x64c0e8d48e0e - test::test_main_with_exit_callback::{{closure}}::ha1c98e7b69c4defb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x64c0e9615b9f - as core::ops::function::Fn>::call::hc4f222a8a57c637a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 14: 0x64c0e9615b9f - std::panicking::panic_with_hook::h6d5921a1a1fa5a8e [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x64c0e961594a - std::panicking::panic_handler::{{closure}}::hafeef6f707d43542 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x64c0e960f939 - std::sys::backtrace::__rust_end_short_backtrace::h08cbc3319a3d0120 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x64c0e95f65ad - __rustc[ce5c411ff86ab1b2]::rust_begin_unwind [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x64c0e9656830 - core::panicking::panic_fmt::h774fb860369a0f7b [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x64c0e96554f6 - core::result::unwrap_failed::h72ee8fcbf1bf8ff9 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1862:5 [INFO] [stdout] 20: 0x64c0e8b2f2fb - core::result::Result::unwrap::h684f7c72affd3dee [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1233:23 [INFO] [stdout] 21: 0x64c0e8b2f2fb - wgsl_bindgen::structs::tests::write_all_structs_glam::{{closure}}::hc50d9695f2ade3ee [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x64c0e8ac496f - insta::settings::Settings::bind::h5fd0c42a062f882f [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.2/src/settings.rs:509:9 [INFO] [stdout] 23: 0x64c0e8b2ede3 - wgsl_bindgen::structs::tests::write_all_structs_glam::h5b986f1ed9563a1e [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x64c0e8b2eec7 - wgsl_bindgen::structs::tests::write_all_structs_glam::{{closure}}::h667e3a599ba3091a [INFO] [stdout] at /opt/rustwide/workdir/src/structs.rs:284:30 [INFO] [stdout] 25: 0x64c0e8afe3f6 - core::ops::function::FnOnce::call_once::h4d2fee15287f0d49 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x64c0e8d48c5b - core::ops::function::FnOnce::call_once::h4f6eabe90cccb47d [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x64c0e8d48c5b - test::__rust_begin_short_backtrace::h94208530f2b4c8c7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x64c0e8d5cc6d - test::run_test_in_process::{{closure}}::hbdc6a45a78c46404 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x64c0e8d5cc6d - as core::ops::function::FnOnce<()>>::call_once::h7f9d8efc7eedd165 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x64c0e8d5cc6d - std::panicking::catch_unwind::do_call::he5edbaf126c13b99 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x64c0e8d5cc6d - std::panicking::catch_unwind::h3d6a8652eceeabce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x64c0e8d5cc6d - std::panic::catch_unwind::hbef0c501dd7bb498 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x64c0e8d5cc6d - test::run_test_in_process::h400008a46a5006a0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x64c0e8d5cc6d - test::run_test::{{closure}}::h9a131655b31d9427 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x64c0e8d361b4 - test::run_test::{{closure}}::he4a7177c216308c0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x64c0e8d361b4 - std::sys::backtrace::__rust_begin_short_backtrace::hd3980e9c55d6c539 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x64c0e8d39aea - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h18552df67c7aa9b8 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:562:17 [INFO] [stdout] 38: 0x64c0e8d39aea - as core::ops::function::FnOnce<()>>::call_once::h3d7b285234641a08 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x64c0e8d39aea - std::panicking::catch_unwind::do_call::h5a2b5cf36528a5b2 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x64c0e8d39aea - std::panicking::catch_unwind::h7e8b531bbda77d20 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x64c0e8d39aea - std::panic::catch_unwind::hf9bbb2040b4f1e6c [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x64c0e8d39aea - std::thread::Builder::spawn_unchecked_::{{closure}}::h600f92cf68549574 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:560:30 [INFO] [stdout] 43: 0x64c0e8d39aea - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb6607307df8a1847 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x64c0e960ab4f - as core::ops::function::FnOnce>::call_once::h6891ad53a5ed6f52 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2085:9 [INFO] [stdout] 45: 0x64c0e960ab4f - std::sys::thread::unix::Thread::new::thread_start::h7f3e77fa86df70af [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/thread/unix.rs:124:17 [INFO] [stdout] 46: 0x7f6eeb82aaa4 - [INFO] [stdout] 47: 0x7f6eeb8b7a64 - 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 'c2e32f1c9652b13ed99608599c1e855462f421f3'. [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] 1 1 │ #[repr(C, align(16))] [INFO] [stdout] 2 2 │ #[derive(Debug, PartialEq, Clone, Copy)] [INFO] [stdout] 3 3 │ pub struct UniformsData { [INFO] [stdout] 4 │- #[doc = "offset: 0, size: 48, type: `mat3x3`"] [INFO] [stdout] 5 │- pub a: [[f32; 4]; 3], [INFO] [stdout] 4 │+ ///offset: 0, size: 48, type: `mat3x3` [INFO] [stdout] 5 │+ pub a: [[f32; 4]; 3], [INFO] [stdout] 6 6 │ } [INFO] [stdout] 7 7 │ impl UniformsData { [INFO] [stdout] 8 │- pub const fn new(a: [[f32; 4]; 3]) -> Self { [INFO] [stdout] 9 │- Self { a } [INFO] [stdout] 10 │- } [INFO] [stdout] 8 │+ pub const fn new(a: [[f32; 4]; 3]) -> Self { [INFO] [stdout] 9 │+ Self { a } [INFO] [stdout] 10 │+ } [INFO] [stdout] 11 11 │ } [INFO] [stdout] 12 12 │ const UNIFORMS_DATA_ASSERTS: () = { [INFO] [stdout] 13 │- assert!(std::mem::offset_of!(UniformsData, a) == 0); [INFO] [stdout] 14 │- assert!(std::mem::size_of::() == 48); [INFO] [stdout] 13 │+ assert!(std::mem::offset_of!(UniformsData, a) == 0); [INFO] [stdout] 14 │+ assert!(std::mem::size_of:: < UniformsData > () == 48); [INFO] [stdout] 15 15 │ }; [INFO] [stdout] 16 16 │ unsafe impl bytemuck::Zeroable for UniformsData {} [INFO] [stdout] 17 17 │ unsafe impl bytemuck::Pod for UniformsData {} [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'structs::tests::write_nonpower_of_2_mats_for_bytemuck_option' (10399) 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: 0x64c0e9637a32 - std::backtrace_rs::backtrace::libunwind::trace::h9ea1e07ac77a25d7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x64c0e9637a32 - std::backtrace_rs::backtrace::trace_unsynchronized::h72b75eb83b53d15a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x64c0e9637a32 - std::sys::backtrace::_print_fmt::h255777b7ec902439 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x64c0e9637a32 - ::fmt::h8a1ac49fcd7ee8ce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x64c0e964b7af - core::fmt::rt::Argument::fmt::h635cbf3c6754cc90 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x64c0e964b7af - core::fmt::write::hbdcc0ec4f1bab1db [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x64c0e9602ef3 - std::io::default_write_fmt::h2580ece0d4b58e51 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x64c0e9602ef3 - std::io::Write::write_fmt::hac9e42858f273b87 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x64c0e960f802 - std::sys::backtrace::BacktraceLock::print::h052febbd86f7bf07 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x64c0e96154df - std::panicking::default_hook::{{closure}}::h66aeee20dd470abb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x64c0e9615371 - std::panicking::default_hook::h9d66b9642014ce48 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x64c0e8d48e0e - as core::ops::function::Fn>::call::h8c698701e444e564 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 12: 0x64c0e8d48e0e - test::test_main_with_exit_callback::{{closure}}::ha1c98e7b69c4defb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x64c0e9615b9f - as core::ops::function::Fn>::call::hc4f222a8a57c637a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 14: 0x64c0e9615b9f - std::panicking::panic_with_hook::h6d5921a1a1fa5a8e [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x64c0e961594a - std::panicking::panic_handler::{{closure}}::hafeef6f707d43542 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x64c0e960f939 - std::sys::backtrace::__rust_end_short_backtrace::h08cbc3319a3d0120 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x64c0e95f65ad - __rustc[ce5c411ff86ab1b2]::rust_begin_unwind [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x64c0e9656830 - core::panicking::panic_fmt::h774fb860369a0f7b [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x64c0e96554f6 - core::result::unwrap_failed::h72ee8fcbf1bf8ff9 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1862:5 [INFO] [stdout] 20: 0x64c0e8b379cb - core::result::Result::unwrap::h684f7c72affd3dee [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1233:23 [INFO] [stdout] 21: 0x64c0e8b379cb - wgsl_bindgen::structs::tests::write_nonpower_of_2_mats_for_bytemuck_option::{{closure}}::h2d8919420e31ee19 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x64c0e8ac478f - insta::settings::Settings::bind::h58b2de0ae938af4b [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.2/src/settings.rs:509:9 [INFO] [stdout] 23: 0x64c0e8b374fe - wgsl_bindgen::structs::tests::write_nonpower_of_2_mats_for_bytemuck_option::h0bb539783b0457fc [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x64c0e8b37ac7 - wgsl_bindgen::structs::tests::write_nonpower_of_2_mats_for_bytemuck_option::{{closure}}::h6bd1aafa1de7466c [INFO] [stdout] at /opt/rustwide/workdir/src/structs.rs:724:52 [INFO] [stdout] 25: 0x64c0e8afe656 - core::ops::function::FnOnce::call_once::h63ea49fe5f110e2c [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x64c0e8d48c5b - core::ops::function::FnOnce::call_once::h4f6eabe90cccb47d [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x64c0e8d48c5b - test::__rust_begin_short_backtrace::h94208530f2b4c8c7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x64c0e8d5cc6d - test::run_test_in_process::{{closure}}::hbdc6a45a78c46404 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x64c0e8d5cc6d - as core::ops::function::FnOnce<()>>::call_once::h7f9d8efc7eedd165 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x64c0e8d5cc6d - std::panicking::catch_unwind::do_call::he5edbaf126c13b99 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x64c0e8d5cc6d - std::panicking::catch_unwind::h3d6a8652eceeabce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x64c0e8d5cc6d - std::panic::catch_unwind::hbef0c501dd7bb498 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x64c0e8d5cc6d - test::run_test_in_process::h400008a46a5006a0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x64c0e8d5cc6d - test::run_test::{{closure}}::h9a131655b31d9427 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x64c0e8d361b4 - test::run_test::{{closure}}::he4a7177c216308c0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x64c0e8d361b4 - std::sys::backtrace::__rust_begin_short_backtrace::hd3980e9c55d6c539 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x64c0e8d39aea - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h18552df67c7aa9b8 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:562:17 [INFO] [stdout] 38: 0x64c0e8d39aea - as core::ops::function::FnOnce<()>>::call_once::h3d7b285234641a08 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x64c0e8d39aea - std::panicking::catch_unwind::do_call::h5a2b5cf36528a5b2 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x64c0e8d39aea - std::panicking::catch_unwind::h7e8b531bbda77d20 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x64c0e8d39aea - std::panic::catch_unwind::hf9bbb2040b4f1e6c [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x64c0e8d39aea - std::thread::Builder::spawn_unchecked_::{{closure}}::h600f92cf68549574 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:560:30 [INFO] [stdout] 43: 0x64c0e8d39aea - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb6607307df8a1847 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x64c0e960ab4f - as core::ops::function::FnOnce>::call_once::h6891ad53a5ed6f52 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2085:9 [INFO] [stdout] 45: 0x64c0e960ab4f - std::sys::thread::unix::Thread::new::thread_start::h7f3e77fa86df70af [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/thread/unix.rs:124:17 [INFO] [stdout] 46: 0x7f6eeb82aaa4 - [INFO] [stdout] 47: 0x7f6eeb8b7a64 - 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 'c2e32f1c9652b13ed99608599c1e855462f421f3'. [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] 1 │-#[derive(Debug, PartialEq, Clone, encase :: ShaderType)] [INFO] [stdout] 1 │+#[derive(Debug, PartialEq, Clone, encase::ShaderType)] [INFO] [stdout] 2 2 │ pub struct RtsStruct { [INFO] [stdout] 3 │- pub other_data: i32, [INFO] [stdout] 4 │- #[size(runtime)] [INFO] [stdout] 5 │- pub the_array: Vec, [INFO] [stdout] 3 │+ pub other_data: i32, [INFO] [stdout] 4 │+ #[size(runtime)] [INFO] [stdout] 5 │+ pub the_array: Vec, [INFO] [stdout] 6 6 │ } [INFO] [stdout] 7 7 │ impl RtsStruct { [INFO] [stdout] 8 │- pub const fn new(other_data: i32, the_array: Vec) -> 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: Vec) -> Self { [INFO] [stdout] 9 │+ Self { other_data, the_array } [INFO] [stdout] 12 10 │ } [INFO] [stdout] 13 │- } [INFO] [stdout] 14 11 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'structs::tests::write_runtime_sized_array' (10508) 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: 0x64c0e9637a32 - std::backtrace_rs::backtrace::libunwind::trace::h9ea1e07ac77a25d7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x64c0e9637a32 - std::backtrace_rs::backtrace::trace_unsynchronized::h72b75eb83b53d15a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x64c0e9637a32 - std::sys::backtrace::_print_fmt::h255777b7ec902439 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x64c0e9637a32 - ::fmt::h8a1ac49fcd7ee8ce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x64c0e964b7af - core::fmt::rt::Argument::fmt::h635cbf3c6754cc90 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x64c0e964b7af - core::fmt::write::hbdcc0ec4f1bab1db [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x64c0e9602ef3 - std::io::default_write_fmt::h2580ece0d4b58e51 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x64c0e9602ef3 - std::io::Write::write_fmt::hac9e42858f273b87 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x64c0e960f802 - std::sys::backtrace::BacktraceLock::print::h052febbd86f7bf07 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x64c0e96154df - std::panicking::default_hook::{{closure}}::h66aeee20dd470abb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x64c0e9615371 - std::panicking::default_hook::h9d66b9642014ce48 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x64c0e8d48e0e - as core::ops::function::Fn>::call::h8c698701e444e564 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 12: 0x64c0e8d48e0e - test::test_main_with_exit_callback::{{closure}}::ha1c98e7b69c4defb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x64c0e9615b9f - as core::ops::function::Fn>::call::hc4f222a8a57c637a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 14: 0x64c0e9615b9f - std::panicking::panic_with_hook::h6d5921a1a1fa5a8e [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x64c0e961594a - std::panicking::panic_handler::{{closure}}::hafeef6f707d43542 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x64c0e960f939 - std::sys::backtrace::__rust_end_short_backtrace::h08cbc3319a3d0120 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x64c0e95f65ad - __rustc[ce5c411ff86ab1b2]::rust_begin_unwind [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x64c0e9656830 - core::panicking::panic_fmt::h774fb860369a0f7b [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x64c0e96554f6 - core::result::unwrap_failed::h72ee8fcbf1bf8ff9 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1862:5 [INFO] [stdout] 20: 0x64c0e8b3241b - core::result::Result::unwrap::h684f7c72affd3dee [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1233:23 [INFO] [stdout] 21: 0x64c0e8b3241b - wgsl_bindgen::structs::tests::write_runtime_sized_array::{{closure}}::h3974b3ac9995d241 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x64c0e8ac432f - insta::settings::Settings::bind::h2b52e46483892d45 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.2/src/settings.rs:509:9 [INFO] [stdout] 23: 0x64c0e8b31f53 - wgsl_bindgen::structs::tests::write_runtime_sized_array::h605b88ad15ad36c8 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x64c0e8b32517 - wgsl_bindgen::structs::tests::write_runtime_sized_array::{{closure}}::h91cdc7d599002edf [INFO] [stdout] at /opt/rustwide/workdir/src/structs.rs:667:33 [INFO] [stdout] 25: 0x64c0e8afddf6 - core::ops::function::FnOnce::call_once::h21792453deafbb87 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x64c0e8d48c5b - core::ops::function::FnOnce::call_once::h4f6eabe90cccb47d [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x64c0e8d48c5b - test::__rust_begin_short_backtrace::h94208530f2b4c8c7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x64c0e8d5cc6d - test::run_test_in_process::{{closure}}::hbdc6a45a78c46404 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x64c0e8d5cc6d - as core::ops::function::FnOnce<()>>::call_once::h7f9d8efc7eedd165 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x64c0e8d5cc6d - std::panicking::catch_unwind::do_call::he5edbaf126c13b99 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x64c0e8d5cc6d - std::panicking::catch_unwind::h3d6a8652eceeabce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x64c0e8d5cc6d - std::panic::catch_unwind::hbef0c501dd7bb498 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x64c0e8d5cc6d - test::run_test_in_process::h400008a46a5006a0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x64c0e8d5cc6d - test::run_test::{{closure}}::h9a131655b31d9427 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x64c0e8d361b4 - test::run_test::{{closure}}::he4a7177c216308c0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x64c0e8d361b4 - std::sys::backtrace::__rust_begin_short_backtrace::hd3980e9c55d6c539 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x64c0e8d39aea - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h18552df67c7aa9b8 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:562:17 [INFO] [stdout] 38: 0x64c0e8d39aea - as core::ops::function::FnOnce<()>>::call_once::h3d7b285234641a08 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x64c0e8d39aea - std::panicking::catch_unwind::do_call::h5a2b5cf36528a5b2 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x64c0e8d39aea - std::panicking::catch_unwind::h7e8b531bbda77d20 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x64c0e8d39aea - std::panic::catch_unwind::hf9bbb2040b4f1e6c [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x64c0e8d39aea - std::thread::Builder::spawn_unchecked_::{{closure}}::h600f92cf68549574 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:560:30 [INFO] [stdout] 43: 0x64c0e8d39aea - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb6607307df8a1847 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x64c0e960ab4f - as core::ops::function::FnOnce>::call_once::h6891ad53a5ed6f52 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2085:9 [INFO] [stdout] 45: 0x64c0e960ab4f - std::sys::thread::unix::Thread::new::thread_start::h7f3e77fa86df70af [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/thread/unix.rs:124:17 [INFO] [stdout] 46: 0x7f6eeb82aaa4 - [INFO] [stdout] 47: 0x7f6eeb8b7a64 - 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 'c2e32f1c9652b13ed99608599c1e855462f421f3'. [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] 1 1 │ #[repr(C)] [INFO] [stdout] 2 2 │ #[derive( [INFO] [stdout] 3 │- Debug, [INFO] [stdout] 4 │- PartialEq, [INFO] [stdout] 5 │- Clone, [INFO] [stdout] 6 │- Copy, [INFO] [stdout] 7 │- encase :: ShaderType, [INFO] [stdout] 8 │- serde :: Serialize, [INFO] [stdout] 9 │- serde :: Deserialize, [INFO] [stdout] 3 │+ Debug, [INFO] [stdout] 4 │+ PartialEq, [INFO] [stdout] 5 │+ Clone, [INFO] [stdout] 6 │+ Copy, [INFO] [stdout] 7 │+ encase::ShaderType, [INFO] [stdout] 8 │+ serde::Serialize, [INFO] [stdout] 9 │+ serde::Deserialize [INFO] [stdout] 10 10 │ )] [INFO] [stdout] 11 11 │ pub struct Input0 { [INFO] [stdout] 12 │- pub a: u32, [INFO] [stdout] 13 │- pub b: i32, [INFO] [stdout] 14 │- pub c: f32, [INFO] [stdout] 12 │+ pub a: u32, [INFO] [stdout] 13 │+ pub b: i32, [INFO] [stdout] 14 │+ pub c: f32, [INFO] [stdout] 15 15 │ } [INFO] [stdout] 16 16 │ impl Input0 { [INFO] [stdout] 17 │- pub const fn new(a: u32, b: i32, c: f32) -> Self { [INFO] [stdout] 18 │- Self { a, b, c } [INFO] [stdout] 19 │- } [INFO] [stdout] 17 │+ pub const fn new(a: u32, b: i32, c: f32) -> Self { [INFO] [stdout] 18 │+ Self { a, b, c } [INFO] [stdout] 19 │+ } [INFO] [stdout] 20 20 │ } [INFO] [stdout] 21 21 │ #[repr(C)] [INFO] [stdout] 22 22 │ #[derive( [INFO] [stdout] 23 │- Debug, [INFO] [stdout] 24 │- PartialEq, [INFO] [stdout] 25 │- Clone, [INFO] [stdout] 26 │- Copy, [INFO] [stdout] 27 │- encase :: ShaderType, [INFO] [stdout] 28 │- serde :: Serialize, [INFO] [stdout] 29 │- serde :: Deserialize, [INFO] [stdout] 23 │+ Debug, [INFO] [stdout] 24 │+ PartialEq, [INFO] [stdout] 25 │+ Clone, [INFO] [stdout] 26 │+ Copy, [INFO] [stdout] 27 │+ encase::ShaderType, [INFO] [stdout] 28 │+ serde::Serialize, [INFO] [stdout] 29 │+ serde::Deserialize [INFO] [stdout] 30 30 │ )] [INFO] [stdout] 31 31 │ pub struct Nested { [INFO] [stdout] 32 │- pub a: Input0, [INFO] [stdout] 33 │- pub b: f32, [INFO] [stdout] 32 │+ pub a: Input0, [INFO] [stdout] 33 │+ pub b: f32, [INFO] [stdout] 34 34 │ } [INFO] [stdout] 35 35 │ impl Nested { [INFO] [stdout] 36 │- pub const fn new(a: Input0, b: f32) -> Self { [INFO] [stdout] 37 │- Self { a, b } [INFO] [stdout] 38 │- } [INFO] [stdout] 36 │+ pub const fn new(a: Input0, b: f32) -> Self { [INFO] [stdout] 37 │+ Self { a, b } [INFO] [stdout] 38 │+ } [INFO] [stdout] 39 39 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'structs::tests::write_all_structs_serde_encase' (9410) 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: 0x64c0e9637a32 - std::backtrace_rs::backtrace::libunwind::trace::h9ea1e07ac77a25d7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x64c0e9637a32 - std::backtrace_rs::backtrace::trace_unsynchronized::h72b75eb83b53d15a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x64c0e9637a32 - std::sys::backtrace::_print_fmt::h255777b7ec902439 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x64c0e9637a32 - ::fmt::h8a1ac49fcd7ee8ce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x64c0e964b7af - core::fmt::rt::Argument::fmt::h635cbf3c6754cc90 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x64c0e964b7af - core::fmt::write::hbdcc0ec4f1bab1db [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x64c0e9602ef3 - std::io::default_write_fmt::h2580ece0d4b58e51 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x64c0e9602ef3 - std::io::Write::write_fmt::hac9e42858f273b87 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x64c0e960f802 - std::sys::backtrace::BacktraceLock::print::h052febbd86f7bf07 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x64c0e96154df - std::panicking::default_hook::{{closure}}::h66aeee20dd470abb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x64c0e9615371 - std::panicking::default_hook::h9d66b9642014ce48 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x64c0e8d48e0e - as core::ops::function::Fn>::call::h8c698701e444e564 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 12: 0x64c0e8d48e0e - test::test_main_with_exit_callback::{{closure}}::ha1c98e7b69c4defb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x64c0e9615b9f - as core::ops::function::Fn>::call::hc4f222a8a57c637a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 14: 0x64c0e9615b9f - std::panicking::panic_with_hook::h6d5921a1a1fa5a8e [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x64c0e961594a - std::panicking::panic_handler::{{closure}}::hafeef6f707d43542 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x64c0e960f939 - std::sys::backtrace::__rust_end_short_backtrace::h08cbc3319a3d0120 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x64c0e95f65ad - __rustc[ce5c411ff86ab1b2]::rust_begin_unwind [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x64c0e9656830 - core::panicking::panic_fmt::h774fb860369a0f7b [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x64c0e96554f6 - core::result::unwrap_failed::h72ee8fcbf1bf8ff9 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1862:5 [INFO] [stdout] 20: 0x64c0e8b34e4b - core::result::Result::unwrap::h684f7c72affd3dee [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1233:23 [INFO] [stdout] 21: 0x64c0e8b34e4b - wgsl_bindgen::structs::tests::write_all_structs_serde_encase::{{closure}}::h7a6481f5ee2b1262 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x64c0e8ac554f - insta::settings::Settings::bind::hcf00429f3381ca45 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.2/src/settings.rs:509:9 [INFO] [stdout] 23: 0x64c0e8b34937 - wgsl_bindgen::structs::tests::write_all_structs_serde_encase::h24d04891de32ef64 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x64c0e8b34a17 - wgsl_bindgen::structs::tests::write_all_structs_serde_encase::{{closure}}::h01eef62a3c52389a [INFO] [stdout] at /opt/rustwide/workdir/src/structs.rs:471:38 [INFO] [stdout] 25: 0x64c0e8aff9f6 - core::ops::function::FnOnce::call_once::he05b9c05a9858b53 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x64c0e8d48c5b - core::ops::function::FnOnce::call_once::h4f6eabe90cccb47d [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x64c0e8d48c5b - test::__rust_begin_short_backtrace::h94208530f2b4c8c7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x64c0e8d5cc6d - test::run_test_in_process::{{closure}}::hbdc6a45a78c46404 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x64c0e8d5cc6d - as core::ops::function::FnOnce<()>>::call_once::h7f9d8efc7eedd165 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x64c0e8d5cc6d - std::panicking::catch_unwind::do_call::he5edbaf126c13b99 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x64c0e8d5cc6d - std::panicking::catch_unwind::h3d6a8652eceeabce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x64c0e8d5cc6d - std::panic::catch_unwind::hbef0c501dd7bb498 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x64c0e8d5cc6d - test::run_test_in_process::h400008a46a5006a0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x64c0e8d5cc6d - test::run_test::{{closure}}::h9a131655b31d9427 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x64c0e8d361b4 - test::run_test::{{closure}}::he4a7177c216308c0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x64c0e8d361b4 - std::sys::backtrace::__rust_begin_short_backtrace::hd3980e9c55d6c539 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x64c0e8d39aea - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h18552df67c7aa9b8 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:562:17 [INFO] [stdout] 38: 0x64c0e8d39aea - as core::ops::function::FnOnce<()>>::call_once::h3d7b285234641a08 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x64c0e8d39aea - std::panicking::catch_unwind::do_call::h5a2b5cf36528a5b2 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x64c0e8d39aea - std::panicking::catch_unwind::h7e8b531bbda77d20 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x64c0e8d39aea - std::panic::catch_unwind::hf9bbb2040b4f1e6c [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x64c0e8d39aea - std::thread::Builder::spawn_unchecked_::{{closure}}::h600f92cf68549574 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:560:30 [INFO] [stdout] 43: 0x64c0e8d39aea - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb6607307df8a1847 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x64c0e960ab4f - as core::ops::function::FnOnce>::call_once::h6891ad53a5ed6f52 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2085:9 [INFO] [stdout] 45: 0x64c0e960ab4f - std::sys::thread::unix::Thread::new::thread_start::h7f3e77fa86df70af [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/thread/unix.rs:124:17 [INFO] [stdout] 46: 0x7f6eeb82aaa4 - [INFO] [stdout] 47: 0x7f6eeb8b7a64 - 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 'c2e32f1c9652b13ed99608599c1e855462f421f3'. [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] 1 1 │ #[repr(C)] [INFO] [stdout] 2 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 2 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 3 3 │ pub struct Atomics { [INFO] [stdout] 4 │- pub num: u32, [INFO] [stdout] 5 │- pub numi: i32, [INFO] [stdout] 4 │+ pub num: u32, [INFO] [stdout] 5 │+ pub numi: i32, [INFO] [stdout] 6 6 │ } [INFO] [stdout] 7 7 │ impl Atomics { [INFO] [stdout] 8 │- pub const fn new(num: u32, numi: i32) -> Self { [INFO] [stdout] 9 │- Self { num, numi } [INFO] [stdout] 10 │- } [INFO] [stdout] 8 │+ pub const fn new(num: u32, numi: i32) -> Self { [INFO] [stdout] 9 │+ Self { num, numi } [INFO] [stdout] 10 │+ } [INFO] [stdout] 11 11 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'structs::tests::write_atomic_types' (9852) 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: 0x64c0e9637a32 - std::backtrace_rs::backtrace::libunwind::trace::h9ea1e07ac77a25d7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x64c0e9637a32 - std::backtrace_rs::backtrace::trace_unsynchronized::h72b75eb83b53d15a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x64c0e9637a32 - std::sys::backtrace::_print_fmt::h255777b7ec902439 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x64c0e9637a32 - ::fmt::h8a1ac49fcd7ee8ce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x64c0e964b7af - core::fmt::rt::Argument::fmt::h635cbf3c6754cc90 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x64c0e964b7af - core::fmt::write::hbdcc0ec4f1bab1db [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x64c0e9602ef3 - std::io::default_write_fmt::h2580ece0d4b58e51 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x64c0e9602ef3 - std::io::Write::write_fmt::hac9e42858f273b87 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x64c0e960f802 - std::sys::backtrace::BacktraceLock::print::h052febbd86f7bf07 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x64c0e96154df - std::panicking::default_hook::{{closure}}::h66aeee20dd470abb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x64c0e9615371 - std::panicking::default_hook::h9d66b9642014ce48 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x64c0e8d48e0e - as core::ops::function::Fn>::call::h8c698701e444e564 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 12: 0x64c0e8d48e0e - test::test_main_with_exit_callback::{{closure}}::ha1c98e7b69c4defb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x64c0e9615b9f - as core::ops::function::Fn>::call::hc4f222a8a57c637a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 14: 0x64c0e9615b9f - std::panicking::panic_with_hook::h6d5921a1a1fa5a8e [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x64c0e961594a - std::panicking::panic_handler::{{closure}}::hafeef6f707d43542 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x64c0e960f939 - std::sys::backtrace::__rust_end_short_backtrace::h08cbc3319a3d0120 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x64c0e95f65ad - __rustc[ce5c411ff86ab1b2]::rust_begin_unwind [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x64c0e9656830 - core::panicking::panic_fmt::h774fb860369a0f7b [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x64c0e96554f6 - core::result::unwrap_failed::h72ee8fcbf1bf8ff9 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1862:5 [INFO] [stdout] 20: 0x64c0e8b2d81b - core::result::Result::unwrap::h684f7c72affd3dee [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1233:23 [INFO] [stdout] 21: 0x64c0e8b2d81b - wgsl_bindgen::structs::tests::write_atomic_types::{{closure}}::h794f635ae039cb8a [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x64c0e8ac518f - insta::settings::Settings::bind::hb4c640c99fd4ac9c [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.2/src/settings.rs:509:9 [INFO] [stdout] 23: 0x64c0e8b2d333 - wgsl_bindgen::structs::tests::write_atomic_types::hf8f5d5fb7784d0d2 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x64c0e8b2d917 - wgsl_bindgen::structs::tests::write_atomic_types::{{closure}}::hb53f57e305d77870 [INFO] [stdout] at /opt/rustwide/workdir/src/structs.rs:628:26 [INFO] [stdout] 25: 0x64c0e8aff4d6 - core::ops::function::FnOnce::call_once::hb9201ed3a147ea02 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x64c0e8d48c5b - core::ops::function::FnOnce::call_once::h4f6eabe90cccb47d [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x64c0e8d48c5b - test::__rust_begin_short_backtrace::h94208530f2b4c8c7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x64c0e8d5cc6d - test::run_test_in_process::{{closure}}::hbdc6a45a78c46404 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x64c0e8d5cc6d - as core::ops::function::FnOnce<()>>::call_once::h7f9d8efc7eedd165 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x64c0e8d5cc6d - std::panicking::catch_unwind::do_call::he5edbaf126c13b99 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x64c0e8d5cc6d - std::panicking::catch_unwind::h3d6a8652eceeabce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x64c0e8d5cc6d - std::panic::catch_unwind::hbef0c501dd7bb498 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x64c0e8d5cc6d - test::run_test_in_process::h400008a46a5006a0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x64c0e8d5cc6d - test::run_test::{{closure}}::h9a131655b31d9427 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x64c0e8d361b4 - test::run_test::{{closure}}::he4a7177c216308c0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x64c0e8d361b4 - std::sys::backtrace::__rust_begin_short_backtrace::hd3980e9c55d6c539 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x64c0e8d39aea - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h18552df67c7aa9b8 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:562:17 [INFO] [stdout] 38: 0x64c0e8d39aea - as core::ops::function::FnOnce<()>>::call_once::h3d7b285234641a08 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x64c0e8d39aea - std::panicking::catch_unwind::do_call::h5a2b5cf36528a5b2 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x64c0e8d39aea - std::panicking::catch_unwind::h7e8b531bbda77d20 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x64c0e8d39aea - std::panic::catch_unwind::hf9bbb2040b4f1e6c [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x64c0e8d39aea - std::thread::Builder::spawn_unchecked_::{{closure}}::h600f92cf68549574 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:560:30 [INFO] [stdout] 43: 0x64c0e8d39aea - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb6607307df8a1847 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x64c0e960ab4f - as core::ops::function::FnOnce>::call_once::h6891ad53a5ed6f52 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2085:9 [INFO] [stdout] 45: 0x64c0e960ab4f - std::sys::thread::unix::Thread::new::thread_start::h7f3e77fa86df70af [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/thread/unix.rs:124:17 [INFO] [stdout] 46: 0x7f6eeb82aaa4 - [INFO] [stdout] 47: 0x7f6eeb8b7a64 - 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 'c2e32f1c9652b13ed99608599c1e855462f421f3'. [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] 1 1 │ #[repr(C, align(8))] [INFO] [stdout] 2 2 │ #[derive(Debug, PartialEq, Clone, Copy)] [INFO] [stdout] 3 3 │ pub struct Uniform { [INFO] [stdout] 4 │- #[doc = "offset: 0, size: 8, type: `vec2`"] [INFO] [stdout] 5 │- pub position_data: glam::Vec2, [INFO] [stdout] 4 │+ ///offset: 0, size: 8, type: `vec2` [INFO] [stdout] 5 │+ pub position_data: glam::Vec2, [INFO] [stdout] 6 6 │ } [INFO] [stdout] 7 7 │ pub const fn Uniform(position_data: glam::Vec2) -> Uniform { [INFO] [stdout] 8 │- Uniform { position_data } [INFO] [stdout] 8 │+ Uniform { position_data } [INFO] [stdout] 9 9 │ } [INFO] [stdout] 10 10 │ const UNIFORM_ASSERTS: () = { [INFO] [stdout] 11 │- assert!(std::mem::offset_of!(Uniform, position_data) == 0); [INFO] [stdout] 12 │- assert!(std::mem::size_of::() == 8); [INFO] [stdout] 11 │+ assert!(std::mem::offset_of!(Uniform, position_data) == 0); [INFO] [stdout] 12 │+ assert!(std::mem::size_of:: < Uniform > () == 8); [INFO] [stdout] 13 13 │ }; [INFO] [stdout] 14 14 │ unsafe impl bytemuck::Zeroable for Uniform {} [INFO] [stdout] 15 15 │ unsafe impl bytemuck::Pod for Uniform {} [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'structs::tests::write_shorter_constructor' (11782) 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: 0x64c0e9637a32 - std::backtrace_rs::backtrace::libunwind::trace::h9ea1e07ac77a25d7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x64c0e9637a32 - std::backtrace_rs::backtrace::trace_unsynchronized::h72b75eb83b53d15a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x64c0e9637a32 - std::sys::backtrace::_print_fmt::h255777b7ec902439 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x64c0e9637a32 - ::fmt::h8a1ac49fcd7ee8ce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x64c0e964b7af - core::fmt::rt::Argument::fmt::h635cbf3c6754cc90 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x64c0e964b7af - core::fmt::write::hbdcc0ec4f1bab1db [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x64c0e9602ef3 - std::io::default_write_fmt::h2580ece0d4b58e51 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x64c0e9602ef3 - std::io::Write::write_fmt::hac9e42858f273b87 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x64c0e960f802 - std::sys::backtrace::BacktraceLock::print::h052febbd86f7bf07 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x64c0e96154df - std::panicking::default_hook::{{closure}}::h66aeee20dd470abb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x64c0e9615371 - std::panicking::default_hook::h9d66b9642014ce48 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x64c0e8d48e0e - as core::ops::function::Fn>::call::h8c698701e444e564 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 12: 0x64c0e8d48e0e - test::test_main_with_exit_callback::{{closure}}::ha1c98e7b69c4defb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x64c0e9615b9f - as core::ops::function::Fn>::call::hc4f222a8a57c637a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 14: 0x64c0e9615b9f - std::panicking::panic_with_hook::h6d5921a1a1fa5a8e [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x64c0e961594a - std::panicking::panic_handler::{{closure}}::hafeef6f707d43542 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x64c0e960f939 - std::sys::backtrace::__rust_end_short_backtrace::h08cbc3319a3d0120 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x64c0e95f65ad - __rustc[ce5c411ff86ab1b2]::rust_begin_unwind [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x64c0e9656830 - core::panicking::panic_fmt::h774fb860369a0f7b [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x64c0e96554f6 - core::result::unwrap_failed::h72ee8fcbf1bf8ff9 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1862:5 [INFO] [stdout] 20: 0x64c0e8b331db - core::result::Result::unwrap::h684f7c72affd3dee [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1233:23 [INFO] [stdout] 21: 0x64c0e8b331db - wgsl_bindgen::structs::tests::write_shorter_constructor::{{closure}}::ha944d2393a23d4af [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x64c0e8ac4dcf - insta::settings::Settings::bind::h8b8159563f1db49b [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.2/src/settings.rs:509:9 [INFO] [stdout] 23: 0x64c0e8b32cca - wgsl_bindgen::structs::tests::write_shorter_constructor::h5e2fee24087d0d6d [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x64c0e8b32da7 - wgsl_bindgen::structs::tests::write_shorter_constructor::{{closure}}::ha0660902e223281c [INFO] [stdout] at /opt/rustwide/workdir/src/structs.rs:803:33 [INFO] [stdout] 25: 0x64c0e8afe916 - core::ops::function::FnOnce::call_once::h7391456134777626 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x64c0e8d48c5b - core::ops::function::FnOnce::call_once::h4f6eabe90cccb47d [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x64c0e8d48c5b - test::__rust_begin_short_backtrace::h94208530f2b4c8c7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x64c0e8d5cc6d - test::run_test_in_process::{{closure}}::hbdc6a45a78c46404 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x64c0e8d5cc6d - as core::ops::function::FnOnce<()>>::call_once::h7f9d8efc7eedd165 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x64c0e8d5cc6d - std::panicking::catch_unwind::do_call::he5edbaf126c13b99 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x64c0e8d5cc6d - std::panicking::catch_unwind::h3d6a8652eceeabce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x64c0e8d5cc6d - std::panic::catch_unwind::hbef0c501dd7bb498 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x64c0e8d5cc6d - test::run_test_in_process::h400008a46a5006a0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x64c0e8d5cc6d - test::run_test::{{closure}}::h9a131655b31d9427 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x64c0e8d361b4 - test::run_test::{{closure}}::he4a7177c216308c0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x64c0e8d361b4 - std::sys::backtrace::__rust_begin_short_backtrace::hd3980e9c55d6c539 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x64c0e8d39aea - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h18552df67c7aa9b8 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:562:17 [INFO] [stdout] 38: 0x64c0e8d39aea - as core::ops::function::FnOnce<()>>::call_once::h3d7b285234641a08 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x64c0e8d39aea - std::panicking::catch_unwind::do_call::h5a2b5cf36528a5b2 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x64c0e8d39aea - std::panicking::catch_unwind::h7e8b531bbda77d20 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x64c0e8d39aea - std::panic::catch_unwind::hf9bbb2040b4f1e6c [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x64c0e8d39aea - std::thread::Builder::spawn_unchecked_::{{closure}}::h600f92cf68549574 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:560:30 [INFO] [stdout] 43: 0x64c0e8d39aea - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb6607307df8a1847 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x64c0e960ab4f - as core::ops::function::FnOnce>::call_once::h6891ad53a5ed6f52 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2085:9 [INFO] [stdout] 45: 0x64c0e960ab4f - std::sys::thread::unix::Thread::new::thread_start::h7f3e77fa86df70af [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/thread/unix.rs:124:17 [INFO] [stdout] 46: 0x7f6eeb82aaa4 - [INFO] [stdout] 47: 0x7f6eeb8b7a64 - 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 'c2e32f1c9652b13ed99608599c1e855462f421f3'. [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] 1 1 │ #[repr(C)] [INFO] [stdout] 2 2 │ #[derive(Debug, PartialEq, Clone, Copy)] [INFO] [stdout] 3 3 │ pub struct Input0 { [INFO] [stdout] 4 │- pub a: u32, [INFO] [stdout] 5 │- pub b: i32, [INFO] [stdout] 6 │- pub c: f32, [INFO] [stdout] 4 │+ pub a: u32, [INFO] [stdout] 5 │+ pub b: i32, [INFO] [stdout] 6 │+ pub c: f32, [INFO] [stdout] 7 7 │ } [INFO] [stdout] 8 8 │ impl Input0 { [INFO] [stdout] 9 │- pub const fn new(a: u32, b: i32, c: f32) -> Self { [INFO] [stdout] 10 │- Self { a, b, c } [INFO] [stdout] 11 │- } [INFO] [stdout] 9 │+ pub const fn new(a: u32, b: i32, c: f32) -> Self { [INFO] [stdout] 10 │+ Self { a, b, c } [INFO] [stdout] 11 │+ } [INFO] [stdout] 12 12 │ } [INFO] [stdout] 13 13 │ unsafe impl bytemuck::Zeroable for Input0 {} [INFO] [stdout] 14 14 │ unsafe impl bytemuck::Pod for Input0 {} [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'structs::tests::write_all_structs_skip_stage_outputs' (9488) 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: 0x64c0e9637a32 - std::backtrace_rs::backtrace::libunwind::trace::h9ea1e07ac77a25d7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x64c0e9637a32 - std::backtrace_rs::backtrace::trace_unsynchronized::h72b75eb83b53d15a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x64c0e9637a32 - std::sys::backtrace::_print_fmt::h255777b7ec902439 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x64c0e9637a32 - ::fmt::h8a1ac49fcd7ee8ce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x64c0e964b7af - core::fmt::rt::Argument::fmt::h635cbf3c6754cc90 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x64c0e964b7af - core::fmt::write::hbdcc0ec4f1bab1db [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x64c0e9602ef3 - std::io::default_write_fmt::h2580ece0d4b58e51 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x64c0e9602ef3 - std::io::Write::write_fmt::hac9e42858f273b87 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x64c0e960f802 - std::sys::backtrace::BacktraceLock::print::h052febbd86f7bf07 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x64c0e96154df - std::panicking::default_hook::{{closure}}::h66aeee20dd470abb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x64c0e9615371 - std::panicking::default_hook::h9d66b9642014ce48 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x64c0e8d48e0e - as core::ops::function::Fn>::call::h8c698701e444e564 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 12: 0x64c0e8d48e0e - test::test_main_with_exit_callback::{{closure}}::ha1c98e7b69c4defb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x64c0e9615b9f - as core::ops::function::Fn>::call::hc4f222a8a57c637a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 14: 0x64c0e9615b9f - std::panicking::panic_with_hook::h6d5921a1a1fa5a8e [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x64c0e961594a - std::panicking::panic_handler::{{closure}}::hafeef6f707d43542 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x64c0e960f939 - std::sys::backtrace::__rust_end_short_backtrace::h08cbc3319a3d0120 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x64c0e95f65ad - __rustc[ce5c411ff86ab1b2]::rust_begin_unwind [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x64c0e9656830 - core::panicking::panic_fmt::h774fb860369a0f7b [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x64c0e96554f6 - core::result::unwrap_failed::h72ee8fcbf1bf8ff9 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1862:5 [INFO] [stdout] 20: 0x64c0e8b3678b - core::result::Result::unwrap::h684f7c72affd3dee [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1233:23 [INFO] [stdout] 21: 0x64c0e8b3678b - wgsl_bindgen::structs::tests::write_all_structs_skip_stage_outputs::{{closure}}::he541b9f1053fffd1 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x64c0e8ac40af - insta::settings::Settings::bind::h197585ca1d015b11 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.2/src/settings.rs:509:9 [INFO] [stdout] 23: 0x64c0e8b362aa - wgsl_bindgen::structs::tests::write_all_structs_skip_stage_outputs::hca44f487e0145aaa [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x64c0e8b36887 - wgsl_bindgen::structs::tests::write_all_structs_skip_stage_outputs::{{closure}}::hf5fea235b126c064 [INFO] [stdout] at /opt/rustwide/workdir/src/structs.rs:509:44 [INFO] [stdout] 25: 0x64c0e8afe4f6 - core::ops::function::FnOnce::call_once::h5a7c9465bbea0d7a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x64c0e8d48c5b - core::ops::function::FnOnce::call_once::h4f6eabe90cccb47d [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x64c0e8d48c5b - test::__rust_begin_short_backtrace::h94208530f2b4c8c7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x64c0e8d5cc6d - test::run_test_in_process::{{closure}}::hbdc6a45a78c46404 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x64c0e8d5cc6d - as core::ops::function::FnOnce<()>>::call_once::h7f9d8efc7eedd165 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x64c0e8d5cc6d - std::panicking::catch_unwind::do_call::he5edbaf126c13b99 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x64c0e8d5cc6d - std::panicking::catch_unwind::h3d6a8652eceeabce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x64c0e8d5cc6d - std::panic::catch_unwind::hbef0c501dd7bb498 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x64c0e8d5cc6d - test::run_test_in_process::h400008a46a5006a0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x64c0e8d5cc6d - test::run_test::{{closure}}::h9a131655b31d9427 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x64c0e8d361b4 - test::run_test::{{closure}}::he4a7177c216308c0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x64c0e8d361b4 - std::sys::backtrace::__rust_begin_short_backtrace::hd3980e9c55d6c539 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x64c0e8d39aea - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h18552df67c7aa9b8 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:562:17 [INFO] [stdout] 38: 0x64c0e8d39aea - as core::ops::function::FnOnce<()>>::call_once::h3d7b285234641a08 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x64c0e8d39aea - std::panicking::catch_unwind::do_call::h5a2b5cf36528a5b2 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x64c0e8d39aea - std::panicking::catch_unwind::h7e8b531bbda77d20 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x64c0e8d39aea - std::panic::catch_unwind::hf9bbb2040b4f1e6c [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x64c0e8d39aea - std::thread::Builder::spawn_unchecked_::{{closure}}::h600f92cf68549574 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:560:30 [INFO] [stdout] 43: 0x64c0e8d39aea - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb6607307df8a1847 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x64c0e960ab4f - as core::ops::function::FnOnce>::call_once::h6891ad53a5ed6f52 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2085:9 [INFO] [stdout] 45: 0x64c0e960ab4f - std::sys::thread::unix::Thread::new::thread_start::h7f3e77fa86df70af [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/thread/unix.rs:124:17 [INFO] [stdout] 46: 0x7f6eeb82aaa4 - [INFO] [stdout] 47: 0x7f6eeb8b7a64 - 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 'c2e32f1c9652b13ed99608599c1e855462f421f3'. [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] 1 1 │ #[repr(C, align(16))] [INFO] [stdout] 2 2 │ #[derive(Debug, PartialEq, Clone, Copy)] [INFO] [stdout] 3 3 │ pub struct UniformsData { [INFO] [stdout] 4 │- #[doc = "offset: 0, size: 48, type: `mat3x3`"] [INFO] [stdout] 5 │- pub centered_mvp: glam::Mat3A, [INFO] [stdout] 4 │+ ///offset: 0, size: 48, type: `mat3x3` [INFO] [stdout] 5 │+ pub centered_mvp: glam::Mat3A, [INFO] [stdout] 6 6 │ } [INFO] [stdout] 7 7 │ impl UniformsData { [INFO] [stdout] 8 │- pub const fn new(centered_mvp: glam::Mat3A) -> Self { [INFO] [stdout] 9 │- Self { centered_mvp } [INFO] [stdout] 10 │- } [INFO] [stdout] 8 │+ pub const fn new(centered_mvp: glam::Mat3A) -> Self { [INFO] [stdout] 9 │+ Self { centered_mvp } [INFO] [stdout] 10 │+ } [INFO] [stdout] 11 11 │ } [INFO] [stdout] 12 12 │ const UNIFORMS_DATA_ASSERTS: () = { [INFO] [stdout] 13 │- assert!(std::mem::offset_of!(UniformsData, centered_mvp) == 0); [INFO] [stdout] 14 │- assert!(std::mem::size_of::() == 48); [INFO] [stdout] 13 │+ assert!(std::mem::offset_of!(UniformsData, centered_mvp) == 0); [INFO] [stdout] 14 │+ assert!(std::mem::size_of:: < UniformsData > () == 48); [INFO] [stdout] 15 15 │ }; [INFO] [stdout] 16 16 │ unsafe impl bytemuck::Zeroable for UniformsData {} [INFO] [stdout] 17 17 │ unsafe impl bytemuck::Pod for UniformsData {} [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'structs::tests::write_nonpower_of_2_mats_for_bytemuck_glam_option' (10242) 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: 0x64c0e9637a32 - std::backtrace_rs::backtrace::libunwind::trace::h9ea1e07ac77a25d7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x64c0e9637a32 - std::backtrace_rs::backtrace::trace_unsynchronized::h72b75eb83b53d15a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x64c0e9637a32 - std::sys::backtrace::_print_fmt::h255777b7ec902439 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x64c0e9637a32 - ::fmt::h8a1ac49fcd7ee8ce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x64c0e964b7af - core::fmt::rt::Argument::fmt::h635cbf3c6754cc90 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x64c0e964b7af - core::fmt::write::hbdcc0ec4f1bab1db [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x64c0e9602ef3 - std::io::default_write_fmt::h2580ece0d4b58e51 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x64c0e9602ef3 - std::io::Write::write_fmt::hac9e42858f273b87 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x64c0e960f802 - std::sys::backtrace::BacktraceLock::print::h052febbd86f7bf07 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x64c0e96154df - std::panicking::default_hook::{{closure}}::h66aeee20dd470abb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x64c0e9615371 - std::panicking::default_hook::h9d66b9642014ce48 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x64c0e8d48e0e - as core::ops::function::Fn>::call::h8c698701e444e564 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 12: 0x64c0e8d48e0e - test::test_main_with_exit_callback::{{closure}}::ha1c98e7b69c4defb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x64c0e9615b9f - as core::ops::function::Fn>::call::hc4f222a8a57c637a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 14: 0x64c0e9615b9f - std::panicking::panic_with_hook::h6d5921a1a1fa5a8e [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x64c0e961594a - std::panicking::panic_handler::{{closure}}::hafeef6f707d43542 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x64c0e960f939 - std::sys::backtrace::__rust_end_short_backtrace::h08cbc3319a3d0120 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x64c0e95f65ad - __rustc[ce5c411ff86ab1b2]::rust_begin_unwind [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x64c0e9656830 - core::panicking::panic_fmt::h774fb860369a0f7b [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x64c0e96554f6 - core::result::unwrap_failed::h72ee8fcbf1bf8ff9 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1862:5 [INFO] [stdout] 20: 0x64c0e8b3875b - core::result::Result::unwrap::h684f7c72affd3dee [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1233:23 [INFO] [stdout] 21: 0x64c0e8b3875b - wgsl_bindgen::structs::tests::write_nonpower_of_2_mats_for_bytemuck_glam_option::{{closure}}::h52e29493658c3fdb [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x64c0e8ac59af - insta::settings::Settings::bind::hfc2cf1850938e539 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.2/src/settings.rs:509:9 [INFO] [stdout] 23: 0x64c0e8b38280 - wgsl_bindgen::structs::tests::write_nonpower_of_2_mats_for_bytemuck_glam_option::hc0acdca0f7779f2c [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x64c0e8b38857 - wgsl_bindgen::structs::tests::write_nonpower_of_2_mats_for_bytemuck_glam_option::{{closure}}::hec7d245df56e9cf2 [INFO] [stdout] at /opt/rustwide/workdir/src/structs.rs:749:57 [INFO] [stdout] 25: 0x64c0e8afea36 - core::ops::function::FnOnce::call_once::h7b2df1478b0d066f [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x64c0e8d48c5b - core::ops::function::FnOnce::call_once::h4f6eabe90cccb47d [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x64c0e8d48c5b - test::__rust_begin_short_backtrace::h94208530f2b4c8c7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x64c0e8d5cc6d - test::run_test_in_process::{{closure}}::hbdc6a45a78c46404 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x64c0e8d5cc6d - as core::ops::function::FnOnce<()>>::call_once::h7f9d8efc7eedd165 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x64c0e8d5cc6d - std::panicking::catch_unwind::do_call::he5edbaf126c13b99 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x64c0e8d5cc6d - std::panicking::catch_unwind::h3d6a8652eceeabce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x64c0e8d5cc6d - std::panic::catch_unwind::hbef0c501dd7bb498 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x64c0e8d5cc6d - test::run_test_in_process::h400008a46a5006a0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x64c0e8d5cc6d - test::run_test::{{closure}}::h9a131655b31d9427 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x64c0e8d361b4 - test::run_test::{{closure}}::he4a7177c216308c0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x64c0e8d361b4 - std::sys::backtrace::__rust_begin_short_backtrace::hd3980e9c55d6c539 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x64c0e8d39aea - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h18552df67c7aa9b8 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:562:17 [INFO] [stdout] 38: 0x64c0e8d39aea - as core::ops::function::FnOnce<()>>::call_once::h3d7b285234641a08 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x64c0e8d39aea - std::panicking::catch_unwind::do_call::h5a2b5cf36528a5b2 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x64c0e8d39aea - std::panicking::catch_unwind::h7e8b531bbda77d20 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x64c0e8d39aea - std::panic::catch_unwind::hf9bbb2040b4f1e6c [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x64c0e8d39aea - std::thread::Builder::spawn_unchecked_::{{closure}}::h600f92cf68549574 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:560:30 [INFO] [stdout] 43: 0x64c0e8d39aea - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb6607307df8a1847 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x64c0e960ab4f - as core::ops::function::FnOnce>::call_once::h6891ad53a5ed6f52 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2085:9 [INFO] [stdout] 45: 0x64c0e960ab4f - std::sys::thread::unix::Thread::new::thread_start::h7f3e77fa86df70af [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/thread/unix.rs:124:17 [INFO] [stdout] 46: 0x7f6eeb82aaa4 - [INFO] [stdout] 47: 0x7f6eeb8b7a64 - 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 'c2e32f1c9652b13ed99608599c1e855462f421f3'. [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] 1 1 │ #[derive(Debug, PartialEq, Clone, Copy)] [INFO] [stdout] 2 2 │ pub struct RtsStruct { [INFO] [stdout] 3 │- #[doc = "offset: 0, size: 4, type: `i32`"] [INFO] [stdout] 4 │- pub other_data: i32, [INFO] [stdout] 5 │- #[doc = "offset: 4, size: 4, type: `array`"] [INFO] [stdout] 6 │- pub the_array: [u32; N], [INFO] [stdout] 3 │+ ///offset: 0, size: 4, type: `i32` [INFO] [stdout] 4 │+ pub other_data: i32, [INFO] [stdout] 5 │+ ///offset: 4, size: 4, type: `array` [INFO] [stdout] 6 │+ pub the_array: [u32; N], [INFO] [stdout] 7 7 │ } [INFO] [stdout] 8 8 │ impl RtsStruct { [INFO] [stdout] 9 │- pub const fn new(other_data: i32, the_array: [u32; N]) -> Self { [INFO] [stdout] 10 │- Self { [INFO] [stdout] 11 │- other_data, [INFO] [stdout] 12 │- the_array, [INFO] [stdout] 9 │+ pub const fn new(other_data: i32, the_array: [u32; N]) -> Self { [INFO] [stdout] 10 │+ Self { other_data, the_array } [INFO] [stdout] 13 11 │ } [INFO] [stdout] 14 │- } [INFO] [stdout] 15 12 │ } [INFO] [stdout] 16 13 │ const RTS_STRUCT_ASSERTS: () = { [INFO] [stdout] 17 │- assert!(std::mem::offset_of!(RtsStruct<1>, other_data) == 0); [INFO] [stdout] 18 │- assert!(std::mem::offset_of!(RtsStruct<1>, the_array) == 4); [INFO] [stdout] 19 │- assert!(std::mem::size_of::>() == 8); [INFO] [stdout] 14 │+ assert!(std::mem::offset_of!(RtsStruct < 1 >, other_data) == 0); [INFO] [stdout] 15 │+ assert!(std::mem::offset_of!(RtsStruct < 1 >, the_array) == 4); [INFO] [stdout] 16 │+ assert!(std::mem::size_of:: < RtsStruct < 1 > > () == 8); [INFO] [stdout] 20 17 │ }; [INFO] [stdout] 21 18 │ unsafe impl bytemuck::Zeroable for RtsStruct {} [INFO] [stdout] 22 19 │ unsafe impl bytemuck::Pod for RtsStruct {} [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'structs::tests::write_runtime_sized_array_bytemuck' (11700) 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: 0x64c0e9637a32 - std::backtrace_rs::backtrace::libunwind::trace::h9ea1e07ac77a25d7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x64c0e9637a32 - std::backtrace_rs::backtrace::trace_unsynchronized::h72b75eb83b53d15a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x64c0e9637a32 - std::sys::backtrace::_print_fmt::h255777b7ec902439 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x64c0e9637a32 - ::fmt::h8a1ac49fcd7ee8ce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x64c0e964b7af - core::fmt::rt::Argument::fmt::h635cbf3c6754cc90 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x64c0e964b7af - core::fmt::write::hbdcc0ec4f1bab1db [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x64c0e9602ef3 - std::io::default_write_fmt::h2580ece0d4b58e51 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x64c0e9602ef3 - std::io::Write::write_fmt::hac9e42858f273b87 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x64c0e960f802 - std::sys::backtrace::BacktraceLock::print::h052febbd86f7bf07 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x64c0e96154df - std::panicking::default_hook::{{closure}}::h66aeee20dd470abb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x64c0e9615371 - std::panicking::default_hook::h9d66b9642014ce48 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x64c0e8d48e0e - as core::ops::function::Fn>::call::h8c698701e444e564 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 12: 0x64c0e8d48e0e - test::test_main_with_exit_callback::{{closure}}::ha1c98e7b69c4defb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x64c0e9615b9f - as core::ops::function::Fn>::call::hc4f222a8a57c637a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 14: 0x64c0e9615b9f - std::panicking::panic_with_hook::h6d5921a1a1fa5a8e [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x64c0e961594a - std::panicking::panic_handler::{{closure}}::hafeef6f707d43542 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x64c0e960f939 - std::sys::backtrace::__rust_end_short_backtrace::h08cbc3319a3d0120 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x64c0e95f65ad - __rustc[ce5c411ff86ab1b2]::rust_begin_unwind [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x64c0e9656830 - core::panicking::panic_fmt::h774fb860369a0f7b [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x64c0e96554f6 - core::result::unwrap_failed::h72ee8fcbf1bf8ff9 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1862:5 [INFO] [stdout] 20: 0x64c0e8b359fb - core::result::Result::unwrap::h684f7c72affd3dee [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1233:23 [INFO] [stdout] 21: 0x64c0e8b359fb - wgsl_bindgen::structs::tests::write_runtime_sized_array_bytemuck::{{closure}}::he698dc828cea05bc [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x64c0e8ac4f0f - insta::settings::Settings::bind::h9b7e2239dfc1723b [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.2/src/settings.rs:509:9 [INFO] [stdout] 23: 0x64c0e8b35533 - wgsl_bindgen::structs::tests::write_runtime_sized_array_bytemuck::h92825a9736aa63e1 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x64c0e8b35af7 - wgsl_bindgen::structs::tests::write_runtime_sized_array_bytemuck::{{closure}}::hfc1637e9b8b46c09 [INFO] [stdout] at /opt/rustwide/workdir/src/structs.rs:683:42 [INFO] [stdout] 25: 0x64c0e8afe816 - core::ops::function::FnOnce::call_once::h6e54d19a51911052 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x64c0e8d48c5b - core::ops::function::FnOnce::call_once::h4f6eabe90cccb47d [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x64c0e8d48c5b - test::__rust_begin_short_backtrace::h94208530f2b4c8c7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x64c0e8d5cc6d - test::run_test_in_process::{{closure}}::hbdc6a45a78c46404 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x64c0e8d5cc6d - as core::ops::function::FnOnce<()>>::call_once::h7f9d8efc7eedd165 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x64c0e8d5cc6d - std::panicking::catch_unwind::do_call::he5edbaf126c13b99 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x64c0e8d5cc6d - std::panicking::catch_unwind::h3d6a8652eceeabce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x64c0e8d5cc6d - std::panic::catch_unwind::hbef0c501dd7bb498 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x64c0e8d5cc6d - test::run_test_in_process::h400008a46a5006a0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x64c0e8d5cc6d - test::run_test::{{closure}}::h9a131655b31d9427 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x64c0e8d361b4 - test::run_test::{{closure}}::he4a7177c216308c0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x64c0e8d361b4 - std::sys::backtrace::__rust_begin_short_backtrace::hd3980e9c55d6c539 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x64c0e8d39aea - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h18552df67c7aa9b8 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:562:17 [INFO] [stdout] 38: 0x64c0e8d39aea - as core::ops::function::FnOnce<()>>::call_once::h3d7b285234641a08 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x64c0e8d39aea - std::panicking::catch_unwind::do_call::h5a2b5cf36528a5b2 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x64c0e8d39aea - std::panicking::catch_unwind::h7e8b531bbda77d20 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x64c0e8d39aea - std::panic::catch_unwind::hf9bbb2040b4f1e6c [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x64c0e8d39aea - std::thread::Builder::spawn_unchecked_::{{closure}}::h600f92cf68549574 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:560:30 [INFO] [stdout] 43: 0x64c0e8d39aea - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb6607307df8a1847 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x64c0e960ab4f - as core::ops::function::FnOnce>::call_once::h6891ad53a5ed6f52 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2085:9 [INFO] [stdout] 45: 0x64c0e960ab4f - std::sys::thread::unix::Thread::new::thread_start::h7f3e77fa86df70af [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/thread/unix.rs:124:17 [INFO] [stdout] 46: 0x7f6eeb82aaa4 - [INFO] [stdout] 47: 0x7f6eeb8b7a64 - 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 'c2e32f1c9652b13ed99608599c1e855462f421f3'. [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] 1 1 │ #![allow(unused, non_snake_case, non_camel_case_types, non_upper_case_globals)] [INFO] [stdout] 2 2 │ #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)] [INFO] [stdout] 3 3 │ pub enum ShaderEntry { [INFO] [stdout] 4 │- Test, [INFO] [stdout] 4 │+ Test, [INFO] [stdout] 5 5 │ } [INFO] [stdout] 6 6 │ impl ShaderEntry { [INFO] [stdout] 7 │- pub fn create_pipeline_layout(&self, device: &wgpu::Device) -> wgpu::PipelineLayout { [INFO] [stdout] 8 │- match self { [INFO] [stdout] 9 │- Self::Test => test::create_pipeline_layout(device), [INFO] [stdout] 7 │+ pub fn create_pipeline_layout(&self, device: &wgpu::Device) -> wgpu::PipelineLayout { [INFO] [stdout] 8 │+ match self { [INFO] [stdout] 9 │+ Self::Test => test::create_pipeline_layout(device), [INFO] [stdout] 10 │+ } [INFO] [stdout] 10 11 │ } [INFO] [stdout] 11 │- } [INFO] [stdout] 12 │- pub fn create_shader_module_embed_source( [INFO] [stdout] 13 │- &self, [INFO] [stdout] 14 │- device: &wgpu::Device, [INFO] [stdout] 15 │- ) -> wgpu::ShaderModule { [INFO] [stdout] 16 │- match self { [INFO] [stdout] 17 │- Self::Test => test::create_shader_module_embed_source(device), [INFO] [stdout] 12 │+ pub fn create_shader_module_embed_source( [INFO] [stdout] 13 │+ &self, [INFO] [stdout] 14 │+ device: &wgpu::Device, [INFO] [stdout] 15 │+ ) -> wgpu::ShaderModule { [INFO] [stdout] 16 │+ match self { [INFO] [stdout] 17 │+ Self::Test => test::create_shader_module_embed_source(device), [INFO] [stdout] 18 │+ } [INFO] [stdout] 18 19 │ } [INFO] [stdout] 19 │- } [INFO] [stdout] 20 20 │ } [INFO] [stdout] 21 21 │ mod _root { [INFO] [stdout] 22 │- pub use super::*; [INFO] [stdout] 22 │+ pub use super::*; [INFO] [stdout] 23 23 │ } [INFO] [stdout] 24 24 │ pub mod test { [INFO] [stdout] 25 │- use super::{_root, _root::*}; [INFO] [stdout] 26 │- pub const ENTRY_FS_MAIN: &str = "fs_main"; [INFO] [stdout] 27 │- #[derive(Debug)] [INFO] [stdout] 28 │- pub struct FragmentEntry { [INFO] [stdout] 29 │- pub entry_point: &'static str, [INFO] [stdout] 30 │- pub targets: [Option; N], [INFO] [stdout] 31 │- pub constants: Vec<(&'static str, f64)>, [INFO] [stdout] 32 │- } [INFO] [stdout] 33 │- pub fn fragment_state<'a, const N: usize>( [INFO] [stdout] 34 │- module: &'a wgpu::ShaderModule, [INFO] [stdout] 35 │- entry: &'a FragmentEntry, [INFO] [stdout] 36 │- ) -> wgpu::FragmentState<'a> { [INFO] [stdout] 37 │- wgpu::FragmentState { [INFO] [stdout] 38 │- module, [INFO] [stdout] 39 │- entry_point: Some(entry.entry_point), [INFO] [stdout] 40 │- targets: &entry.targets, [INFO] [stdout] 41 │- compilation_options: wgpu::PipelineCompilationOptions { [INFO] [stdout] 42 │- constants: &entry.constants, [INFO] [stdout] 43 │- ..Default::default() [INFO] [stdout] 44 │- }, [INFO] [stdout] 25 │+ use super::{_root, _root::*}; [INFO] [stdout] 26 │+ pub const ENTRY_FS_MAIN: &str = "fs_main"; [INFO] [stdout] 27 │+ #[derive(Debug)] [INFO] [stdout] 28 │+ pub struct FragmentEntry { [INFO] [stdout] 29 │+ pub entry_point: &'static str, [INFO] [stdout] 30 │+ pub targets: [Option; N], [INFO] [stdout] 31 │+ pub constants: Vec<(&'static str, f64)>, [INFO] [stdout] 32 │+ } [INFO] [stdout] 33 │+ pub fn fragment_state<'a, const N: usize>( [INFO] [stdout] 34 │+ module: &'a wgpu::ShaderModule, [INFO] [stdout] 35 │+ entry: &'a FragmentEntry, [INFO] [stdout] 36 │+ ) -> wgpu::FragmentState<'a> { [INFO] [stdout] 37 │+ wgpu::FragmentState { [INFO] [stdout] 38 │+ module, [INFO] [stdout] 39 │+ entry_point: Some(entry.entry_point), [INFO] [stdout] 40 │+ targets: &entry.targets, [INFO] [stdout] 41 │+ compilation_options: wgpu::PipelineCompilationOptions { [INFO] [stdout] 42 │+ constants: &entry.constants, [INFO] [stdout] 43 │+ ..Default::default() [INFO] [stdout] 44 │+ }, [INFO] [stdout] 45 │+ } [INFO] [stdout] 46 │+ } [INFO] [stdout] 47 │+ pub fn fs_main_entry( [INFO] [stdout] 48 │+ targets: [Option; 0], [INFO] [stdout] 49 │+ ) -> FragmentEntry<0> { [INFO] [stdout] 50 │+ FragmentEntry { [INFO] [stdout] 51 │+ entry_point: ENTRY_FS_MAIN, [INFO] [stdout] 52 │+ targets, [INFO] [stdout] 53 │+ constants: Default::default(), [INFO] [stdout] 54 │+ } [INFO] [stdout] 55 │+ } [INFO] [stdout] 56 │+ #[derive(Debug)] [INFO] [stdout] 57 │+ pub struct WgpuPipelineLayout; [INFO] [stdout] 58 │+ impl WgpuPipelineLayout { [INFO] [stdout] 59 │+ pub fn bind_group_layout_entries( [INFO] [stdout] 60 │+ entries: [wgpu::BindGroupLayout; 0], [INFO] [stdout] 61 │+ ) -> [wgpu::BindGroupLayout; 0] { [INFO] [stdout] 62 │+ entries [INFO] [stdout] 63 │+ } [INFO] [stdout] 45 64 │ } [INFO] [stdout] 46 │- } [INFO] [stdout] 47 │- pub fn fs_main_entry(targets: [Option; 0]) -> FragmentEntry<0> { [INFO] [stdout] 48 │- FragmentEntry { [INFO] [stdout] 49 │- entry_point: ENTRY_FS_MAIN, [INFO] [stdout] 50 │- targets, [INFO] [stdout] 51 │- constants: Default::default(), [INFO] [stdout] 65 │+ pub fn create_pipeline_layout(device: &wgpu::Device) -> wgpu::PipelineLayout { [INFO] [stdout] 66 │+ device [INFO] [stdout] 67 │+ .create_pipeline_layout( [INFO] [stdout] 68 │+ &wgpu::PipelineLayoutDescriptor { [INFO] [stdout] 69 │+ label: Some("Test::PipelineLayout"), [INFO] [stdout] 70 │+ bind_group_layouts: &[], [INFO] [stdout] 71 │+ push_constant_ranges: &[ [INFO] [stdout] 72 │+ wgpu::PushConstantRange { [INFO] [stdout] 73 │+ stages: wgpu::ShaderStages::FRAGMENT, [INFO] [stdout] 74 │+ range: 0..16, [INFO] [stdout] 75 │+ }, [INFO] [stdout] 76 │+ ], [INFO] [stdout] 77 │+ }, [INFO] [stdout] 78 │+ ) [INFO] [stdout] 52 79 │ } [INFO] [stdout] 53 │- } [INFO] [stdout] 54 │- #[derive(Debug)] [INFO] [stdout] 55 │- pub struct WgpuPipelineLayout; [INFO] [stdout] 56 │- impl WgpuPipelineLayout { [INFO] [stdout] 57 │- pub fn bind_group_layout_entries( [INFO] [stdout] 58 │- entries: [wgpu::BindGroupLayout; 0], [INFO] [stdout] 59 │- ) -> [wgpu::BindGroupLayout; 0] { [INFO] [stdout] 60 │- entries [INFO] [stdout] 80 │+ pub fn create_shader_module_embed_source( [INFO] [stdout] 81 │+ device: &wgpu::Device, [INFO] [stdout] 82 │+ ) -> wgpu::ShaderModule { [INFO] [stdout] 83 │+ let source = std::borrow::Cow::Borrowed(SHADER_STRING); [INFO] [stdout] 84 │+ device [INFO] [stdout] 85 │+ .create_shader_module(wgpu::ShaderModuleDescriptor { [INFO] [stdout] 86 │+ label: None, [INFO] [stdout] 87 │+ source: wgpu::ShaderSource::Wgsl(source), [INFO] [stdout] 88 │+ }) [INFO] [stdout] 61 89 │ } [INFO] [stdout] 62 │- } [INFO] [stdout] 63 │- pub fn create_pipeline_layout(device: &wgpu::Device) -> wgpu::PipelineLayout { [INFO] [stdout] 64 │- device.create_pipeline_layout(&wgpu::PipelineLayoutDescriptor { [INFO] [stdout] 65 │- label: Some("Test::PipelineLayout"), [INFO] [stdout] 66 │- bind_group_layouts: &[], [INFO] [stdout] 67 │- push_constant_ranges: &[wgpu::PushConstantRange { [INFO] [stdout] 68 │- stages: wgpu::ShaderStages::FRAGMENT, [INFO] [stdout] 69 │- range: 0..16, [INFO] [stdout] 70 │- }], [INFO] [stdout] 71 │- }) [INFO] [stdout] 72 │- } [INFO] [stdout] 73 │- pub fn create_shader_module_embed_source(device: &wgpu::Device) -> wgpu::ShaderModule { [INFO] [stdout] 74 │- let source = std::borrow::Cow::Borrowed(SHADER_STRING); [INFO] [stdout] 75 │- device.create_shader_module(wgpu::ShaderModuleDescriptor { [INFO] [stdout] 76 │- label: None, [INFO] [stdout] 77 │- source: wgpu::ShaderSource::Wgsl(source), [INFO] [stdout] 78 │- }) [INFO] [stdout] 79 │- } [INFO] [stdout] 80 │- pub const SHADER_STRING: &str = r#" [INFO] [stdout] 90 │+ pub const SHADER_STRING: &str = r#" [INFO] [stdout] 81 91 │ var consts: vec4; [INFO] [stdout] 82 92 │ [INFO] [stdout] 83 93 │ @fragment [INFO] [stdout] 84 94 │ fn fs_main() { [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'test::create_shader_module_embed_source' (12511) 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: 0x64c0e9637a32 - std::backtrace_rs::backtrace::libunwind::trace::h9ea1e07ac77a25d7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x64c0e9637a32 - std::backtrace_rs::backtrace::trace_unsynchronized::h72b75eb83b53d15a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x64c0e9637a32 - std::sys::backtrace::_print_fmt::h255777b7ec902439 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x64c0e9637a32 - ::fmt::h8a1ac49fcd7ee8ce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x64c0e964b7af - core::fmt::rt::Argument::fmt::h635cbf3c6754cc90 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x64c0e964b7af - core::fmt::write::hbdcc0ec4f1bab1db [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x64c0e9602ef3 - std::io::default_write_fmt::h2580ece0d4b58e51 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x64c0e9602ef3 - std::io::Write::write_fmt::hac9e42858f273b87 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x64c0e960f802 - std::sys::backtrace::BacktraceLock::print::h052febbd86f7bf07 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x64c0e96154df - std::panicking::default_hook::{{closure}}::h66aeee20dd470abb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x64c0e9615371 - std::panicking::default_hook::h9d66b9642014ce48 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x64c0e8d48e0e - as core::ops::function::Fn>::call::h8c698701e444e564 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 12: 0x64c0e8d48e0e - test::test_main_with_exit_callback::{{closure}}::ha1c98e7b69c4defb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x64c0e9615b9f - as core::ops::function::Fn>::call::hc4f222a8a57c637a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 14: 0x64c0e9615b9f - std::panicking::panic_with_hook::h6d5921a1a1fa5a8e [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x64c0e961594a - std::panicking::panic_handler::{{closure}}::hafeef6f707d43542 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x64c0e960f939 - std::sys::backtrace::__rust_end_short_backtrace::h08cbc3319a3d0120 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x64c0e95f65ad - __rustc[ce5c411ff86ab1b2]::rust_begin_unwind [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x64c0e9656830 - core::panicking::panic_fmt::h774fb860369a0f7b [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x64c0e96554f6 - core::result::unwrap_failed::h72ee8fcbf1bf8ff9 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1862:5 [INFO] [stdout] 20: 0x64c0e8b2a3a4 - core::result::Result::unwrap::h684f7c72affd3dee [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1233:23 [INFO] [stdout] 21: 0x64c0e8b2a3a4 - wgsl_bindgen::test::create_shader_module_embed_source::hc9af984c3c83aab5 [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:513:5 [INFO] [stdout] 22: 0x64c0e8b2a567 - wgsl_bindgen::test::create_shader_module_embed_source::{{closure}}::hfda923bba67c1b2b [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:496:41 [INFO] [stdout] 23: 0x64c0e8afeea6 - core::ops::function::FnOnce::call_once::h925fc5712fa225a6 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x64c0e8d48c5b - core::ops::function::FnOnce::call_once::h4f6eabe90cccb47d [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x64c0e8d48c5b - test::__rust_begin_short_backtrace::h94208530f2b4c8c7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x64c0e8d5cc6d - test::run_test_in_process::{{closure}}::hbdc6a45a78c46404 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x64c0e8d5cc6d - as core::ops::function::FnOnce<()>>::call_once::h7f9d8efc7eedd165 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x64c0e8d5cc6d - std::panicking::catch_unwind::do_call::he5edbaf126c13b99 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x64c0e8d5cc6d - std::panicking::catch_unwind::h3d6a8652eceeabce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x64c0e8d5cc6d - std::panic::catch_unwind::hbef0c501dd7bb498 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x64c0e8d5cc6d - test::run_test_in_process::h400008a46a5006a0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x64c0e8d5cc6d - test::run_test::{{closure}}::h9a131655b31d9427 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x64c0e8d361b4 - test::run_test::{{closure}}::he4a7177c216308c0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x64c0e8d361b4 - std::sys::backtrace::__rust_begin_short_backtrace::hd3980e9c55d6c539 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x64c0e8d39aea - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h18552df67c7aa9b8 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:562:17 [INFO] [stdout] 36: 0x64c0e8d39aea - as core::ops::function::FnOnce<()>>::call_once::h3d7b285234641a08 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x64c0e8d39aea - std::panicking::catch_unwind::do_call::h5a2b5cf36528a5b2 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x64c0e8d39aea - std::panicking::catch_unwind::h7e8b531bbda77d20 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x64c0e8d39aea - std::panic::catch_unwind::hf9bbb2040b4f1e6c [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x64c0e8d39aea - std::thread::Builder::spawn_unchecked_::{{closure}}::h600f92cf68549574 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:560:30 [INFO] [stdout] 41: 0x64c0e8d39aea - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb6607307df8a1847 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x64c0e960ab4f - as core::ops::function::FnOnce>::call_once::h6891ad53a5ed6f52 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2085:9 [INFO] [stdout] 43: 0x64c0e960ab4f - std::sys::thread::unix::Thread::new::thread_start::h7f3e77fa86df70af [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/thread/unix.rs:124:17 [INFO] [stdout] 44: 0x7f6eeb82aaa4 - [INFO] [stdout] 45: 0x7f6eeb8b7a64 - 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] [stderr] error: test failed, to rerun pass `--lib` [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 4.38s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0077a08fb808c04e5cec121dae26bee603a91ffeb6ded6bf182f01c91dd7916b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0077a08fb808c04e5cec121dae26bee603a91ffeb6ded6bf182f01c91dd7916b", kill_on_drop: false }` [INFO] [stdout] 0077a08fb808c04e5cec121dae26bee603a91ffeb6ded6bf182f01c91dd7916b