[INFO] fetching crate wgsl_bindgen 0.21.1... [INFO] testing wgsl_bindgen-0.21.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate wgsl_bindgen 0.21.1 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate wgsl_bindgen 0.21.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate wgsl_bindgen 0.21.1 [INFO] tweaked toml for crates.io crate wgsl_bindgen 0.21.1 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate wgsl_bindgen 0.21.1 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate wgsl_bindgen 0.21.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded naga_oil v0.18.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8f01e8575661611bdc35c61ff2194676fd6d0aa40875f9f8ccd2eb614d756172 [INFO] running `Command { std: "docker" "start" "-a" "8f01e8575661611bdc35c61ff2194676fd6d0aa40875f9f8ccd2eb614d756172", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8f01e8575661611bdc35c61ff2194676fd6d0aa40875f9f8ccd2eb614d756172", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f01e8575661611bdc35c61ff2194676fd6d0aa40875f9f8ccd2eb614d756172", kill_on_drop: false }` [INFO] [stdout] 8f01e8575661611bdc35c61ff2194676fd6d0aa40875f9f8ccd2eb614d756172 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 82235f31c3ed48582ca5b7466c53852805d6d57046ebeb5f772566ed9a8bcde2 [INFO] running `Command { std: "docker" "start" "-a" "82235f31c3ed48582ca5b7466c53852805d6d57046ebeb5f772566ed9a8bcde2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling cc v1.2.32 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling hexf-parse v0.2.1 [INFO] [stderr] Compiling naga v25.0.1 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling pp-rs v0.2.1 [INFO] [stderr] Compiling prettyplease v0.2.36 [INFO] [stderr] Compiling codespan-reporting v0.12.0 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling constant_time_eq v0.3.1 [INFO] [stderr] Compiling case v1.0.0 [INFO] [stderr] Compiling smol_str v0.3.2 [INFO] [stderr] Compiling glam v0.30.5 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling strum v0.27.2 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling convert_case v0.7.1 [INFO] [stderr] Compiling colored v3.0.0 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling enum-ordinalize-derive v4.3.1 [INFO] [stderr] Compiling bytemuck_derive v1.10.1 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling miette-derive v7.6.0 [INFO] [stderr] Compiling enumflags2_derive v0.7.12 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling strum_macros v0.27.2 [INFO] [stderr] Compiling enumflags2 v0.7.12 [INFO] [stderr] Compiling miette v7.6.0 [INFO] [stderr] Compiling enum-ordinalize v4.3.0 [INFO] [stderr] Compiling educe v0.6.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling wgpu-types v25.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 naga_oil v0.18.0 [INFO] [stderr] Compiling wgsl_bindgen v0.21.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 34.63s [INFO] running `Command { std: "docker" "inspect" "82235f31c3ed48582ca5b7466c53852805d6d57046ebeb5f772566ed9a8bcde2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82235f31c3ed48582ca5b7466c53852805d6d57046ebeb5f772566ed9a8bcde2", kill_on_drop: false }` [INFO] [stdout] 82235f31c3ed48582ca5b7466c53852805d6d57046ebeb5f772566ed9a8bcde2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 029067b0d20123f284b13c56471ebc6c75e16a30e5f1787edf049ba1092c3b00 [INFO] running `Command { std: "docker" "start" "-a" "029067b0d20123f284b13c56471ebc6c75e16a30e5f1787edf049ba1092c3b00", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling unicode-linebreak v0.1.5 [INFO] [stderr] Compiling is_ci v1.2.0 [INFO] [stderr] Compiling supports-hyperlinks v3.1.0 [INFO] [stderr] Compiling winnow v0.7.12 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling supports-unicode v3.0.0 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling stdext v0.3.3 [INFO] [stderr] Compiling indoc v2.0.6 [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 v0.3.75 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling insta v1.43.1 [INFO] [stderr] Compiling backtrace-ext v0.2.1 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling naga v25.0.1 [INFO] [stderr] Compiling wgpu-types v25.0.0 [INFO] [stderr] Compiling terminal_size v0.4.2 [INFO] [stderr] Compiling miette v7.6.0 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling naga_oil v0.18.0 [INFO] [stderr] Compiling wgsl_bindgen v0.21.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 22.19s [INFO] running `Command { std: "docker" "inspect" "029067b0d20123f284b13c56471ebc6c75e16a30e5f1787edf049ba1092c3b00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "029067b0d20123f284b13c56471ebc6c75e16a30e5f1787edf049ba1092c3b00", kill_on_drop: false }` [INFO] [stdout] 029067b0d20123f284b13c56471ebc6c75e16a30e5f1787edf049ba1092c3b00 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5ca2b2a4998d13fdb7dc7eb870ee662a29ad0a96f9798e4c3387e115d8cbea38 [INFO] running `Command { std: "docker" "start" "-a" "5ca2b2a4998d13fdb7dc7eb870ee662a29ad0a96f9798e4c3387e115d8cbea38", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/wgsl_bindgen-0764d5e7f6289f64) [INFO] [stdout] [INFO] [stdout] running 78 tests [INFO] [stdout] test bevy_util::module_path_resolver::tests::should_generate_single_import_path_when_module_prefix_match ... 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_generate_import_paths_with_correct_extensions ... 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_return_smallvec_when_import_module ... ok [INFO] [stdout] test bevy_util::module_path_resolver::tests::should_return_valid_pbr_paths_from_repeated_part ... ok [INFO] [stdout] test bevy_util::name_demangle::tests::test_make_valid_rust_import ... ok [INFO] [stdout] test bevy_util::parse_imports::tests::test_parsing_imports_from_bevy_mesh_view_bindings ... 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 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::name_demangle::tests::test_demangle_mod_names ... 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 bevy_util::module_path_resolver::tests::should_panic_when_import_module_is_empty - should panic ... ok [INFO] [stdout] test generate::entry::test::write_vertex_module_empty ... ok [INFO] [stdout] test generate::consts::tests::write_global_constants ... ok [INFO] [stdout] test generate::entry::test::write_entry_constants ... ok [INFO] [stdout] test generate::consts::tests::write_pipeline_overrideable_constants_empty ... ok [INFO] [stdout] test generate::consts::tests::write_pipeline_overrideable_constants ... FAILED [INFO] [stdout] test generate::shader_module::tests::test_create_canonical_variable_name ... ok [INFO] [stdout] test generate::bind_group::tests::bind_groups_module_acceleration_structure ... FAILED [INFO] [stdout] test generate::entry::test::write_vertex_module_single_input_float32 ... FAILED [INFO] [stdout] test generate::entry::test::write_fragment_states_multiple_entries ... 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 generate::bind_group::tests::bind_groups_module_array_bindings ... FAILED [INFO] [stdout] test generate::entry::test::write_fragment_states_single_entry ... FAILED [INFO] [stdout] test generate::bind_group::tests::bind_groups_module_fragment ... FAILED [INFO] [stdout] test quote_gen::tests::should_fully_qualify_mangled_string ... ok [INFO] [stdout] test quote_gen::tests::should_not_fully_qualify_non_mangled_string ... ok [INFO] [stdout] test generate::bind_group::tests::bind_groups_module_vertex_fragment ... FAILED [INFO] [stdout] test quote_gen::token_utils::tests::test_generate_struct_definition ... ok [INFO] [stdout] test quote_gen::token_utils::tests::test_generate_derive_attributes ... ok [INFO] [stdout] test generate::entry::test::write_vertex_module_single_input_float64 ... FAILED [INFO] [stdout] test generate::entry::test::write_vertex_module_single_input_uint32 ... FAILED [INFO] [stdout] test generate::entry::test::write_vertex_shader_entry_multiple_buffers ... 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 generate::entry::test::write_vertex_states_no_entries ... ok [INFO] [stdout] test quote_gen::rust_module_builder::tests::test_relative_root_feature ... 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 quote_gen::rust_module_builder::tests::test_include_relative_root_but_dont_generate_it ... FAILED [INFO] [stdout] test generate::entry::test::write_vertex_shader_multiple_entries ... 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 structs::tests::write_all_structs_bytemuck_skip_input_layout_validation ... FAILED [INFO] [stdout] test structs::tests::test_struct_visibility ... FAILED [INFO] [stdout] test structs::tests::write_runtime_sized_array_not_last_field - should panic ... 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 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_skip_stage_outputs ... FAILED [INFO] [stdout] test structs::tests::write_all_structs_serde_encase ... FAILED [INFO] [stdout] test structs::tests::write_all_structs_nalgebra ... FAILED [INFO] [stdout] test structs::tests::write_all_structs_glam ... FAILED [INFO] [stdout] test structs::tests::write_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_nonpower_of_2_mats_for_bytemuck_option ... FAILED [INFO] [stdout] test structs::tests::write_nonpower_of_2_mats ... FAILED [INFO] [stdout] test structs::tests::write_runtime_sized_array ... FAILED [INFO] [stdout] test structs::tests::write_atomic_types ... FAILED [INFO] [stdout] test structs::tests::write_runtime_sized_array_bytemuck ... FAILED [INFO] [stdout] test structs::tests::write_all_structs_rust ... FAILED [INFO] [stdout] test structs::tests::write_shorter_constructor ... 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::consts::tests::write_pipeline_overrideable_constants stdout ---- [INFO] [stdout] Warning: rustfmt formatting failed (rustfmt failed: error: 'rustfmt' is not installed for the custom toolchain 'cdb45c87e2cd43495379f7e867e3cc15dcee9f93'. [INFO] [stdout] note: this is a custom toolchain, which cannot use `rustup component add` [INFO] [stdout] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py` [INFO] [stdout] ), falling back to prettyplease [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/generate/snapshots/write_pipeline_overrideable_constants.snap [INFO] [stdout] Snapshot: write_pipeline_overrideable_constants [INFO] [stdout] Source: src/generate/consts.rs:228 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 0 │ pub struct OverrideConstants { [INFO] [stdout] 1 │- pub b1: Option, [INFO] [stdout] 2 │- pub b2: Option, [INFO] [stdout] 3 │- pub b3: bool, [INFO] [stdout] 4 │- pub f1: Option, [INFO] [stdout] 5 │- pub f2: f32, [INFO] [stdout] 6 │- pub i1: Option, [INFO] [stdout] 7 │- pub i2: i32, [INFO] [stdout] 8 │- pub i3: Option, [INFO] [stdout] 9 │- pub a: Option, [INFO] [stdout] 10 │- pub b: Option, [INFO] [stdout] 1 │+ pub b1: Option, [INFO] [stdout] 2 │+ pub b2: Option, [INFO] [stdout] 3 │+ pub b3: bool, [INFO] [stdout] 4 │+ pub f1: Option, [INFO] [stdout] 5 │+ pub f2: f32, [INFO] [stdout] 6 │+ pub i1: Option, [INFO] [stdout] 7 │+ pub i2: i32, [INFO] [stdout] 8 │+ pub i3: Option, [INFO] [stdout] 9 │+ pub a: Option, [INFO] [stdout] 10 │+ pub b: Option, [INFO] [stdout] 11 11 │ } [INFO] [stdout] 12 12 │ impl OverrideConstants { [INFO] [stdout] 13 │- pub fn constants(&self) -> Vec<(&'static str, f64)> { [INFO] [stdout] 14 │- let mut entries = vec![ [INFO] [stdout] 15 │- ("b3".to_owned(), if self.b3 { 1.0 } else { 0.0 }), [INFO] [stdout] 16 │- ("f2".to_owned(), self.f2 as f64), [INFO] [stdout] 17 │- ("i2".to_owned(), self.i2 as f64), [INFO] [stdout] 18 │- ]; [INFO] [stdout] 19 │- if let Some(value) = self.b1 { [INFO] [stdout] 20 │- entries.insert("b1".to_owned(), if value { 1.0 } else { 0.0 }); [INFO] [stdout] 21 │- }; [INFO] [stdout] 22 │- if let Some(value) = self.b2 { [INFO] [stdout] 23 │- entries.insert("b2".to_owned(), if value { 1.0 } else { 0.0 }); [INFO] [stdout] 24 │- }; [INFO] [stdout] 25 │- if let Some(value) = self.f1 { [INFO] [stdout] 26 │- entries.insert("f1".to_owned(), value as f64); [INFO] [stdout] 27 │- }; [INFO] [stdout] 28 │- if let Some(value) = self.i1 { [INFO] [stdout] 29 │- entries.insert("i1".to_owned(), value as f64); [INFO] [stdout] 30 │- }; [INFO] [stdout] 31 │- if let Some(value) = self.i3 { [INFO] [stdout] 32 │- entries.insert("i3".to_owned(), value as f64); [INFO] [stdout] 33 │- }; [INFO] [stdout] 34 │- if let Some(value) = self.a { [INFO] [stdout] 35 │- entries.insert("0".to_owned(), value as f64); [INFO] [stdout] 36 │- }; [INFO] [stdout] 37 │- if let Some(value) = self.b { [INFO] [stdout] 38 │- entries.insert("35".to_owned(), value as f64); [INFO] [stdout] 13 │+ pub fn constants(&self) -> Vec<(&'static str, f64)> { [INFO] [stdout] 14 │+ let mut entries = vec![ [INFO] [stdout] 15 │+ ("b3".to_owned(), if self.b3 { 1.0 } else { 0.0 }), ("f2".to_owned(), self.f2 [INFO] [stdout] 16 │+ as f64), ("i2".to_owned(), self.i2 as f64) [INFO] [stdout] 17 │+ ]; [INFO] [stdout] 18 │+ if let Some(value) = self.b1 { [INFO] [stdout] 19 │+ entries.insert("b1".to_owned(), if value { 1.0 } else { 0.0 }); [INFO] [stdout] 20 │+ } [INFO] [stdout] 21 │+ if let Some(value) = self.b2 { [INFO] [stdout] 22 │+ entries.insert("b2".to_owned(), if value { 1.0 } else { 0.0 }); [INFO] [stdout] 23 │+ } [INFO] [stdout] 24 │+ if let Some(value) = self.f1 { [INFO] [stdout] 25 │+ entries.insert("f1".to_owned(), value as f64); [INFO] [stdout] 26 │+ } [INFO] [stdout] 27 │+ if let Some(value) = self.i1 { [INFO] [stdout] 28 │+ entries.insert("i1".to_owned(), value as f64); [INFO] [stdout] 29 │+ } [INFO] [stdout] 30 │+ if let Some(value) = self.i3 { [INFO] [stdout] 31 │+ entries.insert("i3".to_owned(), value as f64); [INFO] [stdout] 32 │+ } [INFO] [stdout] 33 │+ if let Some(value) = self.a { [INFO] [stdout] 34 │+ entries.insert("0".to_owned(), value as f64); [INFO] [stdout] 35 │+ } [INFO] [stdout] 36 │+ if let Some(value) = self.b { [INFO] [stdout] 37 │+ entries.insert("35".to_owned(), value as f64); [INFO] [stdout] 38 │+ } [INFO] [stdout] 39 │+ entries [INFO] [stdout] 39 40 │ } [INFO] [stdout] 40 │- entries [INFO] [stdout] 41 │- } [INFO] [stdout] 42 41 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'generate::consts::tests::write_pipeline_overrideable_constants' (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: 0x64d434624cd2 - std::backtrace_rs::backtrace::libunwind::trace::h7cddb8376417e7cc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x64d434624cd2 - std::backtrace_rs::backtrace::trace_unsynchronized::hb4e41acf4b349ff1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x64d434624cd2 - std::sys::backtrace::_print_fmt::h1222b80910ba6eb5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x64d434624cd2 - ::fmt::h5bb8a979ba5db788 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x64d434638d3f - core::fmt::rt::Argument::fmt::h2ee2c138a50a7796 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x64d434638d3f - core::fmt::write::h1e0dbf07fe3990bd [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x64d4345f03a3 - std::io::default_write_fmt::h7d7ad5ed6a883d81 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x64d4345f03a3 - std::io::Write::write_fmt::hc477d9325b345ece [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x64d4345fcc52 - std::sys::backtrace::BacktraceLock::print::h788d486777205086 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x64d43460282f - std::panicking::default_hook::{{closure}}::ha7bdfeb5949fc0fa [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x64d4346026c1 - std::panicking::default_hook::h6dad75ec721846f4 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x64d433d3b72e - as core::ops::function::Fn>::call::h33799d04b0b96146 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x64d433d3b72e - test::test_main_with_exit_callback::{{closure}}::h880e31c829a2eb5d [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x64d434602f7e - as core::ops::function::Fn>::call::h5e1b8c652ea49180 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x64d434602f7e - std::panicking::panic_with_hook::hba00e869ada17676 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x64d434602c9a - std::panicking::panic_handler::{{closure}}::h3d21149c258e5ceb [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x64d4345fcd89 - std::sys::backtrace::__rust_end_short_backtrace::h4f5d9b9dfb3e6ec1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x64d4345e34ad - __rustc[9a7a9f9af7564de1]::rust_begin_unwind [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x64d434643df0 - core::panicking::panic_fmt::h78e817a90331d98b [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x64d434642b06 - core::result::unwrap_failed::h3ce108722ad88f1e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:1852:5 [INFO] [stdout] 20: 0x64d433b68cc3 - core::result::Result::unwrap::haafd36386984d778 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:1223:23 [INFO] [stdout] 21: 0x64d433b68cc3 - wgsl_bindgen::generate::consts::tests::write_pipeline_overrideable_constants::{{closure}}::h64b6cdac9b534119 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x64d433b9cb1f - insta::settings::Settings::bind::h44b22526e11ead27 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.1/src/settings.rs:509:9 [INFO] [stdout] 23: 0x64d433b68818 - wgsl_bindgen::generate::consts::tests::write_pipeline_overrideable_constants::he286f180a1dadc7a [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x64d433b68db7 - wgsl_bindgen::generate::consts::tests::write_pipeline_overrideable_constants::{{closure}}::hf0e9849c661a99d5 [INFO] [stdout] at /opt/rustwide/workdir/src/generate/consts.rs:207:45 [INFO] [stdout] 25: 0x64d433b720a6 - core::ops::function::FnOnce::call_once::hb60e435f3eae0df0 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x64d433d3b52b - core::ops::function::FnOnce::call_once::h7f4b4fba903e39d5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 27: 0x64d433d3b52b - test::__rust_begin_short_backtrace::h9277cb6a2ccfc000 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x64d433d50fd5 - test::run_test_in_process::{{closure}}::h9aea5ca90d1f4423 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x64d433d50fd5 - as core::ops::function::FnOnce<()>>::call_once::h364f5fe6cc8afa85 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 30: 0x64d433d50fd5 - std::panicking::catch_unwind::do_call::h2b2bec3317fe53ec [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x64d433d50fd5 - std::panicking::catch_unwind::hc3763734156da4af [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x64d433d50fd5 - std::panic::catch_unwind::h28038391e867eabc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x64d433d50fd5 - test::run_test_in_process::had0273166695a036 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x64d433d50fd5 - test::run_test::{{closure}}::h743d09d4bb476605 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x64d433d279f4 - test::run_test::{{closure}}::he950b8f9118d37e2 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x64d433d279f4 - std::sys::backtrace::__rust_begin_short_backtrace::hbfaffa6539f6abb7 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x64d433d2b2da - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hcce3c2c65b9c3b20 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x64d433d2b2da - as core::ops::function::FnOnce<()>>::call_once::hb66b30b6d37985a5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 39: 0x64d433d2b2da - std::panicking::catch_unwind::do_call::h992bbe2c32dc1d79 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x64d433d2b2da - std::panicking::catch_unwind::h412991d5237de610 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x64d433d2b2da - std::panic::catch_unwind::ha82b139b3eb5840a [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x64d433d2b2da - std::thread::Builder::spawn_unchecked_::{{closure}}::ha823b36f5114938e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x64d433d2b2da - core::ops::function::FnOnce::call_once{{vtable.shim}}::hf120e7b1db22ac07 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 44: 0x64d4345f6cdf - as core::ops::function::FnOnce>::call_once::h3e049222c99298ac [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 45: 0x64d4345f6cdf - std::sys::pal::unix::thread::Thread::new::thread_start::h942e336943ad5963 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 46: 0x7220e1521aa4 - [INFO] [stdout] 47: 0x7220e15aea34 - 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 'cdb45c87e2cd43495379f7e867e3cc15dcee9f93'. [INFO] [stdout] note: this is a custom toolchain, which cannot use `rustup component add` [INFO] [stdout] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py` [INFO] [stdout] ), falling back to prettyplease [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/generate/bind_group/snapshots/bind_groups_module_acceleration_structure.snap [INFO] [stdout] Snapshot: bind_groups_module_acceleration_structure [INFO] [stdout] Source: src/generate/bind_group/mod.rs:568 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 0 │ #[derive(Debug)] [INFO] [stdout] 1 1 │ pub struct WgpuBindGroup0EntriesParams<'a> { [INFO] [stdout] 2 │- pub transforms: wgpu::BufferBinding<'a>, [INFO] [stdout] 3 │- pub acc_struct: &'a wgpu::Tlas, [INFO] [stdout] 2 │+ pub transforms: wgpu::BufferBinding<'a>, [INFO] [stdout] 3 │+ pub acc_struct: &'a wgpu::Tlas, [INFO] [stdout] 4 4 │ } [INFO] [stdout] 5 5 │ #[derive(Clone, Debug)] [INFO] [stdout] 6 6 │ pub struct WgpuBindGroup0Entries<'a> { [INFO] [stdout] 7 │- pub transforms: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 8 │- pub acc_struct: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 7 │+ pub transforms: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 8 │+ pub acc_struct: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 9 9 │ } [INFO] [stdout] 10 10 │ impl<'a> WgpuBindGroup0Entries<'a> { [INFO] [stdout] 11 │- pub fn new(params: WgpuBindGroup0EntriesParams<'a>) -> Self { [INFO] [stdout] 12 │- Self { [INFO] [stdout] 13 │- transforms: wgpu::BindGroupEntry { [INFO] [stdout] 14 │- binding: 0, [INFO] [stdout] 15 │- resource: wgpu::BindingResource::Buffer(params.transforms), [INFO] [stdout] 16 │- }, [INFO] [stdout] 17 │- acc_struct: wgpu::BindGroupEntry { [INFO] [stdout] 18 │- binding: 1, [INFO] [stdout] 19 │- resource: wgpu::BindingResource::AccelerationStructure(params.acc_struct), [INFO] [stdout] 20 │- }, [INFO] [stdout] 11 │+ pub fn new(params: WgpuBindGroup0EntriesParams<'a>) -> Self { [INFO] [stdout] 12 │+ Self { [INFO] [stdout] 13 │+ transforms: wgpu::BindGroupEntry { [INFO] [stdout] 14 │+ binding: 0, [INFO] [stdout] 15 │+ resource: wgpu::BindingResource::Buffer(params.transforms), [INFO] [stdout] 16 │+ }, [INFO] [stdout] 17 │+ acc_struct: wgpu::BindGroupEntry { [INFO] [stdout] 18 │+ binding: 1, [INFO] [stdout] 19 │+ resource: wgpu::BindingResource::AccelerationStructure(params.acc_struct), [INFO] [stdout] 20 │+ }, [INFO] [stdout] 21 │+ } [INFO] [stdout] 22 │+ } [INFO] [stdout] 23 │+ pub fn into_array(self) -> [wgpu::BindGroupEntry<'a>; 2] { [INFO] [stdout] 24 │+ [self.transforms, self.acc_struct] [INFO] [stdout] 25 │+ } [INFO] [stdout] 26 │+ pub fn collect>>(self) -> B { [INFO] [stdout] 27 │+ self.into_array().into_iter().collect() [INFO] [stdout] 21 28 │ } [INFO] [stdout] 22 │- } [INFO] [stdout] 23 │- pub fn into_array(self) -> [wgpu::BindGroupEntry<'a>; 2] { [INFO] [stdout] 24 │- [self.transforms, self.acc_struct] [INFO] [stdout] 25 │- } [INFO] [stdout] 26 │- pub fn collect>>(self) -> B { [INFO] [stdout] 27 │- self.into_array().into_iter().collect() [INFO] [stdout] 28 │- } [INFO] [stdout] 29 29 │ } [INFO] [stdout] 30 30 │ #[derive(Debug)] [INFO] [stdout] 31 31 │ pub struct WgpuBindGroup0(wgpu::BindGroup); [INFO] [stdout] 32 32 │ impl WgpuBindGroup0 { [INFO] [stdout] 33 │- pub const LAYOUT_DESCRIPTOR: wgpu::BindGroupLayoutDescriptor<'static> = [INFO] [stdout] 34 │- wgpu::BindGroupLayoutDescriptor { [INFO] [stdout] 35 │- label: Some("Test::BindGroup0::LayoutDescriptor"), [INFO] [stdout] 36 │- entries: &[ [INFO] [stdout] 37 │- #[doc = " @binding(0): \"transforms\""] [INFO] [stdout] 38 │- wgpu::BindGroupLayoutEntry { [INFO] [stdout] 39 │- binding: 0, [INFO] [stdout] 40 │- visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 41 │- ty: wgpu::BindingType::Buffer { [INFO] [stdout] 42 │- ty: wgpu::BufferBindingType::Uniform, [INFO] [stdout] 43 │- has_dynamic_offset: false, [INFO] [stdout] 44 │- min_binding_size: std::num::NonZeroU64::new(std::mem::size_of::< [INFO] [stdout] 45 │- _root::test::Transforms, [INFO] [stdout] 46 │- >() as _), [INFO] [stdout] 47 │- }, [INFO] [stdout] 48 │- count: None, [INFO] [stdout] 49 │- }, [INFO] [stdout] 50 │- #[doc = " @binding(1): \"acc_struct\""] [INFO] [stdout] 51 │- wgpu::BindGroupLayoutEntry { [INFO] [stdout] 52 │- binding: 1, [INFO] [stdout] 53 │- visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 54 │- ty: wgpu::BindingType::AccelerationStructure { [INFO] [stdout] 55 │- vertex_return: false, [INFO] [stdout] 56 │- }, [INFO] [stdout] 57 │- count: None, [INFO] [stdout] 58 │- }, [INFO] [stdout] 59 │- ], [INFO] [stdout] 33 │+ pub const LAYOUT_DESCRIPTOR: wgpu::BindGroupLayoutDescriptor<'static> = wgpu::BindGroupLayoutDescriptor { [INFO] [stdout] 34 │+ label: Some("Test::BindGroup0::LayoutDescriptor"), [INFO] [stdout] 35 │+ entries: &[ [INFO] [stdout] 36 │+ /// @binding(0): "transforms" [INFO] [stdout] 37 │+ wgpu::BindGroupLayoutEntry { [INFO] [stdout] 38 │+ binding: 0, [INFO] [stdout] 39 │+ visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 40 │+ ty: wgpu::BindingType::Buffer { [INFO] [stdout] 41 │+ ty: wgpu::BufferBindingType::Uniform, [INFO] [stdout] 42 │+ has_dynamic_offset: false, [INFO] [stdout] 43 │+ min_binding_size: std::num::NonZeroU64::new( [INFO] [stdout] 44 │+ std::mem::size_of::<_root::test::Transforms>() as _, [INFO] [stdout] 45 │+ ), [INFO] [stdout] 46 │+ }, [INFO] [stdout] 47 │+ count: None, [INFO] [stdout] 48 │+ }, [INFO] [stdout] 49 │+ /// @binding(1): "acc_struct" [INFO] [stdout] 50 │+ wgpu::BindGroupLayoutEntry { [INFO] [stdout] 51 │+ binding: 1, [INFO] [stdout] 52 │+ visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 53 │+ ty: wgpu::BindingType::AccelerationStructure { [INFO] [stdout] 54 │+ vertex_return: false, [INFO] [stdout] 55 │+ }, [INFO] [stdout] 56 │+ count: None, [INFO] [stdout] 57 │+ }, [INFO] [stdout] 58 │+ ], [INFO] [stdout] 60 59 │ }; [INFO] [stdout] 61 │- pub fn get_bind_group_layout(device: &wgpu::Device) -> wgpu::BindGroupLayout { [INFO] [stdout] 62 │- device.create_bind_group_layout(&Self::LAYOUT_DESCRIPTOR) [INFO] [stdout] 63 │- } [INFO] [stdout] 64 │- pub fn from_bindings(device: &wgpu::Device, bindings: WgpuBindGroup0Entries) -> Self { [INFO] [stdout] 65 │- let bind_group_layout = Self::get_bind_group_layout(device); [INFO] [stdout] 66 │- let entries = bindings.into_array(); [INFO] [stdout] 67 │- let bind_group = device.create_bind_group(&wgpu::BindGroupDescriptor { [INFO] [stdout] 68 │- label: Some("Test::BindGroup0"), [INFO] [stdout] 69 │- layout: &bind_group_layout, [INFO] [stdout] 70 │- entries: &entries, [INFO] [stdout] 71 │- }); [INFO] [stdout] 72 │- Self(bind_group) [INFO] [stdout] 73 │- } [INFO] [stdout] 74 │- pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 75 │- pass.set_bind_group(0, &self.0, &[]); [INFO] [stdout] 76 │- } [INFO] [stdout] 60 │+ pub fn get_bind_group_layout(device: &wgpu::Device) -> wgpu::BindGroupLayout { [INFO] [stdout] 61 │+ device.create_bind_group_layout(&Self::LAYOUT_DESCRIPTOR) [INFO] [stdout] 62 │+ } [INFO] [stdout] 63 │+ pub fn from_bindings( [INFO] [stdout] 64 │+ device: &wgpu::Device, [INFO] [stdout] 65 │+ bindings: WgpuBindGroup0Entries, [INFO] [stdout] 66 │+ ) -> Self { [INFO] [stdout] 67 │+ let bind_group_layout = Self::get_bind_group_layout(device); [INFO] [stdout] 68 │+ let entries = bindings.into_array(); [INFO] [stdout] 69 │+ let bind_group = device [INFO] [stdout] 70 │+ .create_bind_group( [INFO] [stdout] 71 │+ &wgpu::BindGroupDescriptor { [INFO] [stdout] 72 │+ label: Some("Test::BindGroup0"), [INFO] [stdout] 73 │+ layout: &bind_group_layout, [INFO] [stdout] 74 │+ entries: &entries, [INFO] [stdout] 75 │+ }, [INFO] [stdout] 76 │+ ); [INFO] [stdout] 77 │+ Self(bind_group) [INFO] [stdout] 78 │+ } [INFO] [stdout] 79 │+ pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 80 │+ pass.set_bind_group(0, &self.0, &[]); [INFO] [stdout] 81 │+ } [INFO] [stdout] 77 82 │ } [INFO] [stdout] 78 │-#[doc = " Bind groups can be set individually using their set(render_pass) method, or all at once using `WgpuBindGroups::set`."] [INFO] [stdout] 79 │-#[doc = " For optimal performance with many draw calls, it's recommended to organize bindings into bind groups based on update frequency:"] [INFO] [stdout] 80 │-#[doc = " - Bind group 0: Least frequent updates (e.g. per frame resources)"] [INFO] [stdout] 81 │-#[doc = " - Bind group 1: More frequent updates"] [INFO] [stdout] 82 │-#[doc = " - Bind group 2: More frequent updates"] [INFO] [stdout] 83 │-#[doc = " - Bind group 3: Most frequent updates (e.g. per draw resources)"] [INFO] [stdout] 83 │+/// Bind groups can be set individually using their set(render_pass) method, or all at once using `WgpuBindGroups::set`. [INFO] [stdout] 84 │+/// For optimal performance with many draw calls, it's recommended to organize bindings into bind groups based on update frequency: [INFO] [stdout] 85 │+/// - Bind group 0: Least frequent updates (e.g. per frame resources) [INFO] [stdout] 86 │+/// - Bind group 1: More frequent updates [INFO] [stdout] 87 │+/// - Bind group 2: More frequent updates [INFO] [stdout] 88 │+/// - Bind group 3: Most frequent updates (e.g. per draw resources) [INFO] [stdout] 84 89 │ #[derive(Debug, Copy, Clone)] [INFO] [stdout] 85 90 │ pub struct WgpuBindGroups<'a> { [INFO] [stdout] 86 │- pub bind_group0: &'a WgpuBindGroup0, [INFO] [stdout] 91 │+ pub bind_group0: &'a WgpuBindGroup0, [INFO] [stdout] 87 92 │ } [INFO] [stdout] 88 93 │ impl<'a> WgpuBindGroups<'a> { [INFO] [stdout] 89 │- pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 90 │- self.bind_group0.set(pass); [INFO] [stdout] 91 │- } [INFO] [stdout] 94 │+ pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 95 │+ self.bind_group0.set(pass); [INFO] [stdout] 96 │+ } [INFO] [stdout] 92 97 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'generate::bind_group::tests::bind_groups_module_acceleration_structure' (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: 0x64d434624cd2 - std::backtrace_rs::backtrace::libunwind::trace::h7cddb8376417e7cc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x64d434624cd2 - std::backtrace_rs::backtrace::trace_unsynchronized::hb4e41acf4b349ff1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x64d434624cd2 - std::sys::backtrace::_print_fmt::h1222b80910ba6eb5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x64d434624cd2 - ::fmt::h5bb8a979ba5db788 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x64d434638d3f - core::fmt::rt::Argument::fmt::h2ee2c138a50a7796 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x64d434638d3f - core::fmt::write::h1e0dbf07fe3990bd [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x64d4345f03a3 - std::io::default_write_fmt::h7d7ad5ed6a883d81 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x64d4345f03a3 - std::io::Write::write_fmt::hc477d9325b345ece [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x64d4345fcc52 - std::sys::backtrace::BacktraceLock::print::h788d486777205086 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x64d43460282f - std::panicking::default_hook::{{closure}}::ha7bdfeb5949fc0fa [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x64d4346026c1 - std::panicking::default_hook::h6dad75ec721846f4 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x64d433d3b72e - as core::ops::function::Fn>::call::h33799d04b0b96146 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x64d433d3b72e - test::test_main_with_exit_callback::{{closure}}::h880e31c829a2eb5d [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x64d434602f7e - as core::ops::function::Fn>::call::h5e1b8c652ea49180 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x64d434602f7e - std::panicking::panic_with_hook::hba00e869ada17676 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x64d434602c9a - std::panicking::panic_handler::{{closure}}::h3d21149c258e5ceb [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x64d4345fcd89 - std::sys::backtrace::__rust_end_short_backtrace::h4f5d9b9dfb3e6ec1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x64d4345e34ad - __rustc[9a7a9f9af7564de1]::rust_begin_unwind [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x64d434643df0 - core::panicking::panic_fmt::h78e817a90331d98b [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x64d434642b06 - core::result::unwrap_failed::h3ce108722ad88f1e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:1852:5 [INFO] [stdout] 20: 0x64d433b5fd43 - core::result::Result::unwrap::haafd36386984d778 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:1223:23 [INFO] [stdout] 21: 0x64d433b5fd43 - wgsl_bindgen::generate::bind_group::tests::bind_groups_module_acceleration_structure::{{closure}}::h2724afa25065438d [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x64d433b9c4df - insta::settings::Settings::bind::h24444fa14ad5c64c [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.1/src/settings.rs:509:9 [INFO] [stdout] 23: 0x64d433b5f875 - wgsl_bindgen::generate::bind_group::tests::bind_groups_module_acceleration_structure::hdbb26e61a37cb6fc [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x64d433b5fe37 - wgsl_bindgen::generate::bind_group::tests::bind_groups_module_acceleration_structure::{{closure}}::h7b240a2fe85804b2 [INFO] [stdout] at /opt/rustwide/workdir/src/generate/bind_group/mod.rs:536:49 [INFO] [stdout] 25: 0x64d433b725c6 - core::ops::function::FnOnce::call_once::he6ac108dd46f91e7 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x64d433d3b52b - core::ops::function::FnOnce::call_once::h7f4b4fba903e39d5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 27: 0x64d433d3b52b - test::__rust_begin_short_backtrace::h9277cb6a2ccfc000 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x64d433d50fd5 - test::run_test_in_process::{{closure}}::h9aea5ca90d1f4423 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x64d433d50fd5 - as core::ops::function::FnOnce<()>>::call_once::h364f5fe6cc8afa85 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 30: 0x64d433d50fd5 - std::panicking::catch_unwind::do_call::h2b2bec3317fe53ec [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x64d433d50fd5 - std::panicking::catch_unwind::hc3763734156da4af [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x64d433d50fd5 - std::panic::catch_unwind::h28038391e867eabc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x64d433d50fd5 - test::run_test_in_process::had0273166695a036 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x64d433d50fd5 - test::run_test::{{closure}}::h743d09d4bb476605 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x64d433d279f4 - test::run_test::{{closure}}::he950b8f9118d37e2 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x64d433d279f4 - std::sys::backtrace::__rust_begin_short_backtrace::hbfaffa6539f6abb7 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x64d433d2b2da - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hcce3c2c65b9c3b20 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x64d433d2b2da - as core::ops::function::FnOnce<()>>::call_once::hb66b30b6d37985a5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 39: 0x64d433d2b2da - std::panicking::catch_unwind::do_call::h992bbe2c32dc1d79 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x64d433d2b2da - std::panicking::catch_unwind::h412991d5237de610 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x64d433d2b2da - std::panic::catch_unwind::ha82b139b3eb5840a [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x64d433d2b2da - std::thread::Builder::spawn_unchecked_::{{closure}}::ha823b36f5114938e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x64d433d2b2da - core::ops::function::FnOnce::call_once{{vtable.shim}}::hf120e7b1db22ac07 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 44: 0x64d4345f6cdf - as core::ops::function::FnOnce>::call_once::h3e049222c99298ac [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 45: 0x64d4345f6cdf - std::sys::pal::unix::thread::Thread::new::thread_start::h942e336943ad5963 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 46: 0x7220e1521aa4 - [INFO] [stdout] 47: 0x7220e15aea34 - 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 'cdb45c87e2cd43495379f7e867e3cc15dcee9f93'. [INFO] [stdout] note: this is a custom toolchain, which cannot use `rustup component add` [INFO] [stdout] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py` [INFO] [stdout] ), falling back to prettyplease [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/generate/snapshots/write_vertex_module_single_input_float32.snap [INFO] [stdout] Snapshot: write_vertex_module_single_input_float32 [INFO] [stdout] Source: src/generate/entry.rs:355 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 0 │ impl VertexInput0 { [INFO] [stdout] 1 │- pub const VERTEX_ATTRIBUTES: [wgpu::VertexAttribute; 4] = [ [INFO] [stdout] 2 │- wgpu::VertexAttribute { [INFO] [stdout] 3 │- format: wgpu::VertexFormat::Float32, [INFO] [stdout] 4 │- offset: std::mem::offset_of!(Self, a) as u64, [INFO] [stdout] 5 │- shader_location: 0, [INFO] [stdout] 6 │- }, [INFO] [stdout] 7 │- wgpu::VertexAttribute { [INFO] [stdout] 8 │- format: wgpu::VertexFormat::Float32x2, [INFO] [stdout] 9 │- offset: std::mem::offset_of!(Self, b) as u64, [INFO] [stdout] 10 │- shader_location: 1, [INFO] [stdout] 11 │- }, [INFO] [stdout] 12 │- wgpu::VertexAttribute { [INFO] [stdout] 13 │- format: wgpu::VertexFormat::Float32x3, [INFO] [stdout] 14 │- offset: std::mem::offset_of!(Self, c) as u64, [INFO] [stdout] 15 │- shader_location: 2, [INFO] [stdout] 16 │- }, [INFO] [stdout] 17 │- wgpu::VertexAttribute { [INFO] [stdout] 18 │- format: wgpu::VertexFormat::Float32x4, [INFO] [stdout] 19 │- offset: std::mem::offset_of!(Self, d) as u64, [INFO] [stdout] 20 │- shader_location: 3, [INFO] [stdout] 21 │- }, [INFO] [stdout] 22 │- ]; [INFO] [stdout] 23 │- pub const fn vertex_buffer_layout( [INFO] [stdout] 24 │- step_mode: wgpu::VertexStepMode, [INFO] [stdout] 25 │- ) -> wgpu::VertexBufferLayout<'static> { [INFO] [stdout] 26 │- wgpu::VertexBufferLayout { [INFO] [stdout] 27 │- array_stride: std::mem::size_of::() as u64, [INFO] [stdout] 28 │- step_mode, [INFO] [stdout] 29 │- attributes: &Self::VERTEX_ATTRIBUTES, [INFO] [stdout] 1 │+ pub const VERTEX_ATTRIBUTES: [wgpu::VertexAttribute; 4] = [ [INFO] [stdout] 2 │+ wgpu::VertexAttribute { [INFO] [stdout] 3 │+ format: wgpu::VertexFormat::Float32, [INFO] [stdout] 4 │+ offset: std::mem::offset_of!(Self, a) as u64, [INFO] [stdout] 5 │+ shader_location: 0, [INFO] [stdout] 6 │+ }, [INFO] [stdout] 7 │+ wgpu::VertexAttribute { [INFO] [stdout] 8 │+ format: wgpu::VertexFormat::Float32x2, [INFO] [stdout] 9 │+ offset: std::mem::offset_of!(Self, b) as u64, [INFO] [stdout] 10 │+ shader_location: 1, [INFO] [stdout] 11 │+ }, [INFO] [stdout] 12 │+ wgpu::VertexAttribute { [INFO] [stdout] 13 │+ format: wgpu::VertexFormat::Float32x3, [INFO] [stdout] 14 │+ offset: std::mem::offset_of!(Self, c) as u64, [INFO] [stdout] 15 │+ shader_location: 2, [INFO] [stdout] 16 │+ }, [INFO] [stdout] 17 │+ wgpu::VertexAttribute { [INFO] [stdout] 18 │+ format: wgpu::VertexFormat::Float32x4, [INFO] [stdout] 19 │+ offset: std::mem::offset_of!(Self, d) as u64, [INFO] [stdout] 20 │+ shader_location: 3, [INFO] [stdout] 21 │+ }, [INFO] [stdout] 22 │+ ]; [INFO] [stdout] 23 │+ pub const fn vertex_buffer_layout( [INFO] [stdout] 24 │+ step_mode: wgpu::VertexStepMode, [INFO] [stdout] 25 │+ ) -> wgpu::VertexBufferLayout<'static> { [INFO] [stdout] 26 │+ wgpu::VertexBufferLayout { [INFO] [stdout] 27 │+ array_stride: std::mem::size_of::() as u64, [INFO] [stdout] 28 │+ step_mode, [INFO] [stdout] 29 │+ attributes: &Self::VERTEX_ATTRIBUTES, [INFO] [stdout] 30 │+ } [INFO] [stdout] 30 31 │ } [INFO] [stdout] 31 │- } [INFO] [stdout] 32 32 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'generate::entry::test::write_vertex_module_single_input_float32' (319) 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: 0x64d434624cd2 - std::backtrace_rs::backtrace::libunwind::trace::h7cddb8376417e7cc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x64d434624cd2 - std::backtrace_rs::backtrace::trace_unsynchronized::hb4e41acf4b349ff1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x64d434624cd2 - std::sys::backtrace::_print_fmt::h1222b80910ba6eb5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x64d434624cd2 - ::fmt::h5bb8a979ba5db788 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x64d434638d3f - core::fmt::rt::Argument::fmt::h2ee2c138a50a7796 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x64d434638d3f - core::fmt::write::h1e0dbf07fe3990bd [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x64d4345f03a3 - std::io::default_write_fmt::h7d7ad5ed6a883d81 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x64d4345f03a3 - std::io::Write::write_fmt::hc477d9325b345ece [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x64d4345fcc52 - std::sys::backtrace::BacktraceLock::print::h788d486777205086 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x64d43460282f - std::panicking::default_hook::{{closure}}::ha7bdfeb5949fc0fa [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x64d4346026c1 - std::panicking::default_hook::h6dad75ec721846f4 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x64d433d3b72e - as core::ops::function::Fn>::call::h33799d04b0b96146 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x64d433d3b72e - test::test_main_with_exit_callback::{{closure}}::h880e31c829a2eb5d [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x64d434602f7e - as core::ops::function::Fn>::call::h5e1b8c652ea49180 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x64d434602f7e - std::panicking::panic_with_hook::hba00e869ada17676 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x64d434602c9a - std::panicking::panic_handler::{{closure}}::h3d21149c258e5ceb [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x64d4345fcd89 - std::sys::backtrace::__rust_end_short_backtrace::h4f5d9b9dfb3e6ec1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x64d4345e34ad - __rustc[9a7a9f9af7564de1]::rust_begin_unwind [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x64d434643df0 - core::panicking::panic_fmt::h78e817a90331d98b [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x64d434642b06 - core::result::unwrap_failed::h3ce108722ad88f1e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:1852:5 [INFO] [stdout] 20: 0x64d433b667c3 - core::result::Result::unwrap::haafd36386984d778 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:1223:23 [INFO] [stdout] 21: 0x64d433b667c3 - wgsl_bindgen::generate::entry::test::write_vertex_module_single_input_float32::{{closure}}::h81613200aebe556d [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x64d433b9d83f - insta::settings::Settings::bind::hb887524d449ea66f [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.1/src/settings.rs:509:9 [INFO] [stdout] 23: 0x64d433b662e5 - wgsl_bindgen::generate::entry::test::write_vertex_module_single_input_float32::heb7e8f8dae472293 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x64d433b66397 - wgsl_bindgen::generate::entry::test::write_vertex_module_single_input_float32::{{closure}}::h3d514aa718d0f13e [INFO] [stdout] at /opt/rustwide/workdir/src/generate/entry.rs:336:48 [INFO] [stdout] 25: 0x64d433b71f76 - core::ops::function::FnOnce::call_once::hb12ff659103dbefb [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x64d433d3b52b - core::ops::function::FnOnce::call_once::h7f4b4fba903e39d5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 27: 0x64d433d3b52b - test::__rust_begin_short_backtrace::h9277cb6a2ccfc000 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x64d433d50fd5 - test::run_test_in_process::{{closure}}::h9aea5ca90d1f4423 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x64d433d50fd5 - as core::ops::function::FnOnce<()>>::call_once::h364f5fe6cc8afa85 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 30: 0x64d433d50fd5 - std::panicking::catch_unwind::do_call::h2b2bec3317fe53ec [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x64d433d50fd5 - std::panicking::catch_unwind::hc3763734156da4af [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x64d433d50fd5 - std::panic::catch_unwind::h28038391e867eabc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x64d433d50fd5 - test::run_test_in_process::had0273166695a036 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x64d433d50fd5 - test::run_test::{{closure}}::h743d09d4bb476605 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x64d433d279f4 - test::run_test::{{closure}}::he950b8f9118d37e2 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x64d433d279f4 - std::sys::backtrace::__rust_begin_short_backtrace::hbfaffa6539f6abb7 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x64d433d2b2da - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hcce3c2c65b9c3b20 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x64d433d2b2da - as core::ops::function::FnOnce<()>>::call_once::hb66b30b6d37985a5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 39: 0x64d433d2b2da - std::panicking::catch_unwind::do_call::h992bbe2c32dc1d79 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x64d433d2b2da - std::panicking::catch_unwind::h412991d5237de610 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x64d433d2b2da - std::panic::catch_unwind::ha82b139b3eb5840a [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x64d433d2b2da - std::thread::Builder::spawn_unchecked_::{{closure}}::ha823b36f5114938e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x64d433d2b2da - core::ops::function::FnOnce::call_once{{vtable.shim}}::hf120e7b1db22ac07 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 44: 0x64d4345f6cdf - as core::ops::function::FnOnce>::call_once::h3e049222c99298ac [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 45: 0x64d4345f6cdf - std::sys::pal::unix::thread::Thread::new::thread_start::h942e336943ad5963 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 46: 0x7220e1521aa4 - [INFO] [stdout] 47: 0x7220e15aea34 - 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 'cdb45c87e2cd43495379f7e867e3cc15dcee9f93'. [INFO] [stdout] note: this is a custom toolchain, which cannot use `rustup component add` [INFO] [stdout] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py` [INFO] [stdout] ), falling back to prettyplease [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/generate/snapshots/write_fragment_states_multiple_entries.snap [INFO] [stdout] Snapshot: write_fragment_states_multiple_entries [INFO] [stdout] Source: src/generate/entry.rs:521 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 0 │ #[derive(Debug)] [INFO] [stdout] 1 1 │ pub struct FragmentEntry { [INFO] [stdout] 2 │- pub entry_point: &'static str, [INFO] [stdout] 3 │- pub targets: [Option; N], [INFO] [stdout] 4 │- pub constants: Vec<(&'static str, f64)>, [INFO] [stdout] 2 │+ pub entry_point: &'static str, [INFO] [stdout] 3 │+ pub targets: [Option; N], [INFO] [stdout] 4 │+ pub constants: Vec<(&'static str, f64)>, [INFO] [stdout] 5 5 │ } [INFO] [stdout] 6 6 │ pub fn fragment_state<'a, const N: usize>( [INFO] [stdout] 7 │- module: &'a wgpu::ShaderModule, [INFO] [stdout] 8 │- entry: &'a FragmentEntry, [INFO] [stdout] 7 │+ module: &'a wgpu::ShaderModule, [INFO] [stdout] 8 │+ entry: &'a FragmentEntry, [INFO] [stdout] 9 9 │ ) -> wgpu::FragmentState<'a> { [INFO] [stdout] 10 │- wgpu::FragmentState { [INFO] [stdout] 11 │- module, [INFO] [stdout] 12 │- entry_point: Some(entry.entry_point), [INFO] [stdout] 13 │- targets: &entry.targets, [INFO] [stdout] 14 │- compilation_options: wgpu::PipelineCompilationOptions { [INFO] [stdout] 15 │- constants: &entry.constants, [INFO] [stdout] 16 │- ..Default::default() [INFO] [stdout] 17 │- }, [INFO] [stdout] 18 │- } [INFO] [stdout] 10 │+ wgpu::FragmentState { [INFO] [stdout] 11 │+ module, [INFO] [stdout] 12 │+ entry_point: Some(entry.entry_point), [INFO] [stdout] 13 │+ targets: &entry.targets, [INFO] [stdout] 14 │+ compilation_options: wgpu::PipelineCompilationOptions { [INFO] [stdout] 15 │+ constants: &entry.constants, [INFO] [stdout] 16 │+ ..Default::default() [INFO] [stdout] 17 │+ }, [INFO] [stdout] 18 │+ } [INFO] [stdout] 19 19 │ } [INFO] [stdout] 20 20 │ pub fn fs_multiple_entry( [INFO] [stdout] 21 │- targets: [Option; 2], [INFO] [stdout] 21 │+ targets: [Option; 2], [INFO] [stdout] 22 22 │ ) -> FragmentEntry<2> { [INFO] [stdout] 23 │- FragmentEntry { [INFO] [stdout] 24 │- entry_point: ENTRY_FS_MULTIPLE, [INFO] [stdout] 25 │- targets, [INFO] [stdout] 26 │- constants: Default::default(), [INFO] [stdout] 27 │- } [INFO] [stdout] 23 │+ FragmentEntry { [INFO] [stdout] 24 │+ entry_point: ENTRY_FS_MULTIPLE, [INFO] [stdout] 25 │+ targets, [INFO] [stdout] 26 │+ constants: Default::default(), [INFO] [stdout] 27 │+ } [INFO] [stdout] 28 28 │ } [INFO] [stdout] 29 │-pub fn fs_single_entry(targets: [Option; 1]) -> FragmentEntry<1> { [INFO] [stdout] 30 │- FragmentEntry { [INFO] [stdout] 31 │- entry_point: ENTRY_FS_SINGLE, [INFO] [stdout] 32 │- targets, [INFO] [stdout] 33 │- constants: Default::default(), [INFO] [stdout] 34 │- } [INFO] [stdout] 29 │+pub fn fs_single_entry( [INFO] [stdout] 30 │+ targets: [Option; 1], [INFO] [stdout] 31 │+) -> FragmentEntry<1> { [INFO] [stdout] 32 │+ FragmentEntry { [INFO] [stdout] 33 │+ entry_point: ENTRY_FS_SINGLE, [INFO] [stdout] 34 │+ targets, [INFO] [stdout] 35 │+ constants: Default::default(), [INFO] [stdout] 36 │+ } [INFO] [stdout] 35 37 │ } [INFO] [stdout] 36 38 │ pub fn fs_single_builtin_entry( [INFO] [stdout] 37 │- targets: [Option; 0], [INFO] [stdout] 39 │+ targets: [Option; 0], [INFO] [stdout] 38 40 │ ) -> FragmentEntry<0> { [INFO] [stdout] 39 │- FragmentEntry { [INFO] [stdout] 40 │- entry_point: ENTRY_FS_SINGLE_BUILTIN, [INFO] [stdout] 41 │- targets, [INFO] [stdout] 42 │- constants: Default::default(), [INFO] [stdout] 43 │- } [INFO] [stdout] 41 │+ FragmentEntry { [INFO] [stdout] 42 │+ entry_point: ENTRY_FS_SINGLE_BUILTIN, [INFO] [stdout] 43 │+ targets, [INFO] [stdout] 44 │+ constants: Default::default(), [INFO] [stdout] 45 │+ } [INFO] [stdout] 44 46 │ } [INFO] [stdout] 45 47 │ pub fn fs_empty_entry(targets: [Option; 0]) -> FragmentEntry<0> { [INFO] [stdout] 46 │- FragmentEntry { [INFO] [stdout] 47 │- entry_point: ENTRY_FS_EMPTY, [INFO] [stdout] 48 │- targets, [INFO] [stdout] 49 │- constants: Default::default(), [INFO] [stdout] 50 │- } [INFO] [stdout] 48 │+ FragmentEntry { [INFO] [stdout] 49 │+ entry_point: ENTRY_FS_EMPTY, [INFO] [stdout] 50 │+ targets, [INFO] [stdout] 51 │+ constants: Default::default(), [INFO] [stdout] 52 │+ } [INFO] [stdout] 51 53 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'generate::entry::test::write_fragment_states_multiple_entries' (102) 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: 0x64d434624cd2 - std::backtrace_rs::backtrace::libunwind::trace::h7cddb8376417e7cc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x64d434624cd2 - std::backtrace_rs::backtrace::trace_unsynchronized::hb4e41acf4b349ff1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x64d434624cd2 - std::sys::backtrace::_print_fmt::h1222b80910ba6eb5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x64d434624cd2 - ::fmt::h5bb8a979ba5db788 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x64d434638d3f - core::fmt::rt::Argument::fmt::h2ee2c138a50a7796 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x64d434638d3f - core::fmt::write::h1e0dbf07fe3990bd [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x64d4345f03a3 - std::io::default_write_fmt::h7d7ad5ed6a883d81 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x64d4345f03a3 - std::io::Write::write_fmt::hc477d9325b345ece [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x64d4345fcc52 - std::sys::backtrace::BacktraceLock::print::h788d486777205086 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x64d43460282f - std::panicking::default_hook::{{closure}}::ha7bdfeb5949fc0fa [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x64d4346026c1 - std::panicking::default_hook::h6dad75ec721846f4 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x64d433d3b72e - as core::ops::function::Fn>::call::h33799d04b0b96146 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x64d433d3b72e - test::test_main_with_exit_callback::{{closure}}::h880e31c829a2eb5d [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x64d434602f7e - as core::ops::function::Fn>::call::h5e1b8c652ea49180 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x64d434602f7e - std::panicking::panic_with_hook::hba00e869ada17676 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x64d434602c9a - std::panicking::panic_handler::{{closure}}::h3d21149c258e5ceb [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x64d4345fcd89 - std::sys::backtrace::__rust_end_short_backtrace::h4f5d9b9dfb3e6ec1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x64d4345e34ad - __rustc[9a7a9f9af7564de1]::rust_begin_unwind [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x64d434643df0 - core::panicking::panic_fmt::h78e817a90331d98b [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x64d434642b06 - core::result::unwrap_failed::h3ce108722ad88f1e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:1852:5 [INFO] [stdout] 20: 0x64d433b655b3 - core::result::Result::unwrap::haafd36386984d778 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:1223:23 [INFO] [stdout] 21: 0x64d433b655b3 - wgsl_bindgen::generate::entry::test::write_fragment_states_multiple_entries::{{closure}}::hf289a59825926e3e [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x64d433b9c43f - insta::settings::Settings::bind::h14db522d71f114fe [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.1/src/settings.rs:509:9 [INFO] [stdout] 23: 0x64d433b650cf - wgsl_bindgen::generate::entry::test::write_fragment_states_multiple_entries::h9ae18e434ef69f1f [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x64d433b65187 - wgsl_bindgen::generate::entry::test::write_fragment_states_multiple_entries::{{closure}}::hd1bc73c1e5d8c1e9 [INFO] [stdout] at /opt/rustwide/workdir/src/generate/entry.rs:500:46 [INFO] [stdout] 25: 0x64d433b71266 - core::ops::function::FnOnce::call_once::h5d8769031903bd01 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x64d433d3b52b - core::ops::function::FnOnce::call_once::h7f4b4fba903e39d5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 27: 0x64d433d3b52b - test::__rust_begin_short_backtrace::h9277cb6a2ccfc000 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x64d433d50fd5 - test::run_test_in_process::{{closure}}::h9aea5ca90d1f4423 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x64d433d50fd5 - as core::ops::function::FnOnce<()>>::call_once::h364f5fe6cc8afa85 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 30: 0x64d433d50fd5 - std::panicking::catch_unwind::do_call::h2b2bec3317fe53ec [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x64d433d50fd5 - std::panicking::catch_unwind::hc3763734156da4af [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x64d433d50fd5 - std::panic::catch_unwind::h28038391e867eabc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x64d433d50fd5 - test::run_test_in_process::had0273166695a036 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x64d433d50fd5 - test::run_test::{{closure}}::h743d09d4bb476605 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x64d433d279f4 - test::run_test::{{closure}}::he950b8f9118d37e2 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x64d433d279f4 - std::sys::backtrace::__rust_begin_short_backtrace::hbfaffa6539f6abb7 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x64d433d2b2da - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hcce3c2c65b9c3b20 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x64d433d2b2da - as core::ops::function::FnOnce<()>>::call_once::hb66b30b6d37985a5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 39: 0x64d433d2b2da - std::panicking::catch_unwind::do_call::h992bbe2c32dc1d79 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x64d433d2b2da - std::panicking::catch_unwind::h412991d5237de610 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x64d433d2b2da - std::panic::catch_unwind::ha82b139b3eb5840a [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x64d433d2b2da - std::thread::Builder::spawn_unchecked_::{{closure}}::ha823b36f5114938e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x64d433d2b2da - core::ops::function::FnOnce::call_once{{vtable.shim}}::hf120e7b1db22ac07 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 44: 0x64d4345f6cdf - as core::ops::function::FnOnce>::call_once::h3e049222c99298ac [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 45: 0x64d4345f6cdf - std::sys::pal::unix::thread::Thread::new::thread_start::h942e336943ad5963 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 46: 0x7220e1521aa4 - [INFO] [stdout] 47: 0x7220e15aea34 - 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 'cdb45c87e2cd43495379f7e867e3cc15dcee9f93'. [INFO] [stdout] note: this is a custom toolchain, which cannot use `rustup component add` [INFO] [stdout] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py` [INFO] [stdout] ), falling back to prettyplease [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/generate/bind_group/snapshots/bind_groups_module_vertex.snap [INFO] [stdout] Snapshot: bind_groups_module_vertex [INFO] [stdout] Source: src/generate/bind_group/mod.rs:499 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 0 │ #[derive(Debug)] [INFO] [stdout] 1 1 │ pub struct WgpuBindGroup0EntriesParams<'a> { [INFO] [stdout] 2 │- pub transforms: wgpu::BufferBinding<'a>, [INFO] [stdout] 2 │+ pub transforms: wgpu::BufferBinding<'a>, [INFO] [stdout] 3 3 │ } [INFO] [stdout] 4 4 │ #[derive(Clone, Debug)] [INFO] [stdout] 5 5 │ pub struct WgpuBindGroup0Entries<'a> { [INFO] [stdout] 6 │- pub transforms: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 6 │+ pub transforms: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 7 7 │ } [INFO] [stdout] 8 8 │ impl<'a> WgpuBindGroup0Entries<'a> { [INFO] [stdout] 9 │- pub fn new(params: WgpuBindGroup0EntriesParams<'a>) -> Self { [INFO] [stdout] 10 │- Self { [INFO] [stdout] 11 │- transforms: wgpu::BindGroupEntry { [INFO] [stdout] 12 │- binding: 0, [INFO] [stdout] 13 │- resource: wgpu::BindingResource::Buffer(params.transforms), [INFO] [stdout] 14 │- }, [INFO] [stdout] 9 │+ pub fn new(params: WgpuBindGroup0EntriesParams<'a>) -> Self { [INFO] [stdout] 10 │+ Self { [INFO] [stdout] 11 │+ transforms: wgpu::BindGroupEntry { [INFO] [stdout] 12 │+ binding: 0, [INFO] [stdout] 13 │+ resource: wgpu::BindingResource::Buffer(params.transforms), [INFO] [stdout] 14 │+ }, [INFO] [stdout] 15 │+ } [INFO] [stdout] 16 │+ } [INFO] [stdout] 17 │+ pub fn into_array(self) -> [wgpu::BindGroupEntry<'a>; 1] { [INFO] [stdout] 18 │+ [self.transforms] [INFO] [stdout] 19 │+ } [INFO] [stdout] 20 │+ pub fn collect>>(self) -> B { [INFO] [stdout] 21 │+ self.into_array().into_iter().collect() [INFO] [stdout] 15 22 │ } [INFO] [stdout] 16 │- } [INFO] [stdout] 17 │- pub fn into_array(self) -> [wgpu::BindGroupEntry<'a>; 1] { [INFO] [stdout] 18 │- [self.transforms] [INFO] [stdout] 19 │- } [INFO] [stdout] 20 │- pub fn collect>>(self) -> B { [INFO] [stdout] 21 │- self.into_array().into_iter().collect() [INFO] [stdout] 22 │- } [INFO] [stdout] 23 23 │ } [INFO] [stdout] 24 24 │ #[derive(Debug)] [INFO] [stdout] 25 25 │ pub struct WgpuBindGroup0(wgpu::BindGroup); [INFO] [stdout] 26 26 │ impl WgpuBindGroup0 { [INFO] [stdout] 27 │- pub const LAYOUT_DESCRIPTOR: wgpu::BindGroupLayoutDescriptor<'static> = [INFO] [stdout] 28 │- wgpu::BindGroupLayoutDescriptor { [INFO] [stdout] 29 │- label: Some("Test::BindGroup0::LayoutDescriptor"), [INFO] [stdout] 30 │- entries: &[ [INFO] [stdout] 31 │- #[doc = " @binding(0): \"transforms\""] [INFO] [stdout] 32 │- wgpu::BindGroupLayoutEntry { [INFO] [stdout] 33 │- binding: 0, [INFO] [stdout] 34 │- visibility: wgpu::ShaderStages::VERTEX, [INFO] [stdout] 35 │- ty: wgpu::BindingType::Buffer { [INFO] [stdout] 36 │- ty: wgpu::BufferBindingType::Uniform, [INFO] [stdout] 37 │- has_dynamic_offset: false, [INFO] [stdout] 38 │- min_binding_size: std::num::NonZeroU64::new(std::mem::size_of::< [INFO] [stdout] 39 │- _root::test::Transforms, [INFO] [stdout] 40 │- >() as _), [INFO] [stdout] 41 │- }, [INFO] [stdout] 42 │- count: None, [INFO] [stdout] 43 │- }, [INFO] [stdout] 44 │- ], [INFO] [stdout] 27 │+ pub const LAYOUT_DESCRIPTOR: wgpu::BindGroupLayoutDescriptor<'static> = wgpu::BindGroupLayoutDescriptor { [INFO] [stdout] 28 │+ label: Some("Test::BindGroup0::LayoutDescriptor"), [INFO] [stdout] 29 │+ entries: &[ [INFO] [stdout] 30 │+ /// @binding(0): "transforms" [INFO] [stdout] 31 │+ wgpu::BindGroupLayoutEntry { [INFO] [stdout] 32 │+ binding: 0, [INFO] [stdout] 33 │+ visibility: wgpu::ShaderStages::VERTEX, [INFO] [stdout] 34 │+ ty: wgpu::BindingType::Buffer { [INFO] [stdout] 35 │+ ty: wgpu::BufferBindingType::Uniform, [INFO] [stdout] 36 │+ has_dynamic_offset: false, [INFO] [stdout] 37 │+ min_binding_size: std::num::NonZeroU64::new( [INFO] [stdout] 38 │+ std::mem::size_of::<_root::test::Transforms>() as _, [INFO] [stdout] 39 │+ ), [INFO] [stdout] 40 │+ }, [INFO] [stdout] 41 │+ count: None, [INFO] [stdout] 42 │+ }, [INFO] [stdout] 43 │+ ], [INFO] [stdout] 45 44 │ }; [INFO] [stdout] 46 │- pub fn get_bind_group_layout(device: &wgpu::Device) -> wgpu::BindGroupLayout { [INFO] [stdout] 47 │- device.create_bind_group_layout(&Self::LAYOUT_DESCRIPTOR) [INFO] [stdout] 48 │- } [INFO] [stdout] 49 │- pub fn from_bindings(device: &wgpu::Device, bindings: WgpuBindGroup0Entries) -> Self { [INFO] [stdout] 50 │- let bind_group_layout = Self::get_bind_group_layout(device); [INFO] [stdout] 51 │- let entries = bindings.into_array(); [INFO] [stdout] 52 │- let bind_group = device.create_bind_group(&wgpu::BindGroupDescriptor { [INFO] [stdout] 53 │- label: Some("Test::BindGroup0"), [INFO] [stdout] 54 │- layout: &bind_group_layout, [INFO] [stdout] 55 │- entries: &entries, [INFO] [stdout] 56 │- }); [INFO] [stdout] 57 │- Self(bind_group) [INFO] [stdout] 58 │- } [INFO] [stdout] 59 │- pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 60 │- pass.set_bind_group(0, &self.0, &[]); [INFO] [stdout] 61 │- } [INFO] [stdout] 45 │+ pub fn get_bind_group_layout(device: &wgpu::Device) -> wgpu::BindGroupLayout { [INFO] [stdout] 46 │+ device.create_bind_group_layout(&Self::LAYOUT_DESCRIPTOR) [INFO] [stdout] 47 │+ } [INFO] [stdout] 48 │+ pub fn from_bindings( [INFO] [stdout] 49 │+ device: &wgpu::Device, [INFO] [stdout] 50 │+ bindings: WgpuBindGroup0Entries, [INFO] [stdout] 51 │+ ) -> Self { [INFO] [stdout] 52 │+ let bind_group_layout = Self::get_bind_group_layout(device); [INFO] [stdout] 53 │+ let entries = bindings.into_array(); [INFO] [stdout] 54 │+ let bind_group = device [INFO] [stdout] 55 │+ .create_bind_group( [INFO] [stdout] 56 │+ &wgpu::BindGroupDescriptor { [INFO] [stdout] 57 │+ label: Some("Test::BindGroup0"), [INFO] [stdout] 58 │+ layout: &bind_group_layout, [INFO] [stdout] 59 │+ entries: &entries, [INFO] [stdout] 60 │+ }, [INFO] [stdout] 61 │+ ); [INFO] [stdout] 62 │+ Self(bind_group) [INFO] [stdout] 63 │+ } [INFO] [stdout] 64 │+ pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 65 │+ pass.set_bind_group(0, &self.0, &[]); [INFO] [stdout] 66 │+ } [INFO] [stdout] 62 67 │ } [INFO] [stdout] 63 │-#[doc = " Bind groups can be set individually using their set(render_pass) method, or all at once using `WgpuBindGroups::set`."] [INFO] [stdout] 64 │-#[doc = " For optimal performance with many draw calls, it's recommended to organize bindings into bind groups based on update frequency:"] [INFO] [stdout] 65 │-#[doc = " - Bind group 0: Least frequent updates (e.g. per frame resources)"] [INFO] [stdout] 66 │-#[doc = " - Bind group 1: More frequent updates"] [INFO] [stdout] 67 │-#[doc = " - Bind group 2: More frequent updates"] [INFO] [stdout] 68 │-#[doc = " - Bind group 3: Most frequent updates (e.g. per draw resources)"] [INFO] [stdout] 68 │+/// Bind groups can be set individually using their set(render_pass) method, or all at once using `WgpuBindGroups::set`. [INFO] [stdout] 69 │+/// For optimal performance with many draw calls, it's recommended to organize bindings into bind groups based on update frequency: [INFO] [stdout] 70 │+/// - Bind group 0: Least frequent updates (e.g. per frame resources) [INFO] [stdout] 71 │+/// - Bind group 1: More frequent updates [INFO] [stdout] 72 │+/// - Bind group 2: More frequent updates [INFO] [stdout] 73 │+/// - Bind group 3: Most frequent updates (e.g. per draw resources) [INFO] [stdout] 69 74 │ #[derive(Debug, Copy, Clone)] [INFO] [stdout] 70 75 │ pub struct WgpuBindGroups<'a> { [INFO] [stdout] 71 │- pub bind_group0: &'a WgpuBindGroup0, [INFO] [stdout] 76 │+ pub bind_group0: &'a WgpuBindGroup0, [INFO] [stdout] 72 77 │ } [INFO] [stdout] 73 78 │ impl<'a> WgpuBindGroups<'a> { [INFO] [stdout] 74 │- pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 75 │- self.bind_group0.set(pass); [INFO] [stdout] 76 │- } [INFO] [stdout] 79 │+ pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 80 │+ self.bind_group0.set(pass); [INFO] [stdout] 81 │+ } [INFO] [stdout] 77 82 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'generate::bind_group::tests::bind_groups_module_vertex' (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: 0x64d434624cd2 - std::backtrace_rs::backtrace::libunwind::trace::h7cddb8376417e7cc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x64d434624cd2 - std::backtrace_rs::backtrace::trace_unsynchronized::hb4e41acf4b349ff1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x64d434624cd2 - std::sys::backtrace::_print_fmt::h1222b80910ba6eb5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x64d434624cd2 - ::fmt::h5bb8a979ba5db788 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x64d434638d3f - core::fmt::rt::Argument::fmt::h2ee2c138a50a7796 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x64d434638d3f - core::fmt::write::h1e0dbf07fe3990bd [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x64d4345f03a3 - std::io::default_write_fmt::h7d7ad5ed6a883d81 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x64d4345f03a3 - std::io::Write::write_fmt::hc477d9325b345ece [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x64d4345fcc52 - std::sys::backtrace::BacktraceLock::print::h788d486777205086 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x64d43460282f - std::panicking::default_hook::{{closure}}::ha7bdfeb5949fc0fa [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x64d4346026c1 - std::panicking::default_hook::h6dad75ec721846f4 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x64d433d3b72e - as core::ops::function::Fn>::call::h33799d04b0b96146 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x64d433d3b72e - test::test_main_with_exit_callback::{{closure}}::h880e31c829a2eb5d [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x64d434602f7e - as core::ops::function::Fn>::call::h5e1b8c652ea49180 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x64d434602f7e - std::panicking::panic_with_hook::hba00e869ada17676 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x64d434602c9a - std::panicking::panic_handler::{{closure}}::h3d21149c258e5ceb [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x64d4345fcd89 - std::sys::backtrace::__rust_end_short_backtrace::h4f5d9b9dfb3e6ec1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x64d4345e34ad - __rustc[9a7a9f9af7564de1]::rust_begin_unwind [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x64d434643df0 - core::panicking::panic_fmt::h78e817a90331d98b [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x64d434642b06 - core::result::unwrap_failed::h3ce108722ad88f1e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:1852:5 [INFO] [stdout] 20: 0x64d433b5bb73 - core::result::Result::unwrap::haafd36386984d778 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:1223:23 [INFO] [stdout] 21: 0x64d433b5bb73 - wgsl_bindgen::generate::bind_group::tests::bind_groups_module_vertex::{{closure}}::h46b79f36be76d94d [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x64d433b9d29f - insta::settings::Settings::bind::h838a09c05ab2f2c9 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.1/src/settings.rs:509:9 [INFO] [stdout] 23: 0x64d433b5b6a5 - wgsl_bindgen::generate::bind_group::tests::bind_groups_module_vertex::h495bca9af151f7e7 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x64d433b5bc67 - wgsl_bindgen::generate::bind_group::tests::bind_groups_module_vertex::{{closure}}::he44882e112083574 [INFO] [stdout] at /opt/rustwide/workdir/src/generate/bind_group/mod.rs:470:33 [INFO] [stdout] 25: 0x64d433b71eb6 - core::ops::function::FnOnce::call_once::ha9ac399af4a0869c [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x64d433d3b52b - core::ops::function::FnOnce::call_once::h7f4b4fba903e39d5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 27: 0x64d433d3b52b - test::__rust_begin_short_backtrace::h9277cb6a2ccfc000 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x64d433d50fd5 - test::run_test_in_process::{{closure}}::h9aea5ca90d1f4423 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x64d433d50fd5 - as core::ops::function::FnOnce<()>>::call_once::h364f5fe6cc8afa85 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 30: 0x64d433d50fd5 - std::panicking::catch_unwind::do_call::h2b2bec3317fe53ec [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x64d433d50fd5 - std::panicking::catch_unwind::hc3763734156da4af [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x64d433d50fd5 - std::panic::catch_unwind::h28038391e867eabc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x64d433d50fd5 - test::run_test_in_process::had0273166695a036 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x64d433d50fd5 - test::run_test::{{closure}}::h743d09d4bb476605 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x64d433d279f4 - test::run_test::{{closure}}::he950b8f9118d37e2 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x64d433d279f4 - std::sys::backtrace::__rust_begin_short_backtrace::hbfaffa6539f6abb7 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x64d433d2b2da - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hcce3c2c65b9c3b20 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x64d433d2b2da - as core::ops::function::FnOnce<()>>::call_once::hb66b30b6d37985a5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 39: 0x64d433d2b2da - std::panicking::catch_unwind::do_call::h992bbe2c32dc1d79 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x64d433d2b2da - std::panicking::catch_unwind::h412991d5237de610 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x64d433d2b2da - std::panic::catch_unwind::ha82b139b3eb5840a [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x64d433d2b2da - std::thread::Builder::spawn_unchecked_::{{closure}}::ha823b36f5114938e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x64d433d2b2da - core::ops::function::FnOnce::call_once{{vtable.shim}}::hf120e7b1db22ac07 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 44: 0x64d4345f6cdf - as core::ops::function::FnOnce>::call_once::h3e049222c99298ac [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 45: 0x64d4345f6cdf - std::sys::pal::unix::thread::Thread::new::thread_start::h942e336943ad5963 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 46: 0x7220e1521aa4 - [INFO] [stdout] 47: 0x7220e15aea34 - 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 'cdb45c87e2cd43495379f7e867e3cc15dcee9f93'. [INFO] [stdout] note: this is a custom toolchain, which cannot use `rustup component add` [INFO] [stdout] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py` [INFO] [stdout] ), falling back to prettyplease [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/generate/bind_group/snapshots/bind_groups_module_compute.snap [INFO] [stdout] Snapshot: bind_groups_module_compute [INFO] [stdout] Source: src/generate/bind_group/mod.rs:403 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 0 │ #[derive(Debug)] [INFO] [stdout] 1 1 │ pub struct WgpuBindGroup0EntriesParams<'a> { [INFO] [stdout] 2 │- pub src: wgpu::BufferBinding<'a>, [INFO] [stdout] 3 │- pub vertex_weights: wgpu::BufferBinding<'a>, [INFO] [stdout] 4 │- pub dst: wgpu::BufferBinding<'a>, [INFO] [stdout] 2 │+ pub src: wgpu::BufferBinding<'a>, [INFO] [stdout] 3 │+ pub vertex_weights: wgpu::BufferBinding<'a>, [INFO] [stdout] 4 │+ pub dst: wgpu::BufferBinding<'a>, [INFO] [stdout] 5 5 │ } [INFO] [stdout] 6 6 │ #[derive(Clone, Debug)] [INFO] [stdout] 7 7 │ pub struct WgpuBindGroup0Entries<'a> { [INFO] [stdout] 8 │- pub src: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 9 │- pub vertex_weights: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 10 │- pub dst: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 8 │+ pub src: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 9 │+ pub vertex_weights: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 10 │+ pub dst: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 11 11 │ } [INFO] [stdout] 12 12 │ impl<'a> WgpuBindGroup0Entries<'a> { [INFO] [stdout] 13 │- pub fn new(params: WgpuBindGroup0EntriesParams<'a>) -> Self { [INFO] [stdout] 14 │- Self { [INFO] [stdout] 15 │- src: wgpu::BindGroupEntry { [INFO] [stdout] 16 │- binding: 0, [INFO] [stdout] 17 │- resource: wgpu::BindingResource::Buffer(params.src), [INFO] [stdout] 18 │- }, [INFO] [stdout] 19 │- vertex_weights: wgpu::BindGroupEntry { [INFO] [stdout] 20 │- binding: 1, [INFO] [stdout] 21 │- resource: wgpu::BindingResource::Buffer(params.vertex_weights), [INFO] [stdout] 22 │- }, [INFO] [stdout] 23 │- dst: wgpu::BindGroupEntry { [INFO] [stdout] 24 │- binding: 2, [INFO] [stdout] 25 │- resource: wgpu::BindingResource::Buffer(params.dst), [INFO] [stdout] 26 │- }, [INFO] [stdout] 13 │+ pub fn new(params: WgpuBindGroup0EntriesParams<'a>) -> Self { [INFO] [stdout] 14 │+ Self { [INFO] [stdout] 15 │+ src: wgpu::BindGroupEntry { [INFO] [stdout] 16 │+ binding: 0, [INFO] [stdout] 17 │+ resource: wgpu::BindingResource::Buffer(params.src), [INFO] [stdout] 18 │+ }, [INFO] [stdout] 19 │+ vertex_weights: wgpu::BindGroupEntry { [INFO] [stdout] 20 │+ binding: 1, [INFO] [stdout] 21 │+ resource: wgpu::BindingResource::Buffer(params.vertex_weights), [INFO] [stdout] 22 │+ }, [INFO] [stdout] 23 │+ dst: wgpu::BindGroupEntry { [INFO] [stdout] 24 │+ binding: 2, [INFO] [stdout] 25 │+ resource: wgpu::BindingResource::Buffer(params.dst), [INFO] [stdout] 26 │+ }, [INFO] [stdout] 27 │+ } [INFO] [stdout] 28 │+ } [INFO] [stdout] 29 │+ pub fn into_array(self) -> [wgpu::BindGroupEntry<'a>; 3] { [INFO] [stdout] 30 │+ [self.src, self.vertex_weights, self.dst] [INFO] [stdout] 31 │+ } [INFO] [stdout] 32 │+ pub fn collect>>(self) -> B { [INFO] [stdout] 33 │+ self.into_array().into_iter().collect() [INFO] [stdout] 27 34 │ } [INFO] [stdout] 28 │- } [INFO] [stdout] 29 │- pub fn into_array(self) -> [wgpu::BindGroupEntry<'a>; 3] { [INFO] [stdout] 30 │- [self.src, self.vertex_weights, self.dst] [INFO] [stdout] 31 │- } [INFO] [stdout] 32 │- pub fn collect>>(self) -> B { [INFO] [stdout] 33 │- self.into_array().into_iter().collect() [INFO] [stdout] 34 │- } [INFO] [stdout] 35 35 │ } [INFO] [stdout] 36 36 │ #[derive(Debug)] [INFO] [stdout] 37 37 │ pub struct WgpuBindGroup0(wgpu::BindGroup); [INFO] [stdout] 38 38 │ impl WgpuBindGroup0 { [INFO] [stdout] 39 │- pub const LAYOUT_DESCRIPTOR: wgpu::BindGroupLayoutDescriptor<'static> = [INFO] [stdout] 40 │- wgpu::BindGroupLayoutDescriptor { [INFO] [stdout] 41 │- label: Some("Test::BindGroup0::LayoutDescriptor"), [INFO] [stdout] 42 │- entries: &[ [INFO] [stdout] 43 │- #[doc = " @binding(0): \"src\""] [INFO] [stdout] 44 │- wgpu::BindGroupLayoutEntry { [INFO] [stdout] 45 │- binding: 0, [INFO] [stdout] 46 │- visibility: wgpu::ShaderStages::COMPUTE, [INFO] [stdout] 47 │- ty: wgpu::BindingType::Buffer { [INFO] [stdout] 48 │- ty: wgpu::BufferBindingType::Storage { read_only: true }, [INFO] [stdout] 49 │- has_dynamic_offset: false, [INFO] [stdout] 50 │- min_binding_size: None, [INFO] [stdout] 51 │- }, [INFO] [stdout] 52 │- count: None, [INFO] [stdout] 53 │- }, [INFO] [stdout] 54 │- #[doc = " @binding(1): \"vertex_weights\""] [INFO] [stdout] 55 │- wgpu::BindGroupLayoutEntry { [INFO] [stdout] 56 │- binding: 1, [INFO] [stdout] 57 │- visibility: wgpu::ShaderStages::COMPUTE, [INFO] [stdout] 58 │- ty: wgpu::BindingType::Buffer { [INFO] [stdout] 59 │- ty: wgpu::BufferBindingType::Storage { read_only: true }, [INFO] [stdout] 60 │- has_dynamic_offset: false, [INFO] [stdout] 61 │- min_binding_size: std::num::NonZeroU64::new(std::mem::size_of::< [INFO] [stdout] 62 │- _root::test::VertexWeights, [INFO] [stdout] 63 │- >() as _), [INFO] [stdout] 64 │- }, [INFO] [stdout] 65 │- count: None, [INFO] [stdout] 66 │- }, [INFO] [stdout] 67 │- #[doc = " @binding(2): \"dst\""] [INFO] [stdout] 68 │- wgpu::BindGroupLayoutEntry { [INFO] [stdout] 69 │- binding: 2, [INFO] [stdout] 70 │- visibility: wgpu::ShaderStages::COMPUTE, [INFO] [stdout] 71 │- ty: wgpu::BindingType::Buffer { [INFO] [stdout] 72 │- ty: wgpu::BufferBindingType::Storage { read_only: false }, [INFO] [stdout] 73 │- has_dynamic_offset: false, [INFO] [stdout] 74 │- min_binding_size: std::num::NonZeroU64::new(std::mem::size_of::< [INFO] [stdout] 75 │- _root::test::Vertices, [INFO] [stdout] 76 │- >() as _), [INFO] [stdout] 77 │- }, [INFO] [stdout] 78 │- count: None, [INFO] [stdout] 79 │- }, [INFO] [stdout] 80 │- ], [INFO] [stdout] 39 │+ pub const LAYOUT_DESCRIPTOR: wgpu::BindGroupLayoutDescriptor<'static> = wgpu::BindGroupLayoutDescriptor { [INFO] [stdout] 40 │+ label: Some("Test::BindGroup0::LayoutDescriptor"), [INFO] [stdout] 41 │+ entries: &[ [INFO] [stdout] 42 │+ /// @binding(0): "src" [INFO] [stdout] 43 │+ wgpu::BindGroupLayoutEntry { [INFO] [stdout] 44 │+ binding: 0, [INFO] [stdout] 45 │+ visibility: wgpu::ShaderStages::COMPUTE, [INFO] [stdout] 46 │+ ty: wgpu::BindingType::Buffer { [INFO] [stdout] 47 │+ ty: wgpu::BufferBindingType::Storage { [INFO] [stdout] 48 │+ read_only: true, [INFO] [stdout] 49 │+ }, [INFO] [stdout] 50 │+ has_dynamic_offset: false, [INFO] [stdout] 51 │+ min_binding_size: None, [INFO] [stdout] 52 │+ }, [INFO] [stdout] 53 │+ count: None, [INFO] [stdout] 54 │+ }, [INFO] [stdout] 55 │+ /// @binding(1): "vertex_weights" [INFO] [stdout] 56 │+ wgpu::BindGroupLayoutEntry { [INFO] [stdout] 57 │+ binding: 1, [INFO] [stdout] 58 │+ visibility: wgpu::ShaderStages::COMPUTE, [INFO] [stdout] 59 │+ ty: wgpu::BindingType::Buffer { [INFO] [stdout] 60 │+ ty: wgpu::BufferBindingType::Storage { [INFO] [stdout] 61 │+ read_only: true, [INFO] [stdout] 62 │+ }, [INFO] [stdout] 63 │+ has_dynamic_offset: false, [INFO] [stdout] 64 │+ min_binding_size: std::num::NonZeroU64::new( [INFO] [stdout] 65 │+ std::mem::size_of::<_root::test::VertexWeights>() as _, [INFO] [stdout] 66 │+ ), [INFO] [stdout] 67 │+ }, [INFO] [stdout] 68 │+ count: None, [INFO] [stdout] 69 │+ }, [INFO] [stdout] 70 │+ /// @binding(2): "dst" [INFO] [stdout] 71 │+ wgpu::BindGroupLayoutEntry { [INFO] [stdout] 72 │+ binding: 2, [INFO] [stdout] 73 │+ visibility: wgpu::ShaderStages::COMPUTE, [INFO] [stdout] 74 │+ ty: wgpu::BindingType::Buffer { [INFO] [stdout] 75 │+ ty: wgpu::BufferBindingType::Storage { [INFO] [stdout] 76 │+ read_only: false, [INFO] [stdout] 77 │+ }, [INFO] [stdout] 78 │+ has_dynamic_offset: false, [INFO] [stdout] 79 │+ min_binding_size: std::num::NonZeroU64::new( [INFO] [stdout] 80 │+ std::mem::size_of::<_root::test::Vertices>() as _, [INFO] [stdout] 81 │+ ), [INFO] [stdout] 82 │+ }, [INFO] [stdout] 83 │+ count: None, [INFO] [stdout] 84 │+ }, [INFO] [stdout] 85 │+ ], [INFO] [stdout] 81 86 │ }; [INFO] [stdout] 82 │- pub fn get_bind_group_layout(device: &wgpu::Device) -> wgpu::BindGroupLayout { [INFO] [stdout] 83 │- device.create_bind_group_layout(&Self::LAYOUT_DESCRIPTOR) [INFO] [stdout] 84 │- } [INFO] [stdout] 85 │- pub fn from_bindings(device: &wgpu::Device, bindings: WgpuBindGroup0Entries) -> Self { [INFO] [stdout] 86 │- let bind_group_layout = Self::get_bind_group_layout(device); [INFO] [stdout] 87 │- let entries = bindings.into_array(); [INFO] [stdout] 88 │- let bind_group = device.create_bind_group(&wgpu::BindGroupDescriptor { [INFO] [stdout] 89 │- label: Some("Test::BindGroup0"), [INFO] [stdout] 90 │- layout: &bind_group_layout, [INFO] [stdout] 91 │- entries: &entries, [INFO] [stdout] 92 │- }); [INFO] [stdout] 93 │- Self(bind_group) [INFO] [stdout] 94 │- } [INFO] [stdout] 95 │- pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 96 │- pass.set_bind_group(0, &self.0, &[]); [INFO] [stdout] 97 │- } [INFO] [stdout] 87 │+ pub fn get_bind_group_layout(device: &wgpu::Device) -> wgpu::BindGroupLayout { [INFO] [stdout] 88 │+ device.create_bind_group_layout(&Self::LAYOUT_DESCRIPTOR) [INFO] [stdout] 89 │+ } [INFO] [stdout] 90 │+ pub fn from_bindings( [INFO] [stdout] 91 │+ device: &wgpu::Device, [INFO] [stdout] 92 │+ bindings: WgpuBindGroup0Entries, [INFO] [stdout] 93 │+ ) -> Self { [INFO] [stdout] 94 │+ let bind_group_layout = Self::get_bind_group_layout(device); [INFO] [stdout] 95 │+ let entries = bindings.into_array(); [INFO] [stdout] 96 │+ let bind_group = device [INFO] [stdout] 97 │+ .create_bind_group( [INFO] [stdout] 98 │+ &wgpu::BindGroupDescriptor { [INFO] [stdout] 99 │+ label: Some("Test::BindGroup0"), [INFO] [stdout] 100 │+ layout: &bind_group_layout, [INFO] [stdout] 101 │+ entries: &entries, [INFO] [stdout] 102 │+ }, [INFO] [stdout] 103 │+ ); [INFO] [stdout] 104 │+ Self(bind_group) [INFO] [stdout] 105 │+ } [INFO] [stdout] 106 │+ pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 107 │+ pass.set_bind_group(0, &self.0, &[]); [INFO] [stdout] 108 │+ } [INFO] [stdout] 98 109 │ } [INFO] [stdout] 99 110 │ #[derive(Debug)] [INFO] [stdout] 100 111 │ pub struct WgpuBindGroup1EntriesParams<'a> { [INFO] [stdout] 101 │- pub transforms: wgpu::BufferBinding<'a>, [INFO] [stdout] 112 │+ pub transforms: wgpu::BufferBinding<'a>, [INFO] [stdout] 102 113 │ } [INFO] [stdout] 103 114 │ #[derive(Clone, Debug)] [INFO] [stdout] 104 115 │ pub struct WgpuBindGroup1Entries<'a> { [INFO] [stdout] 105 │- pub transforms: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 116 │+ pub transforms: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 106 117 │ } [INFO] [stdout] 107 118 │ impl<'a> WgpuBindGroup1Entries<'a> { [INFO] [stdout] 108 │- pub fn new(params: WgpuBindGroup1EntriesParams<'a>) -> Self { [INFO] [stdout] 109 │- Self { [INFO] [stdout] 110 │- transforms: wgpu::BindGroupEntry { [INFO] [stdout] 111 │- binding: 0, [INFO] [stdout] 112 │- resource: wgpu::BindingResource::Buffer(params.transforms), [INFO] [stdout] 113 │- }, [INFO] [stdout] 119 │+ pub fn new(params: WgpuBindGroup1EntriesParams<'a>) -> Self { [INFO] [stdout] 120 │+ Self { [INFO] [stdout] 121 │+ transforms: wgpu::BindGroupEntry { [INFO] [stdout] 122 │+ binding: 0, [INFO] [stdout] 123 │+ resource: wgpu::BindingResource::Buffer(params.transforms), [INFO] [stdout] 124 │+ }, [INFO] [stdout] 125 │+ } [INFO] [stdout] 126 │+ } [INFO] [stdout] 127 │+ pub fn into_array(self) -> [wgpu::BindGroupEntry<'a>; 1] { [INFO] [stdout] 128 │+ [self.transforms] [INFO] [stdout] 129 │+ } [INFO] [stdout] 130 │+ pub fn collect>>(self) -> B { [INFO] [stdout] 131 │+ self.into_array().into_iter().collect() [INFO] [stdout] 114 132 │ } [INFO] [stdout] 115 │- } [INFO] [stdout] 116 │- pub fn into_array(self) -> [wgpu::BindGroupEntry<'a>; 1] { [INFO] [stdout] 117 │- [self.transforms] [INFO] [stdout] 118 │- } [INFO] [stdout] 119 │- pub fn collect>>(self) -> B { [INFO] [stdout] 120 │- self.into_array().into_iter().collect() [INFO] [stdout] 121 │- } [INFO] [stdout] 122 133 │ } [INFO] [stdout] 123 134 │ #[derive(Debug)] [INFO] [stdout] 124 135 │ pub struct WgpuBindGroup1(wgpu::BindGroup); [INFO] [stdout] 125 136 │ impl WgpuBindGroup1 { [INFO] [stdout] 126 │- pub const LAYOUT_DESCRIPTOR: wgpu::BindGroupLayoutDescriptor<'static> = [INFO] [stdout] 127 │- wgpu::BindGroupLayoutDescriptor { [INFO] [stdout] 128 │- label: Some("Test::BindGroup1::LayoutDescriptor"), [INFO] [stdout] 129 │- entries: &[ [INFO] [stdout] 130 │- #[doc = " @binding(0): \"transforms\""] [INFO] [stdout] 131 │- wgpu::BindGroupLayoutEntry { [INFO] [stdout] 132 │- binding: 0, [INFO] [stdout] 133 │- visibility: wgpu::ShaderStages::COMPUTE, [INFO] [stdout] 134 │- ty: wgpu::BindingType::Buffer { [INFO] [stdout] 135 │- ty: wgpu::BufferBindingType::Uniform, [INFO] [stdout] 136 │- has_dynamic_offset: false, [INFO] [stdout] 137 │- min_binding_size: std::num::NonZeroU64::new(std::mem::size_of::< [INFO] [stdout] 138 │- _root::test::Transforms, [INFO] [stdout] 139 │- >() as _), [INFO] [stdout] 140 │- }, [INFO] [stdout] 141 │- count: None, [INFO] [stdout] 142 │- }, [INFO] [stdout] 143 │- ], [INFO] [stdout] 137 │+ pub const LAYOUT_DESCRIPTOR: wgpu::BindGroupLayoutDescriptor<'static> = wgpu::BindGroupLayoutDescriptor { [INFO] [stdout] 138 │+ label: Some("Test::BindGroup1::LayoutDescriptor"), [INFO] [stdout] 139 │+ entries: &[ [INFO] [stdout] 140 │+ /// @binding(0): "transforms" [INFO] [stdout] 141 │+ wgpu::BindGroupLayoutEntry { [INFO] [stdout] 142 │+ binding: 0, [INFO] [stdout] 143 │+ visibility: wgpu::ShaderStages::COMPUTE, [INFO] [stdout] 144 │+ ty: wgpu::BindingType::Buffer { [INFO] [stdout] 145 │+ ty: wgpu::BufferBindingType::Uniform, [INFO] [stdout] 146 │+ has_dynamic_offset: false, [INFO] [stdout] 147 │+ min_binding_size: std::num::NonZeroU64::new( [INFO] [stdout] 148 │+ std::mem::size_of::<_root::test::Transforms>() as _, [INFO] [stdout] 149 │+ ), [INFO] [stdout] 150 │+ }, [INFO] [stdout] 151 │+ count: None, [INFO] [stdout] 152 │+ }, [INFO] [stdout] 153 │+ ], [INFO] [stdout] 144 154 │ }; [INFO] [stdout] 145 │- pub fn get_bind_group_layout(device: &wgpu::Device) -> wgpu::BindGroupLayout { [INFO] [stdout] 146 │- device.create_bind_group_layout(&Self::LAYOUT_DESCRIPTOR) [INFO] [stdout] 147 │- } [INFO] [stdout] 148 │- pub fn from_bindings(device: &wgpu::Device, bindings: WgpuBindGroup1Entries) -> Self { [INFO] [stdout] 149 │- let bind_group_layout = Self::get_bind_group_layout(device); [INFO] [stdout] 150 │- let entries = bindings.into_array(); [INFO] [stdout] 151 │- let bind_group = device.create_bind_group(&wgpu::BindGroupDescriptor { [INFO] [stdout] 152 │- label: Some("Test::BindGroup1"), [INFO] [stdout] 153 │- layout: &bind_group_layout, [INFO] [stdout] 154 │- entries: &entries, [INFO] [stdout] 155 │- }); [INFO] [stdout] 156 │- Self(bind_group) [INFO] [stdout] 157 │- } [INFO] [stdout] 158 │- pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 159 │- pass.set_bind_group(1, &self.0, &[]); [INFO] [stdout] 160 │- } [INFO] [stdout] 155 │+ pub fn get_bind_group_layout(device: &wgpu::Device) -> wgpu::BindGroupLayout { [INFO] [stdout] 156 │+ device.create_bind_group_layout(&Self::LAYOUT_DESCRIPTOR) [INFO] [stdout] 157 │+ } [INFO] [stdout] 158 │+ pub fn from_bindings( [INFO] [stdout] 159 │+ device: &wgpu::Device, [INFO] [stdout] 160 │+ bindings: WgpuBindGroup1Entries, [INFO] [stdout] 161 │+ ) -> Self { [INFO] [stdout] 162 │+ let bind_group_layout = Self::get_bind_group_layout(device); [INFO] [stdout] 163 │+ let entries = bindings.into_array(); [INFO] [stdout] 164 │+ let bind_group = device [INFO] [stdout] 165 │+ .create_bind_group( [INFO] [stdout] 166 │+ &wgpu::BindGroupDescriptor { [INFO] [stdout] 167 │+ label: Some("Test::BindGroup1"), [INFO] [stdout] 168 │+ layout: &bind_group_layout, [INFO] [stdout] 169 │+ entries: &entries, [INFO] [stdout] 170 │+ }, [INFO] [stdout] 171 │+ ); [INFO] [stdout] 172 │+ Self(bind_group) [INFO] [stdout] 173 │+ } [INFO] [stdout] 174 │+ pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 175 │+ pass.set_bind_group(1, &self.0, &[]); [INFO] [stdout] 176 │+ } [INFO] [stdout] 161 177 │ } [INFO] [stdout] 162 │-#[doc = " Bind groups can be set individually using their set(render_pass) method, or all at once using `WgpuBindGroups::set`."] [INFO] [stdout] 163 │-#[doc = " For optimal performance with many draw calls, it's recommended to organize bindings into bind groups based on update frequency:"] [INFO] [stdout] 164 │-#[doc = " - Bind group 0: Least frequent updates (e.g. per frame resources)"] [INFO] [stdout] 165 │-#[doc = " - Bind group 1: More frequent updates"] [INFO] [stdout] 166 │-#[doc = " - Bind group 2: More frequent updates"] [INFO] [stdout] 167 │-#[doc = " - Bind group 3: Most frequent updates (e.g. per draw resources)"] [INFO] [stdout] 178 │+/// Bind groups can be set individually using their set(render_pass) method, or all at once using `WgpuBindGroups::set`. [INFO] [stdout] 179 │+/// For optimal performance with many draw calls, it's recommended to organize bindings into bind groups based on update frequency: [INFO] [stdout] 180 │+/// - Bind group 0: Least frequent updates (e.g. per frame resources) [INFO] [stdout] 181 │+/// - Bind group 1: More frequent updates [INFO] [stdout] 182 │+/// - Bind group 2: More frequent updates [INFO] [stdout] 183 │+/// - Bind group 3: Most frequent updates (e.g. per draw resources) [INFO] [stdout] 168 184 │ #[derive(Debug, Copy, Clone)] [INFO] [stdout] 169 185 │ pub struct WgpuBindGroups<'a> { [INFO] [stdout] 170 │- pub bind_group0: &'a WgpuBindGroup0, [INFO] [stdout] 171 │- pub bind_group1: &'a WgpuBindGroup1, [INFO] [stdout] 186 │+ pub bind_group0: &'a WgpuBindGroup0, [INFO] [stdout] 187 │+ pub bind_group1: &'a WgpuBindGroup1, [INFO] [stdout] 172 188 │ } [INFO] [stdout] 173 189 │ impl<'a> WgpuBindGroups<'a> { [INFO] [stdout] 174 │- pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 175 │- self.bind_group0.set(pass); [INFO] [stdout] 176 │- self.bind_group1.set(pass); [INFO] [stdout] 177 │- } [INFO] [stdout] 190 │+ pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 191 │+ self.bind_group0.set(pass); [INFO] [stdout] 192 │+ self.bind_group1.set(pass); [INFO] [stdout] 193 │+ } [INFO] [stdout] 178 194 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'generate::bind_group::tests::bind_groups_module_compute' (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: 0x64d434624cd2 - std::backtrace_rs::backtrace::libunwind::trace::h7cddb8376417e7cc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x64d434624cd2 - std::backtrace_rs::backtrace::trace_unsynchronized::hb4e41acf4b349ff1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x64d434624cd2 - std::sys::backtrace::_print_fmt::h1222b80910ba6eb5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x64d434624cd2 - ::fmt::h5bb8a979ba5db788 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x64d434638d3f - core::fmt::rt::Argument::fmt::h2ee2c138a50a7796 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x64d434638d3f - core::fmt::write::h1e0dbf07fe3990bd [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x64d4345f03a3 - std::io::default_write_fmt::h7d7ad5ed6a883d81 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x64d4345f03a3 - std::io::Write::write_fmt::hc477d9325b345ece [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x64d4345fcc52 - std::sys::backtrace::BacktraceLock::print::h788d486777205086 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x64d43460282f - std::panicking::default_hook::{{closure}}::ha7bdfeb5949fc0fa [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x64d4346026c1 - std::panicking::default_hook::h6dad75ec721846f4 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x64d433d3b72e - as core::ops::function::Fn>::call::h33799d04b0b96146 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x64d433d3b72e - test::test_main_with_exit_callback::{{closure}}::h880e31c829a2eb5d [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x64d434602f7e - as core::ops::function::Fn>::call::h5e1b8c652ea49180 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x64d434602f7e - std::panicking::panic_with_hook::hba00e869ada17676 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x64d434602c9a - std::panicking::panic_handler::{{closure}}::h3d21149c258e5ceb [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x64d4345fcd89 - std::sys::backtrace::__rust_end_short_backtrace::h4f5d9b9dfb3e6ec1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x64d4345e34ad - __rustc[9a7a9f9af7564de1]::rust_begin_unwind [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x64d434643df0 - core::panicking::panic_fmt::h78e817a90331d98b [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x64d434642b06 - core::result::unwrap_failed::h3ce108722ad88f1e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:1852:5 [INFO] [stdout] 20: 0x64d433b5c603 - core::result::Result::unwrap::haafd36386984d778 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:1223:23 [INFO] [stdout] 21: 0x64d433b5c603 - wgsl_bindgen::generate::bind_group::tests::bind_groups_module_compute::{{closure}}::h21b184ae4af5539d [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x64d433b9cf7f - insta::settings::Settings::bind::h6a923da688e130f1 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.1/src/settings.rs:509:9 [INFO] [stdout] 23: 0x64d433b5c135 - wgsl_bindgen::generate::bind_group::tests::bind_groups_module_compute::h3f5cb95de997618b [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x64d433b5c6f7 - wgsl_bindgen::generate::bind_group::tests::bind_groups_module_compute::{{closure}}::hf237e3edaacef1c8 [INFO] [stdout] at /opt/rustwide/workdir/src/generate/bind_group/mod.rs:367:34 [INFO] [stdout] 25: 0x64d433b70996 - core::ops::function::FnOnce::call_once::h249fe7ee0ddf2bcf [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x64d433d3b52b - core::ops::function::FnOnce::call_once::h7f4b4fba903e39d5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 27: 0x64d433d3b52b - test::__rust_begin_short_backtrace::h9277cb6a2ccfc000 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x64d433d50fd5 - test::run_test_in_process::{{closure}}::h9aea5ca90d1f4423 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x64d433d50fd5 - as core::ops::function::FnOnce<()>>::call_once::h364f5fe6cc8afa85 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 30: 0x64d433d50fd5 - std::panicking::catch_unwind::do_call::h2b2bec3317fe53ec [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x64d433d50fd5 - std::panicking::catch_unwind::hc3763734156da4af [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x64d433d50fd5 - std::panic::catch_unwind::h28038391e867eabc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x64d433d50fd5 - test::run_test_in_process::had0273166695a036 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x64d433d50fd5 - test::run_test::{{closure}}::h743d09d4bb476605 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x64d433d279f4 - test::run_test::{{closure}}::he950b8f9118d37e2 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x64d433d279f4 - std::sys::backtrace::__rust_begin_short_backtrace::hbfaffa6539f6abb7 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x64d433d2b2da - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hcce3c2c65b9c3b20 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x64d433d2b2da - as core::ops::function::FnOnce<()>>::call_once::hb66b30b6d37985a5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 39: 0x64d433d2b2da - std::panicking::catch_unwind::do_call::h992bbe2c32dc1d79 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x64d433d2b2da - std::panicking::catch_unwind::h412991d5237de610 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x64d433d2b2da - std::panic::catch_unwind::ha82b139b3eb5840a [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x64d433d2b2da - std::thread::Builder::spawn_unchecked_::{{closure}}::ha823b36f5114938e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x64d433d2b2da - core::ops::function::FnOnce::call_once{{vtable.shim}}::hf120e7b1db22ac07 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 44: 0x64d4345f6cdf - as core::ops::function::FnOnce>::call_once::h3e049222c99298ac [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 45: 0x64d4345f6cdf - std::sys::pal::unix::thread::Thread::new::thread_start::h942e336943ad5963 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 46: 0x7220e1521aa4 - [INFO] [stdout] 47: 0x7220e15aea34 - 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 'cdb45c87e2cd43495379f7e867e3cc15dcee9f93'. [INFO] [stdout] note: this is a custom toolchain, which cannot use `rustup component add` [INFO] [stdout] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py` [INFO] [stdout] ), falling back to prettyplease [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/generate/bind_group/snapshots/bind_groups_module_array_bindings.snap [INFO] [stdout] Snapshot: bind_groups_module_array_bindings [INFO] [stdout] Source: src/generate/bind_group/mod.rs:605 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 0 │ #[derive(Debug)] [INFO] [stdout] 1 1 │ pub struct WgpuBindGroup0EntriesParams<'a> { [INFO] [stdout] 2 │- pub transforms: wgpu::BufferBinding<'a>, [INFO] [stdout] 3 │- pub texture_array: &'a [&'a wgpu::TextureView], [INFO] [stdout] 4 │- pub sampler_array: &'a [&'a wgpu::Sampler], [INFO] [stdout] 2 │+ pub transforms: wgpu::BufferBinding<'a>, [INFO] [stdout] 3 │+ pub texture_array: &'a [&'a wgpu::TextureView], [INFO] [stdout] 4 │+ pub sampler_array: &'a [&'a wgpu::Sampler], [INFO] [stdout] 5 5 │ } [INFO] [stdout] 6 6 │ #[derive(Clone, Debug)] [INFO] [stdout] 7 7 │ pub struct WgpuBindGroup0Entries<'a> { [INFO] [stdout] 8 │- pub transforms: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 9 │- pub texture_array: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 10 │- pub sampler_array: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 8 │+ pub transforms: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 9 │+ pub texture_array: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 10 │+ pub sampler_array: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 11 11 │ } [INFO] [stdout] 12 12 │ impl<'a> WgpuBindGroup0Entries<'a> { [INFO] [stdout] 13 │- pub fn new(params: WgpuBindGroup0EntriesParams<'a>) -> Self { [INFO] [stdout] 14 │- Self { [INFO] [stdout] 15 │- transforms: wgpu::BindGroupEntry { [INFO] [stdout] 16 │- binding: 0, [INFO] [stdout] 17 │- resource: wgpu::BindingResource::Buffer(params.transforms), [INFO] [stdout] 18 │- }, [INFO] [stdout] 19 │- texture_array: wgpu::BindGroupEntry { [INFO] [stdout] 20 │- binding: 1, [INFO] [stdout] 21 │- resource: wgpu::BindingResource::TextureViewArray(params.texture_array), [INFO] [stdout] 22 │- }, [INFO] [stdout] 23 │- sampler_array: wgpu::BindGroupEntry { [INFO] [stdout] 24 │- binding: 2, [INFO] [stdout] 25 │- resource: wgpu::BindingResource::SamplerArray(params.sampler_array), [INFO] [stdout] 26 │- }, [INFO] [stdout] 13 │+ pub fn new(params: WgpuBindGroup0EntriesParams<'a>) -> Self { [INFO] [stdout] 14 │+ Self { [INFO] [stdout] 15 │+ transforms: wgpu::BindGroupEntry { [INFO] [stdout] 16 │+ binding: 0, [INFO] [stdout] 17 │+ resource: wgpu::BindingResource::Buffer(params.transforms), [INFO] [stdout] 18 │+ }, [INFO] [stdout] 19 │+ texture_array: wgpu::BindGroupEntry { [INFO] [stdout] 20 │+ binding: 1, [INFO] [stdout] 21 │+ resource: wgpu::BindingResource::TextureViewArray(params.texture_array), [INFO] [stdout] 22 │+ }, [INFO] [stdout] 23 │+ sampler_array: wgpu::BindGroupEntry { [INFO] [stdout] 24 │+ binding: 2, [INFO] [stdout] 25 │+ resource: wgpu::BindingResource::SamplerArray(params.sampler_array), [INFO] [stdout] 26 │+ }, [INFO] [stdout] 27 │+ } [INFO] [stdout] 28 │+ } [INFO] [stdout] 29 │+ pub fn into_array(self) -> [wgpu::BindGroupEntry<'a>; 3] { [INFO] [stdout] 30 │+ [self.transforms, self.texture_array, self.sampler_array] [INFO] [stdout] 31 │+ } [INFO] [stdout] 32 │+ pub fn collect>>(self) -> B { [INFO] [stdout] 33 │+ self.into_array().into_iter().collect() [INFO] [stdout] 27 34 │ } [INFO] [stdout] 28 │- } [INFO] [stdout] 29 │- pub fn into_array(self) -> [wgpu::BindGroupEntry<'a>; 3] { [INFO] [stdout] 30 │- [self.transforms, self.texture_array, self.sampler_array] [INFO] [stdout] 31 │- } [INFO] [stdout] 32 │- pub fn collect>>(self) -> B { [INFO] [stdout] 33 │- self.into_array().into_iter().collect() [INFO] [stdout] 34 │- } [INFO] [stdout] 35 35 │ } [INFO] [stdout] 36 36 │ #[derive(Debug)] [INFO] [stdout] 37 37 │ pub struct WgpuBindGroup0(wgpu::BindGroup); [INFO] [stdout] 38 38 │ impl WgpuBindGroup0 { [INFO] [stdout] 39 │- pub const LAYOUT_DESCRIPTOR: wgpu::BindGroupLayoutDescriptor<'static> = [INFO] [stdout] 40 │- wgpu::BindGroupLayoutDescriptor { [INFO] [stdout] 41 │- label: Some("Test::BindGroup0::LayoutDescriptor"), [INFO] [stdout] 42 │- entries: &[ [INFO] [stdout] 43 │- #[doc = " @binding(0): \"transforms\""] [INFO] [stdout] 44 │- wgpu::BindGroupLayoutEntry { [INFO] [stdout] 45 │- binding: 0, [INFO] [stdout] 46 │- visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 47 │- ty: wgpu::BindingType::Buffer { [INFO] [stdout] 48 │- ty: wgpu::BufferBindingType::Uniform, [INFO] [stdout] 49 │- has_dynamic_offset: false, [INFO] [stdout] 50 │- min_binding_size: std::num::NonZeroU64::new(std::mem::size_of::< [INFO] [stdout] 51 │- _root::test::Transforms, [INFO] [stdout] 52 │- >() as _), [INFO] [stdout] 53 │- }, [INFO] [stdout] 54 │- count: None, [INFO] [stdout] 55 │- }, [INFO] [stdout] 56 │- #[doc = " @binding(1): \"texture_array\""] [INFO] [stdout] 57 │- wgpu::BindGroupLayoutEntry { [INFO] [stdout] 58 │- binding: 1, [INFO] [stdout] 59 │- visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 60 │- ty: wgpu::BindingType::Texture { [INFO] [stdout] 61 │- sample_type: wgpu::TextureSampleType::Float { filterable: true }, [INFO] [stdout] 62 │- view_dimension: wgpu::TextureViewDimension::D2, [INFO] [stdout] 63 │- multisampled: false, [INFO] [stdout] 64 │- }, [INFO] [stdout] 65 │- count: Some(std::num::NonZeroU32::new(4u32).unwrap()), [INFO] [stdout] 66 │- }, [INFO] [stdout] 67 │- #[doc = " @binding(2): \"sampler_array\""] [INFO] [stdout] 68 │- wgpu::BindGroupLayoutEntry { [INFO] [stdout] 69 │- binding: 2, [INFO] [stdout] 70 │- visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 71 │- ty: wgpu::BindingType::Sampler(wgpu::SamplerBindingType::Filtering), [INFO] [stdout] 72 │- count: Some(std::num::NonZeroU32::new(3u32).unwrap()), [INFO] [stdout] 73 │- }, [INFO] [stdout] 74 │- ], [INFO] [stdout] 39 │+ pub const LAYOUT_DESCRIPTOR: wgpu::BindGroupLayoutDescriptor<'static> = wgpu::BindGroupLayoutDescriptor { [INFO] [stdout] 40 │+ label: Some("Test::BindGroup0::LayoutDescriptor"), [INFO] [stdout] 41 │+ entries: &[ [INFO] [stdout] 42 │+ /// @binding(0): "transforms" [INFO] [stdout] 43 │+ wgpu::BindGroupLayoutEntry { [INFO] [stdout] 44 │+ binding: 0, [INFO] [stdout] 45 │+ visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 46 │+ ty: wgpu::BindingType::Buffer { [INFO] [stdout] 47 │+ ty: wgpu::BufferBindingType::Uniform, [INFO] [stdout] 48 │+ has_dynamic_offset: false, [INFO] [stdout] 49 │+ min_binding_size: std::num::NonZeroU64::new( [INFO] [stdout] 50 │+ std::mem::size_of::<_root::test::Transforms>() as _, [INFO] [stdout] 51 │+ ), [INFO] [stdout] 52 │+ }, [INFO] [stdout] 53 │+ count: None, [INFO] [stdout] 54 │+ }, [INFO] [stdout] 55 │+ /// @binding(1): "texture_array" [INFO] [stdout] 56 │+ wgpu::BindGroupLayoutEntry { [INFO] [stdout] 57 │+ binding: 1, [INFO] [stdout] 58 │+ visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 59 │+ ty: wgpu::BindingType::Texture { [INFO] [stdout] 60 │+ sample_type: wgpu::TextureSampleType::Float { [INFO] [stdout] 61 │+ filterable: true, [INFO] [stdout] 62 │+ }, [INFO] [stdout] 63 │+ view_dimension: wgpu::TextureViewDimension::D2, [INFO] [stdout] 64 │+ multisampled: false, [INFO] [stdout] 65 │+ }, [INFO] [stdout] 66 │+ count: Some(std::num::NonZeroU32::new(4u32).unwrap()), [INFO] [stdout] 67 │+ }, [INFO] [stdout] 68 │+ /// @binding(2): "sampler_array" [INFO] [stdout] 69 │+ wgpu::BindGroupLayoutEntry { [INFO] [stdout] 70 │+ binding: 2, [INFO] [stdout] 71 │+ visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 72 │+ ty: wgpu::BindingType::Sampler(wgpu::SamplerBindingType::Filtering), [INFO] [stdout] 73 │+ count: Some(std::num::NonZeroU32::new(3u32).unwrap()), [INFO] [stdout] 74 │+ }, [INFO] [stdout] 75 │+ ], [INFO] [stdout] 75 76 │ }; [INFO] [stdout] 76 │- pub fn get_bind_group_layout(device: &wgpu::Device) -> wgpu::BindGroupLayout { [INFO] [stdout] 77 │- device.create_bind_group_layout(&Self::LAYOUT_DESCRIPTOR) [INFO] [stdout] 78 │- } [INFO] [stdout] 79 │- pub fn from_bindings(device: &wgpu::Device, bindings: WgpuBindGroup0Entries) -> Self { [INFO] [stdout] 80 │- let bind_group_layout = Self::get_bind_group_layout(device); [INFO] [stdout] 81 │- let entries = bindings.into_array(); [INFO] [stdout] 82 │- let bind_group = device.create_bind_group(&wgpu::BindGroupDescriptor { [INFO] [stdout] 83 │- label: Some("Test::BindGroup0"), [INFO] [stdout] 84 │- layout: &bind_group_layout, [INFO] [stdout] 85 │- entries: &entries, [INFO] [stdout] 86 │- }); [INFO] [stdout] 87 │- Self(bind_group) [INFO] [stdout] 88 │- } [INFO] [stdout] 89 │- pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 90 │- pass.set_bind_group(0, &self.0, &[]); [INFO] [stdout] 91 │- } [INFO] [stdout] 77 │+ pub fn get_bind_group_layout(device: &wgpu::Device) -> wgpu::BindGroupLayout { [INFO] [stdout] 78 │+ device.create_bind_group_layout(&Self::LAYOUT_DESCRIPTOR) [INFO] [stdout] 79 │+ } [INFO] [stdout] 80 │+ pub fn from_bindings( [INFO] [stdout] 81 │+ device: &wgpu::Device, [INFO] [stdout] 82 │+ bindings: WgpuBindGroup0Entries, [INFO] [stdout] 83 │+ ) -> Self { [INFO] [stdout] 84 │+ let bind_group_layout = Self::get_bind_group_layout(device); [INFO] [stdout] 85 │+ let entries = bindings.into_array(); [INFO] [stdout] 86 │+ let bind_group = device [INFO] [stdout] 87 │+ .create_bind_group( [INFO] [stdout] 88 │+ &wgpu::BindGroupDescriptor { [INFO] [stdout] 89 │+ label: Some("Test::BindGroup0"), [INFO] [stdout] 90 │+ layout: &bind_group_layout, [INFO] [stdout] 91 │+ entries: &entries, [INFO] [stdout] 92 │+ }, [INFO] [stdout] 93 │+ ); [INFO] [stdout] 94 │+ Self(bind_group) [INFO] [stdout] 95 │+ } [INFO] [stdout] 96 │+ pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 97 │+ pass.set_bind_group(0, &self.0, &[]); [INFO] [stdout] 98 │+ } [INFO] [stdout] 92 99 │ } [INFO] [stdout] 93 │-#[doc = " Bind groups can be set individually using their set(render_pass) method, or all at once using `WgpuBindGroups::set`."] [INFO] [stdout] 94 │-#[doc = " For optimal performance with many draw calls, it's recommended to organize bindings into bind groups based on update frequency:"] [INFO] [stdout] 95 │-#[doc = " - Bind group 0: Least frequent updates (e.g. per frame resources)"] [INFO] [stdout] 96 │-#[doc = " - Bind group 1: More frequent updates"] [INFO] [stdout] 97 │-#[doc = " - Bind group 2: More frequent updates"] [INFO] [stdout] 98 │-#[doc = " - Bind group 3: Most frequent updates (e.g. per draw resources)"] [INFO] [stdout] 100 │+/// Bind groups can be set individually using their set(render_pass) method, or all at once using `WgpuBindGroups::set`. [INFO] [stdout] 101 │+/// For optimal performance with many draw calls, it's recommended to organize bindings into bind groups based on update frequency: [INFO] [stdout] 102 │+/// - Bind group 0: Least frequent updates (e.g. per frame resources) [INFO] [stdout] 103 │+/// - Bind group 1: More frequent updates [INFO] [stdout] 104 │+/// - Bind group 2: More frequent updates [INFO] [stdout] 105 │+/// - Bind group 3: Most frequent updates (e.g. per draw resources) [INFO] [stdout] 99 106 │ #[derive(Debug, Copy, Clone)] [INFO] [stdout] 100 107 │ pub struct WgpuBindGroups<'a> { [INFO] [stdout] 101 │- pub bind_group0: &'a WgpuBindGroup0, [INFO] [stdout] 108 │+ pub bind_group0: &'a WgpuBindGroup0, [INFO] [stdout] 102 109 │ } [INFO] [stdout] 103 110 │ impl<'a> WgpuBindGroups<'a> { [INFO] [stdout] 104 │- pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 105 │- self.bind_group0.set(pass); [INFO] [stdout] 106 │- } [INFO] [stdout] 111 │+ pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 112 │+ self.bind_group0.set(pass); [INFO] [stdout] 113 │+ } [INFO] [stdout] 107 114 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'generate::bind_group::tests::bind_groups_module_array_bindings' (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: 0x64d434624cd2 - std::backtrace_rs::backtrace::libunwind::trace::h7cddb8376417e7cc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x64d434624cd2 - std::backtrace_rs::backtrace::trace_unsynchronized::hb4e41acf4b349ff1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x64d434624cd2 - std::sys::backtrace::_print_fmt::h1222b80910ba6eb5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x64d434624cd2 - ::fmt::h5bb8a979ba5db788 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x64d434638d3f - core::fmt::rt::Argument::fmt::h2ee2c138a50a7796 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x64d434638d3f - core::fmt::write::h1e0dbf07fe3990bd [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x64d4345f03a3 - std::io::default_write_fmt::h7d7ad5ed6a883d81 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x64d4345f03a3 - std::io::Write::write_fmt::hc477d9325b345ece [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x64d4345fcc52 - std::sys::backtrace::BacktraceLock::print::h788d486777205086 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x64d43460282f - std::panicking::default_hook::{{closure}}::ha7bdfeb5949fc0fa [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x64d4346026c1 - std::panicking::default_hook::h6dad75ec721846f4 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x64d433d3b72e - as core::ops::function::Fn>::call::h33799d04b0b96146 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x64d433d3b72e - test::test_main_with_exit_callback::{{closure}}::h880e31c829a2eb5d [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x64d434602f7e - as core::ops::function::Fn>::call::h5e1b8c652ea49180 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x64d434602f7e - std::panicking::panic_with_hook::hba00e869ada17676 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x64d434602c9a - std::panicking::panic_handler::{{closure}}::h3d21149c258e5ceb [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x64d4345fcd89 - std::sys::backtrace::__rust_end_short_backtrace::h4f5d9b9dfb3e6ec1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x64d4345e34ad - __rustc[9a7a9f9af7564de1]::rust_begin_unwind [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x64d434643df0 - core::panicking::panic_fmt::h78e817a90331d98b [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x64d434642b06 - core::result::unwrap_failed::h3ce108722ad88f1e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:1852:5 [INFO] [stdout] 20: 0x64d433b5e0f3 - core::result::Result::unwrap::haafd36386984d778 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:1223:23 [INFO] [stdout] 21: 0x64d433b5e0f3 - wgsl_bindgen::generate::bind_group::tests::bind_groups_module_array_bindings::{{closure}}::h6c365e0cf5236923 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x64d433b9d6ff - insta::settings::Settings::bind::ha543d5a6c5109b34 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.1/src/settings.rs:509:9 [INFO] [stdout] 23: 0x64d433b5dc25 - wgsl_bindgen::generate::bind_group::tests::bind_groups_module_array_bindings::h1fea700d2f561da7 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x64d433b5e1e7 - wgsl_bindgen::generate::bind_group::tests::bind_groups_module_array_bindings::{{closure}}::h9aac515041341d64 [INFO] [stdout] at /opt/rustwide/workdir/src/generate/bind_group/mod.rs:572:41 [INFO] [stdout] 25: 0x64d433b717d6 - core::ops::function::FnOnce::call_once::h70af7cd8d5553503 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x64d433d3b52b - core::ops::function::FnOnce::call_once::h7f4b4fba903e39d5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 27: 0x64d433d3b52b - test::__rust_begin_short_backtrace::h9277cb6a2ccfc000 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x64d433d50fd5 - test::run_test_in_process::{{closure}}::h9aea5ca90d1f4423 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x64d433d50fd5 - as core::ops::function::FnOnce<()>>::call_once::h364f5fe6cc8afa85 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 30: 0x64d433d50fd5 - std::panicking::catch_unwind::do_call::h2b2bec3317fe53ec [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x64d433d50fd5 - std::panicking::catch_unwind::hc3763734156da4af [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x64d433d50fd5 - std::panic::catch_unwind::h28038391e867eabc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x64d433d50fd5 - test::run_test_in_process::had0273166695a036 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x64d433d50fd5 - test::run_test::{{closure}}::h743d09d4bb476605 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x64d433d279f4 - test::run_test::{{closure}}::he950b8f9118d37e2 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x64d433d279f4 - std::sys::backtrace::__rust_begin_short_backtrace::hbfaffa6539f6abb7 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x64d433d2b2da - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hcce3c2c65b9c3b20 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x64d433d2b2da - as core::ops::function::FnOnce<()>>::call_once::hb66b30b6d37985a5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 39: 0x64d433d2b2da - std::panicking::catch_unwind::do_call::h992bbe2c32dc1d79 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x64d433d2b2da - std::panicking::catch_unwind::h412991d5237de610 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x64d433d2b2da - std::panic::catch_unwind::ha82b139b3eb5840a [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x64d433d2b2da - std::thread::Builder::spawn_unchecked_::{{closure}}::ha823b36f5114938e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x64d433d2b2da - core::ops::function::FnOnce::call_once{{vtable.shim}}::hf120e7b1db22ac07 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 44: 0x64d4345f6cdf - as core::ops::function::FnOnce>::call_once::h3e049222c99298ac [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 45: 0x64d4345f6cdf - std::sys::pal::unix::thread::Thread::new::thread_start::h942e336943ad5963 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 46: 0x7220e1521aa4 - [INFO] [stdout] 47: 0x7220e15aea34 - clone [INFO] [stdout] 48: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- generate::entry::test::write_fragment_states_single_entry stdout ---- [INFO] [stdout] Warning: rustfmt formatting failed (rustfmt failed: error: 'rustfmt' is not installed for the custom toolchain 'cdb45c87e2cd43495379f7e867e3cc15dcee9f93'. [INFO] [stdout] note: this is a custom toolchain, which cannot use `rustup component add` [INFO] [stdout] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py` [INFO] [stdout] ), falling back to prettyplease [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/generate/snapshots/write_fragment_states_single_entry.snap [INFO] [stdout] Snapshot: write_fragment_states_single_entry [INFO] [stdout] Source: src/generate/entry.rs:536 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 0 │ #[derive(Debug)] [INFO] [stdout] 1 1 │ pub struct FragmentEntry { [INFO] [stdout] 2 │- pub entry_point: &'static str, [INFO] [stdout] 3 │- pub targets: [Option; N], [INFO] [stdout] 4 │- pub constants: Vec<(&'static str, f64)>, [INFO] [stdout] 2 │+ pub entry_point: &'static str, [INFO] [stdout] 3 │+ pub targets: [Option; N], [INFO] [stdout] 4 │+ pub constants: Vec<(&'static str, f64)>, [INFO] [stdout] 5 5 │ } [INFO] [stdout] 6 6 │ pub fn fragment_state<'a, const N: usize>( [INFO] [stdout] 7 │- module: &'a wgpu::ShaderModule, [INFO] [stdout] 8 │- entry: &'a FragmentEntry, [INFO] [stdout] 7 │+ module: &'a wgpu::ShaderModule, [INFO] [stdout] 8 │+ entry: &'a FragmentEntry, [INFO] [stdout] 9 9 │ ) -> wgpu::FragmentState<'a> { [INFO] [stdout] 10 │- wgpu::FragmentState { [INFO] [stdout] 11 │- module, [INFO] [stdout] 12 │- entry_point: Some(entry.entry_point), [INFO] [stdout] 13 │- targets: &entry.targets, [INFO] [stdout] 14 │- compilation_options: wgpu::PipelineCompilationOptions { [INFO] [stdout] 15 │- constants: &entry.constants, [INFO] [stdout] 16 │- ..Default::default() [INFO] [stdout] 17 │- }, [INFO] [stdout] 18 │- } [INFO] [stdout] 10 │+ wgpu::FragmentState { [INFO] [stdout] 11 │+ module, [INFO] [stdout] 12 │+ entry_point: Some(entry.entry_point), [INFO] [stdout] 13 │+ targets: &entry.targets, [INFO] [stdout] 14 │+ compilation_options: wgpu::PipelineCompilationOptions { [INFO] [stdout] 15 │+ constants: &entry.constants, [INFO] [stdout] 16 │+ ..Default::default() [INFO] [stdout] 17 │+ }, [INFO] [stdout] 18 │+ } [INFO] [stdout] 19 19 │ } [INFO] [stdout] 20 20 │ pub fn fs_single_entry( [INFO] [stdout] 21 │- targets: [Option; 1], [INFO] [stdout] 22 │- overrides: &OverrideConstants, [INFO] [stdout] 21 │+ targets: [Option; 1], [INFO] [stdout] 22 │+ overrides: &OverrideConstants, [INFO] [stdout] 23 23 │ ) -> FragmentEntry<1> { [INFO] [stdout] 24 │- FragmentEntry { [INFO] [stdout] 25 │- entry_point: ENTRY_FS_SINGLE, [INFO] [stdout] 26 │- targets, [INFO] [stdout] 27 │- constants: overrides.constants(), [INFO] [stdout] 28 │- } [INFO] [stdout] 24 │+ FragmentEntry { [INFO] [stdout] 25 │+ entry_point: ENTRY_FS_SINGLE, [INFO] [stdout] 26 │+ targets, [INFO] [stdout] 27 │+ constants: overrides.constants(), [INFO] [stdout] 28 │+ } [INFO] [stdout] 29 29 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'generate::entry::test::write_fragment_states_single_entry' (126) 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: 0x64d434624cd2 - std::backtrace_rs::backtrace::libunwind::trace::h7cddb8376417e7cc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x64d434624cd2 - std::backtrace_rs::backtrace::trace_unsynchronized::hb4e41acf4b349ff1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x64d434624cd2 - std::sys::backtrace::_print_fmt::h1222b80910ba6eb5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x64d434624cd2 - ::fmt::h5bb8a979ba5db788 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x64d434638d3f - core::fmt::rt::Argument::fmt::h2ee2c138a50a7796 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x64d434638d3f - core::fmt::write::h1e0dbf07fe3990bd [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x64d4345f03a3 - std::io::default_write_fmt::h7d7ad5ed6a883d81 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x64d4345f03a3 - std::io::Write::write_fmt::hc477d9325b345ece [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x64d4345fcc52 - std::sys::backtrace::BacktraceLock::print::h788d486777205086 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x64d43460282f - std::panicking::default_hook::{{closure}}::ha7bdfeb5949fc0fa [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x64d4346026c1 - std::panicking::default_hook::h6dad75ec721846f4 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x64d433d3b72e - as core::ops::function::Fn>::call::h33799d04b0b96146 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x64d433d3b72e - test::test_main_with_exit_callback::{{closure}}::h880e31c829a2eb5d [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x64d434602f7e - as core::ops::function::Fn>::call::h5e1b8c652ea49180 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x64d434602f7e - std::panicking::panic_with_hook::hba00e869ada17676 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x64d434602c9a - std::panicking::panic_handler::{{closure}}::h3d21149c258e5ceb [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x64d4345fcd89 - std::sys::backtrace::__rust_end_short_backtrace::h4f5d9b9dfb3e6ec1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x64d4345e34ad - __rustc[9a7a9f9af7564de1]::rust_begin_unwind [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x64d434643df0 - core::panicking::panic_fmt::h78e817a90331d98b [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x64d434642b06 - core::result::unwrap_failed::h3ce108722ad88f1e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:1852:5 [INFO] [stdout] 20: 0x64d433b63be3 - core::result::Result::unwrap::haafd36386984d778 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:1223:23 [INFO] [stdout] 21: 0x64d433b63be3 - wgsl_bindgen::generate::entry::test::write_fragment_states_single_entry::{{closure}}::hc7097f32a90eb01a [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x64d433b9c9df - insta::settings::Settings::bind::h416295c73008a819 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.1/src/settings.rs:509:9 [INFO] [stdout] 23: 0x64d433b636ff - wgsl_bindgen::generate::entry::test::write_fragment_states_single_entry::h4abccba41a9826d1 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x64d433b637b7 - wgsl_bindgen::generate::entry::test::write_fragment_states_single_entry::{{closure}}::h886130fb6e0287f7 [INFO] [stdout] at /opt/rustwide/workdir/src/generate/entry.rs:525:42 [INFO] [stdout] 25: 0x64d433b72366 - core::ops::function::FnOnce::call_once::hcccf13b0d71048f7 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x64d433d3b52b - core::ops::function::FnOnce::call_once::h7f4b4fba903e39d5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 27: 0x64d433d3b52b - test::__rust_begin_short_backtrace::h9277cb6a2ccfc000 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x64d433d50fd5 - test::run_test_in_process::{{closure}}::h9aea5ca90d1f4423 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x64d433d50fd5 - as core::ops::function::FnOnce<()>>::call_once::h364f5fe6cc8afa85 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 30: 0x64d433d50fd5 - std::panicking::catch_unwind::do_call::h2b2bec3317fe53ec [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x64d433d50fd5 - std::panicking::catch_unwind::hc3763734156da4af [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x64d433d50fd5 - std::panic::catch_unwind::h28038391e867eabc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x64d433d50fd5 - test::run_test_in_process::had0273166695a036 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x64d433d50fd5 - test::run_test::{{closure}}::h743d09d4bb476605 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x64d433d279f4 - test::run_test::{{closure}}::he950b8f9118d37e2 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x64d433d279f4 - std::sys::backtrace::__rust_begin_short_backtrace::hbfaffa6539f6abb7 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x64d433d2b2da - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hcce3c2c65b9c3b20 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x64d433d2b2da - as core::ops::function::FnOnce<()>>::call_once::hb66b30b6d37985a5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 39: 0x64d433d2b2da - std::panicking::catch_unwind::do_call::h992bbe2c32dc1d79 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x64d433d2b2da - std::panicking::catch_unwind::h412991d5237de610 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x64d433d2b2da - std::panic::catch_unwind::ha82b139b3eb5840a [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x64d433d2b2da - std::thread::Builder::spawn_unchecked_::{{closure}}::ha823b36f5114938e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x64d433d2b2da - core::ops::function::FnOnce::call_once{{vtable.shim}}::hf120e7b1db22ac07 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 44: 0x64d4345f6cdf - as core::ops::function::FnOnce>::call_once::h3e049222c99298ac [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 45: 0x64d4345f6cdf - std::sys::pal::unix::thread::Thread::new::thread_start::h942e336943ad5963 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 46: 0x7220e1521aa4 - [INFO] [stdout] 47: 0x7220e15aea34 - 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 'cdb45c87e2cd43495379f7e867e3cc15dcee9f93'. [INFO] [stdout] note: this is a custom toolchain, which cannot use `rustup component add` [INFO] [stdout] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py` [INFO] [stdout] ), falling back to prettyplease [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/generate/bind_group/snapshots/bind_groups_module_fragment.snap [INFO] [stdout] Snapshot: bind_groups_module_fragment [INFO] [stdout] Source: src/generate/bind_group/mod.rs:532 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 0 │ #[derive(Debug)] [INFO] [stdout] 1 1 │ pub struct WgpuBindGroup0EntriesParams<'a> { [INFO] [stdout] 2 │- pub transforms: wgpu::BufferBinding<'a>, [INFO] [stdout] 2 │+ pub transforms: wgpu::BufferBinding<'a>, [INFO] [stdout] 3 3 │ } [INFO] [stdout] 4 4 │ #[derive(Clone, Debug)] [INFO] [stdout] 5 5 │ pub struct WgpuBindGroup0Entries<'a> { [INFO] [stdout] 6 │- pub transforms: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 6 │+ pub transforms: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 7 7 │ } [INFO] [stdout] 8 8 │ impl<'a> WgpuBindGroup0Entries<'a> { [INFO] [stdout] 9 │- pub fn new(params: WgpuBindGroup0EntriesParams<'a>) -> Self { [INFO] [stdout] 10 │- Self { [INFO] [stdout] 11 │- transforms: wgpu::BindGroupEntry { [INFO] [stdout] 12 │- binding: 0, [INFO] [stdout] 13 │- resource: wgpu::BindingResource::Buffer(params.transforms), [INFO] [stdout] 14 │- }, [INFO] [stdout] 9 │+ pub fn new(params: WgpuBindGroup0EntriesParams<'a>) -> Self { [INFO] [stdout] 10 │+ Self { [INFO] [stdout] 11 │+ transforms: wgpu::BindGroupEntry { [INFO] [stdout] 12 │+ binding: 0, [INFO] [stdout] 13 │+ resource: wgpu::BindingResource::Buffer(params.transforms), [INFO] [stdout] 14 │+ }, [INFO] [stdout] 15 │+ } [INFO] [stdout] 16 │+ } [INFO] [stdout] 17 │+ pub fn into_array(self) -> [wgpu::BindGroupEntry<'a>; 1] { [INFO] [stdout] 18 │+ [self.transforms] [INFO] [stdout] 19 │+ } [INFO] [stdout] 20 │+ pub fn collect>>(self) -> B { [INFO] [stdout] 21 │+ self.into_array().into_iter().collect() [INFO] [stdout] 15 22 │ } [INFO] [stdout] 16 │- } [INFO] [stdout] 17 │- pub fn into_array(self) -> [wgpu::BindGroupEntry<'a>; 1] { [INFO] [stdout] 18 │- [self.transforms] [INFO] [stdout] 19 │- } [INFO] [stdout] 20 │- pub fn collect>>(self) -> B { [INFO] [stdout] 21 │- self.into_array().into_iter().collect() [INFO] [stdout] 22 │- } [INFO] [stdout] 23 23 │ } [INFO] [stdout] 24 24 │ #[derive(Debug)] [INFO] [stdout] 25 25 │ pub struct WgpuBindGroup0(wgpu::BindGroup); [INFO] [stdout] 26 26 │ impl WgpuBindGroup0 { [INFO] [stdout] 27 │- pub const LAYOUT_DESCRIPTOR: wgpu::BindGroupLayoutDescriptor<'static> = [INFO] [stdout] 28 │- wgpu::BindGroupLayoutDescriptor { [INFO] [stdout] 29 │- label: Some("Test::BindGroup0::LayoutDescriptor"), [INFO] [stdout] 30 │- entries: &[ [INFO] [stdout] 31 │- #[doc = " @binding(0): \"transforms\""] [INFO] [stdout] 32 │- wgpu::BindGroupLayoutEntry { [INFO] [stdout] 33 │- binding: 0, [INFO] [stdout] 34 │- visibility: wgpu::ShaderStages::FRAGMENT, [INFO] [stdout] 35 │- ty: wgpu::BindingType::Buffer { [INFO] [stdout] 36 │- ty: wgpu::BufferBindingType::Uniform, [INFO] [stdout] 37 │- has_dynamic_offset: false, [INFO] [stdout] 38 │- min_binding_size: std::num::NonZeroU64::new(std::mem::size_of::< [INFO] [stdout] 39 │- _root::test::Transforms, [INFO] [stdout] 40 │- >() as _), [INFO] [stdout] 41 │- }, [INFO] [stdout] 42 │- count: None, [INFO] [stdout] 43 │- }, [INFO] [stdout] 44 │- ], [INFO] [stdout] 27 │+ pub const LAYOUT_DESCRIPTOR: wgpu::BindGroupLayoutDescriptor<'static> = wgpu::BindGroupLayoutDescriptor { [INFO] [stdout] 28 │+ label: Some("Test::BindGroup0::LayoutDescriptor"), [INFO] [stdout] 29 │+ entries: &[ [INFO] [stdout] 30 │+ /// @binding(0): "transforms" [INFO] [stdout] 31 │+ wgpu::BindGroupLayoutEntry { [INFO] [stdout] 32 │+ binding: 0, [INFO] [stdout] 33 │+ visibility: wgpu::ShaderStages::FRAGMENT, [INFO] [stdout] 34 │+ ty: wgpu::BindingType::Buffer { [INFO] [stdout] 35 │+ ty: wgpu::BufferBindingType::Uniform, [INFO] [stdout] 36 │+ has_dynamic_offset: false, [INFO] [stdout] 37 │+ min_binding_size: std::num::NonZeroU64::new( [INFO] [stdout] 38 │+ std::mem::size_of::<_root::test::Transforms>() as _, [INFO] [stdout] 39 │+ ), [INFO] [stdout] 40 │+ }, [INFO] [stdout] 41 │+ count: None, [INFO] [stdout] 42 │+ }, [INFO] [stdout] 43 │+ ], [INFO] [stdout] 45 44 │ }; [INFO] [stdout] 46 │- pub fn get_bind_group_layout(device: &wgpu::Device) -> wgpu::BindGroupLayout { [INFO] [stdout] 47 │- device.create_bind_group_layout(&Self::LAYOUT_DESCRIPTOR) [INFO] [stdout] 48 │- } [INFO] [stdout] 49 │- pub fn from_bindings(device: &wgpu::Device, bindings: WgpuBindGroup0Entries) -> Self { [INFO] [stdout] 50 │- let bind_group_layout = Self::get_bind_group_layout(device); [INFO] [stdout] 51 │- let entries = bindings.into_array(); [INFO] [stdout] 52 │- let bind_group = device.create_bind_group(&wgpu::BindGroupDescriptor { [INFO] [stdout] 53 │- label: Some("Test::BindGroup0"), [INFO] [stdout] 54 │- layout: &bind_group_layout, [INFO] [stdout] 55 │- entries: &entries, [INFO] [stdout] 56 │- }); [INFO] [stdout] 57 │- Self(bind_group) [INFO] [stdout] 58 │- } [INFO] [stdout] 59 │- pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 60 │- pass.set_bind_group(0, &self.0, &[]); [INFO] [stdout] 61 │- } [INFO] [stdout] 45 │+ pub fn get_bind_group_layout(device: &wgpu::Device) -> wgpu::BindGroupLayout { [INFO] [stdout] 46 │+ device.create_bind_group_layout(&Self::LAYOUT_DESCRIPTOR) [INFO] [stdout] 47 │+ } [INFO] [stdout] 48 │+ pub fn from_bindings( [INFO] [stdout] 49 │+ device: &wgpu::Device, [INFO] [stdout] 50 │+ bindings: WgpuBindGroup0Entries, [INFO] [stdout] 51 │+ ) -> Self { [INFO] [stdout] 52 │+ let bind_group_layout = Self::get_bind_group_layout(device); [INFO] [stdout] 53 │+ let entries = bindings.into_array(); [INFO] [stdout] 54 │+ let bind_group = device [INFO] [stdout] 55 │+ .create_bind_group( [INFO] [stdout] 56 │+ &wgpu::BindGroupDescriptor { [INFO] [stdout] 57 │+ label: Some("Test::BindGroup0"), [INFO] [stdout] 58 │+ layout: &bind_group_layout, [INFO] [stdout] 59 │+ entries: &entries, [INFO] [stdout] 60 │+ }, [INFO] [stdout] 61 │+ ); [INFO] [stdout] 62 │+ Self(bind_group) [INFO] [stdout] 63 │+ } [INFO] [stdout] 64 │+ pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 65 │+ pass.set_bind_group(0, &self.0, &[]); [INFO] [stdout] 66 │+ } [INFO] [stdout] 62 67 │ } [INFO] [stdout] 63 │-#[doc = " Bind groups can be set individually using their set(render_pass) method, or all at once using `WgpuBindGroups::set`."] [INFO] [stdout] 64 │-#[doc = " For optimal performance with many draw calls, it's recommended to organize bindings into bind groups based on update frequency:"] [INFO] [stdout] 65 │-#[doc = " - Bind group 0: Least frequent updates (e.g. per frame resources)"] [INFO] [stdout] 66 │-#[doc = " - Bind group 1: More frequent updates"] [INFO] [stdout] 67 │-#[doc = " - Bind group 2: More frequent updates"] [INFO] [stdout] 68 │-#[doc = " - Bind group 3: Most frequent updates (e.g. per draw resources)"] [INFO] [stdout] 68 │+/// Bind groups can be set individually using their set(render_pass) method, or all at once using `WgpuBindGroups::set`. [INFO] [stdout] 69 │+/// For optimal performance with many draw calls, it's recommended to organize bindings into bind groups based on update frequency: [INFO] [stdout] 70 │+/// - Bind group 0: Least frequent updates (e.g. per frame resources) [INFO] [stdout] 71 │+/// - Bind group 1: More frequent updates [INFO] [stdout] 72 │+/// - Bind group 2: More frequent updates [INFO] [stdout] 73 │+/// - Bind group 3: Most frequent updates (e.g. per draw resources) [INFO] [stdout] 69 74 │ #[derive(Debug, Copy, Clone)] [INFO] [stdout] 70 75 │ pub struct WgpuBindGroups<'a> { [INFO] [stdout] 71 │- pub bind_group0: &'a WgpuBindGroup0, [INFO] [stdout] 76 │+ pub bind_group0: &'a WgpuBindGroup0, [INFO] [stdout] 72 77 │ } [INFO] [stdout] 73 78 │ impl<'a> WgpuBindGroups<'a> { [INFO] [stdout] 74 │- pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 75 │- self.bind_group0.set(pass); [INFO] [stdout] 76 │- } [INFO] [stdout] 79 │+ pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 80 │+ self.bind_group0.set(pass); [INFO] [stdout] 81 │+ } [INFO] [stdout] 77 82 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'generate::bind_group::tests::bind_groups_module_fragment' (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: 0x64d434624cd2 - std::backtrace_rs::backtrace::libunwind::trace::h7cddb8376417e7cc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x64d434624cd2 - std::backtrace_rs::backtrace::trace_unsynchronized::hb4e41acf4b349ff1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x64d434624cd2 - std::sys::backtrace::_print_fmt::h1222b80910ba6eb5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x64d434624cd2 - ::fmt::h5bb8a979ba5db788 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x64d434638d3f - core::fmt::rt::Argument::fmt::h2ee2c138a50a7796 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x64d434638d3f - core::fmt::write::h1e0dbf07fe3990bd [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x64d4345f03a3 - std::io::default_write_fmt::h7d7ad5ed6a883d81 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x64d4345f03a3 - std::io::Write::write_fmt::hc477d9325b345ece [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x64d4345fcc52 - std::sys::backtrace::BacktraceLock::print::h788d486777205086 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x64d43460282f - std::panicking::default_hook::{{closure}}::ha7bdfeb5949fc0fa [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x64d4346026c1 - std::panicking::default_hook::h6dad75ec721846f4 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x64d433d3b72e - as core::ops::function::Fn>::call::h33799d04b0b96146 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x64d433d3b72e - test::test_main_with_exit_callback::{{closure}}::h880e31c829a2eb5d [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x64d434602f7e - as core::ops::function::Fn>::call::h5e1b8c652ea49180 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x64d434602f7e - std::panicking::panic_with_hook::hba00e869ada17676 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x64d434602c9a - std::panicking::panic_handler::{{closure}}::h3d21149c258e5ceb [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x64d4345fcd89 - std::sys::backtrace::__rust_end_short_backtrace::h4f5d9b9dfb3e6ec1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x64d4345e34ad - __rustc[9a7a9f9af7564de1]::rust_begin_unwind [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x64d434643df0 - core::panicking::panic_fmt::h78e817a90331d98b [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x64d434642b06 - core::result::unwrap_failed::h3ce108722ad88f1e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:1852:5 [INFO] [stdout] 20: 0x64d433b5d0c3 - core::result::Result::unwrap::haafd36386984d778 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:1223:23 [INFO] [stdout] 21: 0x64d433b5d0c3 - wgsl_bindgen::generate::bind_group::tests::bind_groups_module_fragment::{{closure}}::hfddc534c5ee34b54 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x64d433b9da1f - insta::settings::Settings::bind::hcae171fb1a9deb81 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.1/src/settings.rs:509:9 [INFO] [stdout] 23: 0x64d433b5cbc5 - wgsl_bindgen::generate::bind_group::tests::bind_groups_module_fragment::hc40d94321af8e1d0 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x64d433b5cc97 - wgsl_bindgen::generate::bind_group::tests::bind_groups_module_fragment::{{closure}}::h6396d82ce0025ce5 [INFO] [stdout] at /opt/rustwide/workdir/src/generate/bind_group/mod.rs:503:35 [INFO] [stdout] 25: 0x64d433b71686 - core::ops::function::FnOnce::call_once::h6b1c7a9857bbf932 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x64d433d3b52b - core::ops::function::FnOnce::call_once::h7f4b4fba903e39d5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 27: 0x64d433d3b52b - test::__rust_begin_short_backtrace::h9277cb6a2ccfc000 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x64d433d50fd5 - test::run_test_in_process::{{closure}}::h9aea5ca90d1f4423 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x64d433d50fd5 - as core::ops::function::FnOnce<()>>::call_once::h364f5fe6cc8afa85 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 30: 0x64d433d50fd5 - std::panicking::catch_unwind::do_call::h2b2bec3317fe53ec [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x64d433d50fd5 - std::panicking::catch_unwind::hc3763734156da4af [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x64d433d50fd5 - std::panic::catch_unwind::h28038391e867eabc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x64d433d50fd5 - test::run_test_in_process::had0273166695a036 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x64d433d50fd5 - test::run_test::{{closure}}::h743d09d4bb476605 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x64d433d279f4 - test::run_test::{{closure}}::he950b8f9118d37e2 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x64d433d279f4 - std::sys::backtrace::__rust_begin_short_backtrace::hbfaffa6539f6abb7 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x64d433d2b2da - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hcce3c2c65b9c3b20 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x64d433d2b2da - as core::ops::function::FnOnce<()>>::call_once::hb66b30b6d37985a5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 39: 0x64d433d2b2da - std::panicking::catch_unwind::do_call::h992bbe2c32dc1d79 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x64d433d2b2da - std::panicking::catch_unwind::h412991d5237de610 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x64d433d2b2da - std::panic::catch_unwind::ha82b139b3eb5840a [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x64d433d2b2da - std::thread::Builder::spawn_unchecked_::{{closure}}::ha823b36f5114938e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x64d433d2b2da - core::ops::function::FnOnce::call_once{{vtable.shim}}::hf120e7b1db22ac07 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 44: 0x64d4345f6cdf - as core::ops::function::FnOnce>::call_once::h3e049222c99298ac [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 45: 0x64d4345f6cdf - std::sys::pal::unix::thread::Thread::new::thread_start::h942e336943ad5963 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 46: 0x7220e1521aa4 - [INFO] [stdout] 47: 0x7220e15aea34 - 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 'cdb45c87e2cd43495379f7e867e3cc15dcee9f93'. [INFO] [stdout] note: this is a custom toolchain, which cannot use `rustup component add` [INFO] [stdout] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py` [INFO] [stdout] ), falling back to prettyplease [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/generate/bind_group/snapshots/bind_groups_module_vertex_fragment.snap [INFO] [stdout] Snapshot: bind_groups_module_vertex_fragment [INFO] [stdout] Source: src/generate/bind_group/mod.rs:466 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 0 │ #[derive(Debug)] [INFO] [stdout] 1 1 │ pub struct WgpuBindGroup0EntriesParams<'a> { [INFO] [stdout] 2 │- pub color_texture: &'a wgpu::TextureView, [INFO] [stdout] 3 │- pub color_texture_i32: &'a wgpu::TextureView, [INFO] [stdout] 4 │- pub color_texture_u32: &'a wgpu::TextureView, [INFO] [stdout] 5 │- pub color_sampler: &'a wgpu::Sampler, [INFO] [stdout] 6 │- pub depth_texture: &'a wgpu::TextureView, [INFO] [stdout] 7 │- pub comparison_sampler: &'a wgpu::Sampler, [INFO] [stdout] 8 │- pub storage_tex_read: &'a wgpu::TextureView, [INFO] [stdout] 9 │- pub storage_tex_write: &'a wgpu::TextureView, [INFO] [stdout] 10 │- pub storage_tex_read_write: &'a wgpu::TextureView, [INFO] [stdout] 11 │- pub color_texture_msaa: &'a wgpu::TextureView, [INFO] [stdout] 12 │- pub depth_texture_msaa: &'a wgpu::TextureView, [INFO] [stdout] 2 │+ pub color_texture: &'a wgpu::TextureView, [INFO] [stdout] 3 │+ pub color_texture_i32: &'a wgpu::TextureView, [INFO] [stdout] 4 │+ pub color_texture_u32: &'a wgpu::TextureView, [INFO] [stdout] 5 │+ pub color_sampler: &'a wgpu::Sampler, [INFO] [stdout] 6 │+ pub depth_texture: &'a wgpu::TextureView, [INFO] [stdout] 7 │+ pub comparison_sampler: &'a wgpu::Sampler, [INFO] [stdout] 8 │+ pub storage_tex_read: &'a wgpu::TextureView, [INFO] [stdout] 9 │+ pub storage_tex_write: &'a wgpu::TextureView, [INFO] [stdout] 10 │+ pub storage_tex_read_write: &'a wgpu::TextureView, [INFO] [stdout] 11 │+ pub color_texture_msaa: &'a wgpu::TextureView, [INFO] [stdout] 12 │+ pub depth_texture_msaa: &'a wgpu::TextureView, [INFO] [stdout] 13 13 │ } [INFO] [stdout] 14 14 │ #[derive(Clone, Debug)] [INFO] [stdout] 15 15 │ pub struct WgpuBindGroup0Entries<'a> { [INFO] [stdout] 16 │- pub color_texture: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 17 │- pub color_texture_i32: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 18 │- pub color_texture_u32: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 19 │- pub color_sampler: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 20 │- pub depth_texture: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 21 │- pub comparison_sampler: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 22 │- pub storage_tex_read: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 23 │- pub storage_tex_write: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 24 │- pub storage_tex_read_write: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 25 │- pub color_texture_msaa: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 26 │- pub depth_texture_msaa: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 16 │+ pub color_texture: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 17 │+ pub color_texture_i32: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 18 │+ pub color_texture_u32: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 19 │+ pub color_sampler: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 20 │+ pub depth_texture: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 21 │+ pub comparison_sampler: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 22 │+ pub storage_tex_read: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 23 │+ pub storage_tex_write: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 24 │+ pub storage_tex_read_write: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 25 │+ pub color_texture_msaa: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 26 │+ pub depth_texture_msaa: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 27 27 │ } [INFO] [stdout] 28 28 │ impl<'a> WgpuBindGroup0Entries<'a> { [INFO] [stdout] 29 │- pub fn new(params: WgpuBindGroup0EntriesParams<'a>) -> Self { [INFO] [stdout] 30 │- Self { [INFO] [stdout] 31 │- color_texture: wgpu::BindGroupEntry { [INFO] [stdout] 32 │- binding: 0, [INFO] [stdout] 33 │- resource: wgpu::BindingResource::TextureView(params.color_texture), [INFO] [stdout] 34 │- }, [INFO] [stdout] 35 │- color_texture_i32: wgpu::BindGroupEntry { [INFO] [stdout] 36 │- binding: 1, [INFO] [stdout] 37 │- resource: wgpu::BindingResource::TextureView(params.color_texture_i32), [INFO] [stdout] 38 │- }, [INFO] [stdout] 39 │- color_texture_u32: wgpu::BindGroupEntry { [INFO] [stdout] 40 │- binding: 2, [INFO] [stdout] 41 │- resource: wgpu::BindingResource::TextureView(params.color_texture_u32), [INFO] [stdout] 42 │- }, [INFO] [stdout] 43 │- color_sampler: wgpu::BindGroupEntry { [INFO] [stdout] 44 │- binding: 3, [INFO] [stdout] 45 │- resource: wgpu::BindingResource::Sampler(params.color_sampler), [INFO] [stdout] 46 │- }, [INFO] [stdout] 47 │- depth_texture: wgpu::BindGroupEntry { [INFO] [stdout] 48 │- binding: 4, [INFO] [stdout] 49 │- resource: wgpu::BindingResource::TextureView(params.depth_texture), [INFO] [stdout] 50 │- }, [INFO] [stdout] 51 │- comparison_sampler: wgpu::BindGroupEntry { [INFO] [stdout] 52 │- binding: 5, [INFO] [stdout] 53 │- resource: wgpu::BindingResource::Sampler(params.comparison_sampler), [INFO] [stdout] 54 │- }, [INFO] [stdout] 55 │- storage_tex_read: wgpu::BindGroupEntry { [INFO] [stdout] 56 │- binding: 6, [INFO] [stdout] 57 │- resource: wgpu::BindingResource::TextureView(params.storage_tex_read), [INFO] [stdout] 58 │- }, [INFO] [stdout] 59 │- storage_tex_write: wgpu::BindGroupEntry { [INFO] [stdout] 60 │- binding: 7, [INFO] [stdout] 61 │- resource: wgpu::BindingResource::TextureView(params.storage_tex_write), [INFO] [stdout] 62 │- }, [INFO] [stdout] 63 │- storage_tex_read_write: wgpu::BindGroupEntry { [INFO] [stdout] 64 │- binding: 8, [INFO] [stdout] 65 │- resource: wgpu::BindingResource::TextureView(params.storage_tex_read_write), [INFO] [stdout] 66 │- }, [INFO] [stdout] 67 │- color_texture_msaa: wgpu::BindGroupEntry { [INFO] [stdout] 68 │- binding: 9, [INFO] [stdout] 69 │- resource: wgpu::BindingResource::TextureView(params.color_texture_msaa), [INFO] [stdout] 70 │- }, [INFO] [stdout] 71 │- depth_texture_msaa: wgpu::BindGroupEntry { [INFO] [stdout] 72 │- binding: 10, [INFO] [stdout] 73 │- resource: wgpu::BindingResource::TextureView(params.depth_texture_msaa), [INFO] [stdout] 74 │- }, [INFO] [stdout] 29 │+ pub fn new(params: WgpuBindGroup0EntriesParams<'a>) -> Self { [INFO] [stdout] 30 │+ Self { [INFO] [stdout] 31 │+ color_texture: wgpu::BindGroupEntry { [INFO] [stdout] 32 │+ binding: 0, [INFO] [stdout] 33 │+ resource: wgpu::BindingResource::TextureView(params.color_texture), [INFO] [stdout] 34 │+ }, [INFO] [stdout] 35 │+ color_texture_i32: wgpu::BindGroupEntry { [INFO] [stdout] 36 │+ binding: 1, [INFO] [stdout] 37 │+ resource: wgpu::BindingResource::TextureView(params.color_texture_i32), [INFO] [stdout] 38 │+ }, [INFO] [stdout] 39 │+ color_texture_u32: wgpu::BindGroupEntry { [INFO] [stdout] 40 │+ binding: 2, [INFO] [stdout] 41 │+ resource: wgpu::BindingResource::TextureView(params.color_texture_u32), [INFO] [stdout] 42 │+ }, [INFO] [stdout] 43 │+ color_sampler: wgpu::BindGroupEntry { [INFO] [stdout] 44 │+ binding: 3, [INFO] [stdout] 45 │+ resource: wgpu::BindingResource::Sampler(params.color_sampler), [INFO] [stdout] 46 │+ }, [INFO] [stdout] 47 │+ depth_texture: wgpu::BindGroupEntry { [INFO] [stdout] 48 │+ binding: 4, [INFO] [stdout] 49 │+ resource: wgpu::BindingResource::TextureView(params.depth_texture), [INFO] [stdout] 50 │+ }, [INFO] [stdout] 51 │+ comparison_sampler: wgpu::BindGroupEntry { [INFO] [stdout] 52 │+ binding: 5, [INFO] [stdout] 53 │+ resource: wgpu::BindingResource::Sampler(params.comparison_sampler), [INFO] [stdout] 54 │+ }, [INFO] [stdout] 55 │+ storage_tex_read: wgpu::BindGroupEntry { [INFO] [stdout] 56 │+ binding: 6, [INFO] [stdout] 57 │+ resource: wgpu::BindingResource::TextureView(params.storage_tex_read), [INFO] [stdout] 58 │+ }, [INFO] [stdout] 59 │+ storage_tex_write: wgpu::BindGroupEntry { [INFO] [stdout] 60 │+ binding: 7, [INFO] [stdout] 61 │+ resource: wgpu::BindingResource::TextureView(params.storage_tex_write), [INFO] [stdout] 62 │+ }, [INFO] [stdout] 63 │+ storage_tex_read_write: wgpu::BindGroupEntry { [INFO] [stdout] 64 │+ binding: 8, [INFO] [stdout] 65 │+ resource: wgpu::BindingResource::TextureView( [INFO] [stdout] 66 │+ params.storage_tex_read_write, [INFO] [stdout] 67 │+ ), [INFO] [stdout] 68 │+ }, [INFO] [stdout] 69 │+ color_texture_msaa: wgpu::BindGroupEntry { [INFO] [stdout] 70 │+ binding: 9, [INFO] [stdout] 71 │+ resource: wgpu::BindingResource::TextureView(params.color_texture_msaa), [INFO] [stdout] 72 │+ }, [INFO] [stdout] 73 │+ depth_texture_msaa: wgpu::BindGroupEntry { [INFO] [stdout] 74 │+ binding: 10, [INFO] [stdout] 75 │+ resource: wgpu::BindingResource::TextureView(params.depth_texture_msaa), [INFO] [stdout] 76 │+ }, [INFO] [stdout] 77 │+ } [INFO] [stdout] 78 │+ } [INFO] [stdout] 79 │+ pub fn into_array(self) -> [wgpu::BindGroupEntry<'a>; 11] { [INFO] [stdout] 80 │+ [ [INFO] [stdout] 81 │+ self.color_texture, [INFO] [stdout] 82 │+ self.color_texture_i32, [INFO] [stdout] 83 │+ self.color_texture_u32, [INFO] [stdout] 84 │+ self.color_sampler, [INFO] [stdout] 85 │+ self.depth_texture, [INFO] [stdout] 86 │+ self.comparison_sampler, [INFO] [stdout] 87 │+ self.storage_tex_read, [INFO] [stdout] 88 │+ self.storage_tex_write, [INFO] [stdout] 89 │+ self.storage_tex_read_write, [INFO] [stdout] 90 │+ self.color_texture_msaa, [INFO] [stdout] 91 │+ self.depth_texture_msaa, [INFO] [stdout] 92 │+ ] [INFO] [stdout] 93 │+ } [INFO] [stdout] 94 │+ pub fn collect>>(self) -> B { [INFO] [stdout] 95 │+ self.into_array().into_iter().collect() [INFO] [stdout] 75 96 │ } [INFO] [stdout] 76 │- } [INFO] [stdout] 77 │- pub fn into_array(self) -> [wgpu::BindGroupEntry<'a>; 11] { [INFO] [stdout] 78 │- [ [INFO] [stdout] 79 │- self.color_texture, [INFO] [stdout] 80 │- self.color_texture_i32, [INFO] [stdout] 81 │- self.color_texture_u32, [INFO] [stdout] 82 │- self.color_sampler, [INFO] [stdout] 83 │- self.depth_texture, [INFO] [stdout] 84 │- self.comparison_sampler, [INFO] [stdout] 85 │- self.storage_tex_read, [INFO] [stdout] 86 │- self.storage_tex_write, [INFO] [stdout] 87 │- self.storage_tex_read_write, [INFO] [stdout] 88 │- self.color_texture_msaa, [INFO] [stdout] 89 │- self.depth_texture_msaa, [INFO] [stdout] 90 │- ] [INFO] [stdout] 91 │- } [INFO] [stdout] 92 │- pub fn collect>>(self) -> B { [INFO] [stdout] 93 │- self.into_array().into_iter().collect() [INFO] [stdout] 94 │- } [INFO] [stdout] 95 97 │ } [INFO] [stdout] 96 98 │ #[derive(Debug)] [INFO] [stdout] 97 99 │ pub struct WgpuBindGroup0(wgpu::BindGroup); [INFO] [stdout] 98 100 │ impl WgpuBindGroup0 { [INFO] [stdout] 99 │- pub const LAYOUT_DESCRIPTOR: wgpu::BindGroupLayoutDescriptor<'static> = [INFO] [stdout] 100 │- wgpu::BindGroupLayoutDescriptor { [INFO] [stdout] 101 │- label: Some("Test::BindGroup0::LayoutDescriptor"), [INFO] [stdout] 102 │- entries: &[ [INFO] [stdout] 103 │- #[doc = " @binding(0): \"color_texture\""] [INFO] [stdout] 104 │- wgpu::BindGroupLayoutEntry { [INFO] [stdout] 105 │- binding: 0, [INFO] [stdout] 106 │- visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 107 │- ty: wgpu::BindingType::Texture { [INFO] [stdout] 108 │- sample_type: wgpu::TextureSampleType::Float { filterable: true }, [INFO] [stdout] 109 │- view_dimension: wgpu::TextureViewDimension::D2, [INFO] [stdout] 110 │- multisampled: false, [INFO] [stdout] 111 │- }, [INFO] [stdout] 112 │- count: None, [INFO] [stdout] 113 │- }, [INFO] [stdout] 114 │- #[doc = " @binding(1): \"color_texture_i32\""] [INFO] [stdout] 115 │- wgpu::BindGroupLayoutEntry { [INFO] [stdout] 116 │- binding: 1, [INFO] [stdout] 117 │- visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 118 │- ty: wgpu::BindingType::Texture { [INFO] [stdout] 119 │- sample_type: wgpu::TextureSampleType::Sint, [INFO] [stdout] 120 │- view_dimension: wgpu::TextureViewDimension::D2, [INFO] [stdout] 121 │- multisampled: false, [INFO] [stdout] 122 │- }, [INFO] [stdout] 123 │- count: None, [INFO] [stdout] 124 │- }, [INFO] [stdout] 125 │- #[doc = " @binding(2): \"color_texture_u32\""] [INFO] [stdout] 126 │- wgpu::BindGroupLayoutEntry { [INFO] [stdout] 127 │- binding: 2, [INFO] [stdout] 128 │- visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 129 │- ty: wgpu::BindingType::Texture { [INFO] [stdout] 130 │- sample_type: wgpu::TextureSampleType::Uint, [INFO] [stdout] 131 │- view_dimension: wgpu::TextureViewDimension::D2, [INFO] [stdout] 132 │- multisampled: false, [INFO] [stdout] 133 │- }, [INFO] [stdout] 134 │- count: None, [INFO] [stdout] 135 │- }, [INFO] [stdout] 136 │- #[doc = " @binding(3): \"color_sampler\""] [INFO] [stdout] 137 │- wgpu::BindGroupLayoutEntry { [INFO] [stdout] 138 │- binding: 3, [INFO] [stdout] 139 │- visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 140 │- ty: wgpu::BindingType::Sampler(wgpu::SamplerBindingType::Filtering), [INFO] [stdout] 141 │- count: None, [INFO] [stdout] 142 │- }, [INFO] [stdout] 143 │- #[doc = " @binding(4): \"depth_texture\""] [INFO] [stdout] 144 │- wgpu::BindGroupLayoutEntry { [INFO] [stdout] 145 │- binding: 4, [INFO] [stdout] 146 │- visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 147 │- ty: wgpu::BindingType::Texture { [INFO] [stdout] 148 │- sample_type: wgpu::TextureSampleType::Depth, [INFO] [stdout] 149 │- view_dimension: wgpu::TextureViewDimension::D2, [INFO] [stdout] 150 │- multisampled: false, [INFO] [stdout] 151 │- }, [INFO] [stdout] 152 │- count: None, [INFO] [stdout] 153 │- }, [INFO] [stdout] 154 │- #[doc = " @binding(5): \"comparison_sampler\""] [INFO] [stdout] 155 │- wgpu::BindGroupLayoutEntry { [INFO] [stdout] 156 │- binding: 5, [INFO] [stdout] 157 │- visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 158 │- ty: wgpu::BindingType::Sampler(wgpu::SamplerBindingType::Comparison), [INFO] [stdout] 159 │- count: None, [INFO] [stdout] 160 │- }, [INFO] [stdout] 161 │- #[doc = " @binding(6): \"storage_tex_read\""] [INFO] [stdout] 162 │- wgpu::BindGroupLayoutEntry { [INFO] [stdout] 163 │- binding: 6, [INFO] [stdout] 164 │- visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 165 │- ty: wgpu::BindingType::StorageTexture { [INFO] [stdout] 166 │- access: wgpu::StorageTextureAccess::ReadOnly, [INFO] [stdout] 167 │- format: wgpu::TextureFormat::R32Float, [INFO] [stdout] 168 │- view_dimension: wgpu::TextureViewDimension::D2, [INFO] [stdout] 169 │- }, [INFO] [stdout] 170 │- count: None, [INFO] [stdout] 171 │- }, [INFO] [stdout] 172 │- #[doc = " @binding(7): \"storage_tex_write\""] [INFO] [stdout] 173 │- wgpu::BindGroupLayoutEntry { [INFO] [stdout] 174 │- binding: 7, [INFO] [stdout] 175 │- visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 176 │- ty: wgpu::BindingType::StorageTexture { [INFO] [stdout] 177 │- access: wgpu::StorageTextureAccess::WriteOnly, [INFO] [stdout] 178 │- format: wgpu::TextureFormat::Rg32Sint, [INFO] [stdout] 179 │- view_dimension: wgpu::TextureViewDimension::D2, [INFO] [stdout] 180 │- }, [INFO] [stdout] 181 │- count: None, [INFO] [stdout] 182 │- }, [INFO] [stdout] 183 │- #[doc = " @binding(8): \"storage_tex_read_write\""] [INFO] [stdout] 184 │- wgpu::BindGroupLayoutEntry { [INFO] [stdout] 185 │- binding: 8, [INFO] [stdout] 186 │- visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 187 │- ty: wgpu::BindingType::StorageTexture { [INFO] [stdout] 188 │- access: wgpu::StorageTextureAccess::ReadWrite, [INFO] [stdout] 189 │- format: wgpu::TextureFormat::Rgba8Uint, [INFO] [stdout] 190 │- view_dimension: wgpu::TextureViewDimension::D2, [INFO] [stdout] 191 │- }, [INFO] [stdout] 192 │- count: None, [INFO] [stdout] 193 │- }, [INFO] [stdout] 194 │- #[doc = " @binding(9): \"color_texture_msaa\""] [INFO] [stdout] 195 │- wgpu::BindGroupLayoutEntry { [INFO] [stdout] 196 │- binding: 9, [INFO] [stdout] 197 │- visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 198 │- ty: wgpu::BindingType::Texture { [INFO] [stdout] 199 │- sample_type: wgpu::TextureSampleType::Float { filterable: true }, [INFO] [stdout] 200 │- view_dimension: wgpu::TextureViewDimension::D2, [INFO] [stdout] 201 │- multisampled: true, [INFO] [stdout] 202 │- }, [INFO] [stdout] 203 │- count: None, [INFO] [stdout] 204 │- }, [INFO] [stdout] 205 │- #[doc = " @binding(10): \"depth_texture_msaa\""] [INFO] [stdout] 206 │- wgpu::BindGroupLayoutEntry { [INFO] [stdout] 207 │- binding: 10, [INFO] [stdout] 208 │- visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 209 │- ty: wgpu::BindingType::Texture { [INFO] [stdout] 210 │- sample_type: wgpu::TextureSampleType::Depth, [INFO] [stdout] 211 │- view_dimension: wgpu::TextureViewDimension::D2, [INFO] [stdout] 212 │- multisampled: true, [INFO] [stdout] 213 │- }, [INFO] [stdout] 214 │- count: None, [INFO] [stdout] 215 │- }, [INFO] [stdout] 216 │- ], [INFO] [stdout] 101 │+ pub const LAYOUT_DESCRIPTOR: wgpu::BindGroupLayoutDescriptor<'static> = wgpu::BindGroupLayoutDescriptor { [INFO] [stdout] 102 │+ label: Some("Test::BindGroup0::LayoutDescriptor"), [INFO] [stdout] 103 │+ entries: &[ [INFO] [stdout] 104 │+ /// @binding(0): "color_texture" [INFO] [stdout] 105 │+ wgpu::BindGroupLayoutEntry { [INFO] [stdout] 106 │+ binding: 0, [INFO] [stdout] 107 │+ visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 108 │+ ty: wgpu::BindingType::Texture { [INFO] [stdout] 109 │+ sample_type: wgpu::TextureSampleType::Float { [INFO] [stdout] 110 │+ filterable: true, [INFO] [stdout] 111 │+ }, [INFO] [stdout] 112 │+ view_dimension: wgpu::TextureViewDimension::D2, [INFO] [stdout] 113 │+ multisampled: false, [INFO] [stdout] 114 │+ }, [INFO] [stdout] 115 │+ count: None, [INFO] [stdout] 116 │+ }, [INFO] [stdout] 117 │+ /// @binding(1): "color_texture_i32" [INFO] [stdout] 118 │+ wgpu::BindGroupLayoutEntry { [INFO] [stdout] 119 │+ binding: 1, [INFO] [stdout] 120 │+ visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 121 │+ ty: wgpu::BindingType::Texture { [INFO] [stdout] 122 │+ sample_type: wgpu::TextureSampleType::Sint, [INFO] [stdout] 123 │+ view_dimension: wgpu::TextureViewDimension::D2, [INFO] [stdout] 124 │+ multisampled: false, [INFO] [stdout] 125 │+ }, [INFO] [stdout] 126 │+ count: None, [INFO] [stdout] 127 │+ }, [INFO] [stdout] 128 │+ /// @binding(2): "color_texture_u32" [INFO] [stdout] 129 │+ wgpu::BindGroupLayoutEntry { [INFO] [stdout] 130 │+ binding: 2, [INFO] [stdout] 131 │+ visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 132 │+ ty: wgpu::BindingType::Texture { [INFO] [stdout] 133 │+ sample_type: wgpu::TextureSampleType::Uint, [INFO] [stdout] 134 │+ view_dimension: wgpu::TextureViewDimension::D2, [INFO] [stdout] 135 │+ multisampled: false, [INFO] [stdout] 136 │+ }, [INFO] [stdout] 137 │+ count: None, [INFO] [stdout] 138 │+ }, [INFO] [stdout] 139 │+ /// @binding(3): "color_sampler" [INFO] [stdout] 140 │+ wgpu::BindGroupLayoutEntry { [INFO] [stdout] 141 │+ binding: 3, [INFO] [stdout] 142 │+ visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 143 │+ ty: wgpu::BindingType::Sampler(wgpu::SamplerBindingType::Filtering), [INFO] [stdout] 144 │+ count: None, [INFO] [stdout] 145 │+ }, [INFO] [stdout] 146 │+ /// @binding(4): "depth_texture" [INFO] [stdout] 147 │+ wgpu::BindGroupLayoutEntry { [INFO] [stdout] 148 │+ binding: 4, [INFO] [stdout] 149 │+ visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 150 │+ ty: wgpu::BindingType::Texture { [INFO] [stdout] 151 │+ sample_type: wgpu::TextureSampleType::Depth, [INFO] [stdout] 152 │+ view_dimension: wgpu::TextureViewDimension::D2, [INFO] [stdout] 153 │+ multisampled: false, [INFO] [stdout] 154 │+ }, [INFO] [stdout] 155 │+ count: None, [INFO] [stdout] 156 │+ }, [INFO] [stdout] 157 │+ /// @binding(5): "comparison_sampler" [INFO] [stdout] 158 │+ wgpu::BindGroupLayoutEntry { [INFO] [stdout] 159 │+ binding: 5, [INFO] [stdout] 160 │+ visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 161 │+ ty: wgpu::BindingType::Sampler(wgpu::SamplerBindingType::Comparison), [INFO] [stdout] 162 │+ count: None, [INFO] [stdout] 163 │+ }, [INFO] [stdout] 164 │+ /// @binding(6): "storage_tex_read" [INFO] [stdout] 165 │+ wgpu::BindGroupLayoutEntry { [INFO] [stdout] 166 │+ binding: 6, [INFO] [stdout] 167 │+ visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 168 │+ ty: wgpu::BindingType::StorageTexture { [INFO] [stdout] 169 │+ access: wgpu::StorageTextureAccess::ReadOnly, [INFO] [stdout] 170 │+ format: wgpu::TextureFormat::R32Float, [INFO] [stdout] 171 │+ view_dimension: wgpu::TextureViewDimension::D2, [INFO] [stdout] 172 │+ }, [INFO] [stdout] 173 │+ count: None, [INFO] [stdout] 174 │+ }, [INFO] [stdout] 175 │+ /// @binding(7): "storage_tex_write" [INFO] [stdout] 176 │+ wgpu::BindGroupLayoutEntry { [INFO] [stdout] 177 │+ binding: 7, [INFO] [stdout] 178 │+ visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 179 │+ ty: wgpu::BindingType::StorageTexture { [INFO] [stdout] 180 │+ access: wgpu::StorageTextureAccess::WriteOnly, [INFO] [stdout] 181 │+ format: wgpu::TextureFormat::Rg32Sint, [INFO] [stdout] 182 │+ view_dimension: wgpu::TextureViewDimension::D2, [INFO] [stdout] 183 │+ }, [INFO] [stdout] 184 │+ count: None, [INFO] [stdout] 185 │+ }, [INFO] [stdout] 186 │+ /// @binding(8): "storage_tex_read_write" [INFO] [stdout] 187 │+ wgpu::BindGroupLayoutEntry { [INFO] [stdout] 188 │+ binding: 8, [INFO] [stdout] 189 │+ visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 190 │+ ty: wgpu::BindingType::StorageTexture { [INFO] [stdout] 191 │+ access: wgpu::StorageTextureAccess::ReadWrite, [INFO] [stdout] 192 │+ format: wgpu::TextureFormat::Rgba8Uint, [INFO] [stdout] 193 │+ view_dimension: wgpu::TextureViewDimension::D2, [INFO] [stdout] 194 │+ }, [INFO] [stdout] 195 │+ count: None, [INFO] [stdout] 196 │+ }, [INFO] [stdout] 197 │+ /// @binding(9): "color_texture_msaa" [INFO] [stdout] 198 │+ wgpu::BindGroupLayoutEntry { [INFO] [stdout] 199 │+ binding: 9, [INFO] [stdout] 200 │+ visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 201 │+ ty: wgpu::BindingType::Texture { [INFO] [stdout] 202 │+ sample_type: wgpu::TextureSampleType::Float { [INFO] [stdout] 203 │+ filterable: true, [INFO] [stdout] 204 │+ }, [INFO] [stdout] 205 │+ view_dimension: wgpu::TextureViewDimension::D2, [INFO] [stdout] 206 │+ multisampled: true, [INFO] [stdout] 207 │+ }, [INFO] [stdout] 208 │+ count: None, [INFO] [stdout] 209 │+ }, [INFO] [stdout] 210 │+ /// @binding(10): "depth_texture_msaa" [INFO] [stdout] 211 │+ wgpu::BindGroupLayoutEntry { [INFO] [stdout] 212 │+ binding: 10, [INFO] [stdout] 213 │+ visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 214 │+ ty: wgpu::BindingType::Texture { [INFO] [stdout] 215 │+ sample_type: wgpu::TextureSampleType::Depth, [INFO] [stdout] 216 │+ view_dimension: wgpu::TextureViewDimension::D2, [INFO] [stdout] 217 │+ multisampled: true, [INFO] [stdout] 218 │+ }, [INFO] [stdout] 219 │+ count: None, [INFO] [stdout] 220 │+ }, [INFO] [stdout] 221 │+ ], [INFO] [stdout] 217 222 │ }; [INFO] [stdout] 218 │- pub fn get_bind_group_layout(device: &wgpu::Device) -> wgpu::BindGroupLayout { [INFO] [stdout] 219 │- device.create_bind_group_layout(&Self::LAYOUT_DESCRIPTOR) [INFO] [stdout] 220 │- } [INFO] [stdout] 221 │- pub fn from_bindings(device: &wgpu::Device, bindings: WgpuBindGroup0Entries) -> Self { [INFO] [stdout] 222 │- let bind_group_layout = Self::get_bind_group_layout(device); [INFO] [stdout] 223 │- let entries = bindings.into_array(); [INFO] [stdout] 224 │- let bind_group = device.create_bind_group(&wgpu::BindGroupDescriptor { [INFO] [stdout] 225 │- label: Some("Test::BindGroup0"), [INFO] [stdout] 226 │- layout: &bind_group_layout, [INFO] [stdout] 227 │- entries: &entries, [INFO] [stdout] 228 │- }); [INFO] [stdout] 229 │- Self(bind_group) [INFO] [stdout] 230 │- } [INFO] [stdout] 231 │- pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 232 │- pass.set_bind_group(0, &self.0, &[]); [INFO] [stdout] 233 │- } [INFO] [stdout] 223 │+ pub fn get_bind_group_layout(device: &wgpu::Device) -> wgpu::BindGroupLayout { [INFO] [stdout] 224 │+ device.create_bind_group_layout(&Self::LAYOUT_DESCRIPTOR) [INFO] [stdout] 225 │+ } [INFO] [stdout] 226 │+ pub fn from_bindings( [INFO] [stdout] 227 │+ device: &wgpu::Device, [INFO] [stdout] 228 │+ bindings: WgpuBindGroup0Entries, [INFO] [stdout] 229 │+ ) -> Self { [INFO] [stdout] 230 │+ let bind_group_layout = Self::get_bind_group_layout(device); [INFO] [stdout] 231 │+ let entries = bindings.into_array(); [INFO] [stdout] 232 │+ let bind_group = device [INFO] [stdout] 233 │+ .create_bind_group( [INFO] [stdout] 234 │+ &wgpu::BindGroupDescriptor { [INFO] [stdout] 235 │+ label: Some("Test::BindGroup0"), [INFO] [stdout] 236 │+ layout: &bind_group_layout, [INFO] [stdout] 237 │+ entries: &entries, [INFO] [stdout] 238 │+ }, [INFO] [stdout] 239 │+ ); [INFO] [stdout] 240 │+ Self(bind_group) [INFO] [stdout] 241 │+ } [INFO] [stdout] 242 │+ pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 243 │+ pass.set_bind_group(0, &self.0, &[]); [INFO] [stdout] 244 │+ } [INFO] [stdout] 234 245 │ } [INFO] [stdout] 235 246 │ #[derive(Debug)] [INFO] [stdout] 236 247 │ pub struct WgpuBindGroup1EntriesParams<'a> { [INFO] [stdout] 237 │- pub transforms: wgpu::BufferBinding<'a>, [INFO] [stdout] 238 │- pub one: wgpu::BufferBinding<'a>, [INFO] [stdout] 248 │+ pub transforms: wgpu::BufferBinding<'a>, [INFO] [stdout] 249 │+ pub one: wgpu::BufferBinding<'a>, [INFO] [stdout] 239 250 │ } [INFO] [stdout] 240 251 │ #[derive(Clone, Debug)] [INFO] [stdout] 241 252 │ pub struct WgpuBindGroup1Entries<'a> { [INFO] [stdout] 242 │- pub transforms: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 243 │- pub one: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 253 │+ pub transforms: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 254 │+ pub one: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 244 255 │ } [INFO] [stdout] 245 256 │ impl<'a> WgpuBindGroup1Entries<'a> { [INFO] [stdout] 246 │- pub fn new(params: WgpuBindGroup1EntriesParams<'a>) -> Self { [INFO] [stdout] 247 │- Self { [INFO] [stdout] 248 │- transforms: wgpu::BindGroupEntry { [INFO] [stdout] 249 │- binding: 0, [INFO] [stdout] 250 │- resource: wgpu::BindingResource::Buffer(params.transforms), [INFO] [stdout] 251 │- }, [INFO] [stdout] 252 │- one: wgpu::BindGroupEntry { [INFO] [stdout] 253 │- binding: 1, [INFO] [stdout] 254 │- resource: wgpu::BindingResource::Buffer(params.one), [INFO] [stdout] 255 │- }, [INFO] [stdout] 257 │+ pub fn new(params: WgpuBindGroup1EntriesParams<'a>) -> Self { [INFO] [stdout] 258 │+ Self { [INFO] [stdout] 259 │+ transforms: wgpu::BindGroupEntry { [INFO] [stdout] 260 │+ binding: 0, [INFO] [stdout] 261 │+ resource: wgpu::BindingResource::Buffer(params.transforms), [INFO] [stdout] 262 │+ }, [INFO] [stdout] 263 │+ one: wgpu::BindGroupEntry { [INFO] [stdout] 264 │+ binding: 1, [INFO] [stdout] 265 │+ resource: wgpu::BindingResource::Buffer(params.one), [INFO] [stdout] 266 │+ }, [INFO] [stdout] 267 │+ } [INFO] [stdout] 268 │+ } [INFO] [stdout] 269 │+ pub fn into_array(self) -> [wgpu::BindGroupEntry<'a>; 2] { [INFO] [stdout] 270 │+ [self.transforms, self.one] [INFO] [stdout] 271 │+ } [INFO] [stdout] 272 │+ pub fn collect>>(self) -> B { [INFO] [stdout] 273 │+ self.into_array().into_iter().collect() [INFO] [stdout] 256 274 │ } [INFO] [stdout] 257 │- } [INFO] [stdout] 258 │- pub fn into_array(self) -> [wgpu::BindGroupEntry<'a>; 2] { [INFO] [stdout] 259 │- [self.transforms, self.one] [INFO] [stdout] 260 │- } [INFO] [stdout] 261 │- pub fn collect>>(self) -> B { [INFO] [stdout] 262 │- self.into_array().into_iter().collect() [INFO] [stdout] 263 │- } [INFO] [stdout] 264 275 │ } [INFO] [stdout] 265 276 │ #[derive(Debug)] [INFO] [stdout] 266 277 │ pub struct WgpuBindGroup1(wgpu::BindGroup); [INFO] [stdout] 267 278 │ impl WgpuBindGroup1 { [INFO] [stdout] 268 │- pub const LAYOUT_DESCRIPTOR: wgpu::BindGroupLayoutDescriptor<'static> = [INFO] [stdout] 269 │- wgpu::BindGroupLayoutDescriptor { [INFO] [stdout] 270 │- label: Some("Test::BindGroup1::LayoutDescriptor"), [INFO] [stdout] 271 │- entries: &[ [INFO] [stdout] 272 │- #[doc = " @binding(0): \"transforms\""] [INFO] [stdout] 273 │- wgpu::BindGroupLayoutEntry { [INFO] [stdout] 274 │- binding: 0, [INFO] [stdout] 275 │- visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 276 │- ty: wgpu::BindingType::Buffer { [INFO] [stdout] 277 │- ty: wgpu::BufferBindingType::Uniform, [INFO] [stdout] 278 │- has_dynamic_offset: false, [INFO] [stdout] 279 │- min_binding_size: std::num::NonZeroU64::new(std::mem::size_of::< [INFO] [stdout] 280 │- _root::test::Transforms, [INFO] [stdout] 281 │- >() as _), [INFO] [stdout] 282 │- }, [INFO] [stdout] 283 │- count: None, [INFO] [stdout] 284 │- }, [INFO] [stdout] 285 │- #[doc = " @binding(1): \"one\""] [INFO] [stdout] 286 │- wgpu::BindGroupLayoutEntry { [INFO] [stdout] 287 │- binding: 1, [INFO] [stdout] 288 │- visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 289 │- ty: wgpu::BindingType::Buffer { [INFO] [stdout] 290 │- ty: wgpu::BufferBindingType::Uniform, [INFO] [stdout] 291 │- has_dynamic_offset: false, [INFO] [stdout] 292 │- min_binding_size: std::num::NonZeroU64::new(std::mem::size_of::() as _), [INFO] [stdout] 293 │- }, [INFO] [stdout] 294 │- count: None, [INFO] [stdout] 295 │- }, [INFO] [stdout] 296 │- ], [INFO] [stdout] 279 │+ pub const LAYOUT_DESCRIPTOR: wgpu::BindGroupLayoutDescriptor<'static> = wgpu::BindGroupLayoutDescriptor { [INFO] [stdout] 280 │+ label: Some("Test::BindGroup1::LayoutDescriptor"), [INFO] [stdout] 281 │+ entries: &[ [INFO] [stdout] 282 │+ /// @binding(0): "transforms" [INFO] [stdout] 283 │+ wgpu::BindGroupLayoutEntry { [INFO] [stdout] 284 │+ binding: 0, [INFO] [stdout] 285 │+ visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 286 │+ ty: wgpu::BindingType::Buffer { [INFO] [stdout] 287 │+ ty: wgpu::BufferBindingType::Uniform, [INFO] [stdout] 288 │+ has_dynamic_offset: false, [INFO] [stdout] 289 │+ min_binding_size: std::num::NonZeroU64::new( [INFO] [stdout] 290 │+ std::mem::size_of::<_root::test::Transforms>() as _, [INFO] [stdout] 291 │+ ), [INFO] [stdout] 292 │+ }, [INFO] [stdout] 293 │+ count: None, [INFO] [stdout] 294 │+ }, [INFO] [stdout] 295 │+ /// @binding(1): "one" [INFO] [stdout] 296 │+ wgpu::BindGroupLayoutEntry { [INFO] [stdout] 297 │+ binding: 1, [INFO] [stdout] 298 │+ visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 299 │+ ty: wgpu::BindingType::Buffer { [INFO] [stdout] 300 │+ ty: wgpu::BufferBindingType::Uniform, [INFO] [stdout] 301 │+ has_dynamic_offset: false, [INFO] [stdout] 302 │+ min_binding_size: std::num::NonZeroU64::new( [INFO] [stdout] 303 │+ std::mem::size_of::() as _, [INFO] [stdout] 304 │+ ), [INFO] [stdout] 305 │+ }, [INFO] [stdout] 306 │+ count: None, [INFO] [stdout] 307 │+ }, [INFO] [stdout] 308 │+ ], [INFO] [stdout] 297 309 │ }; [INFO] [stdout] 298 │- pub fn get_bind_group_layout(device: &wgpu::Device) -> wgpu::BindGroupLayout { [INFO] [stdout] 299 │- device.create_bind_group_layout(&Self::LAYOUT_DESCRIPTOR) [INFO] [stdout] 300 │- } [INFO] [stdout] 301 │- pub fn from_bindings(device: &wgpu::Device, bindings: WgpuBindGroup1Entries) -> Self { [INFO] [stdout] 302 │- let bind_group_layout = Self::get_bind_group_layout(device); [INFO] [stdout] 303 │- let entries = bindings.into_array(); [INFO] [stdout] 304 │- let bind_group = device.create_bind_group(&wgpu::BindGroupDescriptor { [INFO] [stdout] 305 │- label: Some("Test::BindGroup1"), [INFO] [stdout] 306 │- layout: &bind_group_layout, [INFO] [stdout] 307 │- entries: &entries, [INFO] [stdout] 308 │- }); [INFO] [stdout] 309 │- Self(bind_group) [INFO] [stdout] 310 │- } [INFO] [stdout] 311 │- pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 312 │- pass.set_bind_group(1, &self.0, &[]); [INFO] [stdout] 313 │- } [INFO] [stdout] 310 │+ pub fn get_bind_group_layout(device: &wgpu::Device) -> wgpu::BindGroupLayout { [INFO] [stdout] 311 │+ device.create_bind_group_layout(&Self::LAYOUT_DESCRIPTOR) [INFO] [stdout] 312 │+ } [INFO] [stdout] 313 │+ pub fn from_bindings( [INFO] [stdout] 314 │+ device: &wgpu::Device, [INFO] [stdout] 315 │+ bindings: WgpuBindGroup1Entries, [INFO] [stdout] 316 │+ ) -> Self { [INFO] [stdout] 317 │+ let bind_group_layout = Self::get_bind_group_layout(device); [INFO] [stdout] 318 │+ let entries = bindings.into_array(); [INFO] [stdout] 319 │+ let bind_group = device [INFO] [stdout] 320 │+ .create_bind_group( [INFO] [stdout] 321 │+ &wgpu::BindGroupDescriptor { [INFO] [stdout] 322 │+ label: Some("Test::BindGroup1"), [INFO] [stdout] 323 │+ layout: &bind_group_layout, [INFO] [stdout] 324 │+ entries: &entries, [INFO] [stdout] 325 │+ }, [INFO] [stdout] 326 │+ ); [INFO] [stdout] 327 │+ Self(bind_group) [INFO] [stdout] 328 │+ } [INFO] [stdout] 329 │+ pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 330 │+ pass.set_bind_group(1, &self.0, &[]); [INFO] [stdout] 331 │+ } [INFO] [stdout] 314 332 │ } [INFO] [stdout] 315 │-#[doc = " Bind groups can be set individually using their set(render_pass) method, or all at once using `WgpuBindGroups::set`."] [INFO] [stdout] 316 │-#[doc = " For optimal performance with many draw calls, it's recommended to organize bindings into bind groups based on update frequency:"] [INFO] [stdout] 317 │-#[doc = " - Bind group 0: Least frequent updates (e.g. per frame resources)"] [INFO] [stdout] 318 │-#[doc = " - Bind group 1: More frequent updates"] [INFO] [stdout] 319 │-#[doc = " - Bind group 2: More frequent updates"] [INFO] [stdout] 320 │-#[doc = " - Bind group 3: Most frequent updates (e.g. per draw resources)"] [INFO] [stdout] 333 │+/// Bind groups can be set individually using their set(render_pass) method, or all at once using `WgpuBindGroups::set`. [INFO] [stdout] 334 │+/// For optimal performance with many draw calls, it's recommended to organize bindings into bind groups based on update frequency: [INFO] [stdout] 335 │+/// - Bind group 0: Least frequent updates (e.g. per frame resources) [INFO] [stdout] 336 │+/// - Bind group 1: More frequent updates [INFO] [stdout] 337 │+/// - Bind group 2: More frequent updates [INFO] [stdout] 338 │+/// - Bind group 3: Most frequent updates (e.g. per draw resources) [INFO] [stdout] 321 339 │ #[derive(Debug, Copy, Clone)] [INFO] [stdout] 322 340 │ pub struct WgpuBindGroups<'a> { [INFO] [stdout] 323 │- pub bind_group0: &'a WgpuBindGroup0, [INFO] [stdout] 324 │- pub bind_group1: &'a WgpuBindGroup1, [INFO] [stdout] 341 │+ pub bind_group0: &'a WgpuBindGroup0, [INFO] [stdout] 342 │+ pub bind_group1: &'a WgpuBindGroup1, [INFO] [stdout] 325 343 │ } [INFO] [stdout] 326 344 │ impl<'a> WgpuBindGroups<'a> { [INFO] [stdout] 327 │- pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 328 │- self.bind_group0.set(pass); [INFO] [stdout] 329 │- self.bind_group1.set(pass); [INFO] [stdout] 330 │- } [INFO] [stdout] 345 │+ pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 346 │+ self.bind_group0.set(pass); [INFO] [stdout] 347 │+ self.bind_group1.set(pass); [INFO] [stdout] 348 │+ } [INFO] [stdout] 331 349 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'generate::bind_group::tests::bind_groups_module_vertex_fragment' (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: 0x64d434624cd2 - std::backtrace_rs::backtrace::libunwind::trace::h7cddb8376417e7cc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x64d434624cd2 - std::backtrace_rs::backtrace::trace_unsynchronized::hb4e41acf4b349ff1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x64d434624cd2 - std::sys::backtrace::_print_fmt::h1222b80910ba6eb5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x64d434624cd2 - ::fmt::h5bb8a979ba5db788 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x64d434638d3f - core::fmt::rt::Argument::fmt::h2ee2c138a50a7796 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x64d434638d3f - core::fmt::write::h1e0dbf07fe3990bd [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x64d4345f03a3 - std::io::default_write_fmt::h7d7ad5ed6a883d81 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x64d4345f03a3 - std::io::Write::write_fmt::hc477d9325b345ece [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x64d4345fcc52 - std::sys::backtrace::BacktraceLock::print::h788d486777205086 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x64d43460282f - std::panicking::default_hook::{{closure}}::ha7bdfeb5949fc0fa [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x64d4346026c1 - std::panicking::default_hook::h6dad75ec721846f4 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x64d433d3b72e - as core::ops::function::Fn>::call::h33799d04b0b96146 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x64d433d3b72e - test::test_main_with_exit_callback::{{closure}}::h880e31c829a2eb5d [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x64d434602f7e - as core::ops::function::Fn>::call::h5e1b8c652ea49180 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x64d434602f7e - std::panicking::panic_with_hook::hba00e869ada17676 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x64d434602c9a - std::panicking::panic_handler::{{closure}}::h3d21149c258e5ceb [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x64d4345fcd89 - std::sys::backtrace::__rust_end_short_backtrace::h4f5d9b9dfb3e6ec1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x64d4345e34ad - __rustc[9a7a9f9af7564de1]::rust_begin_unwind [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x64d434643df0 - core::panicking::panic_fmt::h78e817a90331d98b [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x64d434642b06 - core::result::unwrap_failed::h3ce108722ad88f1e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:1852:5 [INFO] [stdout] 20: 0x64d433b5ebb3 - core::result::Result::unwrap::haafd36386984d778 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:1223:23 [INFO] [stdout] 21: 0x64d433b5ebb3 - wgsl_bindgen::generate::bind_group::tests::bind_groups_module_vertex_fragment::{{closure}}::hc0ed84b0e63b6ed5 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x64d433b9c61f - insta::settings::Settings::bind::h2bff81062e81c0b9 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.1/src/settings.rs:509:9 [INFO] [stdout] 23: 0x64d433b5e6b5 - wgsl_bindgen::generate::bind_group::tests::bind_groups_module_vertex_fragment::h4cf3438c791d4c63 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x64d433b5e787 - wgsl_bindgen::generate::bind_group::tests::bind_groups_module_vertex_fragment::{{closure}}::h4f86679ceb756d5a [INFO] [stdout] at /opt/rustwide/workdir/src/generate/bind_group/mod.rs:407:42 [INFO] [stdout] 25: 0x64d433b72126 - core::ops::function::FnOnce::call_once::hb7912c8c0d5e47a8 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x64d433d3b52b - core::ops::function::FnOnce::call_once::h7f4b4fba903e39d5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 27: 0x64d433d3b52b - test::__rust_begin_short_backtrace::h9277cb6a2ccfc000 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x64d433d50fd5 - test::run_test_in_process::{{closure}}::h9aea5ca90d1f4423 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x64d433d50fd5 - as core::ops::function::FnOnce<()>>::call_once::h364f5fe6cc8afa85 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 30: 0x64d433d50fd5 - std::panicking::catch_unwind::do_call::h2b2bec3317fe53ec [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x64d433d50fd5 - std::panicking::catch_unwind::hc3763734156da4af [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x64d433d50fd5 - std::panic::catch_unwind::h28038391e867eabc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x64d433d50fd5 - test::run_test_in_process::had0273166695a036 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x64d433d50fd5 - test::run_test::{{closure}}::h743d09d4bb476605 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x64d433d279f4 - test::run_test::{{closure}}::he950b8f9118d37e2 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x64d433d279f4 - std::sys::backtrace::__rust_begin_short_backtrace::hbfaffa6539f6abb7 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x64d433d2b2da - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hcce3c2c65b9c3b20 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x64d433d2b2da - as core::ops::function::FnOnce<()>>::call_once::hb66b30b6d37985a5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 39: 0x64d433d2b2da - std::panicking::catch_unwind::do_call::h992bbe2c32dc1d79 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x64d433d2b2da - std::panicking::catch_unwind::h412991d5237de610 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x64d433d2b2da - std::panic::catch_unwind::ha82b139b3eb5840a [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x64d433d2b2da - std::thread::Builder::spawn_unchecked_::{{closure}}::ha823b36f5114938e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x64d433d2b2da - core::ops::function::FnOnce::call_once{{vtable.shim}}::hf120e7b1db22ac07 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 44: 0x64d4345f6cdf - as core::ops::function::FnOnce>::call_once::h3e049222c99298ac [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 45: 0x64d4345f6cdf - std::sys::pal::unix::thread::Thread::new::thread_start::h942e336943ad5963 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 46: 0x7220e1521aa4 - [INFO] [stdout] 47: 0x7220e15aea34 - 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 'cdb45c87e2cd43495379f7e867e3cc15dcee9f93'. [INFO] [stdout] note: this is a custom toolchain, which cannot use `rustup component add` [INFO] [stdout] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py` [INFO] [stdout] ), falling back to prettyplease [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/generate/snapshots/write_vertex_module_single_input_float64.snap [INFO] [stdout] Snapshot: write_vertex_module_single_input_float64 [INFO] [stdout] Source: src/generate/entry.rs:378 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 0 │ impl VertexInput0 { [INFO] [stdout] 1 │- pub const VERTEX_ATTRIBUTES: [wgpu::VertexAttribute; 4] = [ [INFO] [stdout] 2 │- wgpu::VertexAttribute { [INFO] [stdout] 3 │- format: wgpu::VertexFormat::Float64, [INFO] [stdout] 4 │- offset: std::mem::offset_of!(Self, a) as u64, [INFO] [stdout] 5 │- shader_location: 0, [INFO] [stdout] 6 │- }, [INFO] [stdout] 7 │- wgpu::VertexAttribute { [INFO] [stdout] 8 │- format: wgpu::VertexFormat::Float64x2, [INFO] [stdout] 9 │- offset: std::mem::offset_of!(Self, b) as u64, [INFO] [stdout] 10 │- shader_location: 1, [INFO] [stdout] 11 │- }, [INFO] [stdout] 12 │- wgpu::VertexAttribute { [INFO] [stdout] 13 │- format: wgpu::VertexFormat::Float64x3, [INFO] [stdout] 14 │- offset: std::mem::offset_of!(Self, c) as u64, [INFO] [stdout] 15 │- shader_location: 2, [INFO] [stdout] 16 │- }, [INFO] [stdout] 17 │- wgpu::VertexAttribute { [INFO] [stdout] 18 │- format: wgpu::VertexFormat::Float64x4, [INFO] [stdout] 19 │- offset: std::mem::offset_of!(Self, d) as u64, [INFO] [stdout] 20 │- shader_location: 3, [INFO] [stdout] 21 │- }, [INFO] [stdout] 22 │- ]; [INFO] [stdout] 23 │- pub const fn vertex_buffer_layout( [INFO] [stdout] 24 │- step_mode: wgpu::VertexStepMode, [INFO] [stdout] 25 │- ) -> wgpu::VertexBufferLayout<'static> { [INFO] [stdout] 26 │- wgpu::VertexBufferLayout { [INFO] [stdout] 27 │- array_stride: std::mem::size_of::() as u64, [INFO] [stdout] 28 │- step_mode, [INFO] [stdout] 29 │- attributes: &Self::VERTEX_ATTRIBUTES, [INFO] [stdout] 1 │+ pub const VERTEX_ATTRIBUTES: [wgpu::VertexAttribute; 4] = [ [INFO] [stdout] 2 │+ wgpu::VertexAttribute { [INFO] [stdout] 3 │+ format: wgpu::VertexFormat::Float64, [INFO] [stdout] 4 │+ offset: std::mem::offset_of!(Self, a) as u64, [INFO] [stdout] 5 │+ shader_location: 0, [INFO] [stdout] 6 │+ }, [INFO] [stdout] 7 │+ wgpu::VertexAttribute { [INFO] [stdout] 8 │+ format: wgpu::VertexFormat::Float64x2, [INFO] [stdout] 9 │+ offset: std::mem::offset_of!(Self, b) as u64, [INFO] [stdout] 10 │+ shader_location: 1, [INFO] [stdout] 11 │+ }, [INFO] [stdout] 12 │+ wgpu::VertexAttribute { [INFO] [stdout] 13 │+ format: wgpu::VertexFormat::Float64x3, [INFO] [stdout] 14 │+ offset: std::mem::offset_of!(Self, c) as u64, [INFO] [stdout] 15 │+ shader_location: 2, [INFO] [stdout] 16 │+ }, [INFO] [stdout] 17 │+ wgpu::VertexAttribute { [INFO] [stdout] 18 │+ format: wgpu::VertexFormat::Float64x4, [INFO] [stdout] 19 │+ offset: std::mem::offset_of!(Self, d) as u64, [INFO] [stdout] 20 │+ shader_location: 3, [INFO] [stdout] 21 │+ }, [INFO] [stdout] 22 │+ ]; [INFO] [stdout] 23 │+ pub const fn vertex_buffer_layout( [INFO] [stdout] 24 │+ step_mode: wgpu::VertexStepMode, [INFO] [stdout] 25 │+ ) -> wgpu::VertexBufferLayout<'static> { [INFO] [stdout] 26 │+ wgpu::VertexBufferLayout { [INFO] [stdout] 27 │+ array_stride: std::mem::size_of::() as u64, [INFO] [stdout] 28 │+ step_mode, [INFO] [stdout] 29 │+ attributes: &Self::VERTEX_ATTRIBUTES, [INFO] [stdout] 30 │+ } [INFO] [stdout] 30 31 │ } [INFO] [stdout] 31 │- } [INFO] [stdout] 32 32 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'generate::entry::test::write_vertex_module_single_input_float64' (966) 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: 0x64d434624cd2 - std::backtrace_rs::backtrace::libunwind::trace::h7cddb8376417e7cc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x64d434624cd2 - std::backtrace_rs::backtrace::trace_unsynchronized::hb4e41acf4b349ff1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x64d434624cd2 - std::sys::backtrace::_print_fmt::h1222b80910ba6eb5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x64d434624cd2 - ::fmt::h5bb8a979ba5db788 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x64d434638d3f - core::fmt::rt::Argument::fmt::h2ee2c138a50a7796 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x64d434638d3f - core::fmt::write::h1e0dbf07fe3990bd [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x64d4345f03a3 - std::io::default_write_fmt::h7d7ad5ed6a883d81 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x64d4345f03a3 - std::io::Write::write_fmt::hc477d9325b345ece [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x64d4345fcc52 - std::sys::backtrace::BacktraceLock::print::h788d486777205086 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x64d43460282f - std::panicking::default_hook::{{closure}}::ha7bdfeb5949fc0fa [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x64d4346026c1 - std::panicking::default_hook::h6dad75ec721846f4 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x64d433d3b72e - as core::ops::function::Fn>::call::h33799d04b0b96146 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x64d433d3b72e - test::test_main_with_exit_callback::{{closure}}::h880e31c829a2eb5d [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x64d434602f7e - as core::ops::function::Fn>::call::h5e1b8c652ea49180 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x64d434602f7e - std::panicking::panic_with_hook::hba00e869ada17676 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x64d434602c9a - std::panicking::panic_handler::{{closure}}::h3d21149c258e5ceb [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x64d4345fcd89 - std::sys::backtrace::__rust_end_short_backtrace::h4f5d9b9dfb3e6ec1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x64d4345e34ad - __rustc[9a7a9f9af7564de1]::rust_begin_unwind [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x64d434643df0 - core::panicking::panic_fmt::h78e817a90331d98b [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x64d434642b06 - core::result::unwrap_failed::h3ce108722ad88f1e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:1852:5 [INFO] [stdout] 20: 0x64d433b670c3 - core::result::Result::unwrap::haafd36386984d778 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:1223:23 [INFO] [stdout] 21: 0x64d433b670c3 - wgsl_bindgen::generate::entry::test::write_vertex_module_single_input_float64::{{closure}}::h3fa7e457bce6ab4d [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x64d433b9c75f - insta::settings::Settings::bind::h30388dfc80235b34 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.1/src/settings.rs:509:9 [INFO] [stdout] 23: 0x64d433b66c15 - wgsl_bindgen::generate::entry::test::write_vertex_module_single_input_float64::h2dad811316711dae [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x64d433b671b7 - wgsl_bindgen::generate::entry::test::write_vertex_module_single_input_float64::{{closure}}::ha2594d0540221746 [INFO] [stdout] at /opt/rustwide/workdir/src/generate/entry.rs:359:48 [INFO] [stdout] 25: 0x64d433b727e6 - core::ops::function::FnOnce::call_once::hf9d97e038712f28d [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x64d433d3b52b - core::ops::function::FnOnce::call_once::h7f4b4fba903e39d5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 27: 0x64d433d3b52b - test::__rust_begin_short_backtrace::h9277cb6a2ccfc000 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x64d433d50fd5 - test::run_test_in_process::{{closure}}::h9aea5ca90d1f4423 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x64d433d50fd5 - as core::ops::function::FnOnce<()>>::call_once::h364f5fe6cc8afa85 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 30: 0x64d433d50fd5 - std::panicking::catch_unwind::do_call::h2b2bec3317fe53ec [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x64d433d50fd5 - std::panicking::catch_unwind::hc3763734156da4af [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x64d433d50fd5 - std::panic::catch_unwind::h28038391e867eabc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x64d433d50fd5 - test::run_test_in_process::had0273166695a036 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x64d433d50fd5 - test::run_test::{{closure}}::h743d09d4bb476605 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x64d433d279f4 - test::run_test::{{closure}}::he950b8f9118d37e2 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x64d433d279f4 - std::sys::backtrace::__rust_begin_short_backtrace::hbfaffa6539f6abb7 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x64d433d2b2da - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hcce3c2c65b9c3b20 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x64d433d2b2da - as core::ops::function::FnOnce<()>>::call_once::hb66b30b6d37985a5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 39: 0x64d433d2b2da - std::panicking::catch_unwind::do_call::h992bbe2c32dc1d79 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x64d433d2b2da - std::panicking::catch_unwind::h412991d5237de610 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x64d433d2b2da - std::panic::catch_unwind::ha82b139b3eb5840a [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x64d433d2b2da - std::thread::Builder::spawn_unchecked_::{{closure}}::ha823b36f5114938e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x64d433d2b2da - core::ops::function::FnOnce::call_once{{vtable.shim}}::hf120e7b1db22ac07 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 44: 0x64d4345f6cdf - as core::ops::function::FnOnce>::call_once::h3e049222c99298ac [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 45: 0x64d4345f6cdf - std::sys::pal::unix::thread::Thread::new::thread_start::h942e336943ad5963 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 46: 0x7220e1521aa4 - [INFO] [stdout] 47: 0x7220e15aea34 - 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 'cdb45c87e2cd43495379f7e867e3cc15dcee9f93'. [INFO] [stdout] note: this is a custom toolchain, which cannot use `rustup component add` [INFO] [stdout] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py` [INFO] [stdout] ), falling back to prettyplease [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/generate/snapshots/write_vertex_module_single_input_uint32.snap [INFO] [stdout] Snapshot: write_vertex_module_single_input_uint32 [INFO] [stdout] Source: src/generate/entry.rs:401 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 0 │ impl VertexInput0 { [INFO] [stdout] 1 │- pub const VERTEX_ATTRIBUTES: [wgpu::VertexAttribute; 4] = [ [INFO] [stdout] 2 │- wgpu::VertexAttribute { [INFO] [stdout] 3 │- format: wgpu::VertexFormat::Uint32, [INFO] [stdout] 4 │- offset: std::mem::offset_of!(Self, a) as u64, [INFO] [stdout] 5 │- shader_location: 0, [INFO] [stdout] 6 │- }, [INFO] [stdout] 7 │- wgpu::VertexAttribute { [INFO] [stdout] 8 │- format: wgpu::VertexFormat::Uint32x2, [INFO] [stdout] 9 │- offset: std::mem::offset_of!(Self, b) as u64, [INFO] [stdout] 10 │- shader_location: 1, [INFO] [stdout] 11 │- }, [INFO] [stdout] 12 │- wgpu::VertexAttribute { [INFO] [stdout] 13 │- format: wgpu::VertexFormat::Uint32x3, [INFO] [stdout] 14 │- offset: std::mem::offset_of!(Self, c) as u64, [INFO] [stdout] 15 │- shader_location: 2, [INFO] [stdout] 16 │- }, [INFO] [stdout] 17 │- wgpu::VertexAttribute { [INFO] [stdout] 18 │- format: wgpu::VertexFormat::Uint32x4, [INFO] [stdout] 19 │- offset: std::mem::offset_of!(Self, d) as u64, [INFO] [stdout] 20 │- shader_location: 3, [INFO] [stdout] 21 │- }, [INFO] [stdout] 22 │- ]; [INFO] [stdout] 23 │- pub const fn vertex_buffer_layout( [INFO] [stdout] 24 │- step_mode: wgpu::VertexStepMode, [INFO] [stdout] 25 │- ) -> wgpu::VertexBufferLayout<'static> { [INFO] [stdout] 26 │- wgpu::VertexBufferLayout { [INFO] [stdout] 27 │- array_stride: std::mem::size_of::() as u64, [INFO] [stdout] 28 │- step_mode, [INFO] [stdout] 29 │- attributes: &Self::VERTEX_ATTRIBUTES, [INFO] [stdout] 1 │+ pub const VERTEX_ATTRIBUTES: [wgpu::VertexAttribute; 4] = [ [INFO] [stdout] 2 │+ wgpu::VertexAttribute { [INFO] [stdout] 3 │+ format: wgpu::VertexFormat::Uint32, [INFO] [stdout] 4 │+ offset: std::mem::offset_of!(Self, a) as u64, [INFO] [stdout] 5 │+ shader_location: 0, [INFO] [stdout] 6 │+ }, [INFO] [stdout] 7 │+ wgpu::VertexAttribute { [INFO] [stdout] 8 │+ format: wgpu::VertexFormat::Uint32x2, [INFO] [stdout] 9 │+ offset: std::mem::offset_of!(Self, b) as u64, [INFO] [stdout] 10 │+ shader_location: 1, [INFO] [stdout] 11 │+ }, [INFO] [stdout] 12 │+ wgpu::VertexAttribute { [INFO] [stdout] 13 │+ format: wgpu::VertexFormat::Uint32x3, [INFO] [stdout] 14 │+ offset: std::mem::offset_of!(Self, c) as u64, [INFO] [stdout] 15 │+ shader_location: 2, [INFO] [stdout] 16 │+ }, [INFO] [stdout] 17 │+ wgpu::VertexAttribute { [INFO] [stdout] 18 │+ format: wgpu::VertexFormat::Uint32x4, [INFO] [stdout] 19 │+ offset: std::mem::offset_of!(Self, d) as u64, [INFO] [stdout] 20 │+ shader_location: 3, [INFO] [stdout] 21 │+ }, [INFO] [stdout] 22 │+ ]; [INFO] [stdout] 23 │+ pub const fn vertex_buffer_layout( [INFO] [stdout] 24 │+ step_mode: wgpu::VertexStepMode, [INFO] [stdout] 25 │+ ) -> wgpu::VertexBufferLayout<'static> { [INFO] [stdout] 26 │+ wgpu::VertexBufferLayout { [INFO] [stdout] 27 │+ array_stride: std::mem::size_of::() as u64, [INFO] [stdout] 28 │+ step_mode, [INFO] [stdout] 29 │+ attributes: &Self::VERTEX_ATTRIBUTES, [INFO] [stdout] 30 │+ } [INFO] [stdout] 30 31 │ } [INFO] [stdout] 31 │- } [INFO] [stdout] 32 32 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'generate::entry::test::write_vertex_module_single_input_uint32' (969) 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: 0x64d434624cd2 - std::backtrace_rs::backtrace::libunwind::trace::h7cddb8376417e7cc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x64d434624cd2 - std::backtrace_rs::backtrace::trace_unsynchronized::hb4e41acf4b349ff1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x64d434624cd2 - std::sys::backtrace::_print_fmt::h1222b80910ba6eb5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x64d434624cd2 - ::fmt::h5bb8a979ba5db788 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x64d434638d3f - core::fmt::rt::Argument::fmt::h2ee2c138a50a7796 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x64d434638d3f - core::fmt::write::h1e0dbf07fe3990bd [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x64d4345f03a3 - std::io::default_write_fmt::h7d7ad5ed6a883d81 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x64d4345f03a3 - std::io::Write::write_fmt::hc477d9325b345ece [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x64d4345fcc52 - std::sys::backtrace::BacktraceLock::print::h788d486777205086 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x64d43460282f - std::panicking::default_hook::{{closure}}::ha7bdfeb5949fc0fa [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x64d4346026c1 - std::panicking::default_hook::h6dad75ec721846f4 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x64d433d3b72e - as core::ops::function::Fn>::call::h33799d04b0b96146 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x64d433d3b72e - test::test_main_with_exit_callback::{{closure}}::h880e31c829a2eb5d [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x64d434602f7e - as core::ops::function::Fn>::call::h5e1b8c652ea49180 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x64d434602f7e - std::panicking::panic_with_hook::hba00e869ada17676 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x64d434602c9a - std::panicking::panic_handler::{{closure}}::h3d21149c258e5ceb [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x64d4345fcd89 - std::sys::backtrace::__rust_end_short_backtrace::h4f5d9b9dfb3e6ec1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x64d4345e34ad - __rustc[9a7a9f9af7564de1]::rust_begin_unwind [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x64d434643df0 - core::panicking::panic_fmt::h78e817a90331d98b [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x64d434642b06 - core::result::unwrap_failed::h3ce108722ad88f1e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:1852:5 [INFO] [stdout] 20: 0x64d433b65e63 - core::result::Result::unwrap::haafd36386984d778 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:1223:23 [INFO] [stdout] 21: 0x64d433b65e63 - wgsl_bindgen::generate::entry::test::write_vertex_module_single_input_uint32::{{closure}}::h9a44f84cd3efd200 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x64d433b9db5f - insta::settings::Settings::bind::hd6849246d7f9b577 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.1/src/settings.rs:509:9 [INFO] [stdout] 23: 0x64d433b659b5 - wgsl_bindgen::generate::entry::test::write_vertex_module_single_input_uint32::h6259b17dbfe004f0 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x64d433b65fa7 - wgsl_bindgen::generate::entry::test::write_vertex_module_single_input_uint32::{{closure}}::heb64818e7da4328a [INFO] [stdout] at /opt/rustwide/workdir/src/generate/entry.rs:382:47 [INFO] [stdout] 25: 0x64d433b72766 - core::ops::function::FnOnce::call_once::hed0c7f88db0ab8f4 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x64d433d3b52b - core::ops::function::FnOnce::call_once::h7f4b4fba903e39d5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 27: 0x64d433d3b52b - test::__rust_begin_short_backtrace::h9277cb6a2ccfc000 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x64d433d50fd5 - test::run_test_in_process::{{closure}}::h9aea5ca90d1f4423 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x64d433d50fd5 - as core::ops::function::FnOnce<()>>::call_once::h364f5fe6cc8afa85 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 30: 0x64d433d50fd5 - std::panicking::catch_unwind::do_call::h2b2bec3317fe53ec [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x64d433d50fd5 - std::panicking::catch_unwind::hc3763734156da4af [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x64d433d50fd5 - std::panic::catch_unwind::h28038391e867eabc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x64d433d50fd5 - test::run_test_in_process::had0273166695a036 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x64d433d50fd5 - test::run_test::{{closure}}::h743d09d4bb476605 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x64d433d279f4 - test::run_test::{{closure}}::he950b8f9118d37e2 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x64d433d279f4 - std::sys::backtrace::__rust_begin_short_backtrace::hbfaffa6539f6abb7 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x64d433d2b2da - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hcce3c2c65b9c3b20 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x64d433d2b2da - as core::ops::function::FnOnce<()>>::call_once::hb66b30b6d37985a5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 39: 0x64d433d2b2da - std::panicking::catch_unwind::do_call::h992bbe2c32dc1d79 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x64d433d2b2da - std::panicking::catch_unwind::h412991d5237de610 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x64d433d2b2da - std::panic::catch_unwind::ha82b139b3eb5840a [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x64d433d2b2da - std::thread::Builder::spawn_unchecked_::{{closure}}::ha823b36f5114938e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x64d433d2b2da - core::ops::function::FnOnce::call_once{{vtable.shim}}::hf120e7b1db22ac07 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 44: 0x64d4345f6cdf - as core::ops::function::FnOnce>::call_once::h3e049222c99298ac [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 45: 0x64d4345f6cdf - std::sys::pal::unix::thread::Thread::new::thread_start::h942e336943ad5963 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 46: 0x7220e1521aa4 - [INFO] [stdout] 47: 0x7220e15aea34 - 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 'cdb45c87e2cd43495379f7e867e3cc15dcee9f93'. [INFO] [stdout] note: this is a custom toolchain, which cannot use `rustup component add` [INFO] [stdout] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py` [INFO] [stdout] ), falling back to prettyplease [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/generate/snapshots/write_vertex_shader_entry_multiple_buffers.snap [INFO] [stdout] Snapshot: write_vertex_shader_entry_multiple_buffers [INFO] [stdout] Source: src/generate/entry.rs:479 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 0 │ #[derive(Debug)] [INFO] [stdout] 1 1 │ pub struct VertexEntry { [INFO] [stdout] 2 │- pub entry_point: &'static str, [INFO] [stdout] 3 │- pub buffers: [wgpu::VertexBufferLayout<'static>; N], [INFO] [stdout] 4 │- pub constants: Vec<(&'static str, f64)>, [INFO] [stdout] 2 │+ pub entry_point: &'static str, [INFO] [stdout] 3 │+ pub buffers: [wgpu::VertexBufferLayout<'static>; N], [INFO] [stdout] 4 │+ pub constants: Vec<(&'static str, f64)>, [INFO] [stdout] 5 5 │ } [INFO] [stdout] 6 6 │ pub fn vertex_state<'a, const N: usize>( [INFO] [stdout] 7 │- module: &'a wgpu::ShaderModule, [INFO] [stdout] 8 │- entry: &'a VertexEntry, [INFO] [stdout] 7 │+ module: &'a wgpu::ShaderModule, [INFO] [stdout] 8 │+ entry: &'a VertexEntry, [INFO] [stdout] 9 9 │ ) -> wgpu::VertexState<'a> { [INFO] [stdout] 10 │- wgpu::VertexState { [INFO] [stdout] 11 │- module, [INFO] [stdout] 12 │- entry_point: Some(entry.entry_point), [INFO] [stdout] 13 │- buffers: &entry.buffers, [INFO] [stdout] 14 │- compilation_options: wgpu::PipelineCompilationOptions { [INFO] [stdout] 15 │- constants: &entry.constants, [INFO] [stdout] 16 │- ..Default::default() [INFO] [stdout] 17 │- }, [INFO] [stdout] 18 │- } [INFO] [stdout] 10 │+ wgpu::VertexState { [INFO] [stdout] 11 │+ module, [INFO] [stdout] 12 │+ entry_point: Some(entry.entry_point), [INFO] [stdout] 13 │+ buffers: &entry.buffers, [INFO] [stdout] 14 │+ compilation_options: wgpu::PipelineCompilationOptions { [INFO] [stdout] 15 │+ constants: &entry.constants, [INFO] [stdout] 16 │+ ..Default::default() [INFO] [stdout] 17 │+ }, [INFO] [stdout] 18 │+ } [INFO] [stdout] 19 19 │ } [INFO] [stdout] 20 20 │ pub fn vs_main_entry( [INFO] [stdout] 21 │- input0: wgpu::VertexStepMode, [INFO] [stdout] 22 │- input1: wgpu::VertexStepMode, [INFO] [stdout] 23 │- overrides: &OverrideConstants, [INFO] [stdout] 21 │+ input0: wgpu::VertexStepMode, [INFO] [stdout] 22 │+ input1: wgpu::VertexStepMode, [INFO] [stdout] 23 │+ overrides: &OverrideConstants, [INFO] [stdout] 24 24 │ ) -> VertexEntry<2> { [INFO] [stdout] 25 │- VertexEntry { [INFO] [stdout] 26 │- entry_point: ENTRY_VS_MAIN, [INFO] [stdout] 27 │- buffers: [ [INFO] [stdout] 28 │- Input0::vertex_buffer_layout(input0), [INFO] [stdout] 29 │- Input1::vertex_buffer_layout(input1), [INFO] [stdout] 30 │- ], [INFO] [stdout] 31 │- constants: overrides.constants(), [INFO] [stdout] 32 │- } [INFO] [stdout] 25 │+ VertexEntry { [INFO] [stdout] 26 │+ entry_point: ENTRY_VS_MAIN, [INFO] [stdout] 27 │+ buffers: [ [INFO] [stdout] 28 │+ Input0::vertex_buffer_layout(input0), [INFO] [stdout] 29 │+ Input1::vertex_buffer_layout(input1), [INFO] [stdout] 30 │+ ], [INFO] [stdout] 31 │+ constants: overrides.constants(), [INFO] [stdout] 32 │+ } [INFO] [stdout] 33 33 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'generate::entry::test::write_vertex_shader_entry_multiple_buffers' (4981) 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: 0x64d434624cd2 - std::backtrace_rs::backtrace::libunwind::trace::h7cddb8376417e7cc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x64d434624cd2 - std::backtrace_rs::backtrace::trace_unsynchronized::hb4e41acf4b349ff1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x64d434624cd2 - std::sys::backtrace::_print_fmt::h1222b80910ba6eb5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x64d434624cd2 - ::fmt::h5bb8a979ba5db788 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x64d434638d3f - core::fmt::rt::Argument::fmt::h2ee2c138a50a7796 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x64d434638d3f - core::fmt::write::h1e0dbf07fe3990bd [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x64d4345f03a3 - std::io::default_write_fmt::h7d7ad5ed6a883d81 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x64d4345f03a3 - std::io::Write::write_fmt::hc477d9325b345ece [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x64d4345fcc52 - std::sys::backtrace::BacktraceLock::print::h788d486777205086 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x64d43460282f - std::panicking::default_hook::{{closure}}::ha7bdfeb5949fc0fa [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x64d4346026c1 - std::panicking::default_hook::h6dad75ec721846f4 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x64d433d3b72e - as core::ops::function::Fn>::call::h33799d04b0b96146 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x64d433d3b72e - test::test_main_with_exit_callback::{{closure}}::h880e31c829a2eb5d [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x64d434602f7e - as core::ops::function::Fn>::call::h5e1b8c652ea49180 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x64d434602f7e - std::panicking::panic_with_hook::hba00e869ada17676 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x64d434602c9a - std::panicking::panic_handler::{{closure}}::h3d21149c258e5ceb [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x64d4345fcd89 - std::sys::backtrace::__rust_end_short_backtrace::h4f5d9b9dfb3e6ec1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x64d4345e34ad - __rustc[9a7a9f9af7564de1]::rust_begin_unwind [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x64d434643df0 - core::panicking::panic_fmt::h78e817a90331d98b [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x64d434642b06 - core::result::unwrap_failed::h3ce108722ad88f1e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:1852:5 [INFO] [stdout] 20: 0x64d433b679e3 - core::result::Result::unwrap::haafd36386984d778 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:1223:23 [INFO] [stdout] 21: 0x64d433b679e3 - wgsl_bindgen::generate::entry::test::write_vertex_shader_entry_multiple_buffers::{{closure}}::hb7dcf0c211f8d38f [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x64d433b9d1ff - insta::settings::Settings::bind::h804ce2016b12181d [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.1/src/settings.rs:509:9 [INFO] [stdout] 23: 0x64d433b674fb - wgsl_bindgen::generate::entry::test::write_vertex_shader_entry_multiple_buffers::h0f50743aa7b9a6e3 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x64d433b675b7 - wgsl_bindgen::generate::entry::test::write_vertex_shader_entry_multiple_buffers::{{closure}}::h60ba85223b8d41cb [INFO] [stdout] at /opt/rustwide/workdir/src/generate/entry.rs:462:50 [INFO] [stdout] 25: 0x64d433b706b6 - core::ops::function::FnOnce::call_once::h1b17f171e539c9e0 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x64d433d3b52b - core::ops::function::FnOnce::call_once::h7f4b4fba903e39d5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 27: 0x64d433d3b52b - test::__rust_begin_short_backtrace::h9277cb6a2ccfc000 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x64d433d50fd5 - test::run_test_in_process::{{closure}}::h9aea5ca90d1f4423 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x64d433d50fd5 - as core::ops::function::FnOnce<()>>::call_once::h364f5fe6cc8afa85 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 30: 0x64d433d50fd5 - std::panicking::catch_unwind::do_call::h2b2bec3317fe53ec [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x64d433d50fd5 - std::panicking::catch_unwind::hc3763734156da4af [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x64d433d50fd5 - std::panic::catch_unwind::h28038391e867eabc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x64d433d50fd5 - test::run_test_in_process::had0273166695a036 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x64d433d50fd5 - test::run_test::{{closure}}::h743d09d4bb476605 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x64d433d279f4 - test::run_test::{{closure}}::he950b8f9118d37e2 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x64d433d279f4 - std::sys::backtrace::__rust_begin_short_backtrace::hbfaffa6539f6abb7 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x64d433d2b2da - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hcce3c2c65b9c3b20 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x64d433d2b2da - as core::ops::function::FnOnce<()>>::call_once::hb66b30b6d37985a5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 39: 0x64d433d2b2da - std::panicking::catch_unwind::do_call::h992bbe2c32dc1d79 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x64d433d2b2da - std::panicking::catch_unwind::h412991d5237de610 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x64d433d2b2da - std::panic::catch_unwind::ha82b139b3eb5840a [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x64d433d2b2da - std::thread::Builder::spawn_unchecked_::{{closure}}::ha823b36f5114938e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x64d433d2b2da - core::ops::function::FnOnce::call_once{{vtable.shim}}::hf120e7b1db22ac07 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 44: 0x64d4345f6cdf - as core::ops::function::FnOnce>::call_once::h3e049222c99298ac [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 45: 0x64d4345f6cdf - std::sys::pal::unix::thread::Thread::new::thread_start::h942e336943ad5963 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 46: 0x7220e1521aa4 - [INFO] [stdout] 47: 0x7220e15aea34 - 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 'cdb45c87e2cd43495379f7e867e3cc15dcee9f93'. [INFO] [stdout] note: this is a custom toolchain, which cannot use `rustup component add` [INFO] [stdout] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py` [INFO] [stdout] ), falling back to prettyplease [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/quote_gen/snapshots/module_add_duplicates.snap [INFO] [stdout] Snapshot: module_add_duplicates [INFO] [stdout] Source: src/quote_gen/rust_module_builder.rs:346 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 0 │ pub mod a { [INFO] [stdout] 1 │- struct B; [INFO] [stdout] 2 │- pub mod b { [INFO] [stdout] 3 │- struct A; [INFO] [stdout] 4 │- } [INFO] [stdout] 1 │+ struct B; [INFO] [stdout] 2 │+ pub mod b { [INFO] [stdout] 3 │+ struct A; [INFO] [stdout] 4 │+ } [INFO] [stdout] 5 5 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'quote_gen::rust_module_builder::tests::test_module_add_duplicates' (5242) 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: 0x64d434624cd2 - std::backtrace_rs::backtrace::libunwind::trace::h7cddb8376417e7cc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x64d434624cd2 - std::backtrace_rs::backtrace::trace_unsynchronized::hb4e41acf4b349ff1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x64d434624cd2 - std::sys::backtrace::_print_fmt::h1222b80910ba6eb5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x64d434624cd2 - ::fmt::h5bb8a979ba5db788 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x64d434638d3f - core::fmt::rt::Argument::fmt::h2ee2c138a50a7796 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x64d434638d3f - core::fmt::write::h1e0dbf07fe3990bd [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x64d4345f03a3 - std::io::default_write_fmt::h7d7ad5ed6a883d81 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x64d4345f03a3 - std::io::Write::write_fmt::hc477d9325b345ece [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x64d4345fcc52 - std::sys::backtrace::BacktraceLock::print::h788d486777205086 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x64d43460282f - std::panicking::default_hook::{{closure}}::ha7bdfeb5949fc0fa [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x64d4346026c1 - std::panicking::default_hook::h6dad75ec721846f4 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x64d433d3b72e - as core::ops::function::Fn>::call::h33799d04b0b96146 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x64d433d3b72e - test::test_main_with_exit_callback::{{closure}}::h880e31c829a2eb5d [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x64d434602f7e - as core::ops::function::Fn>::call::h5e1b8c652ea49180 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x64d434602f7e - std::panicking::panic_with_hook::hba00e869ada17676 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x64d434602c9a - std::panicking::panic_handler::{{closure}}::h3d21149c258e5ceb [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x64d4345fcd89 - std::sys::backtrace::__rust_end_short_backtrace::h4f5d9b9dfb3e6ec1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x64d4345e34ad - __rustc[9a7a9f9af7564de1]::rust_begin_unwind [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x64d434643df0 - core::panicking::panic_fmt::h78e817a90331d98b [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x64d434642b06 - core::result::unwrap_failed::h3ce108722ad88f1e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:1852:5 [INFO] [stdout] 20: 0x64d433ab6223 - core::result::Result::unwrap::haafd36386984d778 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:1223:23 [INFO] [stdout] 21: 0x64d433ab6223 - wgsl_bindgen::quote_gen::rust_module_builder::tests::test_module_add_duplicates::{{closure}}::hd8ffb0459fe165bf [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x64d433b9d47f - insta::settings::Settings::bind::h874ea7375d5932a2 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.1/src/settings.rs:509:9 [INFO] [stdout] 23: 0x64d433ab5d1a - wgsl_bindgen::quote_gen::rust_module_builder::tests::test_module_add_duplicates::h9eb0048ee7362dcb [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x64d433ab5ded - wgsl_bindgen::quote_gen::rust_module_builder::tests::test_module_add_duplicates::{{closure}}::h32c3655151b5d58c [INFO] [stdout] at /opt/rustwide/workdir/src/quote_gen/rust_module_builder.rs:338:38 [INFO] [stdout] 25: 0x64d433b70f16 - core::ops::function::FnOnce::call_once::h4a24979b93dee2a1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x64d433d3b52b - core::ops::function::FnOnce::call_once::h7f4b4fba903e39d5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 27: 0x64d433d3b52b - test::__rust_begin_short_backtrace::h9277cb6a2ccfc000 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x64d433d50fd5 - test::run_test_in_process::{{closure}}::h9aea5ca90d1f4423 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x64d433d50fd5 - as core::ops::function::FnOnce<()>>::call_once::h364f5fe6cc8afa85 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 30: 0x64d433d50fd5 - std::panicking::catch_unwind::do_call::h2b2bec3317fe53ec [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x64d433d50fd5 - std::panicking::catch_unwind::hc3763734156da4af [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x64d433d50fd5 - std::panic::catch_unwind::h28038391e867eabc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x64d433d50fd5 - test::run_test_in_process::had0273166695a036 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x64d433d50fd5 - test::run_test::{{closure}}::h743d09d4bb476605 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x64d433d279f4 - test::run_test::{{closure}}::he950b8f9118d37e2 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x64d433d279f4 - std::sys::backtrace::__rust_begin_short_backtrace::hbfaffa6539f6abb7 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x64d433d2b2da - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hcce3c2c65b9c3b20 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x64d433d2b2da - as core::ops::function::FnOnce<()>>::call_once::hb66b30b6d37985a5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 39: 0x64d433d2b2da - std::panicking::catch_unwind::do_call::h992bbe2c32dc1d79 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x64d433d2b2da - std::panicking::catch_unwind::h412991d5237de610 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x64d433d2b2da - std::panic::catch_unwind::ha82b139b3eb5840a [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x64d433d2b2da - std::thread::Builder::spawn_unchecked_::{{closure}}::ha823b36f5114938e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x64d433d2b2da - core::ops::function::FnOnce::call_once{{vtable.shim}}::hf120e7b1db22ac07 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 44: 0x64d4345f6cdf - as core::ops::function::FnOnce>::call_once::h3e049222c99298ac [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 45: 0x64d4345f6cdf - std::sys::pal::unix::thread::Thread::new::thread_start::h942e336943ad5963 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 46: 0x7220e1521aa4 - [INFO] [stdout] 47: 0x7220e15aea34 - 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 'cdb45c87e2cd43495379f7e867e3cc15dcee9f93'. [INFO] [stdout] note: this is a custom toolchain, which cannot use `rustup component add` [INFO] [stdout] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py` [INFO] [stdout] ), falling back to prettyplease [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/quote_gen/snapshots/relative_root_feature.snap [INFO] [stdout] Snapshot: relative_root_feature [INFO] [stdout] Source: src/quote_gen/rust_module_builder.rs:318 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 0 │ mod _root { [INFO] [stdout] 1 │- pub use super::*; [INFO] [stdout] 1 │+ pub use super::*; [INFO] [stdout] 2 2 │ } [INFO] [stdout] 3 3 │ pub mod a { [INFO] [stdout] 4 │- use super::{_root, _root::*}; [INFO] [stdout] 5 │- struct B { [INFO] [stdout] 6 │- a: a::b::A, [INFO] [stdout] 7 │- } [INFO] [stdout] 8 │- pub mod b { [INFO] [stdout] 9 4 │ use super::{_root, _root::*}; [INFO] [stdout] 10 │- struct A; [INFO] [stdout] 11 │- } [INFO] [stdout] 5 │+ struct B { [INFO] [stdout] 6 │+ a: a::b::A, [INFO] [stdout] 7 │+ } [INFO] [stdout] 8 │+ pub mod b { [INFO] [stdout] 9 │+ use super::{_root, _root::*}; [INFO] [stdout] 10 │+ struct A; [INFO] [stdout] 11 │+ } [INFO] [stdout] 12 12 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'quote_gen::rust_module_builder::tests::test_relative_root_feature' (5452) 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: 0x64d434624cd2 - std::backtrace_rs::backtrace::libunwind::trace::h7cddb8376417e7cc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x64d434624cd2 - std::backtrace_rs::backtrace::trace_unsynchronized::hb4e41acf4b349ff1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x64d434624cd2 - std::sys::backtrace::_print_fmt::h1222b80910ba6eb5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x64d434624cd2 - ::fmt::h5bb8a979ba5db788 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x64d434638d3f - core::fmt::rt::Argument::fmt::h2ee2c138a50a7796 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x64d434638d3f - core::fmt::write::h1e0dbf07fe3990bd [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x64d4345f03a3 - std::io::default_write_fmt::h7d7ad5ed6a883d81 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x64d4345f03a3 - std::io::Write::write_fmt::hc477d9325b345ece [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x64d4345fcc52 - std::sys::backtrace::BacktraceLock::print::h788d486777205086 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x64d43460282f - std::panicking::default_hook::{{closure}}::ha7bdfeb5949fc0fa [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x64d4346026c1 - std::panicking::default_hook::h6dad75ec721846f4 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x64d433d3b72e - as core::ops::function::Fn>::call::h33799d04b0b96146 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x64d433d3b72e - test::test_main_with_exit_callback::{{closure}}::h880e31c829a2eb5d [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x64d434602f7e - as core::ops::function::Fn>::call::h5e1b8c652ea49180 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x64d434602f7e - std::panicking::panic_with_hook::hba00e869ada17676 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x64d434602c9a - std::panicking::panic_handler::{{closure}}::h3d21149c258e5ceb [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x64d4345fcd89 - std::sys::backtrace::__rust_end_short_backtrace::h4f5d9b9dfb3e6ec1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x64d4345e34ad - __rustc[9a7a9f9af7564de1]::rust_begin_unwind [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x64d434643df0 - core::panicking::panic_fmt::h78e817a90331d98b [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x64d434642b06 - core::result::unwrap_failed::h3ce108722ad88f1e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:1852:5 [INFO] [stdout] 20: 0x64d433ab6c23 - core::result::Result::unwrap::haafd36386984d778 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:1223:23 [INFO] [stdout] 21: 0x64d433ab6c23 - wgsl_bindgen::quote_gen::rust_module_builder::tests::test_relative_root_feature::{{closure}}::h84c0dc50adaab808 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x64d433b9cc5f - insta::settings::Settings::bind::h52774e7671825a38 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.1/src/settings.rs:509:9 [INFO] [stdout] 23: 0x64d433ab6748 - wgsl_bindgen::quote_gen::rust_module_builder::tests::test_relative_root_feature::h0fdc95cd83b1d1c6 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x64d433ab67f7 - wgsl_bindgen::quote_gen::rust_module_builder::tests::test_relative_root_feature::{{closure}}::h83d4ca33325fa3be [INFO] [stdout] at /opt/rustwide/workdir/src/quote_gen/rust_module_builder.rs:306:34 [INFO] [stdout] 25: 0x64d433b70e06 - core::ops::function::FnOnce::call_once::h43cbe20e58979d80 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x64d433d3b52b - core::ops::function::FnOnce::call_once::h7f4b4fba903e39d5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 27: 0x64d433d3b52b - test::__rust_begin_short_backtrace::h9277cb6a2ccfc000 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x64d433d50fd5 - test::run_test_in_process::{{closure}}::h9aea5ca90d1f4423 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x64d433d50fd5 - as core::ops::function::FnOnce<()>>::call_once::h364f5fe6cc8afa85 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 30: 0x64d433d50fd5 - std::panicking::catch_unwind::do_call::h2b2bec3317fe53ec [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x64d433d50fd5 - std::panicking::catch_unwind::hc3763734156da4af [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x64d433d50fd5 - std::panic::catch_unwind::h28038391e867eabc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x64d433d50fd5 - test::run_test_in_process::had0273166695a036 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x64d433d50fd5 - test::run_test::{{closure}}::h743d09d4bb476605 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x64d433d279f4 - test::run_test::{{closure}}::he950b8f9118d37e2 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x64d433d279f4 - std::sys::backtrace::__rust_begin_short_backtrace::hbfaffa6539f6abb7 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x64d433d2b2da - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hcce3c2c65b9c3b20 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x64d433d2b2da - as core::ops::function::FnOnce<()>>::call_once::hb66b30b6d37985a5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 39: 0x64d433d2b2da - std::panicking::catch_unwind::do_call::h992bbe2c32dc1d79 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x64d433d2b2da - std::panicking::catch_unwind::h412991d5237de610 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x64d433d2b2da - std::panic::catch_unwind::ha82b139b3eb5840a [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x64d433d2b2da - std::thread::Builder::spawn_unchecked_::{{closure}}::ha823b36f5114938e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x64d433d2b2da - core::ops::function::FnOnce::call_once{{vtable.shim}}::hf120e7b1db22ac07 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 44: 0x64d4345f6cdf - as core::ops::function::FnOnce>::call_once::h3e049222c99298ac [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 45: 0x64d4345f6cdf - std::sys::pal::unix::thread::Thread::new::thread_start::h942e336943ad5963 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 46: 0x7220e1521aa4 - [INFO] [stdout] 47: 0x7220e15aea34 - 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 'cdb45c87e2cd43495379f7e867e3cc15dcee9f93'. [INFO] [stdout] note: this is a custom toolchain, which cannot use `rustup component add` [INFO] [stdout] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py` [INFO] [stdout] ), falling back to prettyplease [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/quote_gen/snapshots/module_generation_works.snap [INFO] [stdout] Snapshot: module_generation_works [INFO] [stdout] Source: src/quote_gen/rust_module_builder.rs:302 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 0 │ pub mod a { [INFO] [stdout] 1 │- pub mod b { [INFO] [stdout] 2 │- pub mod c { [INFO] [stdout] 3 │- struct B; [INFO] [stdout] 4 │- struct C; [INFO] [stdout] 5 │- pub mod d { [INFO] [stdout] 6 │- struct A; [INFO] [stdout] 7 │- } [INFO] [stdout] 1 │+ pub mod b { [INFO] [stdout] 2 │+ pub mod c { [INFO] [stdout] 3 │+ struct B; [INFO] [stdout] 4 │+ struct C; [INFO] [stdout] 5 │+ pub mod d { [INFO] [stdout] 6 │+ struct A; [INFO] [stdout] 7 │+ } [INFO] [stdout] 8 │+ } [INFO] [stdout] 8 9 │ } [INFO] [stdout] 9 │- } [INFO] [stdout] 10 10 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'quote_gen::rust_module_builder::tests::test_module_generation_works' (5437) 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: 0x64d434624cd2 - std::backtrace_rs::backtrace::libunwind::trace::h7cddb8376417e7cc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x64d434624cd2 - std::backtrace_rs::backtrace::trace_unsynchronized::hb4e41acf4b349ff1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x64d434624cd2 - std::sys::backtrace::_print_fmt::h1222b80910ba6eb5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x64d434624cd2 - ::fmt::h5bb8a979ba5db788 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x64d434638d3f - core::fmt::rt::Argument::fmt::h2ee2c138a50a7796 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x64d434638d3f - core::fmt::write::h1e0dbf07fe3990bd [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x64d4345f03a3 - std::io::default_write_fmt::h7d7ad5ed6a883d81 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x64d4345f03a3 - std::io::Write::write_fmt::hc477d9325b345ece [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x64d4345fcc52 - std::sys::backtrace::BacktraceLock::print::h788d486777205086 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x64d43460282f - std::panicking::default_hook::{{closure}}::ha7bdfeb5949fc0fa [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x64d4346026c1 - std::panicking::default_hook::h6dad75ec721846f4 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x64d433d3b72e - as core::ops::function::Fn>::call::h33799d04b0b96146 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x64d433d3b72e - test::test_main_with_exit_callback::{{closure}}::h880e31c829a2eb5d [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x64d434602f7e - as core::ops::function::Fn>::call::h5e1b8c652ea49180 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x64d434602f7e - std::panicking::panic_with_hook::hba00e869ada17676 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x64d434602c9a - std::panicking::panic_handler::{{closure}}::h3d21149c258e5ceb [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x64d4345fcd89 - std::sys::backtrace::__rust_end_short_backtrace::h4f5d9b9dfb3e6ec1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x64d4345e34ad - __rustc[9a7a9f9af7564de1]::rust_begin_unwind [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x64d434643df0 - core::panicking::panic_fmt::h78e817a90331d98b [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x64d434642b06 - core::result::unwrap_failed::h3ce108722ad88f1e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:1852:5 [INFO] [stdout] 20: 0x64d433ab75d3 - core::result::Result::unwrap::haafd36386984d778 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:1223:23 [INFO] [stdout] 21: 0x64d433ab75d3 - wgsl_bindgen::quote_gen::rust_module_builder::tests::test_module_generation_works::{{closure}}::hb379fd9c29ce6181 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x64d433b9ca7f - insta::settings::Settings::bind::h4460f81739fe7b74 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.1/src/settings.rs:509:9 [INFO] [stdout] 23: 0x64d433ab70f4 - wgsl_bindgen::quote_gen::rust_module_builder::tests::test_module_generation_works::hf656308adc79cc62 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x64d433ab71a7 - wgsl_bindgen::quote_gen::rust_module_builder::tests::test_module_generation_works::{{closure}}::hada5ee4bb1b886d8 [INFO] [stdout] at /opt/rustwide/workdir/src/quote_gen/rust_module_builder.rs:294:36 [INFO] [stdout] 25: 0x64d433b71e36 - core::ops::function::FnOnce::call_once::ha87f509956b2d093 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x64d433d3b52b - core::ops::function::FnOnce::call_once::h7f4b4fba903e39d5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 27: 0x64d433d3b52b - test::__rust_begin_short_backtrace::h9277cb6a2ccfc000 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x64d433d50fd5 - test::run_test_in_process::{{closure}}::h9aea5ca90d1f4423 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x64d433d50fd5 - as core::ops::function::FnOnce<()>>::call_once::h364f5fe6cc8afa85 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 30: 0x64d433d50fd5 - std::panicking::catch_unwind::do_call::h2b2bec3317fe53ec [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x64d433d50fd5 - std::panicking::catch_unwind::hc3763734156da4af [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x64d433d50fd5 - std::panic::catch_unwind::h28038391e867eabc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x64d433d50fd5 - test::run_test_in_process::had0273166695a036 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x64d433d50fd5 - test::run_test::{{closure}}::h743d09d4bb476605 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x64d433d279f4 - test::run_test::{{closure}}::he950b8f9118d37e2 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x64d433d279f4 - std::sys::backtrace::__rust_begin_short_backtrace::hbfaffa6539f6abb7 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x64d433d2b2da - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hcce3c2c65b9c3b20 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x64d433d2b2da - as core::ops::function::FnOnce<()>>::call_once::hb66b30b6d37985a5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 39: 0x64d433d2b2da - std::panicking::catch_unwind::do_call::h992bbe2c32dc1d79 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x64d433d2b2da - std::panicking::catch_unwind::h412991d5237de610 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x64d433d2b2da - std::panic::catch_unwind::ha82b139b3eb5840a [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x64d433d2b2da - std::thread::Builder::spawn_unchecked_::{{closure}}::ha823b36f5114938e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x64d433d2b2da - core::ops::function::FnOnce::call_once{{vtable.shim}}::hf120e7b1db22ac07 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 44: 0x64d4345f6cdf - as core::ops::function::FnOnce>::call_once::h3e049222c99298ac [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 45: 0x64d4345f6cdf - std::sys::pal::unix::thread::Thread::new::thread_start::h942e336943ad5963 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 46: 0x7220e1521aa4 - [INFO] [stdout] 47: 0x7220e15aea34 - 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 'cdb45c87e2cd43495379f7e867e3cc15dcee9f93'. [INFO] [stdout] note: this is a custom toolchain, which cannot use `rustup component add` [INFO] [stdout] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py` [INFO] [stdout] ), falling back to prettyplease [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/generate/snapshots/write_vertex_shader_entry_no_buffers.snap [INFO] [stdout] Snapshot: write_vertex_shader_entry_no_buffers [INFO] [stdout] Source: src/generate/entry.rs:438 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 0 │ #[derive(Debug)] [INFO] [stdout] 1 1 │ pub struct VertexEntry { [INFO] [stdout] 2 │- pub entry_point: &'static str, [INFO] [stdout] 3 │- pub buffers: [wgpu::VertexBufferLayout<'static>; N], [INFO] [stdout] 4 │- pub constants: Vec<(&'static str, f64)>, [INFO] [stdout] 2 │+ pub entry_point: &'static str, [INFO] [stdout] 3 │+ pub buffers: [wgpu::VertexBufferLayout<'static>; N], [INFO] [stdout] 4 │+ pub constants: Vec<(&'static str, f64)>, [INFO] [stdout] 5 5 │ } [INFO] [stdout] 6 6 │ pub fn vertex_state<'a, const N: usize>( [INFO] [stdout] 7 │- module: &'a wgpu::ShaderModule, [INFO] [stdout] 8 │- entry: &'a VertexEntry, [INFO] [stdout] 7 │+ module: &'a wgpu::ShaderModule, [INFO] [stdout] 8 │+ entry: &'a VertexEntry, [INFO] [stdout] 9 9 │ ) -> wgpu::VertexState<'a> { [INFO] [stdout] 10 │- wgpu::VertexState { [INFO] [stdout] 11 │- module, [INFO] [stdout] 12 │- entry_point: Some(entry.entry_point), [INFO] [stdout] 13 │- buffers: &entry.buffers, [INFO] [stdout] 14 │- compilation_options: wgpu::PipelineCompilationOptions { [INFO] [stdout] 15 │- constants: &entry.constants, [INFO] [stdout] 16 │- ..Default::default() [INFO] [stdout] 17 │- }, [INFO] [stdout] 18 │- } [INFO] [stdout] 10 │+ wgpu::VertexState { [INFO] [stdout] 11 │+ module, [INFO] [stdout] 12 │+ entry_point: Some(entry.entry_point), [INFO] [stdout] 13 │+ buffers: &entry.buffers, [INFO] [stdout] 14 │+ compilation_options: wgpu::PipelineCompilationOptions { [INFO] [stdout] 15 │+ constants: &entry.constants, [INFO] [stdout] 16 │+ ..Default::default() [INFO] [stdout] 17 │+ }, [INFO] [stdout] 18 │+ } [INFO] [stdout] 19 19 │ } [INFO] [stdout] 20 20 │ pub fn vs_main_entry() -> VertexEntry<0> { [INFO] [stdout] 21 │- VertexEntry { [INFO] [stdout] 22 │- entry_point: ENTRY_VS_MAIN, [INFO] [stdout] 23 │- buffers: [], [INFO] [stdout] 24 │- constants: Default::default(), [INFO] [stdout] 25 │- } [INFO] [stdout] 21 │+ VertexEntry { [INFO] [stdout] 22 │+ entry_point: ENTRY_VS_MAIN, [INFO] [stdout] 23 │+ buffers: [], [INFO] [stdout] 24 │+ constants: Default::default(), [INFO] [stdout] 25 │+ } [INFO] [stdout] 26 26 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'generate::entry::test::write_vertex_shader_entry_no_buffers' (5026) 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: 0x64d434624cd2 - std::backtrace_rs::backtrace::libunwind::trace::h7cddb8376417e7cc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x64d434624cd2 - std::backtrace_rs::backtrace::trace_unsynchronized::hb4e41acf4b349ff1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x64d434624cd2 - std::sys::backtrace::_print_fmt::h1222b80910ba6eb5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x64d434624cd2 - ::fmt::h5bb8a979ba5db788 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x64d434638d3f - core::fmt::rt::Argument::fmt::h2ee2c138a50a7796 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x64d434638d3f - core::fmt::write::h1e0dbf07fe3990bd [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x64d4345f03a3 - std::io::default_write_fmt::h7d7ad5ed6a883d81 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x64d4345f03a3 - std::io::Write::write_fmt::hc477d9325b345ece [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x64d4345fcc52 - std::sys::backtrace::BacktraceLock::print::h788d486777205086 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x64d43460282f - std::panicking::default_hook::{{closure}}::ha7bdfeb5949fc0fa [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x64d4346026c1 - std::panicking::default_hook::h6dad75ec721846f4 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x64d433d3b72e - as core::ops::function::Fn>::call::h33799d04b0b96146 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x64d433d3b72e - test::test_main_with_exit_callback::{{closure}}::h880e31c829a2eb5d [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x64d434602f7e - as core::ops::function::Fn>::call::h5e1b8c652ea49180 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x64d434602f7e - std::panicking::panic_with_hook::hba00e869ada17676 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x64d434602c9a - std::panicking::panic_handler::{{closure}}::h3d21149c258e5ceb [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x64d4345fcd89 - std::sys::backtrace::__rust_end_short_backtrace::h4f5d9b9dfb3e6ec1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x64d4345e34ad - __rustc[9a7a9f9af7564de1]::rust_begin_unwind [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x64d434643df0 - core::panicking::panic_fmt::h78e817a90331d98b [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x64d434642b06 - core::result::unwrap_failed::h3ce108722ad88f1e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:1852:5 [INFO] [stdout] 20: 0x64d433b64483 - core::result::Result::unwrap::haafd36386984d778 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:1223:23 [INFO] [stdout] 21: 0x64d433b64483 - wgsl_bindgen::generate::entry::test::write_vertex_shader_entry_no_buffers::{{closure}}::hc8ef6eceff9158f1 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x64d433b9c89f - insta::settings::Settings::bind::h3687d8009fb2f590 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.1/src/settings.rs:509:9 [INFO] [stdout] 23: 0x64d433b63f9b - wgsl_bindgen::generate::entry::test::write_vertex_shader_entry_no_buffers::hc7824036bc797322 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x64d433b64057 - wgsl_bindgen::generate::entry::test::write_vertex_shader_entry_no_buffers::{{closure}}::ha7f456706c9cd986 [INFO] [stdout] at /opt/rustwide/workdir/src/generate/entry.rs:428:44 [INFO] [stdout] 25: 0x64d433b721a6 - core::ops::function::FnOnce::call_once::hbe181858cef95c1d [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x64d433d3b52b - core::ops::function::FnOnce::call_once::h7f4b4fba903e39d5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 27: 0x64d433d3b52b - test::__rust_begin_short_backtrace::h9277cb6a2ccfc000 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x64d433d50fd5 - test::run_test_in_process::{{closure}}::h9aea5ca90d1f4423 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x64d433d50fd5 - as core::ops::function::FnOnce<()>>::call_once::h364f5fe6cc8afa85 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 30: 0x64d433d50fd5 - std::panicking::catch_unwind::do_call::h2b2bec3317fe53ec [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x64d433d50fd5 - std::panicking::catch_unwind::hc3763734156da4af [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x64d433d50fd5 - std::panic::catch_unwind::h28038391e867eabc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x64d433d50fd5 - test::run_test_in_process::had0273166695a036 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x64d433d50fd5 - test::run_test::{{closure}}::h743d09d4bb476605 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x64d433d279f4 - test::run_test::{{closure}}::he950b8f9118d37e2 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x64d433d279f4 - std::sys::backtrace::__rust_begin_short_backtrace::hbfaffa6539f6abb7 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x64d433d2b2da - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hcce3c2c65b9c3b20 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x64d433d2b2da - as core::ops::function::FnOnce<()>>::call_once::hb66b30b6d37985a5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 39: 0x64d433d2b2da - std::panicking::catch_unwind::do_call::h992bbe2c32dc1d79 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x64d433d2b2da - std::panicking::catch_unwind::h412991d5237de610 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x64d433d2b2da - std::panic::catch_unwind::ha82b139b3eb5840a [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x64d433d2b2da - std::thread::Builder::spawn_unchecked_::{{closure}}::ha823b36f5114938e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x64d433d2b2da - core::ops::function::FnOnce::call_once{{vtable.shim}}::hf120e7b1db22ac07 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 44: 0x64d4345f6cdf - as core::ops::function::FnOnce>::call_once::h3e049222c99298ac [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 45: 0x64d4345f6cdf - std::sys::pal::unix::thread::Thread::new::thread_start::h942e336943ad5963 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 46: 0x7220e1521aa4 - [INFO] [stdout] 47: 0x7220e15aea34 - 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 'cdb45c87e2cd43495379f7e867e3cc15dcee9f93'. [INFO] [stdout] note: this is a custom toolchain, which cannot use `rustup component add` [INFO] [stdout] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py` [INFO] [stdout] ), falling back to prettyplease [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/quote_gen/snapshots/include_relative_root_but_dont_generate_it.snap [INFO] [stdout] Snapshot: include_relative_root_but_dont_generate_it [INFO] [stdout] Source: src/quote_gen/rust_module_builder.rs:334 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 0 │ pub mod a { [INFO] [stdout] 1 │- use super::{_root, _root::*}; [INFO] [stdout] 2 │- struct B { [INFO] [stdout] 3 │- a: a::b::A, [INFO] [stdout] 4 │- } [INFO] [stdout] 5 │- pub mod b { [INFO] [stdout] 6 1 │ use super::{_root, _root::*}; [INFO] [stdout] 7 │- struct A; [INFO] [stdout] 8 │- } [INFO] [stdout] 2 │+ struct B { [INFO] [stdout] 3 │+ a: a::b::A, [INFO] [stdout] 4 │+ } [INFO] [stdout] 5 │+ pub mod b { [INFO] [stdout] 6 │+ use super::{_root, _root::*}; [INFO] [stdout] 7 │+ struct A; [INFO] [stdout] 8 │+ } [INFO] [stdout] 9 9 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'quote_gen::rust_module_builder::tests::test_include_relative_root_but_dont_generate_it' (5143) 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: 0x64d434624cd2 - std::backtrace_rs::backtrace::libunwind::trace::h7cddb8376417e7cc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x64d434624cd2 - std::backtrace_rs::backtrace::trace_unsynchronized::hb4e41acf4b349ff1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x64d434624cd2 - std::sys::backtrace::_print_fmt::h1222b80910ba6eb5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x64d434624cd2 - ::fmt::h5bb8a979ba5db788 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x64d434638d3f - core::fmt::rt::Argument::fmt::h2ee2c138a50a7796 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x64d434638d3f - core::fmt::write::h1e0dbf07fe3990bd [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x64d4345f03a3 - std::io::default_write_fmt::h7d7ad5ed6a883d81 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x64d4345f03a3 - std::io::Write::write_fmt::hc477d9325b345ece [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x64d4345fcc52 - std::sys::backtrace::BacktraceLock::print::h788d486777205086 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x64d43460282f - std::panicking::default_hook::{{closure}}::ha7bdfeb5949fc0fa [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x64d4346026c1 - std::panicking::default_hook::h6dad75ec721846f4 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x64d433d3b72e - as core::ops::function::Fn>::call::h33799d04b0b96146 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x64d433d3b72e - test::test_main_with_exit_callback::{{closure}}::h880e31c829a2eb5d [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x64d434602f7e - as core::ops::function::Fn>::call::h5e1b8c652ea49180 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x64d434602f7e - std::panicking::panic_with_hook::hba00e869ada17676 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x64d434602c9a - std::panicking::panic_handler::{{closure}}::h3d21149c258e5ceb [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x64d4345fcd89 - std::sys::backtrace::__rust_end_short_backtrace::h4f5d9b9dfb3e6ec1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x64d4345e34ad - __rustc[9a7a9f9af7564de1]::rust_begin_unwind [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x64d434643df0 - core::panicking::panic_fmt::h78e817a90331d98b [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x64d434642b06 - core::result::unwrap_failed::h3ce108722ad88f1e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:1852:5 [INFO] [stdout] 20: 0x64d433ab8483 - core::result::Result::unwrap::haafd36386984d778 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:1223:23 [INFO] [stdout] 21: 0x64d433ab8483 - wgsl_bindgen::quote_gen::rust_module_builder::tests::test_include_relative_root_but_dont_generate_it::{{closure}}::hdcba1b9b5de3dc33 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x64d433b9d97f - insta::settings::Settings::bind::hc8099512bbc1644b [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.1/src/settings.rs:509:9 [INFO] [stdout] 23: 0x64d433ab7fa8 - wgsl_bindgen::quote_gen::rust_module_builder::tests::test_include_relative_root_but_dont_generate_it::h8e28cae5a0ee8bf6 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x64d433ab8057 - wgsl_bindgen::quote_gen::rust_module_builder::tests::test_include_relative_root_but_dont_generate_it::{{closure}}::h5c281dc095f75129 [INFO] [stdout] at /opt/rustwide/workdir/src/quote_gen/rust_module_builder.rs:322:55 [INFO] [stdout] 25: 0x64d433b71796 - core::ops::function::FnOnce::call_once::h6fce4e5597aeaf28 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x64d433d3b52b - core::ops::function::FnOnce::call_once::h7f4b4fba903e39d5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 27: 0x64d433d3b52b - test::__rust_begin_short_backtrace::h9277cb6a2ccfc000 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x64d433d50fd5 - test::run_test_in_process::{{closure}}::h9aea5ca90d1f4423 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x64d433d50fd5 - as core::ops::function::FnOnce<()>>::call_once::h364f5fe6cc8afa85 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 30: 0x64d433d50fd5 - std::panicking::catch_unwind::do_call::h2b2bec3317fe53ec [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x64d433d50fd5 - std::panicking::catch_unwind::hc3763734156da4af [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x64d433d50fd5 - std::panic::catch_unwind::h28038391e867eabc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x64d433d50fd5 - test::run_test_in_process::had0273166695a036 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x64d433d50fd5 - test::run_test::{{closure}}::h743d09d4bb476605 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x64d433d279f4 - test::run_test::{{closure}}::he950b8f9118d37e2 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x64d433d279f4 - std::sys::backtrace::__rust_begin_short_backtrace::hbfaffa6539f6abb7 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x64d433d2b2da - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hcce3c2c65b9c3b20 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x64d433d2b2da - as core::ops::function::FnOnce<()>>::call_once::hb66b30b6d37985a5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 39: 0x64d433d2b2da - std::panicking::catch_unwind::do_call::h992bbe2c32dc1d79 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x64d433d2b2da - std::panicking::catch_unwind::h412991d5237de610 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x64d433d2b2da - std::panic::catch_unwind::ha82b139b3eb5840a [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x64d433d2b2da - std::thread::Builder::spawn_unchecked_::{{closure}}::ha823b36f5114938e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x64d433d2b2da - core::ops::function::FnOnce::call_once{{vtable.shim}}::hf120e7b1db22ac07 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 44: 0x64d4345f6cdf - as core::ops::function::FnOnce>::call_once::h3e049222c99298ac [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 45: 0x64d4345f6cdf - std::sys::pal::unix::thread::Thread::new::thread_start::h942e336943ad5963 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 46: 0x7220e1521aa4 - [INFO] [stdout] 47: 0x7220e15aea34 - 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 'cdb45c87e2cd43495379f7e867e3cc15dcee9f93'. [INFO] [stdout] note: this is a custom toolchain, which cannot use `rustup component add` [INFO] [stdout] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py` [INFO] [stdout] ), falling back to prettyplease [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/generate/snapshots/write_vertex_shader_multiple_entries.snap [INFO] [stdout] Snapshot: write_vertex_shader_multiple_entries [INFO] [stdout] Source: src/generate/entry.rs:458 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 0 │ #[derive(Debug)] [INFO] [stdout] 1 1 │ pub struct VertexEntry { [INFO] [stdout] 2 │- pub entry_point: &'static str, [INFO] [stdout] 3 │- pub buffers: [wgpu::VertexBufferLayout<'static>; N], [INFO] [stdout] 4 │- pub constants: Vec<(&'static str, f64)>, [INFO] [stdout] 2 │+ pub entry_point: &'static str, [INFO] [stdout] 3 │+ pub buffers: [wgpu::VertexBufferLayout<'static>; N], [INFO] [stdout] 4 │+ pub constants: Vec<(&'static str, f64)>, [INFO] [stdout] 5 5 │ } [INFO] [stdout] 6 6 │ pub fn vertex_state<'a, const N: usize>( [INFO] [stdout] 7 │- module: &'a wgpu::ShaderModule, [INFO] [stdout] 8 │- entry: &'a VertexEntry, [INFO] [stdout] 7 │+ module: &'a wgpu::ShaderModule, [INFO] [stdout] 8 │+ entry: &'a VertexEntry, [INFO] [stdout] 9 9 │ ) -> wgpu::VertexState<'a> { [INFO] [stdout] 10 │- wgpu::VertexState { [INFO] [stdout] 11 │- module, [INFO] [stdout] 12 │- entry_point: Some(entry.entry_point), [INFO] [stdout] 13 │- buffers: &entry.buffers, [INFO] [stdout] 14 │- compilation_options: wgpu::PipelineCompilationOptions { [INFO] [stdout] 15 │- constants: &entry.constants, [INFO] [stdout] 16 │- ..Default::default() [INFO] [stdout] 17 │- }, [INFO] [stdout] 18 │- } [INFO] [stdout] 10 │+ wgpu::VertexState { [INFO] [stdout] 11 │+ module, [INFO] [stdout] 12 │+ entry_point: Some(entry.entry_point), [INFO] [stdout] 13 │+ buffers: &entry.buffers, [INFO] [stdout] 14 │+ compilation_options: wgpu::PipelineCompilationOptions { [INFO] [stdout] 15 │+ constants: &entry.constants, [INFO] [stdout] 16 │+ ..Default::default() [INFO] [stdout] 17 │+ }, [INFO] [stdout] 18 │+ } [INFO] [stdout] 19 19 │ } [INFO] [stdout] 20 20 │ pub fn vs_main_1_entry(vertex_input: wgpu::VertexStepMode) -> VertexEntry<1> { [INFO] [stdout] 21 │- VertexEntry { [INFO] [stdout] 22 │- entry_point: ENTRY_VS_MAIN_1, [INFO] [stdout] 23 │- buffers: [VertexInput::vertex_buffer_layout(vertex_input)], [INFO] [stdout] 24 │- constants: Default::default(), [INFO] [stdout] 25 │- } [INFO] [stdout] 21 │+ VertexEntry { [INFO] [stdout] 22 │+ entry_point: ENTRY_VS_MAIN_1, [INFO] [stdout] 23 │+ buffers: [VertexInput::vertex_buffer_layout(vertex_input)], [INFO] [stdout] 24 │+ constants: Default::default(), [INFO] [stdout] 25 │+ } [INFO] [stdout] 26 26 │ } [INFO] [stdout] 27 27 │ pub fn vs_main_2_entry(vertex_input: wgpu::VertexStepMode) -> VertexEntry<1> { [INFO] [stdout] 28 │- VertexEntry { [INFO] [stdout] 29 │- entry_point: ENTRY_VS_MAIN_2, [INFO] [stdout] 30 │- buffers: [VertexInput::vertex_buffer_layout(vertex_input)], [INFO] [stdout] 31 │- constants: Default::default(), [INFO] [stdout] 32 │- } [INFO] [stdout] 28 │+ VertexEntry { [INFO] [stdout] 29 │+ entry_point: ENTRY_VS_MAIN_2, [INFO] [stdout] 30 │+ buffers: [VertexInput::vertex_buffer_layout(vertex_input)], [INFO] [stdout] 31 │+ constants: Default::default(), [INFO] [stdout] 32 │+ } [INFO] [stdout] 33 33 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'generate::entry::test::write_vertex_shader_multiple_entries' (5027) 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: 0x64d434624cd2 - std::backtrace_rs::backtrace::libunwind::trace::h7cddb8376417e7cc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x64d434624cd2 - std::backtrace_rs::backtrace::trace_unsynchronized::hb4e41acf4b349ff1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x64d434624cd2 - std::sys::backtrace::_print_fmt::h1222b80910ba6eb5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x64d434624cd2 - ::fmt::h5bb8a979ba5db788 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x64d434638d3f - core::fmt::rt::Argument::fmt::h2ee2c138a50a7796 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x64d434638d3f - core::fmt::write::h1e0dbf07fe3990bd [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x64d4345f03a3 - std::io::default_write_fmt::h7d7ad5ed6a883d81 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x64d4345f03a3 - std::io::Write::write_fmt::hc477d9325b345ece [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x64d4345fcc52 - std::sys::backtrace::BacktraceLock::print::h788d486777205086 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x64d43460282f - std::panicking::default_hook::{{closure}}::ha7bdfeb5949fc0fa [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x64d4346026c1 - std::panicking::default_hook::h6dad75ec721846f4 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x64d433d3b72e - as core::ops::function::Fn>::call::h33799d04b0b96146 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x64d433d3b72e - test::test_main_with_exit_callback::{{closure}}::h880e31c829a2eb5d [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x64d434602f7e - as core::ops::function::Fn>::call::h5e1b8c652ea49180 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x64d434602f7e - std::panicking::panic_with_hook::hba00e869ada17676 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x64d434602c9a - std::panicking::panic_handler::{{closure}}::h3d21149c258e5ceb [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x64d4345fcd89 - std::sys::backtrace::__rust_end_short_backtrace::h4f5d9b9dfb3e6ec1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x64d4345e34ad - __rustc[9a7a9f9af7564de1]::rust_begin_unwind [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x64d434643df0 - core::panicking::panic_fmt::h78e817a90331d98b [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x64d434642b06 - core::result::unwrap_failed::h3ce108722ad88f1e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:1852:5 [INFO] [stdout] 20: 0x64d433b64d23 - core::result::Result::unwrap::haafd36386984d778 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:1223:23 [INFO] [stdout] 21: 0x64d433b64d23 - wgsl_bindgen::generate::entry::test::write_vertex_shader_multiple_entries::{{closure}}::h795849530a9bdcab [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x64d433b9d01f - insta::settings::Settings::bind::h6cf77018a754238b [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.1/src/settings.rs:509:9 [INFO] [stdout] 23: 0x64d433b6483b - wgsl_bindgen::generate::entry::test::write_vertex_shader_multiple_entries::h95fe9c70907843e4 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x64d433b648f7 - wgsl_bindgen::generate::entry::test::write_vertex_shader_multiple_entries::{{closure}}::h01750425230770f8 [INFO] [stdout] at /opt/rustwide/workdir/src/generate/entry.rs:442:44 [INFO] [stdout] 25: 0x64d433b709d6 - core::ops::function::FnOnce::call_once::h24f099c44a620748 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x64d433d3b52b - core::ops::function::FnOnce::call_once::h7f4b4fba903e39d5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 27: 0x64d433d3b52b - test::__rust_begin_short_backtrace::h9277cb6a2ccfc000 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x64d433d50fd5 - test::run_test_in_process::{{closure}}::h9aea5ca90d1f4423 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x64d433d50fd5 - as core::ops::function::FnOnce<()>>::call_once::h364f5fe6cc8afa85 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 30: 0x64d433d50fd5 - std::panicking::catch_unwind::do_call::h2b2bec3317fe53ec [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x64d433d50fd5 - std::panicking::catch_unwind::hc3763734156da4af [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x64d433d50fd5 - std::panic::catch_unwind::h28038391e867eabc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x64d433d50fd5 - test::run_test_in_process::had0273166695a036 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x64d433d50fd5 - test::run_test::{{closure}}::h743d09d4bb476605 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x64d433d279f4 - test::run_test::{{closure}}::he950b8f9118d37e2 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x64d433d279f4 - std::sys::backtrace::__rust_begin_short_backtrace::hbfaffa6539f6abb7 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x64d433d2b2da - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hcce3c2c65b9c3b20 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x64d433d2b2da - as core::ops::function::FnOnce<()>>::call_once::hb66b30b6d37985a5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 39: 0x64d433d2b2da - std::panicking::catch_unwind::do_call::h992bbe2c32dc1d79 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x64d433d2b2da - std::panicking::catch_unwind::h412991d5237de610 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x64d433d2b2da - std::panic::catch_unwind::ha82b139b3eb5840a [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x64d433d2b2da - std::thread::Builder::spawn_unchecked_::{{closure}}::ha823b36f5114938e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x64d433d2b2da - core::ops::function::FnOnce::call_once{{vtable.shim}}::hf120e7b1db22ac07 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 44: 0x64d4345f6cdf - as core::ops::function::FnOnce>::call_once::h3e049222c99298ac [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 45: 0x64d4345f6cdf - std::sys::pal::unix::thread::Thread::new::thread_start::h942e336943ad5963 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 46: 0x7220e1521aa4 - [INFO] [stdout] 47: 0x7220e15aea34 - 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 'cdb45c87e2cd43495379f7e867e3cc15dcee9f93'. [INFO] [stdout] note: this is a custom toolchain, which cannot use `rustup component add` [INFO] [stdout] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py` [INFO] [stdout] ), falling back to prettyplease [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/generate/snapshots/write_compute_module_multiple_entries.snap [INFO] [stdout] Snapshot: write_compute_module_multiple_entries [INFO] [stdout] Source: src/generate/shader_module.rs:830 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 0 │ pub mod compute { [INFO] [stdout] 1 │- use super::{_root, _root::*}; [INFO] [stdout] 2 │- pub const MAIN1_WORKGROUP_SIZE: [u32; 3] = [1, 2, 3]; [INFO] [stdout] 3 │- pub fn create_main1_pipeline_embed_source( [INFO] [stdout] 4 │- device: &wgpu::Device, [INFO] [stdout] 5 │- ) -> wgpu::ComputePipeline { [INFO] [stdout] 6 │- let module = super::create_shader_module_embed_source(device); [INFO] [stdout] 7 │- let layout = super::create_pipeline_layout(device); [INFO] [stdout] 8 │- device.create_compute_pipeline(&wgpu::ComputePipelineDescriptor { [INFO] [stdout] 9 │- label: Some("Compute Pipeline main1"), [INFO] [stdout] 10 │- layout: Some(&layout), [INFO] [stdout] 11 │- module: &module, [INFO] [stdout] 12 │- entry_point: Some("main1"), [INFO] [stdout] 13 │- compilation_options: Default::default(), [INFO] [stdout] 14 │- cache: None, [INFO] [stdout] 15 │- }) [INFO] [stdout] 16 │- } [INFO] [stdout] 17 │- pub const MAIN2_WORKGROUP_SIZE: [u32; 3] = [256, 1, 1]; [INFO] [stdout] 18 │- pub fn create_main2_pipeline_embed_source( [INFO] [stdout] 19 │- device: &wgpu::Device, [INFO] [stdout] 20 │- ) -> wgpu::ComputePipeline { [INFO] [stdout] 21 │- let module = super::create_shader_module_embed_source(device); [INFO] [stdout] 22 │- let layout = super::create_pipeline_layout(device); [INFO] [stdout] 23 │- device.create_compute_pipeline(&wgpu::ComputePipelineDescriptor { [INFO] [stdout] 24 │- label: Some("Compute Pipeline main2"), [INFO] [stdout] 25 │- layout: Some(&layout), [INFO] [stdout] 26 │- module: &module, [INFO] [stdout] 27 │- entry_point: Some("main2"), [INFO] [stdout] 28 │- compilation_options: Default::default(), [INFO] [stdout] 29 │- cache: None, [INFO] [stdout] 30 │- }) [INFO] [stdout] 31 │- } [INFO] [stdout] 1 │+ use super::{_root, _root::*}; [INFO] [stdout] 2 │+ pub const MAIN1_WORKGROUP_SIZE: [u32; 3] = [1, 2, 3]; [INFO] [stdout] 3 │+ pub fn create_main1_pipeline_embed_source( [INFO] [stdout] 4 │+ device: &wgpu::Device, [INFO] [stdout] 5 │+ ) -> wgpu::ComputePipeline { [INFO] [stdout] 6 │+ let module = super::create_shader_module_embed_source(device); [INFO] [stdout] 7 │+ let layout = super::create_pipeline_layout(device); [INFO] [stdout] 8 │+ device [INFO] [stdout] 9 │+ .create_compute_pipeline( [INFO] [stdout] 10 │+ &wgpu::ComputePipelineDescriptor { [INFO] [stdout] 11 │+ label: Some("Compute Pipeline main1"), [INFO] [stdout] 12 │+ layout: Some(&layout), [INFO] [stdout] 13 │+ module: &module, [INFO] [stdout] 14 │+ entry_point: Some("main1"), [INFO] [stdout] 15 │+ compilation_options: Default::default(), [INFO] [stdout] 16 │+ cache: None, [INFO] [stdout] 17 │+ }, [INFO] [stdout] 18 │+ ) [INFO] [stdout] 19 │+ } [INFO] [stdout] 20 │+ pub const MAIN2_WORKGROUP_SIZE: [u32; 3] = [256, 1, 1]; [INFO] [stdout] 21 │+ pub fn create_main2_pipeline_embed_source( [INFO] [stdout] 22 │+ device: &wgpu::Device, [INFO] [stdout] 23 │+ ) -> wgpu::ComputePipeline { [INFO] [stdout] 24 │+ let module = super::create_shader_module_embed_source(device); [INFO] [stdout] 25 │+ let layout = super::create_pipeline_layout(device); [INFO] [stdout] 26 │+ device [INFO] [stdout] 27 │+ .create_compute_pipeline( [INFO] [stdout] 28 │+ &wgpu::ComputePipelineDescriptor { [INFO] [stdout] 29 │+ label: Some("Compute Pipeline main2"), [INFO] [stdout] 30 │+ layout: Some(&layout), [INFO] [stdout] 31 │+ module: &module, [INFO] [stdout] 32 │+ entry_point: Some("main2"), [INFO] [stdout] 33 │+ compilation_options: Default::default(), [INFO] [stdout] 34 │+ cache: None, [INFO] [stdout] 35 │+ }, [INFO] [stdout] 36 │+ ) [INFO] [stdout] 37 │+ } [INFO] [stdout] 32 38 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'generate::shader_module::tests::write_compute_module_multiple_entries' (5112) 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: 0x64d434624cd2 - std::backtrace_rs::backtrace::libunwind::trace::h7cddb8376417e7cc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x64d434624cd2 - std::backtrace_rs::backtrace::trace_unsynchronized::hb4e41acf4b349ff1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x64d434624cd2 - std::sys::backtrace::_print_fmt::h1222b80910ba6eb5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x64d434624cd2 - ::fmt::h5bb8a979ba5db788 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x64d434638d3f - core::fmt::rt::Argument::fmt::h2ee2c138a50a7796 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x64d434638d3f - core::fmt::write::h1e0dbf07fe3990bd [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x64d4345f03a3 - std::io::default_write_fmt::h7d7ad5ed6a883d81 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x64d4345f03a3 - std::io::Write::write_fmt::hc477d9325b345ece [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x64d4345fcc52 - std::sys::backtrace::BacktraceLock::print::h788d486777205086 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x64d43460282f - std::panicking::default_hook::{{closure}}::ha7bdfeb5949fc0fa [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x64d4346026c1 - std::panicking::default_hook::h6dad75ec721846f4 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x64d433d3b72e - as core::ops::function::Fn>::call::h33799d04b0b96146 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x64d433d3b72e - test::test_main_with_exit_callback::{{closure}}::h880e31c829a2eb5d [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x64d434602f7e - as core::ops::function::Fn>::call::h5e1b8c652ea49180 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x64d434602f7e - std::panicking::panic_with_hook::hba00e869ada17676 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x64d434602c9a - std::panicking::panic_handler::{{closure}}::h3d21149c258e5ceb [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x64d4345fcd89 - std::sys::backtrace::__rust_end_short_backtrace::h4f5d9b9dfb3e6ec1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x64d4345e34ad - __rustc[9a7a9f9af7564de1]::rust_begin_unwind [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x64d434643df0 - core::panicking::panic_fmt::h78e817a90331d98b [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x64d434642b06 - core::result::unwrap_failed::h3ce108722ad88f1e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:1852:5 [INFO] [stdout] 20: 0x64d433b618f3 - core::result::Result::unwrap::haafd36386984d778 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:1223:23 [INFO] [stdout] 21: 0x64d433b618f3 - wgsl_bindgen::generate::shader_module::tests::write_compute_module_multiple_entries::{{closure}}::hf71ece8fc57bbc7e [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x64d433b9dabf - insta::settings::Settings::bind::hcb90d79df2fba45b [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.1/src/settings.rs:509:9 [INFO] [stdout] 23: 0x64d433b61418 - wgsl_bindgen::generate::shader_module::tests::write_compute_module_multiple_entries::h439ad23a936dd983 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x64d433b614c7 - wgsl_bindgen::generate::shader_module::tests::write_compute_module_multiple_entries::{{closure}}::ha7489909e95c0b77 [INFO] [stdout] at /opt/rustwide/workdir/src/generate/shader_module.rs:815:45 [INFO] [stdout] 25: 0x64d433b71816 - core::ops::function::FnOnce::call_once::h71d8cfecc5249c40 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x64d433d3b52b - core::ops::function::FnOnce::call_once::h7f4b4fba903e39d5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 27: 0x64d433d3b52b - test::__rust_begin_short_backtrace::h9277cb6a2ccfc000 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x64d433d50fd5 - test::run_test_in_process::{{closure}}::h9aea5ca90d1f4423 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x64d433d50fd5 - as core::ops::function::FnOnce<()>>::call_once::h364f5fe6cc8afa85 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 30: 0x64d433d50fd5 - std::panicking::catch_unwind::do_call::h2b2bec3317fe53ec [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x64d433d50fd5 - std::panicking::catch_unwind::hc3763734156da4af [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x64d433d50fd5 - std::panic::catch_unwind::h28038391e867eabc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x64d433d50fd5 - test::run_test_in_process::had0273166695a036 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x64d433d50fd5 - test::run_test::{{closure}}::h743d09d4bb476605 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x64d433d279f4 - test::run_test::{{closure}}::he950b8f9118d37e2 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x64d433d279f4 - std::sys::backtrace::__rust_begin_short_backtrace::hbfaffa6539f6abb7 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x64d433d2b2da - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hcce3c2c65b9c3b20 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x64d433d2b2da - as core::ops::function::FnOnce<()>>::call_once::hb66b30b6d37985a5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 39: 0x64d433d2b2da - std::panicking::catch_unwind::do_call::h992bbe2c32dc1d79 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x64d433d2b2da - std::panicking::catch_unwind::h412991d5237de610 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x64d433d2b2da - std::panic::catch_unwind::ha82b139b3eb5840a [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x64d433d2b2da - std::thread::Builder::spawn_unchecked_::{{closure}}::ha823b36f5114938e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x64d433d2b2da - core::ops::function::FnOnce::call_once{{vtable.shim}}::hf120e7b1db22ac07 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 44: 0x64d4345f6cdf - as core::ops::function::FnOnce>::call_once::h3e049222c99298ac [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 45: 0x64d4345f6cdf - std::sys::pal::unix::thread::Thread::new::thread_start::h942e336943ad5963 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 46: 0x7220e1521aa4 - [INFO] [stdout] 47: 0x7220e15aea34 - 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 'cdb45c87e2cd43495379f7e867e3cc15dcee9f93'. [INFO] [stdout] note: this is a custom toolchain, which cannot use `rustup component add` [INFO] [stdout] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py` [INFO] [stdout] ), falling back to prettyplease [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/quote_gen/snapshots/merge.snap [INFO] [stdout] Snapshot: merge [INFO] [stdout] Source: src/quote_gen/rust_module_builder.rs:374 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 0 │ pub mod a { [INFO] [stdout] 1 │- pub mod b { [INFO] [stdout] 2 │- pub mod c { [INFO] [stdout] 3 │- struct A; [INFO] [stdout] 4 │- struct C; [INFO] [stdout] 1 │+ pub mod b { [INFO] [stdout] 2 │+ pub mod c { [INFO] [stdout] 3 │+ struct A; [INFO] [stdout] 4 │+ struct C; [INFO] [stdout] 5 │+ } [INFO] [stdout] 6 │+ pub mod d { [INFO] [stdout] 7 │+ struct B; [INFO] [stdout] 8 │+ } [INFO] [stdout] 9 │+ pub mod e { [INFO] [stdout] 10 │+ struct D; [INFO] [stdout] 11 │+ } [INFO] [stdout] 5 12 │ } [INFO] [stdout] 6 │- pub mod d { [INFO] [stdout] 7 │- struct B; [INFO] [stdout] 8 │- } [INFO] [stdout] 9 │- pub mod e { [INFO] [stdout] 10 │- struct D; [INFO] [stdout] 11 │- } [INFO] [stdout] 12 │- } [INFO] [stdout] 13 13 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'quote_gen::rust_module_builder::tests::test_merge' (5222) 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: 0x64d434624cd2 - std::backtrace_rs::backtrace::libunwind::trace::h7cddb8376417e7cc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x64d434624cd2 - std::backtrace_rs::backtrace::trace_unsynchronized::hb4e41acf4b349ff1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x64d434624cd2 - std::sys::backtrace::_print_fmt::h1222b80910ba6eb5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x64d434624cd2 - ::fmt::h5bb8a979ba5db788 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x64d434638d3f - core::fmt::rt::Argument::fmt::h2ee2c138a50a7796 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x64d434638d3f - core::fmt::write::h1e0dbf07fe3990bd [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x64d4345f03a3 - std::io::default_write_fmt::h7d7ad5ed6a883d81 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x64d4345f03a3 - std::io::Write::write_fmt::hc477d9325b345ece [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x64d4345fcc52 - std::sys::backtrace::BacktraceLock::print::h788d486777205086 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x64d43460282f - std::panicking::default_hook::{{closure}}::ha7bdfeb5949fc0fa [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x64d4346026c1 - std::panicking::default_hook::h6dad75ec721846f4 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x64d433d3b72e - as core::ops::function::Fn>::call::h33799d04b0b96146 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x64d433d3b72e - test::test_main_with_exit_callback::{{closure}}::h880e31c829a2eb5d [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x64d434602f7e - as core::ops::function::Fn>::call::h5e1b8c652ea49180 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x64d434602f7e - std::panicking::panic_with_hook::hba00e869ada17676 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x64d434602c9a - std::panicking::panic_handler::{{closure}}::h3d21149c258e5ceb [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x64d4345fcd89 - std::sys::backtrace::__rust_end_short_backtrace::h4f5d9b9dfb3e6ec1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x64d4345e34ad - __rustc[9a7a9f9af7564de1]::rust_begin_unwind [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x64d434643df0 - core::panicking::panic_fmt::h78e817a90331d98b [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x64d434642b06 - core::result::unwrap_failed::h3ce108722ad88f1e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:1852:5 [INFO] [stdout] 20: 0x64d433ab55b3 - core::result::Result::unwrap::haafd36386984d778 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:1223:23 [INFO] [stdout] 21: 0x64d433ab55b3 - wgsl_bindgen::quote_gen::rust_module_builder::tests::test_merge::{{closure}}::h0602e8a2eb6c6fba [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x64d433b9ccff - insta::settings::Settings::bind::h5461833ae92ded13 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.1/src/settings.rs:509:9 [INFO] [stdout] 23: 0x64d433ab50e4 - wgsl_bindgen::quote_gen::rust_module_builder::tests::test_merge::h2dc7380dc7e512f0 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x64d433ab56a7 - wgsl_bindgen::quote_gen::rust_module_builder::tests::test_merge::{{closure}}::h25f8c285d931f562 [INFO] [stdout] at /opt/rustwide/workdir/src/quote_gen/rust_module_builder.rs:363:18 [INFO] [stdout] 25: 0x64d433b70c36 - core::ops::function::FnOnce::call_once::h3489d722dae297c7 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x64d433d3b52b - core::ops::function::FnOnce::call_once::h7f4b4fba903e39d5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 27: 0x64d433d3b52b - test::__rust_begin_short_backtrace::h9277cb6a2ccfc000 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x64d433d50fd5 - test::run_test_in_process::{{closure}}::h9aea5ca90d1f4423 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x64d433d50fd5 - as core::ops::function::FnOnce<()>>::call_once::h364f5fe6cc8afa85 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 30: 0x64d433d50fd5 - std::panicking::catch_unwind::do_call::h2b2bec3317fe53ec [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x64d433d50fd5 - std::panicking::catch_unwind::hc3763734156da4af [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x64d433d50fd5 - std::panic::catch_unwind::h28038391e867eabc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x64d433d50fd5 - test::run_test_in_process::had0273166695a036 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x64d433d50fd5 - test::run_test::{{closure}}::h743d09d4bb476605 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x64d433d279f4 - test::run_test::{{closure}}::he950b8f9118d37e2 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x64d433d279f4 - std::sys::backtrace::__rust_begin_short_backtrace::hbfaffa6539f6abb7 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x64d433d2b2da - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hcce3c2c65b9c3b20 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x64d433d2b2da - as core::ops::function::FnOnce<()>>::call_once::hb66b30b6d37985a5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 39: 0x64d433d2b2da - std::panicking::catch_unwind::do_call::h992bbe2c32dc1d79 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x64d433d2b2da - std::panicking::catch_unwind::h412991d5237de610 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x64d433d2b2da - std::panic::catch_unwind::ha82b139b3eb5840a [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x64d433d2b2da - std::thread::Builder::spawn_unchecked_::{{closure}}::ha823b36f5114938e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x64d433d2b2da - core::ops::function::FnOnce::call_once{{vtable.shim}}::hf120e7b1db22ac07 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 44: 0x64d4345f6cdf - as core::ops::function::FnOnce>::call_once::h3e049222c99298ac [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 45: 0x64d4345f6cdf - std::sys::pal::unix::thread::Thread::new::thread_start::h942e336943ad5963 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 46: 0x7220e1521aa4 - [INFO] [stdout] 47: 0x7220e15aea34 - 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 'cdb45c87e2cd43495379f7e867e3cc15dcee9f93'. [INFO] [stdout] note: this is a custom toolchain, which cannot use `rustup component add` [INFO] [stdout] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py` [INFO] [stdout] ), falling back to prettyplease [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/snapshots/write_all_structs_bytemuck_skip_input_layout_validation.snap [INFO] [stdout] Snapshot: write_all_structs_bytemuck_skip_input_layout_validation [INFO] [stdout] Source: src/structs.rs:578 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 0 │ #[repr(C)] [INFO] [stdout] 1 1 │ #[derive(Debug, PartialEq, Clone, Copy)] [INFO] [stdout] 2 2 │ pub struct Input0 { [INFO] [stdout] 3 │- pub a: u32, [INFO] [stdout] 4 │- pub b: i32, [INFO] [stdout] 5 │- pub c: f32, [INFO] [stdout] 3 │+ pub a: u32, [INFO] [stdout] 4 │+ pub b: i32, [INFO] [stdout] 5 │+ pub c: f32, [INFO] [stdout] 6 6 │ } [INFO] [stdout] 7 7 │ impl Input0 { [INFO] [stdout] 8 │- pub const fn new(a: u32, b: i32, c: f32) -> Self { [INFO] [stdout] 9 │- Self { a, b, c } [INFO] [stdout] 10 │- } [INFO] [stdout] 8 │+ pub const fn new(a: u32, b: i32, c: f32) -> Self { [INFO] [stdout] 9 │+ Self { a, b, c } [INFO] [stdout] 10 │+ } [INFO] [stdout] 11 11 │ } [INFO] [stdout] 12 12 │ unsafe impl bytemuck::Zeroable for Input0 {} [INFO] [stdout] 13 13 │ unsafe impl bytemuck::Pod for Input0 {} [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'structs::tests::write_all_structs_bytemuck_skip_input_layout_validation' (5696) 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: 0x64d434624cd2 - std::backtrace_rs::backtrace::libunwind::trace::h7cddb8376417e7cc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x64d434624cd2 - std::backtrace_rs::backtrace::trace_unsynchronized::hb4e41acf4b349ff1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x64d434624cd2 - std::sys::backtrace::_print_fmt::h1222b80910ba6eb5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x64d434624cd2 - ::fmt::h5bb8a979ba5db788 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x64d434638d3f - core::fmt::rt::Argument::fmt::h2ee2c138a50a7796 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x64d434638d3f - core::fmt::write::h1e0dbf07fe3990bd [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x64d4345f03a3 - std::io::default_write_fmt::h7d7ad5ed6a883d81 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x64d4345f03a3 - std::io::Write::write_fmt::hc477d9325b345ece [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x64d4345fcc52 - std::sys::backtrace::BacktraceLock::print::h788d486777205086 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x64d43460282f - std::panicking::default_hook::{{closure}}::ha7bdfeb5949fc0fa [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x64d4346026c1 - std::panicking::default_hook::h6dad75ec721846f4 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x64d433d3b72e - as core::ops::function::Fn>::call::h33799d04b0b96146 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x64d433d3b72e - test::test_main_with_exit_callback::{{closure}}::h880e31c829a2eb5d [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x64d434602f7e - as core::ops::function::Fn>::call::h5e1b8c652ea49180 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x64d434602f7e - std::panicking::panic_with_hook::hba00e869ada17676 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x64d434602c9a - std::panicking::panic_handler::{{closure}}::h3d21149c258e5ceb [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x64d4345fcd89 - std::sys::backtrace::__rust_end_short_backtrace::h4f5d9b9dfb3e6ec1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x64d4345e34ad - __rustc[9a7a9f9af7564de1]::rust_begin_unwind [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x64d434643df0 - core::panicking::panic_fmt::h78e817a90331d98b [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x64d434642b06 - core::result::unwrap_failed::h3ce108722ad88f1e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:1852:5 [INFO] [stdout] 20: 0x64d433b5b053 - core::result::Result::unwrap::haafd36386984d778 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:1223:23 [INFO] [stdout] 21: 0x64d433b5b053 - wgsl_bindgen::structs::tests::write_all_structs_bytemuck_skip_input_layout_validation::{{closure}}::hd9d342911ff53fa6 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x64d433b9c7ff - insta::settings::Settings::bind::h31200393250679ad [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.1/src/settings.rs:509:9 [INFO] [stdout] 23: 0x64d433b5ab43 - wgsl_bindgen::structs::tests::write_all_structs_bytemuck_skip_input_layout_validation::hefc87ad36734cb3e [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x64d433b5ac27 - wgsl_bindgen::structs::tests::write_all_structs_bytemuck_skip_input_layout_validation::{{closure}}::h884bac6b23934484 [INFO] [stdout] at /opt/rustwide/workdir/src/structs.rs:549:63 [INFO] [stdout] 25: 0x64d433b724d6 - core::ops::function::FnOnce::call_once::hdabce0248c177718 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x64d433d3b52b - core::ops::function::FnOnce::call_once::h7f4b4fba903e39d5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 27: 0x64d433d3b52b - test::__rust_begin_short_backtrace::h9277cb6a2ccfc000 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x64d433d50fd5 - test::run_test_in_process::{{closure}}::h9aea5ca90d1f4423 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x64d433d50fd5 - as core::ops::function::FnOnce<()>>::call_once::h364f5fe6cc8afa85 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 30: 0x64d433d50fd5 - std::panicking::catch_unwind::do_call::h2b2bec3317fe53ec [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x64d433d50fd5 - std::panicking::catch_unwind::hc3763734156da4af [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x64d433d50fd5 - std::panic::catch_unwind::h28038391e867eabc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x64d433d50fd5 - test::run_test_in_process::had0273166695a036 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x64d433d50fd5 - test::run_test::{{closure}}::h743d09d4bb476605 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x64d433d279f4 - test::run_test::{{closure}}::he950b8f9118d37e2 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x64d433d279f4 - std::sys::backtrace::__rust_begin_short_backtrace::hbfaffa6539f6abb7 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x64d433d2b2da - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hcce3c2c65b9c3b20 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x64d433d2b2da - as core::ops::function::FnOnce<()>>::call_once::hb66b30b6d37985a5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 39: 0x64d433d2b2da - std::panicking::catch_unwind::do_call::h992bbe2c32dc1d79 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x64d433d2b2da - std::panicking::catch_unwind::h412991d5237de610 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x64d433d2b2da - std::panic::catch_unwind::ha82b139b3eb5840a [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x64d433d2b2da - std::thread::Builder::spawn_unchecked_::{{closure}}::ha823b36f5114938e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x64d433d2b2da - core::ops::function::FnOnce::call_once{{vtable.shim}}::hf120e7b1db22ac07 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 44: 0x64d4345f6cdf - as core::ops::function::FnOnce>::call_once::h3e049222c99298ac [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 45: 0x64d4345f6cdf - std::sys::pal::unix::thread::Thread::new::thread_start::h942e336943ad5963 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 46: 0x7220e1521aa4 - [INFO] [stdout] 47: 0x7220e15aea34 - 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 'cdb45c87e2cd43495379f7e867e3cc15dcee9f93'. [INFO] [stdout] note: this is a custom toolchain, which cannot use `rustup component add` [INFO] [stdout] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py` [INFO] [stdout] ), falling back to prettyplease [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/snapshots/struct_visibility.snap [INFO] [stdout] Snapshot: struct_visibility [INFO] [stdout] Source: src/structs.rs:849 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 0 │ #[repr(C)] [INFO] [stdout] 1 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 1 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 2 2 │ pub(crate) struct Scalars { [INFO] [stdout] 3 │- pub a: u32, [INFO] [stdout] 4 │- pub b: i32, [INFO] [stdout] 5 │- pub c: f32, [INFO] [stdout] 3 │+ pub a: u32, [INFO] [stdout] 4 │+ pub b: i32, [INFO] [stdout] 5 │+ pub c: f32, [INFO] [stdout] 6 6 │ } [INFO] [stdout] 7 7 │ impl Scalars { [INFO] [stdout] 8 │- pub const fn new(a: u32, b: i32, c: f32) -> Self { [INFO] [stdout] 9 │- Self { a, b, c } [INFO] [stdout] 10 │- } [INFO] [stdout] 8 │+ pub const fn new(a: u32, b: i32, c: f32) -> Self { [INFO] [stdout] 9 │+ Self { a, b, c } [INFO] [stdout] 10 │+ } [INFO] [stdout] 11 11 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'structs::tests::test_struct_visibility' (5661) 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: 0x64d434624cd2 - std::backtrace_rs::backtrace::libunwind::trace::h7cddb8376417e7cc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x64d434624cd2 - std::backtrace_rs::backtrace::trace_unsynchronized::hb4e41acf4b349ff1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x64d434624cd2 - std::sys::backtrace::_print_fmt::h1222b80910ba6eb5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x64d434624cd2 - ::fmt::h5bb8a979ba5db788 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x64d434638d3f - core::fmt::rt::Argument::fmt::h2ee2c138a50a7796 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x64d434638d3f - core::fmt::write::h1e0dbf07fe3990bd [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x64d4345f03a3 - std::io::default_write_fmt::h7d7ad5ed6a883d81 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x64d4345f03a3 - std::io::Write::write_fmt::hc477d9325b345ece [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x64d4345fcc52 - std::sys::backtrace::BacktraceLock::print::h788d486777205086 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x64d43460282f - std::panicking::default_hook::{{closure}}::ha7bdfeb5949fc0fa [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x64d4346026c1 - std::panicking::default_hook::h6dad75ec721846f4 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x64d433d3b72e - as core::ops::function::Fn>::call::h33799d04b0b96146 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x64d433d3b72e - test::test_main_with_exit_callback::{{closure}}::h880e31c829a2eb5d [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x64d434602f7e - as core::ops::function::Fn>::call::h5e1b8c652ea49180 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x64d434602f7e - std::panicking::panic_with_hook::hba00e869ada17676 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x64d434602c9a - std::panicking::panic_handler::{{closure}}::h3d21149c258e5ceb [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x64d4345fcd89 - std::sys::backtrace::__rust_end_short_backtrace::h4f5d9b9dfb3e6ec1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x64d4345e34ad - __rustc[9a7a9f9af7564de1]::rust_begin_unwind [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x64d434643df0 - core::panicking::panic_fmt::h78e817a90331d98b [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x64d434642b06 - core::result::unwrap_failed::h3ce108722ad88f1e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:1852:5 [INFO] [stdout] 20: 0x64d433b4f503 - core::result::Result::unwrap::haafd36386984d778 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:1223:23 [INFO] [stdout] 21: 0x64d433b4f503 - wgsl_bindgen::structs::tests::test_struct_visibility::{{closure}}::h03b253ef42506b8a [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x64d433b9c93f - insta::settings::Settings::bind::h38723f6bafe51f6e [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.1/src/settings.rs:509:9 [INFO] [stdout] 23: 0x64d433b4f037 - wgsl_bindgen::structs::tests::test_struct_visibility::h147967d62c0f237b [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x64d433b4f5f7 - wgsl_bindgen::structs::tests::test_struct_visibility::{{closure}}::h5c9796e248ad8fa2 [INFO] [stdout] at /opt/rustwide/workdir/src/structs.rs:828:30 [INFO] [stdout] 25: 0x64d433b72406 - core::ops::function::FnOnce::call_once::hd53a03cb3d7d6087 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x64d433d3b52b - core::ops::function::FnOnce::call_once::h7f4b4fba903e39d5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 27: 0x64d433d3b52b - test::__rust_begin_short_backtrace::h9277cb6a2ccfc000 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x64d433d50fd5 - test::run_test_in_process::{{closure}}::h9aea5ca90d1f4423 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x64d433d50fd5 - as core::ops::function::FnOnce<()>>::call_once::h364f5fe6cc8afa85 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 30: 0x64d433d50fd5 - std::panicking::catch_unwind::do_call::h2b2bec3317fe53ec [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x64d433d50fd5 - std::panicking::catch_unwind::hc3763734156da4af [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x64d433d50fd5 - std::panic::catch_unwind::h28038391e867eabc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x64d433d50fd5 - test::run_test_in_process::had0273166695a036 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x64d433d50fd5 - test::run_test::{{closure}}::h743d09d4bb476605 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x64d433d279f4 - test::run_test::{{closure}}::he950b8f9118d37e2 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x64d433d279f4 - std::sys::backtrace::__rust_begin_short_backtrace::hbfaffa6539f6abb7 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x64d433d2b2da - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hcce3c2c65b9c3b20 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x64d433d2b2da - as core::ops::function::FnOnce<()>>::call_once::hb66b30b6d37985a5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 39: 0x64d433d2b2da - std::panicking::catch_unwind::do_call::h992bbe2c32dc1d79 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x64d433d2b2da - std::panicking::catch_unwind::h412991d5237de610 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x64d433d2b2da - std::panic::catch_unwind::ha82b139b3eb5840a [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x64d433d2b2da - std::thread::Builder::spawn_unchecked_::{{closure}}::ha823b36f5114938e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x64d433d2b2da - core::ops::function::FnOnce::call_once{{vtable.shim}}::hf120e7b1db22ac07 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 44: 0x64d4345f6cdf - as core::ops::function::FnOnce>::call_once::h3e049222c99298ac [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 45: 0x64d4345f6cdf - std::sys::pal::unix::thread::Thread::new::thread_start::h942e336943ad5963 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 46: 0x7220e1521aa4 - [INFO] [stdout] 47: 0x7220e15aea34 - 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 'cdb45c87e2cd43495379f7e867e3cc15dcee9f93'. [INFO] [stdout] note: this is a custom toolchain, which cannot use `rustup component add` [INFO] [stdout] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py` [INFO] [stdout] ), falling back to prettyplease [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/snapshots/write_all_structs_bytemuck_input_layout_validation.snap [INFO] [stdout] Snapshot: write_all_structs_bytemuck_input_layout_validation [INFO] [stdout] Source: src/structs.rs:624 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 0 │ #[repr(C, align(4))] [INFO] [stdout] 1 1 │ #[derive(Debug, PartialEq, Clone, Copy)] [INFO] [stdout] 2 2 │ pub struct Input0 { [INFO] [stdout] 3 │- #[doc = "offset: 0, size: 4, type: `u32`"] [INFO] [stdout] 4 │- pub a: u32, [INFO] [stdout] 5 │- pub _pad_a: [u8; 0x4], [INFO] [stdout] 6 │- #[doc = "offset: 8, size: 4, type: `i32`"] [INFO] [stdout] 7 │- pub b: i32, [INFO] [stdout] 8 │- pub _pad_b: [u8; 0x14], [INFO] [stdout] 9 │- #[doc = "offset: 32, size: 4, type: `f32`"] [INFO] [stdout] 10 │- pub c: f32, [INFO] [stdout] 11 │- pub _pad_d: [u8; 0x1C], [INFO] [stdout] 3 │+ ///offset: 0, size: 4, type: `u32` [INFO] [stdout] 4 │+ pub a: u32, [INFO] [stdout] 5 │+ pub _pad_a: [u8; 0x4], [INFO] [stdout] 6 │+ ///offset: 8, size: 4, type: `i32` [INFO] [stdout] 7 │+ pub b: i32, [INFO] [stdout] 8 │+ pub _pad_b: [u8; 0x14], [INFO] [stdout] 9 │+ ///offset: 32, size: 4, type: `f32` [INFO] [stdout] 10 │+ pub c: f32, [INFO] [stdout] 11 │+ pub _pad_d: [u8; 0x1C], [INFO] [stdout] 12 12 │ } [INFO] [stdout] 13 13 │ impl Input0 { [INFO] [stdout] 14 │- pub const fn new(a: u32, b: i32, c: f32) -> Self { [INFO] [stdout] 15 │- Self { [INFO] [stdout] 16 │- a, [INFO] [stdout] 17 │- _pad_a: [0; 0x4], [INFO] [stdout] 18 │- b, [INFO] [stdout] 19 │- _pad_b: [0; 0x14], [INFO] [stdout] 20 │- c, [INFO] [stdout] 21 │- _pad_d: [0; 0x1C], [INFO] [stdout] 14 │+ pub const fn new(a: u32, b: i32, c: f32) -> Self { [INFO] [stdout] 15 │+ Self { [INFO] [stdout] 16 │+ a, [INFO] [stdout] 17 │+ _pad_a: [0; 0x4], [INFO] [stdout] 18 │+ b, [INFO] [stdout] 19 │+ _pad_b: [0; 0x14], [INFO] [stdout] 20 │+ c, [INFO] [stdout] 21 │+ _pad_d: [0; 0x1C], [INFO] [stdout] 22 │+ } [INFO] [stdout] 22 23 │ } [INFO] [stdout] 23 │- } [INFO] [stdout] 24 24 │ } [INFO] [stdout] 25 25 │ #[repr(C)] [INFO] [stdout] 26 26 │ #[derive(Debug, PartialEq, Clone, Copy)] [INFO] [stdout] 27 27 │ pub struct Input0Init { [INFO] [stdout] 28 │- pub a: u32, [INFO] [stdout] 29 │- pub b: i32, [INFO] [stdout] 30 │- pub c: f32, [INFO] [stdout] 28 │+ pub a: u32, [INFO] [stdout] 29 │+ pub b: i32, [INFO] [stdout] 30 │+ pub c: f32, [INFO] [stdout] 31 31 │ } [INFO] [stdout] 32 32 │ impl Input0Init { [INFO] [stdout] 33 │- pub fn build(&self) -> Input0 { [INFO] [stdout] 34 │- Input0 { [INFO] [stdout] 35 │- a: self.a, [INFO] [stdout] 36 │- _pad_a: [0; 0x4], [INFO] [stdout] 37 │- b: self.b, [INFO] [stdout] 38 │- _pad_b: [0; 0x14], [INFO] [stdout] 39 │- c: self.c, [INFO] [stdout] 40 │- _pad_d: [0; 0x1C], [INFO] [stdout] 33 │+ pub fn build(&self) -> Input0 { [INFO] [stdout] 34 │+ Input0 { [INFO] [stdout] 35 │+ a: self.a, [INFO] [stdout] 36 │+ _pad_a: [0; 0x4], [INFO] [stdout] 37 │+ b: self.b, [INFO] [stdout] 38 │+ _pad_b: [0; 0x14], [INFO] [stdout] 39 │+ c: self.c, [INFO] [stdout] 40 │+ _pad_d: [0; 0x1C], [INFO] [stdout] 41 │+ } [INFO] [stdout] 41 42 │ } [INFO] [stdout] 42 │- } [INFO] [stdout] 43 43 │ } [INFO] [stdout] 44 44 │ impl From for Input0 { [INFO] [stdout] 45 │- fn from(data: Input0Init) -> Self { [INFO] [stdout] 46 │- data.build() [INFO] [stdout] 47 │- } [INFO] [stdout] 45 │+ fn from(data: Input0Init) -> Self { [INFO] [stdout] 46 │+ data.build() [INFO] [stdout] 47 │+ } [INFO] [stdout] 48 48 │ } [INFO] [stdout] 49 49 │ const INPUT0_ASSERTS: () = { [INFO] [stdout] 50 │- assert!(std::mem::offset_of!(Input0, a) == 0); [INFO] [stdout] 51 │- assert!(std::mem::offset_of!(Input0, b) == 8); [INFO] [stdout] 52 │- assert!(std::mem::offset_of!(Input0, c) == 32); [INFO] [stdout] 53 │- assert!(std::mem::size_of::() == 64); [INFO] [stdout] 50 │+ assert!(std::mem::offset_of!(Input0, a) == 0); [INFO] [stdout] 51 │+ assert!(std::mem::offset_of!(Input0, b) == 8); [INFO] [stdout] 52 │+ assert!(std::mem::offset_of!(Input0, c) == 32); [INFO] [stdout] 53 │+ assert!(std::mem::size_of:: < Input0 > () == 64); [INFO] [stdout] 54 54 │ }; [INFO] [stdout] 55 55 │ unsafe impl bytemuck::Zeroable for Input0 {} [INFO] [stdout] 56 56 │ unsafe impl bytemuck::Pod for Input0 {} [INFO] [stdout] 57 57 │ #[repr(C, align(4))] [INFO] [stdout] 58 58 │ #[derive(Debug, PartialEq, Clone, Copy)] [INFO] [stdout] 59 59 │ pub struct Inner { [INFO] [stdout] 60 │- #[doc = "offset: 0, size: 4, type: `f32`"] [INFO] [stdout] 61 │- pub a: f32, [INFO] [stdout] 60 │+ ///offset: 0, size: 4, type: `f32` [INFO] [stdout] 61 │+ pub a: f32, [INFO] [stdout] 62 62 │ } [INFO] [stdout] 63 63 │ impl Inner { [INFO] [stdout] 64 │- pub const fn new(a: f32) -> Self { [INFO] [stdout] 65 │- Self { a } [INFO] [stdout] 66 │- } [INFO] [stdout] 64 │+ pub const fn new(a: f32) -> Self { [INFO] [stdout] 65 │+ Self { a } [INFO] [stdout] 66 │+ } [INFO] [stdout] 67 67 │ } [INFO] [stdout] 68 68 │ const INNER_ASSERTS: () = { [INFO] [stdout] 69 │- assert!(std::mem::offset_of!(Inner, a) == 0); [INFO] [stdout] 70 │- assert!(std::mem::size_of::() == 4); [INFO] [stdout] 69 │+ assert!(std::mem::offset_of!(Inner, a) == 0); [INFO] [stdout] 70 │+ assert!(std::mem::size_of:: < Inner > () == 4); [INFO] [stdout] 71 71 │ }; [INFO] [stdout] 72 72 │ unsafe impl bytemuck::Zeroable for Inner {} [INFO] [stdout] 73 73 │ unsafe impl bytemuck::Pod for Inner {} [INFO] [stdout] 74 74 │ #[repr(C, align(4))] [INFO] [stdout] 75 75 │ #[derive(Debug, PartialEq, Clone, Copy)] [INFO] [stdout] 76 76 │ pub struct Outer { [INFO] [stdout] 77 │- #[doc = "offset: 0, size: 4, type: `Inner`"] [INFO] [stdout] 78 │- pub inner: Inner, [INFO] [stdout] 77 │+ ///offset: 0, size: 4, type: `Inner` [INFO] [stdout] 78 │+ pub inner: Inner, [INFO] [stdout] 79 79 │ } [INFO] [stdout] 80 80 │ impl Outer { [INFO] [stdout] 81 │- pub const fn new(inner: Inner) -> Self { [INFO] [stdout] 82 │- Self { inner } [INFO] [stdout] 83 │- } [INFO] [stdout] 81 │+ pub const fn new(inner: Inner) -> Self { [INFO] [stdout] 82 │+ Self { inner } [INFO] [stdout] 83 │+ } [INFO] [stdout] 84 84 │ } [INFO] [stdout] 85 85 │ const OUTER_ASSERTS: () = { [INFO] [stdout] 86 │- assert!(std::mem::offset_of!(Outer, inner) == 0); [INFO] [stdout] 87 │- assert!(std::mem::size_of::() == 4); [INFO] [stdout] 86 │+ assert!(std::mem::offset_of!(Outer, inner) == 0); [INFO] [stdout] 87 │+ assert!(std::mem::size_of:: < Outer > () == 4); [INFO] [stdout] 88 88 │ }; [INFO] [stdout] 89 89 │ unsafe impl bytemuck::Zeroable for Outer {} [INFO] [stdout] 90 90 │ unsafe impl bytemuck::Pod for Outer {} [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'structs::tests::write_all_structs_bytemuck_input_layout_validation' (5695) 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: 0x64d434624cd2 - std::backtrace_rs::backtrace::libunwind::trace::h7cddb8376417e7cc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x64d434624cd2 - std::backtrace_rs::backtrace::trace_unsynchronized::hb4e41acf4b349ff1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x64d434624cd2 - std::sys::backtrace::_print_fmt::h1222b80910ba6eb5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x64d434624cd2 - ::fmt::h5bb8a979ba5db788 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x64d434638d3f - core::fmt::rt::Argument::fmt::h2ee2c138a50a7796 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x64d434638d3f - core::fmt::write::h1e0dbf07fe3990bd [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x64d4345f03a3 - std::io::default_write_fmt::h7d7ad5ed6a883d81 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x64d4345f03a3 - std::io::Write::write_fmt::hc477d9325b345ece [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x64d4345fcc52 - std::sys::backtrace::BacktraceLock::print::h788d486777205086 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x64d43460282f - std::panicking::default_hook::{{closure}}::ha7bdfeb5949fc0fa [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x64d4346026c1 - std::panicking::default_hook::h6dad75ec721846f4 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x64d433d3b72e - as core::ops::function::Fn>::call::h33799d04b0b96146 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x64d433d3b72e - test::test_main_with_exit_callback::{{closure}}::h880e31c829a2eb5d [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x64d434602f7e - as core::ops::function::Fn>::call::h5e1b8c652ea49180 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x64d434602f7e - std::panicking::panic_with_hook::hba00e869ada17676 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x64d434602c9a - std::panicking::panic_handler::{{closure}}::h3d21149c258e5ceb [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x64d4345fcd89 - std::sys::backtrace::__rust_end_short_backtrace::h4f5d9b9dfb3e6ec1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x64d4345e34ad - __rustc[9a7a9f9af7564de1]::rust_begin_unwind [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x64d434643df0 - core::panicking::panic_fmt::h78e817a90331d98b [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x64d434642b06 - core::result::unwrap_failed::h3ce108722ad88f1e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:1852:5 [INFO] [stdout] 20: 0x64d433b5a2b3 - core::result::Result::unwrap::haafd36386984d778 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:1223:23 [INFO] [stdout] 21: 0x64d433b5a2b3 - wgsl_bindgen::structs::tests::write_all_structs_bytemuck_input_layout_validation::{{closure}}::h47aa26493d59c567 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x64d433b9c57f - insta::settings::Settings::bind::h2543600572e6e994 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.1/src/settings.rs:509:9 [INFO] [stdout] 23: 0x64d433b59dd3 - wgsl_bindgen::structs::tests::write_all_structs_bytemuck_input_layout_validation::hd06528c0995ac2f1 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x64d433b5a3a7 - wgsl_bindgen::structs::tests::write_all_structs_bytemuck_input_layout_validation::{{closure}}::h7a140b5e1ab038db [INFO] [stdout] at /opt/rustwide/workdir/src/structs.rs:582:58 [INFO] [stdout] 25: 0x64d433b71ba6 - core::ops::function::FnOnce::call_once::h91e12afb5d8ad643 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x64d433d3b52b - core::ops::function::FnOnce::call_once::h7f4b4fba903e39d5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 27: 0x64d433d3b52b - test::__rust_begin_short_backtrace::h9277cb6a2ccfc000 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x64d433d50fd5 - test::run_test_in_process::{{closure}}::h9aea5ca90d1f4423 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x64d433d50fd5 - as core::ops::function::FnOnce<()>>::call_once::h364f5fe6cc8afa85 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 30: 0x64d433d50fd5 - std::panicking::catch_unwind::do_call::h2b2bec3317fe53ec [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x64d433d50fd5 - std::panicking::catch_unwind::hc3763734156da4af [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x64d433d50fd5 - std::panic::catch_unwind::h28038391e867eabc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x64d433d50fd5 - test::run_test_in_process::had0273166695a036 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x64d433d50fd5 - test::run_test::{{closure}}::h743d09d4bb476605 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x64d433d279f4 - test::run_test::{{closure}}::he950b8f9118d37e2 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x64d433d279f4 - std::sys::backtrace::__rust_begin_short_backtrace::hbfaffa6539f6abb7 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x64d433d2b2da - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hcce3c2c65b9c3b20 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x64d433d2b2da - as core::ops::function::FnOnce<()>>::call_once::hb66b30b6d37985a5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 39: 0x64d433d2b2da - std::panicking::catch_unwind::do_call::h992bbe2c32dc1d79 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x64d433d2b2da - std::panicking::catch_unwind::h412991d5237de610 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x64d433d2b2da - std::panic::catch_unwind::ha82b139b3eb5840a [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x64d433d2b2da - std::thread::Builder::spawn_unchecked_::{{closure}}::ha823b36f5114938e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x64d433d2b2da - core::ops::function::FnOnce::call_once{{vtable.shim}}::hf120e7b1db22ac07 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 44: 0x64d4345f6cdf - as core::ops::function::FnOnce>::call_once::h3e049222c99298ac [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 45: 0x64d4345f6cdf - std::sys::pal::unix::thread::Thread::new::thread_start::h942e336943ad5963 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 46: 0x7220e1521aa4 - [INFO] [stdout] 47: 0x7220e15aea34 - 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 'cdb45c87e2cd43495379f7e867e3cc15dcee9f93'. [INFO] [stdout] note: this is a custom toolchain, which cannot use `rustup component add` [INFO] [stdout] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py` [INFO] [stdout] ), falling back to prettyplease [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/snapshots/write_all_structs_encase.snap [INFO] [stdout] Snapshot: write_all_structs_encase [INFO] [stdout] Source: src/structs.rs:467 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 0 │ #[repr(C)] [INFO] [stdout] 1 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 1 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 2 2 │ pub struct Input0 { [INFO] [stdout] 3 │- pub a: u32, [INFO] [stdout] 4 │- pub b: i32, [INFO] [stdout] 5 │- pub c: f32, [INFO] [stdout] 3 │+ pub a: u32, [INFO] [stdout] 4 │+ pub b: i32, [INFO] [stdout] 5 │+ pub c: f32, [INFO] [stdout] 6 6 │ } [INFO] [stdout] 7 7 │ impl Input0 { [INFO] [stdout] 8 │- pub const fn new(a: u32, b: i32, c: f32) -> Self { [INFO] [stdout] 9 │- Self { a, b, c } [INFO] [stdout] 10 │- } [INFO] [stdout] 8 │+ pub const fn new(a: u32, b: i32, c: f32) -> Self { [INFO] [stdout] 9 │+ Self { a, b, c } [INFO] [stdout] 10 │+ } [INFO] [stdout] 11 11 │ } [INFO] [stdout] 12 12 │ #[repr(C)] [INFO] [stdout] 13 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 13 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 14 14 │ pub struct Nested { [INFO] [stdout] 15 │- pub a: Input0, [INFO] [stdout] 16 │- pub b: f32, [INFO] [stdout] 15 │+ pub a: Input0, [INFO] [stdout] 16 │+ pub b: f32, [INFO] [stdout] 17 17 │ } [INFO] [stdout] 18 18 │ impl Nested { [INFO] [stdout] 19 │- pub const fn new(a: Input0, b: f32) -> Self { [INFO] [stdout] 20 │- Self { a, b } [INFO] [stdout] 21 │- } [INFO] [stdout] 19 │+ pub const fn new(a: Input0, b: f32) -> Self { [INFO] [stdout] 20 │+ Self { a, b } [INFO] [stdout] 21 │+ } [INFO] [stdout] 22 22 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'structs::tests::write_all_structs_encase' (6317) 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: 0x64d434624cd2 - std::backtrace_rs::backtrace::libunwind::trace::h7cddb8376417e7cc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x64d434624cd2 - std::backtrace_rs::backtrace::trace_unsynchronized::hb4e41acf4b349ff1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x64d434624cd2 - std::sys::backtrace::_print_fmt::h1222b80910ba6eb5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x64d434624cd2 - ::fmt::h5bb8a979ba5db788 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x64d434638d3f - core::fmt::rt::Argument::fmt::h2ee2c138a50a7796 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x64d434638d3f - core::fmt::write::h1e0dbf07fe3990bd [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x64d4345f03a3 - std::io::default_write_fmt::h7d7ad5ed6a883d81 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x64d4345f03a3 - std::io::Write::write_fmt::hc477d9325b345ece [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x64d4345fcc52 - std::sys::backtrace::BacktraceLock::print::h788d486777205086 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x64d43460282f - std::panicking::default_hook::{{closure}}::ha7bdfeb5949fc0fa [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x64d4346026c1 - std::panicking::default_hook::h6dad75ec721846f4 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x64d433d3b72e - as core::ops::function::Fn>::call::h33799d04b0b96146 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x64d433d3b72e - test::test_main_with_exit_callback::{{closure}}::h880e31c829a2eb5d [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x64d434602f7e - as core::ops::function::Fn>::call::h5e1b8c652ea49180 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x64d434602f7e - std::panicking::panic_with_hook::hba00e869ada17676 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x64d434602c9a - std::panicking::panic_handler::{{closure}}::h3d21149c258e5ceb [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x64d4345fcd89 - std::sys::backtrace::__rust_end_short_backtrace::h4f5d9b9dfb3e6ec1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x64d4345e34ad - __rustc[9a7a9f9af7564de1]::rust_begin_unwind [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x64d434643df0 - core::panicking::panic_fmt::h78e817a90331d98b [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x64d434642b06 - core::result::unwrap_failed::h3ce108722ad88f1e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:1852:5 [INFO] [stdout] 20: 0x64d433b51a23 - core::result::Result::unwrap::haafd36386984d778 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:1223:23 [INFO] [stdout] 21: 0x64d433b51a23 - wgsl_bindgen::structs::tests::write_all_structs_encase::{{closure}}::hac45de22d225a924 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x64d433b9dd3f - insta::settings::Settings::bind::heb9495f847d7a414 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.1/src/settings.rs:509:9 [INFO] [stdout] 23: 0x64d433b51520 - wgsl_bindgen::structs::tests::write_all_structs_encase::h806890f4d565818b [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x64d433b515f7 - wgsl_bindgen::structs::tests::write_all_structs_encase::{{closure}}::h2e5b7392ea2a48c7 [INFO] [stdout] at /opt/rustwide/workdir/src/structs.rs:434:32 [INFO] [stdout] 25: 0x64d433b71b46 - core::ops::function::FnOnce::call_once::h89355d22d6125860 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x64d433d3b52b - core::ops::function::FnOnce::call_once::h7f4b4fba903e39d5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 27: 0x64d433d3b52b - test::__rust_begin_short_backtrace::h9277cb6a2ccfc000 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x64d433d50fd5 - test::run_test_in_process::{{closure}}::h9aea5ca90d1f4423 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x64d433d50fd5 - as core::ops::function::FnOnce<()>>::call_once::h364f5fe6cc8afa85 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 30: 0x64d433d50fd5 - std::panicking::catch_unwind::do_call::h2b2bec3317fe53ec [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x64d433d50fd5 - std::panicking::catch_unwind::hc3763734156da4af [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x64d433d50fd5 - std::panic::catch_unwind::h28038391e867eabc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x64d433d50fd5 - test::run_test_in_process::had0273166695a036 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x64d433d50fd5 - test::run_test::{{closure}}::h743d09d4bb476605 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x64d433d279f4 - test::run_test::{{closure}}::he950b8f9118d37e2 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x64d433d279f4 - std::sys::backtrace::__rust_begin_short_backtrace::hbfaffa6539f6abb7 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x64d433d2b2da - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hcce3c2c65b9c3b20 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x64d433d2b2da - as core::ops::function::FnOnce<()>>::call_once::hb66b30b6d37985a5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 39: 0x64d433d2b2da - std::panicking::catch_unwind::do_call::h992bbe2c32dc1d79 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x64d433d2b2da - std::panicking::catch_unwind::h412991d5237de610 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x64d433d2b2da - std::panic::catch_unwind::ha82b139b3eb5840a [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x64d433d2b2da - std::thread::Builder::spawn_unchecked_::{{closure}}::ha823b36f5114938e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x64d433d2b2da - core::ops::function::FnOnce::call_once{{vtable.shim}}::hf120e7b1db22ac07 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 44: 0x64d4345f6cdf - as core::ops::function::FnOnce>::call_once::h3e049222c99298ac [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 45: 0x64d4345f6cdf - std::sys::pal::unix::thread::Thread::new::thread_start::h942e336943ad5963 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 46: 0x7220e1521aa4 - [INFO] [stdout] 47: 0x7220e15aea34 - 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 'cdb45c87e2cd43495379f7e867e3cc15dcee9f93'. [INFO] [stdout] note: this is a custom toolchain, which cannot use `rustup component add` [INFO] [stdout] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py` [INFO] [stdout] ), falling back to prettyplease [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/snapshots/write_all_structs_skip_stage_outputs.snap [INFO] [stdout] Snapshot: write_all_structs_skip_stage_outputs [INFO] [stdout] Source: src/structs.rs:545 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 0 │ #[repr(C)] [INFO] [stdout] 1 1 │ #[derive(Debug, PartialEq, Clone, Copy)] [INFO] [stdout] 2 2 │ pub struct Input0 { [INFO] [stdout] 3 │- pub a: u32, [INFO] [stdout] 4 │- pub b: i32, [INFO] [stdout] 5 │- pub c: f32, [INFO] [stdout] 3 │+ pub a: u32, [INFO] [stdout] 4 │+ pub b: i32, [INFO] [stdout] 5 │+ pub c: f32, [INFO] [stdout] 6 6 │ } [INFO] [stdout] 7 7 │ impl Input0 { [INFO] [stdout] 8 │- pub const fn new(a: u32, b: i32, c: f32) -> Self { [INFO] [stdout] 9 │- Self { a, b, c } [INFO] [stdout] 10 │- } [INFO] [stdout] 8 │+ pub const fn new(a: u32, b: i32, c: f32) -> Self { [INFO] [stdout] 9 │+ Self { a, b, c } [INFO] [stdout] 10 │+ } [INFO] [stdout] 11 11 │ } [INFO] [stdout] 12 12 │ unsafe impl bytemuck::Zeroable for Input0 {} [INFO] [stdout] 13 13 │ unsafe impl bytemuck::Pod for Input0 {} [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'structs::tests::write_all_structs_skip_stage_outputs' (10127) 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: 0x64d434624cd2 - std::backtrace_rs::backtrace::libunwind::trace::h7cddb8376417e7cc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x64d434624cd2 - std::backtrace_rs::backtrace::trace_unsynchronized::hb4e41acf4b349ff1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x64d434624cd2 - std::sys::backtrace::_print_fmt::h1222b80910ba6eb5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x64d434624cd2 - ::fmt::h5bb8a979ba5db788 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x64d434638d3f - core::fmt::rt::Argument::fmt::h2ee2c138a50a7796 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x64d434638d3f - core::fmt::write::h1e0dbf07fe3990bd [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x64d4345f03a3 - std::io::default_write_fmt::h7d7ad5ed6a883d81 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x64d4345f03a3 - std::io::Write::write_fmt::hc477d9325b345ece [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x64d4345fcc52 - std::sys::backtrace::BacktraceLock::print::h788d486777205086 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x64d43460282f - std::panicking::default_hook::{{closure}}::ha7bdfeb5949fc0fa [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x64d4346026c1 - std::panicking::default_hook::h6dad75ec721846f4 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x64d433d3b72e - as core::ops::function::Fn>::call::h33799d04b0b96146 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x64d433d3b72e - test::test_main_with_exit_callback::{{closure}}::h880e31c829a2eb5d [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x64d434602f7e - as core::ops::function::Fn>::call::h5e1b8c652ea49180 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x64d434602f7e - std::panicking::panic_with_hook::hba00e869ada17676 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x64d434602c9a - std::panicking::panic_handler::{{closure}}::h3d21149c258e5ceb [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x64d4345fcd89 - std::sys::backtrace::__rust_end_short_backtrace::h4f5d9b9dfb3e6ec1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x64d4345e34ad - __rustc[9a7a9f9af7564de1]::rust_begin_unwind [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x64d434643df0 - core::panicking::panic_fmt::h78e817a90331d98b [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x64d434642b06 - core::result::unwrap_failed::h3ce108722ad88f1e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:1852:5 [INFO] [stdout] 20: 0x64d433b575e3 - core::result::Result::unwrap::haafd36386984d778 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:1223:23 [INFO] [stdout] 21: 0x64d433b575e3 - wgsl_bindgen::structs::tests::write_all_structs_skip_stage_outputs::{{closure}}::hef6e0f5a9bfe0bb2 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x64d433b9dbff - insta::settings::Settings::bind::hdc08b233ffbe5c73 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.1/src/settings.rs:509:9 [INFO] [stdout] 23: 0x64d433b570d3 - wgsl_bindgen::structs::tests::write_all_structs_skip_stage_outputs::h4082b010633248c3 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x64d433b571b7 - wgsl_bindgen::structs::tests::write_all_structs_skip_stage_outputs::{{closure}}::h8f1d71247cccf7e6 [INFO] [stdout] at /opt/rustwide/workdir/src/structs.rs:509:44 [INFO] [stdout] 25: 0x64d433b704f6 - core::ops::function::FnOnce::call_once::h123c598430ddb407 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x64d433d3b52b - core::ops::function::FnOnce::call_once::h7f4b4fba903e39d5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 27: 0x64d433d3b52b - test::__rust_begin_short_backtrace::h9277cb6a2ccfc000 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x64d433d50fd5 - test::run_test_in_process::{{closure}}::h9aea5ca90d1f4423 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x64d433d50fd5 - as core::ops::function::FnOnce<()>>::call_once::h364f5fe6cc8afa85 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 30: 0x64d433d50fd5 - std::panicking::catch_unwind::do_call::h2b2bec3317fe53ec [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x64d433d50fd5 - std::panicking::catch_unwind::hc3763734156da4af [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x64d433d50fd5 - std::panic::catch_unwind::h28038391e867eabc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x64d433d50fd5 - test::run_test_in_process::had0273166695a036 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x64d433d50fd5 - test::run_test::{{closure}}::h743d09d4bb476605 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x64d433d279f4 - test::run_test::{{closure}}::he950b8f9118d37e2 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x64d433d279f4 - std::sys::backtrace::__rust_begin_short_backtrace::hbfaffa6539f6abb7 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x64d433d2b2da - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hcce3c2c65b9c3b20 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x64d433d2b2da - as core::ops::function::FnOnce<()>>::call_once::hb66b30b6d37985a5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 39: 0x64d433d2b2da - std::panicking::catch_unwind::do_call::h992bbe2c32dc1d79 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x64d433d2b2da - std::panicking::catch_unwind::h412991d5237de610 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x64d433d2b2da - std::panic::catch_unwind::ha82b139b3eb5840a [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x64d433d2b2da - std::thread::Builder::spawn_unchecked_::{{closure}}::ha823b36f5114938e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x64d433d2b2da - core::ops::function::FnOnce::call_once{{vtable.shim}}::hf120e7b1db22ac07 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 44: 0x64d4345f6cdf - as core::ops::function::FnOnce>::call_once::h3e049222c99298ac [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 45: 0x64d4345f6cdf - std::sys::pal::unix::thread::Thread::new::thread_start::h942e336943ad5963 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 46: 0x7220e1521aa4 - [INFO] [stdout] 47: 0x7220e15aea34 - 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 'cdb45c87e2cd43495379f7e867e3cc15dcee9f93'. [INFO] [stdout] note: this is a custom toolchain, which cannot use `rustup component add` [INFO] [stdout] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py` [INFO] [stdout] ), falling back to prettyplease [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/snapshots/write_all_structs_serde_encase.snap [INFO] [stdout] Snapshot: write_all_structs_serde_encase [INFO] [stdout] Source: src/structs.rs:505 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 0 │ #[repr(C)] [INFO] [stdout] 1 1 │ #[derive( [INFO] [stdout] 2 │- Debug, [INFO] [stdout] 3 │- PartialEq, [INFO] [stdout] 4 │- Clone, [INFO] [stdout] 5 │- Copy, [INFO] [stdout] 6 │- encase :: ShaderType, [INFO] [stdout] 7 │- serde :: Serialize, [INFO] [stdout] 8 │- serde :: Deserialize, [INFO] [stdout] 2 │+ Debug, [INFO] [stdout] 3 │+ PartialEq, [INFO] [stdout] 4 │+ Clone, [INFO] [stdout] 5 │+ Copy, [INFO] [stdout] 6 │+ encase::ShaderType, [INFO] [stdout] 7 │+ serde::Serialize, [INFO] [stdout] 8 │+ serde::Deserialize [INFO] [stdout] 9 9 │ )] [INFO] [stdout] 10 10 │ pub struct Input0 { [INFO] [stdout] 11 │- pub a: u32, [INFO] [stdout] 12 │- pub b: i32, [INFO] [stdout] 13 │- pub c: f32, [INFO] [stdout] 11 │+ pub a: u32, [INFO] [stdout] 12 │+ pub b: i32, [INFO] [stdout] 13 │+ pub c: f32, [INFO] [stdout] 14 14 │ } [INFO] [stdout] 15 15 │ impl Input0 { [INFO] [stdout] 16 │- pub const fn new(a: u32, b: i32, c: f32) -> Self { [INFO] [stdout] 17 │- Self { a, b, c } [INFO] [stdout] 18 │- } [INFO] [stdout] 16 │+ pub const fn new(a: u32, b: i32, c: f32) -> Self { [INFO] [stdout] 17 │+ Self { a, b, c } [INFO] [stdout] 18 │+ } [INFO] [stdout] 19 19 │ } [INFO] [stdout] 20 20 │ #[repr(C)] [INFO] [stdout] 21 21 │ #[derive( [INFO] [stdout] 22 │- Debug, [INFO] [stdout] 23 │- PartialEq, [INFO] [stdout] 24 │- Clone, [INFO] [stdout] 25 │- Copy, [INFO] [stdout] 26 │- encase :: ShaderType, [INFO] [stdout] 27 │- serde :: Serialize, [INFO] [stdout] 28 │- serde :: Deserialize, [INFO] [stdout] 22 │+ Debug, [INFO] [stdout] 23 │+ PartialEq, [INFO] [stdout] 24 │+ Clone, [INFO] [stdout] 25 │+ Copy, [INFO] [stdout] 26 │+ encase::ShaderType, [INFO] [stdout] 27 │+ serde::Serialize, [INFO] [stdout] 28 │+ serde::Deserialize [INFO] [stdout] 29 29 │ )] [INFO] [stdout] 30 30 │ pub struct Nested { [INFO] [stdout] 31 │- pub a: Input0, [INFO] [stdout] 32 │- pub b: f32, [INFO] [stdout] 31 │+ pub a: Input0, [INFO] [stdout] 32 │+ pub b: f32, [INFO] [stdout] 33 33 │ } [INFO] [stdout] 34 34 │ impl Nested { [INFO] [stdout] 35 │- pub const fn new(a: Input0, b: f32) -> Self { [INFO] [stdout] 36 │- Self { a, b } [INFO] [stdout] 37 │- } [INFO] [stdout] 35 │+ pub const fn new(a: Input0, b: f32) -> Self { [INFO] [stdout] 36 │+ Self { a, b } [INFO] [stdout] 37 │+ } [INFO] [stdout] 38 38 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'structs::tests::write_all_structs_serde_encase' (10114) 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: 0x64d434624cd2 - std::backtrace_rs::backtrace::libunwind::trace::h7cddb8376417e7cc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x64d434624cd2 - std::backtrace_rs::backtrace::trace_unsynchronized::hb4e41acf4b349ff1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x64d434624cd2 - std::sys::backtrace::_print_fmt::h1222b80910ba6eb5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x64d434624cd2 - ::fmt::h5bb8a979ba5db788 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x64d434638d3f - core::fmt::rt::Argument::fmt::h2ee2c138a50a7796 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x64d434638d3f - core::fmt::write::h1e0dbf07fe3990bd [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x64d4345f03a3 - std::io::default_write_fmt::h7d7ad5ed6a883d81 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x64d4345f03a3 - std::io::Write::write_fmt::hc477d9325b345ece [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x64d4345fcc52 - std::sys::backtrace::BacktraceLock::print::h788d486777205086 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x64d43460282f - std::panicking::default_hook::{{closure}}::ha7bdfeb5949fc0fa [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x64d4346026c1 - std::panicking::default_hook::h6dad75ec721846f4 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x64d433d3b72e - as core::ops::function::Fn>::call::h33799d04b0b96146 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x64d433d3b72e - test::test_main_with_exit_callback::{{closure}}::h880e31c829a2eb5d [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x64d434602f7e - as core::ops::function::Fn>::call::h5e1b8c652ea49180 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x64d434602f7e - std::panicking::panic_with_hook::hba00e869ada17676 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x64d434602c9a - std::panicking::panic_handler::{{closure}}::h3d21149c258e5ceb [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x64d4345fcd89 - std::sys::backtrace::__rust_end_short_backtrace::h4f5d9b9dfb3e6ec1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x64d4345e34ad - __rustc[9a7a9f9af7564de1]::rust_begin_unwind [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x64d434643df0 - core::panicking::panic_fmt::h78e817a90331d98b [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x64d434642b06 - core::result::unwrap_failed::h3ce108722ad88f1e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:1852:5 [INFO] [stdout] 20: 0x64d433b55c93 - core::result::Result::unwrap::haafd36386984d778 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:1223:23 [INFO] [stdout] 21: 0x64d433b55c93 - wgsl_bindgen::structs::tests::write_all_structs_serde_encase::{{closure}}::h3bc41cfac563a24d [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x64d433b9cbbf - insta::settings::Settings::bind::h49cac19b99c2ad6d [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.1/src/settings.rs:509:9 [INFO] [stdout] 23: 0x64d433b557c0 - wgsl_bindgen::structs::tests::write_all_structs_serde_encase::h2bc77f4973ad3b74 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x64d433b55d87 - wgsl_bindgen::structs::tests::write_all_structs_serde_encase::{{closure}}::hb075ab0f2ac3250a [INFO] [stdout] at /opt/rustwide/workdir/src/structs.rs:471:38 [INFO] [stdout] 25: 0x64d433b711d6 - core::ops::function::FnOnce::call_once::h5c1cb3a7492909af [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x64d433d3b52b - core::ops::function::FnOnce::call_once::h7f4b4fba903e39d5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 27: 0x64d433d3b52b - test::__rust_begin_short_backtrace::h9277cb6a2ccfc000 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x64d433d50fd5 - test::run_test_in_process::{{closure}}::h9aea5ca90d1f4423 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x64d433d50fd5 - as core::ops::function::FnOnce<()>>::call_once::h364f5fe6cc8afa85 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 30: 0x64d433d50fd5 - std::panicking::catch_unwind::do_call::h2b2bec3317fe53ec [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x64d433d50fd5 - std::panicking::catch_unwind::hc3763734156da4af [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x64d433d50fd5 - std::panic::catch_unwind::h28038391e867eabc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x64d433d50fd5 - test::run_test_in_process::had0273166695a036 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x64d433d50fd5 - test::run_test::{{closure}}::h743d09d4bb476605 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x64d433d279f4 - test::run_test::{{closure}}::he950b8f9118d37e2 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x64d433d279f4 - std::sys::backtrace::__rust_begin_short_backtrace::hbfaffa6539f6abb7 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x64d433d2b2da - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hcce3c2c65b9c3b20 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x64d433d2b2da - as core::ops::function::FnOnce<()>>::call_once::hb66b30b6d37985a5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 39: 0x64d433d2b2da - std::panicking::catch_unwind::do_call::h992bbe2c32dc1d79 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x64d433d2b2da - std::panicking::catch_unwind::h412991d5237de610 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x64d433d2b2da - std::panic::catch_unwind::ha82b139b3eb5840a [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x64d433d2b2da - std::thread::Builder::spawn_unchecked_::{{closure}}::ha823b36f5114938e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x64d433d2b2da - core::ops::function::FnOnce::call_once{{vtable.shim}}::hf120e7b1db22ac07 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 44: 0x64d4345f6cdf - as core::ops::function::FnOnce>::call_once::h3e049222c99298ac [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 45: 0x64d4345f6cdf - std::sys::pal::unix::thread::Thread::new::thread_start::h942e336943ad5963 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 46: 0x7220e1521aa4 - [INFO] [stdout] 47: 0x7220e15aea34 - 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 'cdb45c87e2cd43495379f7e867e3cc15dcee9f93'. [INFO] [stdout] note: this is a custom toolchain, which cannot use `rustup component add` [INFO] [stdout] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py` [INFO] [stdout] ), falling back to prettyplease [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/snapshots/write_all_structs_nalgebra.snap [INFO] [stdout] Snapshot: write_all_structs_nalgebra [INFO] [stdout] Source: src/structs.rs:430 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 0 │ #[repr(C)] [INFO] [stdout] 1 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 1 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 2 2 │ pub struct Scalars { [INFO] [stdout] 3 │- pub a: u32, [INFO] [stdout] 4 │- pub b: i32, [INFO] [stdout] 5 │- pub c: f32, [INFO] [stdout] 3 │+ pub a: u32, [INFO] [stdout] 4 │+ pub b: i32, [INFO] [stdout] 5 │+ pub c: f32, [INFO] [stdout] 6 6 │ } [INFO] [stdout] 7 7 │ impl Scalars { [INFO] [stdout] 8 │- pub const fn new(a: u32, b: i32, c: f32) -> Self { [INFO] [stdout] 9 │- Self { a, b, c } [INFO] [stdout] 10 │- } [INFO] [stdout] 8 │+ pub const fn new(a: u32, b: i32, c: f32) -> Self { [INFO] [stdout] 9 │+ Self { a, b, c } [INFO] [stdout] 10 │+ } [INFO] [stdout] 11 11 │ } [INFO] [stdout] 12 12 │ #[repr(C)] [INFO] [stdout] 13 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 13 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 14 14 │ pub struct VectorsU32 { [INFO] [stdout] 15 │- pub a: [u32; 2], [INFO] [stdout] 16 │- pub b: [u32; 4], [INFO] [stdout] 17 │- pub c: [u32; 4], [INFO] [stdout] 15 │+ pub a: [u32; 2], [INFO] [stdout] 16 │+ pub b: [u32; 4], [INFO] [stdout] 17 │+ pub c: [u32; 4], [INFO] [stdout] 18 18 │ } [INFO] [stdout] 19 19 │ impl VectorsU32 { [INFO] [stdout] 20 │- pub const fn new(a: [u32; 2], b: [u32; 4], c: [u32; 4]) -> Self { [INFO] [stdout] 21 │- Self { a, b, c } [INFO] [stdout] 22 │- } [INFO] [stdout] 20 │+ pub const fn new(a: [u32; 2], b: [u32; 4], c: [u32; 4]) -> Self { [INFO] [stdout] 21 │+ Self { a, b, c } [INFO] [stdout] 22 │+ } [INFO] [stdout] 23 23 │ } [INFO] [stdout] 24 24 │ #[repr(C)] [INFO] [stdout] 25 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 25 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 26 26 │ pub struct VectorsI32 { [INFO] [stdout] 27 │- pub a: [i32; 2], [INFO] [stdout] 28 │- pub b: [i32; 4], [INFO] [stdout] 29 │- pub c: [i32; 4], [INFO] [stdout] 27 │+ pub a: [i32; 2], [INFO] [stdout] 28 │+ pub b: [i32; 4], [INFO] [stdout] 29 │+ pub c: [i32; 4], [INFO] [stdout] 30 30 │ } [INFO] [stdout] 31 31 │ impl VectorsI32 { [INFO] [stdout] 32 │- pub const fn new(a: [i32; 2], b: [i32; 4], c: [i32; 4]) -> Self { [INFO] [stdout] 33 │- Self { a, b, c } [INFO] [stdout] 34 │- } [INFO] [stdout] 32 │+ pub const fn new(a: [i32; 2], b: [i32; 4], c: [i32; 4]) -> Self { [INFO] [stdout] 33 │+ Self { a, b, c } [INFO] [stdout] 34 │+ } [INFO] [stdout] 35 35 │ } [INFO] [stdout] 36 36 │ #[repr(C)] [INFO] [stdout] 37 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 37 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 38 38 │ pub struct VectorsF32 { [INFO] [stdout] 39 │- pub a: [f32; 2], [INFO] [stdout] 40 │- pub b: [f32; 4], [INFO] [stdout] 41 │- pub c: [f32; 4], [INFO] [stdout] 39 │+ pub a: [f32; 2], [INFO] [stdout] 40 │+ pub b: [f32; 4], [INFO] [stdout] 41 │+ pub c: [f32; 4], [INFO] [stdout] 42 42 │ } [INFO] [stdout] 43 43 │ impl VectorsF32 { [INFO] [stdout] 44 │- pub const fn new(a: [f32; 2], b: [f32; 4], c: [f32; 4]) -> Self { [INFO] [stdout] 45 │- Self { a, b, c } [INFO] [stdout] 46 │- } [INFO] [stdout] 44 │+ pub const fn new(a: [f32; 2], b: [f32; 4], c: [f32; 4]) -> Self { [INFO] [stdout] 45 │+ Self { a, b, c } [INFO] [stdout] 46 │+ } [INFO] [stdout] 47 47 │ } [INFO] [stdout] 48 48 │ #[repr(C)] [INFO] [stdout] 49 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 49 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 50 50 │ pub struct MatricesF32 { [INFO] [stdout] 51 │- pub a: [[f32; 4]; 4], [INFO] [stdout] 52 │- pub b: [[f32; 4]; 4], [INFO] [stdout] 53 │- pub c: [[f32; 2]; 4], [INFO] [stdout] 54 │- pub d: [[f32; 4]; 3], [INFO] [stdout] 55 │- pub e: [[f32; 4]; 3], [INFO] [stdout] 56 │- pub f: [[f32; 2]; 3], [INFO] [stdout] 57 │- pub g: [[f32; 4]; 2], [INFO] [stdout] 58 │- pub h: [[f32; 4]; 2], [INFO] [stdout] 59 │- pub i: [[f32; 2]; 2], [INFO] [stdout] 51 │+ pub a: [[f32; 4]; 4], [INFO] [stdout] 52 │+ pub b: [[f32; 4]; 4], [INFO] [stdout] 53 │+ pub c: [[f32; 2]; 4], [INFO] [stdout] 54 │+ pub d: [[f32; 4]; 3], [INFO] [stdout] 55 │+ pub e: [[f32; 4]; 3], [INFO] [stdout] 56 │+ pub f: [[f32; 2]; 3], [INFO] [stdout] 57 │+ pub g: [[f32; 4]; 2], [INFO] [stdout] 58 │+ pub h: [[f32; 4]; 2], [INFO] [stdout] 59 │+ pub i: [[f32; 2]; 2], [INFO] [stdout] 60 60 │ } [INFO] [stdout] 61 61 │ impl MatricesF32 { [INFO] [stdout] 62 │- pub const fn new( [INFO] [stdout] 63 │- a: [[f32; 4]; 4], [INFO] [stdout] 64 │- b: [[f32; 4]; 4], [INFO] [stdout] 65 │- c: [[f32; 2]; 4], [INFO] [stdout] 66 │- d: [[f32; 4]; 3], [INFO] [stdout] 67 │- e: [[f32; 4]; 3], [INFO] [stdout] 68 │- f: [[f32; 2]; 3], [INFO] [stdout] 69 │- g: [[f32; 4]; 2], [INFO] [stdout] 70 │- h: [[f32; 4]; 2], [INFO] [stdout] 71 │- i: [[f32; 2]; 2], [INFO] [stdout] 72 │- ) -> Self { [INFO] [stdout] 73 │- Self { [INFO] [stdout] 74 │- a, [INFO] [stdout] 75 │- b, [INFO] [stdout] 76 │- c, [INFO] [stdout] 77 │- d, [INFO] [stdout] 78 │- e, [INFO] [stdout] 79 │- f, [INFO] [stdout] 80 │- g, [INFO] [stdout] 81 │- h, [INFO] [stdout] 82 │- i, [INFO] [stdout] 62 │+ pub const fn new( [INFO] [stdout] 63 │+ a: [[f32; 4]; 4], [INFO] [stdout] 64 │+ b: [[f32; 4]; 4], [INFO] [stdout] 65 │+ c: [[f32; 2]; 4], [INFO] [stdout] 66 │+ d: [[f32; 4]; 3], [INFO] [stdout] 67 │+ e: [[f32; 4]; 3], [INFO] [stdout] 68 │+ f: [[f32; 2]; 3], [INFO] [stdout] 69 │+ g: [[f32; 4]; 2], [INFO] [stdout] 70 │+ h: [[f32; 4]; 2], [INFO] [stdout] 71 │+ i: [[f32; 2]; 2], [INFO] [stdout] 72 │+ ) -> Self { [INFO] [stdout] 73 │+ Self { a, b, c, d, e, f, g, h, i } [INFO] [stdout] 83 74 │ } [INFO] [stdout] 84 │- } [INFO] [stdout] 85 75 │ } [INFO] [stdout] 86 76 │ #[repr(C)] [INFO] [stdout] 87 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 77 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 88 78 │ pub struct StaticArrays { [INFO] [stdout] 89 │- pub a: [u32; 5], [INFO] [stdout] 90 │- pub b: [f32; 3], [INFO] [stdout] 91 │- pub c: [[[f32; 4]; 4]; 512], [INFO] [stdout] 79 │+ pub a: [u32; 5], [INFO] [stdout] 80 │+ pub b: [f32; 3], [INFO] [stdout] 81 │+ pub c: [[[f32; 4]; 4]; 512], [INFO] [stdout] 92 82 │ } [INFO] [stdout] 93 83 │ impl StaticArrays { [INFO] [stdout] 94 │- pub const fn new(a: [u32; 5], b: [f32; 3], c: [[[f32; 4]; 4]; 512]) -> Self { [INFO] [stdout] 95 │- Self { a, b, c } [INFO] [stdout] 96 │- } [INFO] [stdout] 84 │+ pub const fn new(a: [u32; 5], b: [f32; 3], c: [[[f32; 4]; 4]; 512]) -> Self { [INFO] [stdout] 85 │+ Self { a, b, c } [INFO] [stdout] 86 │+ } [INFO] [stdout] 97 87 │ } [INFO] [stdout] 98 88 │ #[repr(C)] [INFO] [stdout] 99 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 89 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 100 90 │ pub struct Nested { [INFO] [stdout] 101 │- pub a: MatricesF32, [INFO] [stdout] 102 │- pub b: VectorsF32, [INFO] [stdout] 91 │+ pub a: MatricesF32, [INFO] [stdout] 92 │+ pub b: VectorsF32, [INFO] [stdout] 103 93 │ } [INFO] [stdout] 104 94 │ impl Nested { [INFO] [stdout] 105 │- pub const fn new(a: MatricesF32, b: VectorsF32) -> Self { [INFO] [stdout] 106 │- Self { a, b } [INFO] [stdout] 107 │- } [INFO] [stdout] 95 │+ pub const fn new(a: MatricesF32, b: VectorsF32) -> Self { [INFO] [stdout] 96 │+ Self { a, b } [INFO] [stdout] 97 │+ } [INFO] [stdout] 108 98 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'structs::tests::write_all_structs_nalgebra' (9896) 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: 0x64d434624cd2 - std::backtrace_rs::backtrace::libunwind::trace::h7cddb8376417e7cc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x64d434624cd2 - std::backtrace_rs::backtrace::trace_unsynchronized::hb4e41acf4b349ff1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x64d434624cd2 - std::sys::backtrace::_print_fmt::h1222b80910ba6eb5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x64d434624cd2 - ::fmt::h5bb8a979ba5db788 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x64d434638d3f - core::fmt::rt::Argument::fmt::h2ee2c138a50a7796 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x64d434638d3f - core::fmt::write::h1e0dbf07fe3990bd [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x64d4345f03a3 - std::io::default_write_fmt::h7d7ad5ed6a883d81 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x64d4345f03a3 - std::io::Write::write_fmt::hc477d9325b345ece [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x64d4345fcc52 - std::sys::backtrace::BacktraceLock::print::h788d486777205086 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x64d43460282f - std::panicking::default_hook::{{closure}}::ha7bdfeb5949fc0fa [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x64d4346026c1 - std::panicking::default_hook::h6dad75ec721846f4 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x64d433d3b72e - as core::ops::function::Fn>::call::h33799d04b0b96146 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x64d433d3b72e - test::test_main_with_exit_callback::{{closure}}::h880e31c829a2eb5d [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x64d434602f7e - as core::ops::function::Fn>::call::h5e1b8c652ea49180 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x64d434602f7e - std::panicking::panic_with_hook::hba00e869ada17676 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x64d434602c9a - std::panicking::panic_handler::{{closure}}::h3d21149c258e5ceb [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x64d4345fcd89 - std::sys::backtrace::__rust_end_short_backtrace::h4f5d9b9dfb3e6ec1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x64d4345e34ad - __rustc[9a7a9f9af7564de1]::rust_begin_unwind [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x64d434643df0 - core::panicking::panic_fmt::h78e817a90331d98b [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x64d434642b06 - core::result::unwrap_failed::h3ce108722ad88f1e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:1852:5 [INFO] [stdout] 20: 0x64d433b54f63 - core::result::Result::unwrap::haafd36386984d778 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:1223:23 [INFO] [stdout] 21: 0x64d433b54f63 - wgsl_bindgen::structs::tests::write_all_structs_nalgebra::{{closure}}::hd06317be443bd64e [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x64d433b9c6bf - insta::settings::Settings::bind::h2ef4297673108548 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.1/src/settings.rs:509:9 [INFO] [stdout] 23: 0x64d433b54a5c - wgsl_bindgen::structs::tests::write_all_structs_nalgebra::h4c4dd084a2d92a84 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x64d433b54b37 - wgsl_bindgen::structs::tests::write_all_structs_nalgebra::{{closure}}::h55b0d805a0fe2f82 [INFO] [stdout] at /opt/rustwide/workdir/src/structs.rs:359:34 [INFO] [stdout] 25: 0x64d433b71156 - core::ops::function::FnOnce::call_once::h54a49a2e735ed0d6 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x64d433d3b52b - core::ops::function::FnOnce::call_once::h7f4b4fba903e39d5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 27: 0x64d433d3b52b - test::__rust_begin_short_backtrace::h9277cb6a2ccfc000 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x64d433d50fd5 - test::run_test_in_process::{{closure}}::h9aea5ca90d1f4423 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x64d433d50fd5 - as core::ops::function::FnOnce<()>>::call_once::h364f5fe6cc8afa85 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 30: 0x64d433d50fd5 - std::panicking::catch_unwind::do_call::h2b2bec3317fe53ec [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x64d433d50fd5 - std::panicking::catch_unwind::hc3763734156da4af [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x64d433d50fd5 - std::panic::catch_unwind::h28038391e867eabc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x64d433d50fd5 - test::run_test_in_process::had0273166695a036 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x64d433d50fd5 - test::run_test::{{closure}}::h743d09d4bb476605 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x64d433d279f4 - test::run_test::{{closure}}::he950b8f9118d37e2 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x64d433d279f4 - std::sys::backtrace::__rust_begin_short_backtrace::hbfaffa6539f6abb7 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x64d433d2b2da - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hcce3c2c65b9c3b20 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x64d433d2b2da - as core::ops::function::FnOnce<()>>::call_once::hb66b30b6d37985a5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 39: 0x64d433d2b2da - std::panicking::catch_unwind::do_call::h992bbe2c32dc1d79 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x64d433d2b2da - std::panicking::catch_unwind::h412991d5237de610 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x64d433d2b2da - std::panic::catch_unwind::ha82b139b3eb5840a [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x64d433d2b2da - std::thread::Builder::spawn_unchecked_::{{closure}}::ha823b36f5114938e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x64d433d2b2da - core::ops::function::FnOnce::call_once{{vtable.shim}}::hf120e7b1db22ac07 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 44: 0x64d4345f6cdf - as core::ops::function::FnOnce>::call_once::h3e049222c99298ac [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 45: 0x64d4345f6cdf - std::sys::pal::unix::thread::Thread::new::thread_start::h942e336943ad5963 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 46: 0x7220e1521aa4 - [INFO] [stdout] 47: 0x7220e15aea34 - 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 'cdb45c87e2cd43495379f7e867e3cc15dcee9f93'. [INFO] [stdout] note: this is a custom toolchain, which cannot use `rustup component add` [INFO] [stdout] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py` [INFO] [stdout] ), falling back to prettyplease [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/snapshots/write_all_structs_glam.snap [INFO] [stdout] Snapshot: write_all_structs_glam [INFO] [stdout] Source: src/structs.rs:355 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 0 │ #[repr(C)] [INFO] [stdout] 1 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 1 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 2 2 │ pub struct Scalars { [INFO] [stdout] 3 │- pub a: u32, [INFO] [stdout] 4 │- pub b: i32, [INFO] [stdout] 5 │- pub c: f32, [INFO] [stdout] 3 │+ pub a: u32, [INFO] [stdout] 4 │+ pub b: i32, [INFO] [stdout] 5 │+ pub c: f32, [INFO] [stdout] 6 6 │ } [INFO] [stdout] 7 7 │ impl Scalars { [INFO] [stdout] 8 │- pub const fn new(a: u32, b: i32, c: f32) -> Self { [INFO] [stdout] 9 │- Self { a, b, c } [INFO] [stdout] 10 │- } [INFO] [stdout] 8 │+ pub const fn new(a: u32, b: i32, c: f32) -> Self { [INFO] [stdout] 9 │+ Self { a, b, c } [INFO] [stdout] 10 │+ } [INFO] [stdout] 11 11 │ } [INFO] [stdout] 12 12 │ #[repr(C)] [INFO] [stdout] 13 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 13 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 14 14 │ pub struct VectorsU32 { [INFO] [stdout] 15 │- pub a: glam::UVec2, [INFO] [stdout] 16 │- pub b: glam::UVec3, [INFO] [stdout] 17 │- pub c: glam::UVec4, [INFO] [stdout] 15 │+ pub a: glam::UVec2, [INFO] [stdout] 16 │+ pub b: glam::UVec3, [INFO] [stdout] 17 │+ pub c: glam::UVec4, [INFO] [stdout] 18 18 │ } [INFO] [stdout] 19 19 │ impl VectorsU32 { [INFO] [stdout] 20 │- pub const fn new(a: glam::UVec2, b: glam::UVec3, c: glam::UVec4) -> Self { [INFO] [stdout] 21 │- Self { a, b, c } [INFO] [stdout] 22 │- } [INFO] [stdout] 20 │+ pub const fn new(a: glam::UVec2, b: glam::UVec3, c: glam::UVec4) -> Self { [INFO] [stdout] 21 │+ Self { a, b, c } [INFO] [stdout] 22 │+ } [INFO] [stdout] 23 23 │ } [INFO] [stdout] 24 24 │ #[repr(C)] [INFO] [stdout] 25 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 25 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 26 26 │ pub struct VectorsI32 { [INFO] [stdout] 27 │- pub a: glam::IVec2, [INFO] [stdout] 28 │- pub b: glam::IVec3, [INFO] [stdout] 29 │- pub c: glam::IVec4, [INFO] [stdout] 27 │+ pub a: glam::IVec2, [INFO] [stdout] 28 │+ pub b: glam::IVec3, [INFO] [stdout] 29 │+ pub c: glam::IVec4, [INFO] [stdout] 30 30 │ } [INFO] [stdout] 31 31 │ impl VectorsI32 { [INFO] [stdout] 32 │- pub const fn new(a: glam::IVec2, b: glam::IVec3, c: glam::IVec4) -> Self { [INFO] [stdout] 33 │- Self { a, b, c } [INFO] [stdout] 34 │- } [INFO] [stdout] 32 │+ pub const fn new(a: glam::IVec2, b: glam::IVec3, c: glam::IVec4) -> Self { [INFO] [stdout] 33 │+ Self { a, b, c } [INFO] [stdout] 34 │+ } [INFO] [stdout] 35 35 │ } [INFO] [stdout] 36 36 │ #[repr(C)] [INFO] [stdout] 37 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 37 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 38 38 │ pub struct VectorsF32 { [INFO] [stdout] 39 │- pub a: glam::Vec2, [INFO] [stdout] 40 │- pub b: glam::Vec3, [INFO] [stdout] 41 │- pub c: glam::Vec4, [INFO] [stdout] 39 │+ pub a: glam::Vec2, [INFO] [stdout] 40 │+ pub b: glam::Vec3, [INFO] [stdout] 41 │+ pub c: glam::Vec4, [INFO] [stdout] 42 42 │ } [INFO] [stdout] 43 43 │ impl VectorsF32 { [INFO] [stdout] 44 │- pub const fn new(a: glam::Vec2, b: glam::Vec3, c: glam::Vec4) -> Self { [INFO] [stdout] 45 │- Self { a, b, c } [INFO] [stdout] 46 │- } [INFO] [stdout] 44 │+ pub const fn new(a: glam::Vec2, b: glam::Vec3, c: glam::Vec4) -> Self { [INFO] [stdout] 45 │+ Self { a, b, c } [INFO] [stdout] 46 │+ } [INFO] [stdout] 47 47 │ } [INFO] [stdout] 48 48 │ #[repr(C)] [INFO] [stdout] 49 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 49 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 50 50 │ pub struct MatricesF32 { [INFO] [stdout] 51 │- pub a: glam::Mat4, [INFO] [stdout] 52 │- pub b: [[f32; 4]; 4], [INFO] [stdout] 53 │- pub c: [[f32; 2]; 4], [INFO] [stdout] 54 │- pub d: [[f32; 4]; 3], [INFO] [stdout] 55 │- pub e: glam::Mat3A, [INFO] [stdout] 56 │- pub f: [[f32; 2]; 3], [INFO] [stdout] 57 │- pub g: [[f32; 4]; 2], [INFO] [stdout] 58 │- pub h: [[f32; 4]; 2], [INFO] [stdout] 59 │- pub i: glam::Mat2, [INFO] [stdout] 51 │+ pub a: glam::Mat4, [INFO] [stdout] 52 │+ pub b: [[f32; 4]; 4], [INFO] [stdout] 53 │+ pub c: [[f32; 2]; 4], [INFO] [stdout] 54 │+ pub d: [[f32; 4]; 3], [INFO] [stdout] 55 │+ pub e: glam::Mat3A, [INFO] [stdout] 56 │+ pub f: [[f32; 2]; 3], [INFO] [stdout] 57 │+ pub g: [[f32; 4]; 2], [INFO] [stdout] 58 │+ pub h: [[f32; 4]; 2], [INFO] [stdout] 59 │+ pub i: glam::Mat2, [INFO] [stdout] 60 60 │ } [INFO] [stdout] 61 61 │ impl MatricesF32 { [INFO] [stdout] 62 │- pub const fn new( [INFO] [stdout] 63 │- a: glam::Mat4, [INFO] [stdout] 64 │- b: [[f32; 4]; 4], [INFO] [stdout] 65 │- c: [[f32; 2]; 4], [INFO] [stdout] 66 │- d: [[f32; 4]; 3], [INFO] [stdout] 67 │- e: glam::Mat3A, [INFO] [stdout] 68 │- f: [[f32; 2]; 3], [INFO] [stdout] 69 │- g: [[f32; 4]; 2], [INFO] [stdout] 70 │- h: [[f32; 4]; 2], [INFO] [stdout] 71 │- i: glam::Mat2, [INFO] [stdout] 72 │- ) -> Self { [INFO] [stdout] 73 │- Self { [INFO] [stdout] 74 │- a, [INFO] [stdout] 75 │- b, [INFO] [stdout] 76 │- c, [INFO] [stdout] 77 │- d, [INFO] [stdout] 78 │- e, [INFO] [stdout] 79 │- f, [INFO] [stdout] 80 │- g, [INFO] [stdout] 81 │- h, [INFO] [stdout] 82 │- i, [INFO] [stdout] 62 │+ pub const fn new( [INFO] [stdout] 63 │+ a: glam::Mat4, [INFO] [stdout] 64 │+ b: [[f32; 4]; 4], [INFO] [stdout] 65 │+ c: [[f32; 2]; 4], [INFO] [stdout] 66 │+ d: [[f32; 4]; 3], [INFO] [stdout] 67 │+ e: glam::Mat3A, [INFO] [stdout] 68 │+ f: [[f32; 2]; 3], [INFO] [stdout] 69 │+ g: [[f32; 4]; 2], [INFO] [stdout] 70 │+ h: [[f32; 4]; 2], [INFO] [stdout] 71 │+ i: glam::Mat2, [INFO] [stdout] 72 │+ ) -> Self { [INFO] [stdout] 73 │+ Self { a, b, c, d, e, f, g, h, i } [INFO] [stdout] 83 74 │ } [INFO] [stdout] 84 │- } [INFO] [stdout] 85 75 │ } [INFO] [stdout] 86 76 │ #[repr(C)] [INFO] [stdout] 87 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 77 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 88 78 │ pub struct StaticArrays { [INFO] [stdout] 89 │- pub a: [u32; 5], [INFO] [stdout] 90 │- pub b: [f32; 3], [INFO] [stdout] 91 │- pub c: [glam::Mat4; 512], [INFO] [stdout] 79 │+ pub a: [u32; 5], [INFO] [stdout] 80 │+ pub b: [f32; 3], [INFO] [stdout] 81 │+ pub c: [glam::Mat4; 512], [INFO] [stdout] 92 82 │ } [INFO] [stdout] 93 83 │ impl StaticArrays { [INFO] [stdout] 94 │- pub const fn new(a: [u32; 5], b: [f32; 3], c: [glam::Mat4; 512]) -> Self { [INFO] [stdout] 95 │- Self { a, b, c } [INFO] [stdout] 96 │- } [INFO] [stdout] 84 │+ pub const fn new(a: [u32; 5], b: [f32; 3], c: [glam::Mat4; 512]) -> Self { [INFO] [stdout] 85 │+ Self { a, b, c } [INFO] [stdout] 86 │+ } [INFO] [stdout] 97 87 │ } [INFO] [stdout] 98 88 │ #[repr(C)] [INFO] [stdout] 99 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 89 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 100 90 │ pub struct Nested { [INFO] [stdout] 101 │- pub a: MatricesF32, [INFO] [stdout] 102 │- pub b: VectorsF32, [INFO] [stdout] 91 │+ pub a: MatricesF32, [INFO] [stdout] 92 │+ pub b: VectorsF32, [INFO] [stdout] 103 93 │ } [INFO] [stdout] 104 94 │ impl Nested { [INFO] [stdout] 105 │- pub const fn new(a: MatricesF32, b: VectorsF32) -> Self { [INFO] [stdout] 106 │- Self { a, b } [INFO] [stdout] 107 │- } [INFO] [stdout] 95 │+ pub const fn new(a: MatricesF32, b: VectorsF32) -> Self { [INFO] [stdout] 96 │+ Self { a, b } [INFO] [stdout] 97 │+ } [INFO] [stdout] 108 98 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'structs::tests::write_all_structs_glam' (9773) 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: 0x64d434624cd2 - std::backtrace_rs::backtrace::libunwind::trace::h7cddb8376417e7cc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x64d434624cd2 - std::backtrace_rs::backtrace::trace_unsynchronized::hb4e41acf4b349ff1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x64d434624cd2 - std::sys::backtrace::_print_fmt::h1222b80910ba6eb5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x64d434624cd2 - ::fmt::h5bb8a979ba5db788 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x64d434638d3f - core::fmt::rt::Argument::fmt::h2ee2c138a50a7796 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x64d434638d3f - core::fmt::write::h1e0dbf07fe3990bd [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x64d4345f03a3 - std::io::default_write_fmt::h7d7ad5ed6a883d81 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x64d4345f03a3 - std::io::Write::write_fmt::hc477d9325b345ece [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x64d4345fcc52 - std::sys::backtrace::BacktraceLock::print::h788d486777205086 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x64d43460282f - std::panicking::default_hook::{{closure}}::ha7bdfeb5949fc0fa [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x64d4346026c1 - std::panicking::default_hook::h6dad75ec721846f4 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x64d433d3b72e - as core::ops::function::Fn>::call::h33799d04b0b96146 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x64d433d3b72e - test::test_main_with_exit_callback::{{closure}}::h880e31c829a2eb5d [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x64d434602f7e - as core::ops::function::Fn>::call::h5e1b8c652ea49180 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x64d434602f7e - std::panicking::panic_with_hook::hba00e869ada17676 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x64d434602c9a - std::panicking::panic_handler::{{closure}}::h3d21149c258e5ceb [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x64d4345fcd89 - std::sys::backtrace::__rust_end_short_backtrace::h4f5d9b9dfb3e6ec1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x64d4345e34ad - __rustc[9a7a9f9af7564de1]::rust_begin_unwind [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x64d434643df0 - core::panicking::panic_fmt::h78e817a90331d98b [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x64d434642b06 - core::result::unwrap_failed::h3ce108722ad88f1e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:1852:5 [INFO] [stdout] 20: 0x64d433b502a3 - core::result::Result::unwrap::haafd36386984d778 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:1223:23 [INFO] [stdout] 21: 0x64d433b502a3 - wgsl_bindgen::structs::tests::write_all_structs_glam::{{closure}}::h7f410abca9f78e73 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x64d433b9d5bf - insta::settings::Settings::bind::h8c94907bedb1ef20 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.1/src/settings.rs:509:9 [INFO] [stdout] 23: 0x64d433b4fd9c - wgsl_bindgen::structs::tests::write_all_structs_glam::h001f7929ebe8ee31 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x64d433b4fe77 - wgsl_bindgen::structs::tests::write_all_structs_glam::{{closure}}::h05e9fee6983376bd [INFO] [stdout] at /opt/rustwide/workdir/src/structs.rs:284:30 [INFO] [stdout] 25: 0x64d433b705c6 - core::ops::function::FnOnce::call_once::h15e50c457ce9d4e0 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x64d433d3b52b - core::ops::function::FnOnce::call_once::h7f4b4fba903e39d5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 27: 0x64d433d3b52b - test::__rust_begin_short_backtrace::h9277cb6a2ccfc000 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x64d433d50fd5 - test::run_test_in_process::{{closure}}::h9aea5ca90d1f4423 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x64d433d50fd5 - as core::ops::function::FnOnce<()>>::call_once::h364f5fe6cc8afa85 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 30: 0x64d433d50fd5 - std::panicking::catch_unwind::do_call::h2b2bec3317fe53ec [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x64d433d50fd5 - std::panicking::catch_unwind::hc3763734156da4af [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x64d433d50fd5 - std::panic::catch_unwind::h28038391e867eabc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x64d433d50fd5 - test::run_test_in_process::had0273166695a036 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x64d433d50fd5 - test::run_test::{{closure}}::h743d09d4bb476605 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x64d433d279f4 - test::run_test::{{closure}}::he950b8f9118d37e2 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x64d433d279f4 - std::sys::backtrace::__rust_begin_short_backtrace::hbfaffa6539f6abb7 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x64d433d2b2da - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hcce3c2c65b9c3b20 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x64d433d2b2da - as core::ops::function::FnOnce<()>>::call_once::hb66b30b6d37985a5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 39: 0x64d433d2b2da - std::panicking::catch_unwind::do_call::h992bbe2c32dc1d79 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x64d433d2b2da - std::panicking::catch_unwind::h412991d5237de610 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x64d433d2b2da - std::panic::catch_unwind::ha82b139b3eb5840a [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x64d433d2b2da - std::thread::Builder::spawn_unchecked_::{{closure}}::ha823b36f5114938e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x64d433d2b2da - core::ops::function::FnOnce::call_once{{vtable.shim}}::hf120e7b1db22ac07 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 44: 0x64d4345f6cdf - as core::ops::function::FnOnce>::call_once::h3e049222c99298ac [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 45: 0x64d4345f6cdf - std::sys::pal::unix::thread::Thread::new::thread_start::h942e336943ad5963 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 46: 0x7220e1521aa4 - [INFO] [stdout] 47: 0x7220e15aea34 - 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 'cdb45c87e2cd43495379f7e867e3cc15dcee9f93'. [INFO] [stdout] note: this is a custom toolchain, which cannot use `rustup component add` [INFO] [stdout] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py` [INFO] [stdout] ), falling back to prettyplease [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/snapshots/write_nonpower_of_2_mats_for_bytemuck_glam_option.snap [INFO] [stdout] Snapshot: write_nonpower_of_2_mats_for_bytemuck_glam_option [INFO] [stdout] Source: src/structs.rs:771 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 0 │ #[repr(C, align(16))] [INFO] [stdout] 1 1 │ #[derive(Debug, PartialEq, Clone, Copy)] [INFO] [stdout] 2 2 │ pub struct UniformsData { [INFO] [stdout] 3 │- #[doc = "offset: 0, size: 48, type: `mat3x3`"] [INFO] [stdout] 4 │- pub centered_mvp: glam::Mat3A, [INFO] [stdout] 3 │+ ///offset: 0, size: 48, type: `mat3x3` [INFO] [stdout] 4 │+ pub centered_mvp: glam::Mat3A, [INFO] [stdout] 5 5 │ } [INFO] [stdout] 6 6 │ impl UniformsData { [INFO] [stdout] 7 │- pub const fn new(centered_mvp: glam::Mat3A) -> Self { [INFO] [stdout] 8 │- Self { centered_mvp } [INFO] [stdout] 9 │- } [INFO] [stdout] 7 │+ pub const fn new(centered_mvp: glam::Mat3A) -> Self { [INFO] [stdout] 8 │+ Self { centered_mvp } [INFO] [stdout] 9 │+ } [INFO] [stdout] 10 10 │ } [INFO] [stdout] 11 11 │ const UNIFORMS_DATA_ASSERTS: () = { [INFO] [stdout] 12 │- assert!(std::mem::offset_of!(UniformsData, centered_mvp) == 0); [INFO] [stdout] 13 │- assert!(std::mem::size_of::() == 48); [INFO] [stdout] 12 │+ assert!(std::mem::offset_of!(UniformsData, centered_mvp) == 0); [INFO] [stdout] 13 │+ assert!(std::mem::size_of:: < UniformsData > () == 48); [INFO] [stdout] 14 14 │ }; [INFO] [stdout] 15 15 │ unsafe impl bytemuck::Zeroable for UniformsData {} [INFO] [stdout] 16 16 │ unsafe impl bytemuck::Pod for UniformsData {} [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'structs::tests::write_nonpower_of_2_mats_for_bytemuck_glam_option' (10291) 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: 0x64d434624cd2 - std::backtrace_rs::backtrace::libunwind::trace::h7cddb8376417e7cc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x64d434624cd2 - std::backtrace_rs::backtrace::trace_unsynchronized::hb4e41acf4b349ff1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x64d434624cd2 - std::sys::backtrace::_print_fmt::h1222b80910ba6eb5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x64d434624cd2 - ::fmt::h5bb8a979ba5db788 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x64d434638d3f - core::fmt::rt::Argument::fmt::h2ee2c138a50a7796 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x64d434638d3f - core::fmt::write::h1e0dbf07fe3990bd [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x64d4345f03a3 - std::io::default_write_fmt::h7d7ad5ed6a883d81 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x64d4345f03a3 - std::io::Write::write_fmt::hc477d9325b345ece [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x64d4345fcc52 - std::sys::backtrace::BacktraceLock::print::h788d486777205086 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x64d43460282f - std::panicking::default_hook::{{closure}}::ha7bdfeb5949fc0fa [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x64d4346026c1 - std::panicking::default_hook::h6dad75ec721846f4 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x64d433d3b72e - as core::ops::function::Fn>::call::h33799d04b0b96146 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x64d433d3b72e - test::test_main_with_exit_callback::{{closure}}::h880e31c829a2eb5d [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x64d434602f7e - as core::ops::function::Fn>::call::h5e1b8c652ea49180 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x64d434602f7e - std::panicking::panic_with_hook::hba00e869ada17676 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x64d434602c9a - std::panicking::panic_handler::{{closure}}::h3d21149c258e5ceb [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x64d4345fcd89 - std::sys::backtrace::__rust_end_short_backtrace::h4f5d9b9dfb3e6ec1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x64d4345e34ad - __rustc[9a7a9f9af7564de1]::rust_begin_unwind [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x64d434643df0 - core::panicking::panic_fmt::h78e817a90331d98b [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x64d434642b06 - core::result::unwrap_failed::h3ce108722ad88f1e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:1852:5 [INFO] [stdout] 20: 0x64d433b59573 - core::result::Result::unwrap::haafd36386984d778 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:1223:23 [INFO] [stdout] 21: 0x64d433b59573 - wgsl_bindgen::structs::tests::write_nonpower_of_2_mats_for_bytemuck_glam_option::{{closure}}::hfb905dc11275a7df [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x64d433b9cedf - insta::settings::Settings::bind::h67b024cca5e933f6 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.1/src/settings.rs:509:9 [INFO] [stdout] 23: 0x64d433b59069 - wgsl_bindgen::structs::tests::write_nonpower_of_2_mats_for_bytemuck_glam_option::h61ef075399f77f7d [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x64d433b59147 - wgsl_bindgen::structs::tests::write_nonpower_of_2_mats_for_bytemuck_glam_option::{{closure}}::h8ca3b53d917c5b3e [INFO] [stdout] at /opt/rustwide/workdir/src/structs.rs:749:57 [INFO] [stdout] 25: 0x64d433b72496 - core::ops::function::FnOnce::call_once::hd898eb012be54f37 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x64d433d3b52b - core::ops::function::FnOnce::call_once::h7f4b4fba903e39d5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 27: 0x64d433d3b52b - test::__rust_begin_short_backtrace::h9277cb6a2ccfc000 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x64d433d50fd5 - test::run_test_in_process::{{closure}}::h9aea5ca90d1f4423 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x64d433d50fd5 - as core::ops::function::FnOnce<()>>::call_once::h364f5fe6cc8afa85 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 30: 0x64d433d50fd5 - std::panicking::catch_unwind::do_call::h2b2bec3317fe53ec [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x64d433d50fd5 - std::panicking::catch_unwind::hc3763734156da4af [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x64d433d50fd5 - std::panic::catch_unwind::h28038391e867eabc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x64d433d50fd5 - test::run_test_in_process::had0273166695a036 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x64d433d50fd5 - test::run_test::{{closure}}::h743d09d4bb476605 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x64d433d279f4 - test::run_test::{{closure}}::he950b8f9118d37e2 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x64d433d279f4 - std::sys::backtrace::__rust_begin_short_backtrace::hbfaffa6539f6abb7 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x64d433d2b2da - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hcce3c2c65b9c3b20 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x64d433d2b2da - as core::ops::function::FnOnce<()>>::call_once::hb66b30b6d37985a5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 39: 0x64d433d2b2da - std::panicking::catch_unwind::do_call::h992bbe2c32dc1d79 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x64d433d2b2da - std::panicking::catch_unwind::h412991d5237de610 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x64d433d2b2da - std::panic::catch_unwind::ha82b139b3eb5840a [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x64d433d2b2da - std::thread::Builder::spawn_unchecked_::{{closure}}::ha823b36f5114938e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x64d433d2b2da - core::ops::function::FnOnce::call_once{{vtable.shim}}::hf120e7b1db22ac07 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 44: 0x64d4345f6cdf - as core::ops::function::FnOnce>::call_once::h3e049222c99298ac [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 45: 0x64d4345f6cdf - std::sys::pal::unix::thread::Thread::new::thread_start::h942e336943ad5963 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 46: 0x7220e1521aa4 - [INFO] [stdout] 47: 0x7220e15aea34 - 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 'cdb45c87e2cd43495379f7e867e3cc15dcee9f93'. [INFO] [stdout] note: this is a custom toolchain, which cannot use `rustup component add` [INFO] [stdout] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py` [INFO] [stdout] ), falling back to prettyplease [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/snapshots/write_nonpower_of_2_mats_for_bytemuck_option.snap [INFO] [stdout] Snapshot: write_nonpower_of_2_mats_for_bytemuck_option [INFO] [stdout] Source: src/structs.rs:745 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 0 │ #[repr(C, align(16))] [INFO] [stdout] 1 1 │ #[derive(Debug, PartialEq, Clone, Copy)] [INFO] [stdout] 2 2 │ pub struct UniformsData { [INFO] [stdout] 3 │- #[doc = "offset: 0, size: 48, type: `mat3x3`"] [INFO] [stdout] 4 │- pub a: [[f32; 4]; 3], [INFO] [stdout] 3 │+ ///offset: 0, size: 48, type: `mat3x3` [INFO] [stdout] 4 │+ pub a: [[f32; 4]; 3], [INFO] [stdout] 5 5 │ } [INFO] [stdout] 6 6 │ impl UniformsData { [INFO] [stdout] 7 │- pub const fn new(a: [[f32; 4]; 3]) -> Self { [INFO] [stdout] 8 │- Self { a } [INFO] [stdout] 9 │- } [INFO] [stdout] 7 │+ pub const fn new(a: [[f32; 4]; 3]) -> Self { [INFO] [stdout] 8 │+ Self { a } [INFO] [stdout] 9 │+ } [INFO] [stdout] 10 10 │ } [INFO] [stdout] 11 11 │ const UNIFORMS_DATA_ASSERTS: () = { [INFO] [stdout] 12 │- assert!(std::mem::offset_of!(UniformsData, a) == 0); [INFO] [stdout] 13 │- assert!(std::mem::size_of::() == 48); [INFO] [stdout] 12 │+ assert!(std::mem::offset_of!(UniformsData, a) == 0); [INFO] [stdout] 13 │+ assert!(std::mem::size_of:: < UniformsData > () == 48); [INFO] [stdout] 14 14 │ }; [INFO] [stdout] 15 15 │ unsafe impl bytemuck::Zeroable for UniformsData {} [INFO] [stdout] 16 16 │ unsafe impl bytemuck::Pod for UniformsData {} [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'structs::tests::write_nonpower_of_2_mats_for_bytemuck_option' (10376) 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: 0x64d434624cd2 - std::backtrace_rs::backtrace::libunwind::trace::h7cddb8376417e7cc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x64d434624cd2 - std::backtrace_rs::backtrace::trace_unsynchronized::hb4e41acf4b349ff1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x64d434624cd2 - std::sys::backtrace::_print_fmt::h1222b80910ba6eb5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x64d434624cd2 - ::fmt::h5bb8a979ba5db788 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x64d434638d3f - core::fmt::rt::Argument::fmt::h2ee2c138a50a7796 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x64d434638d3f - core::fmt::write::h1e0dbf07fe3990bd [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x64d4345f03a3 - std::io::default_write_fmt::h7d7ad5ed6a883d81 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x64d4345f03a3 - std::io::Write::write_fmt::hc477d9325b345ece [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x64d4345fcc52 - std::sys::backtrace::BacktraceLock::print::h788d486777205086 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x64d43460282f - std::panicking::default_hook::{{closure}}::ha7bdfeb5949fc0fa [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x64d4346026c1 - std::panicking::default_hook::h6dad75ec721846f4 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x64d433d3b72e - as core::ops::function::Fn>::call::h33799d04b0b96146 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x64d433d3b72e - test::test_main_with_exit_callback::{{closure}}::h880e31c829a2eb5d [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x64d434602f7e - as core::ops::function::Fn>::call::h5e1b8c652ea49180 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x64d434602f7e - std::panicking::panic_with_hook::hba00e869ada17676 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x64d434602c9a - std::panicking::panic_handler::{{closure}}::h3d21149c258e5ceb [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x64d4345fcd89 - std::sys::backtrace::__rust_end_short_backtrace::h4f5d9b9dfb3e6ec1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x64d4345e34ad - __rustc[9a7a9f9af7564de1]::rust_begin_unwind [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x64d434643df0 - core::panicking::panic_fmt::h78e817a90331d98b [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x64d434642b06 - core::result::unwrap_failed::h3ce108722ad88f1e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:1852:5 [INFO] [stdout] 20: 0x64d433b58803 - core::result::Result::unwrap::haafd36386984d778 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:1223:23 [INFO] [stdout] 21: 0x64d433b58803 - wgsl_bindgen::structs::tests::write_nonpower_of_2_mats_for_bytemuck_option::{{closure}}::hd7062132b9baf208 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x64d433b9d79f - insta::settings::Settings::bind::habd6214114ce4542 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.1/src/settings.rs:509:9 [INFO] [stdout] 23: 0x64d433b58307 - wgsl_bindgen::structs::tests::write_nonpower_of_2_mats_for_bytemuck_option::h34ce96a5385fd619 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x64d433b583d7 - wgsl_bindgen::structs::tests::write_nonpower_of_2_mats_for_bytemuck_option::{{closure}}::h2a7d073a2131a57c [INFO] [stdout] at /opt/rustwide/workdir/src/structs.rs:724:52 [INFO] [stdout] 25: 0x64d433b70a16 - core::ops::function::FnOnce::call_once::h25ddf557d4390ee0 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x64d433d3b52b - core::ops::function::FnOnce::call_once::h7f4b4fba903e39d5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 27: 0x64d433d3b52b - test::__rust_begin_short_backtrace::h9277cb6a2ccfc000 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x64d433d50fd5 - test::run_test_in_process::{{closure}}::h9aea5ca90d1f4423 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x64d433d50fd5 - as core::ops::function::FnOnce<()>>::call_once::h364f5fe6cc8afa85 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 30: 0x64d433d50fd5 - std::panicking::catch_unwind::do_call::h2b2bec3317fe53ec [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x64d433d50fd5 - std::panicking::catch_unwind::hc3763734156da4af [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x64d433d50fd5 - std::panic::catch_unwind::h28038391e867eabc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x64d433d50fd5 - test::run_test_in_process::had0273166695a036 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x64d433d50fd5 - test::run_test::{{closure}}::h743d09d4bb476605 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x64d433d279f4 - test::run_test::{{closure}}::he950b8f9118d37e2 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x64d433d279f4 - std::sys::backtrace::__rust_begin_short_backtrace::hbfaffa6539f6abb7 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x64d433d2b2da - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hcce3c2c65b9c3b20 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x64d433d2b2da - as core::ops::function::FnOnce<()>>::call_once::hb66b30b6d37985a5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 39: 0x64d433d2b2da - std::panicking::catch_unwind::do_call::h992bbe2c32dc1d79 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x64d433d2b2da - std::panicking::catch_unwind::h412991d5237de610 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x64d433d2b2da - std::panic::catch_unwind::ha82b139b3eb5840a [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x64d433d2b2da - std::thread::Builder::spawn_unchecked_::{{closure}}::ha823b36f5114938e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x64d433d2b2da - core::ops::function::FnOnce::call_once{{vtable.shim}}::hf120e7b1db22ac07 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 44: 0x64d4345f6cdf - as core::ops::function::FnOnce>::call_once::h3e049222c99298ac [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 45: 0x64d4345f6cdf - std::sys::pal::unix::thread::Thread::new::thread_start::h942e336943ad5963 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 46: 0x7220e1521aa4 - [INFO] [stdout] 47: 0x7220e15aea34 - 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 'cdb45c87e2cd43495379f7e867e3cc15dcee9f93'. [INFO] [stdout] note: this is a custom toolchain, which cannot use `rustup component add` [INFO] [stdout] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py` [INFO] [stdout] ), falling back to prettyplease [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/snapshots/write_nonpower_of_2_mats.snap [INFO] [stdout] Snapshot: write_nonpower_of_2_mats [INFO] [stdout] Source: src/structs.rs:799 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 0 │ #[repr(C, align(16))] [INFO] [stdout] 1 1 │ #[derive(Debug, PartialEq, Clone, Copy)] [INFO] [stdout] 2 2 │ pub struct MatricesF32 { [INFO] [stdout] 3 │- #[doc = "offset: 0, size: 64, type: `mat4x4`"] [INFO] [stdout] 4 │- pub a: [[f32; 4]; 4], [INFO] [stdout] 5 │- #[doc = "offset: 64, size: 64, type: `mat4x3`"] [INFO] [stdout] 6 │- pub b: [[f32; 4]; 4], [INFO] [stdout] 7 │- #[doc = "offset: 128, size: 32, type: `mat4x2`"] [INFO] [stdout] 8 │- pub c: [[f32; 2]; 4], [INFO] [stdout] 9 │- #[doc = "offset: 160, size: 48, type: `mat3x4`"] [INFO] [stdout] 10 │- pub d: [[f32; 4]; 3], [INFO] [stdout] 3 │+ ///offset: 0, size: 64, type: `mat4x4` [INFO] [stdout] 4 │+ pub a: [[f32; 4]; 4], [INFO] [stdout] 5 │+ ///offset: 64, size: 64, type: `mat4x3` [INFO] [stdout] 6 │+ pub b: [[f32; 4]; 4], [INFO] [stdout] 7 │+ ///offset: 128, size: 32, type: `mat4x2` [INFO] [stdout] 8 │+ pub c: [[f32; 2]; 4], [INFO] [stdout] 9 │+ ///offset: 160, size: 48, type: `mat3x4` [INFO] [stdout] 10 │+ pub d: [[f32; 4]; 3], [INFO] [stdout] 11 11 │ } [INFO] [stdout] 12 12 │ impl MatricesF32 { [INFO] [stdout] 13 │- pub const fn new( [INFO] [stdout] 14 │- a: [[f32; 4]; 4], [INFO] [stdout] 15 │- b: [[f32; 4]; 4], [INFO] [stdout] 16 │- c: [[f32; 2]; 4], [INFO] [stdout] 17 │- d: [[f32; 4]; 3], [INFO] [stdout] 18 │- ) -> Self { [INFO] [stdout] 19 │- Self { a, b, c, d } [INFO] [stdout] 20 │- } [INFO] [stdout] 13 │+ pub const fn new( [INFO] [stdout] 14 │+ a: [[f32; 4]; 4], [INFO] [stdout] 15 │+ b: [[f32; 4]; 4], [INFO] [stdout] 16 │+ c: [[f32; 2]; 4], [INFO] [stdout] 17 │+ d: [[f32; 4]; 3], [INFO] [stdout] 18 │+ ) -> Self { [INFO] [stdout] 19 │+ Self { a, b, c, d } [INFO] [stdout] 20 │+ } [INFO] [stdout] 21 21 │ } [INFO] [stdout] 22 22 │ const MATRICES_F32_ASSERTS: () = { [INFO] [stdout] 23 │- assert!(std::mem::offset_of!(MatricesF32, a) == 0); [INFO] [stdout] 24 │- assert!(std::mem::offset_of!(MatricesF32, b) == 64); [INFO] [stdout] 25 │- assert!(std::mem::offset_of!(MatricesF32, c) == 128); [INFO] [stdout] 26 │- assert!(std::mem::offset_of!(MatricesF32, d) == 160); [INFO] [stdout] 27 │- assert!(std::mem::size_of::() == 208); [INFO] [stdout] 23 │+ assert!(std::mem::offset_of!(MatricesF32, a) == 0); [INFO] [stdout] 24 │+ assert!(std::mem::offset_of!(MatricesF32, b) == 64); [INFO] [stdout] 25 │+ assert!(std::mem::offset_of!(MatricesF32, c) == 128); [INFO] [stdout] 26 │+ assert!(std::mem::offset_of!(MatricesF32, d) == 160); [INFO] [stdout] 27 │+ assert!(std::mem::size_of:: < MatricesF32 > () == 208); [INFO] [stdout] 28 28 │ }; [INFO] [stdout] 29 29 │ unsafe impl bytemuck::Zeroable for MatricesF32 {} [INFO] [stdout] 30 30 │ unsafe impl bytemuck::Pod for MatricesF32 {} [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'structs::tests::write_nonpower_of_2_mats' (10276) 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: 0x64d434624cd2 - std::backtrace_rs::backtrace::libunwind::trace::h7cddb8376417e7cc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x64d434624cd2 - std::backtrace_rs::backtrace::trace_unsynchronized::hb4e41acf4b349ff1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x64d434624cd2 - std::sys::backtrace::_print_fmt::h1222b80910ba6eb5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x64d434624cd2 - ::fmt::h5bb8a979ba5db788 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x64d434638d3f - core::fmt::rt::Argument::fmt::h2ee2c138a50a7796 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x64d434638d3f - core::fmt::write::h1e0dbf07fe3990bd [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x64d4345f03a3 - std::io::default_write_fmt::h7d7ad5ed6a883d81 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x64d4345f03a3 - std::io::Write::write_fmt::hc477d9325b345ece [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x64d4345fcc52 - std::sys::backtrace::BacktraceLock::print::h788d486777205086 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x64d43460282f - std::panicking::default_hook::{{closure}}::ha7bdfeb5949fc0fa [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x64d4346026c1 - std::panicking::default_hook::h6dad75ec721846f4 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x64d433d3b72e - as core::ops::function::Fn>::call::h33799d04b0b96146 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x64d433d3b72e - test::test_main_with_exit_callback::{{closure}}::h880e31c829a2eb5d [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x64d434602f7e - as core::ops::function::Fn>::call::h5e1b8c652ea49180 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x64d434602f7e - std::panicking::panic_with_hook::hba00e869ada17676 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x64d434602c9a - std::panicking::panic_handler::{{closure}}::h3d21149c258e5ceb [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x64d4345fcd89 - std::sys::backtrace::__rust_end_short_backtrace::h4f5d9b9dfb3e6ec1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x64d4345e34ad - __rustc[9a7a9f9af7564de1]::rust_begin_unwind [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x64d434643df0 - core::panicking::panic_fmt::h78e817a90331d98b [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x64d434642b06 - core::result::unwrap_failed::h3ce108722ad88f1e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:1852:5 [INFO] [stdout] 20: 0x64d433b52763 - core::result::Result::unwrap::haafd36386984d778 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:1223:23 [INFO] [stdout] 21: 0x64d433b52763 - wgsl_bindgen::structs::tests::write_nonpower_of_2_mats::{{closure}}::h0f215725bc239b42 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x64d433b9d8df - insta::settings::Settings::bind::hb98977b11efab244 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.1/src/settings.rs:509:9 [INFO] [stdout] 23: 0x64d433b52289 - wgsl_bindgen::structs::tests::write_nonpower_of_2_mats::h8c72d719c42b56d6 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x64d433b52857 - wgsl_bindgen::structs::tests::write_nonpower_of_2_mats::{{closure}}::ha615c9cc7490ad4f [INFO] [stdout] at /opt/rustwide/workdir/src/structs.rs:775:32 [INFO] [stdout] 25: 0x64d433b72606 - core::ops::function::FnOnce::call_once::he7f5782ddd2fb732 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x64d433d3b52b - core::ops::function::FnOnce::call_once::h7f4b4fba903e39d5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 27: 0x64d433d3b52b - test::__rust_begin_short_backtrace::h9277cb6a2ccfc000 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x64d433d50fd5 - test::run_test_in_process::{{closure}}::h9aea5ca90d1f4423 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x64d433d50fd5 - as core::ops::function::FnOnce<()>>::call_once::h364f5fe6cc8afa85 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 30: 0x64d433d50fd5 - std::panicking::catch_unwind::do_call::h2b2bec3317fe53ec [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x64d433d50fd5 - std::panicking::catch_unwind::hc3763734156da4af [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x64d433d50fd5 - std::panic::catch_unwind::h28038391e867eabc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x64d433d50fd5 - test::run_test_in_process::had0273166695a036 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x64d433d50fd5 - test::run_test::{{closure}}::h743d09d4bb476605 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x64d433d279f4 - test::run_test::{{closure}}::he950b8f9118d37e2 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x64d433d279f4 - std::sys::backtrace::__rust_begin_short_backtrace::hbfaffa6539f6abb7 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x64d433d2b2da - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hcce3c2c65b9c3b20 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x64d433d2b2da - as core::ops::function::FnOnce<()>>::call_once::hb66b30b6d37985a5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 39: 0x64d433d2b2da - std::panicking::catch_unwind::do_call::h992bbe2c32dc1d79 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x64d433d2b2da - std::panicking::catch_unwind::h412991d5237de610 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x64d433d2b2da - std::panic::catch_unwind::ha82b139b3eb5840a [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x64d433d2b2da - std::thread::Builder::spawn_unchecked_::{{closure}}::ha823b36f5114938e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x64d433d2b2da - core::ops::function::FnOnce::call_once{{vtable.shim}}::hf120e7b1db22ac07 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 44: 0x64d4345f6cdf - as core::ops::function::FnOnce>::call_once::h3e049222c99298ac [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 45: 0x64d4345f6cdf - std::sys::pal::unix::thread::Thread::new::thread_start::h942e336943ad5963 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 46: 0x7220e1521aa4 - [INFO] [stdout] 47: 0x7220e15aea34 - 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 'cdb45c87e2cd43495379f7e867e3cc15dcee9f93'. [INFO] [stdout] note: this is a custom toolchain, which cannot use `rustup component add` [INFO] [stdout] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py` [INFO] [stdout] ), falling back to prettyplease [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/snapshots/write_runtime_sized_array.snap [INFO] [stdout] Snapshot: write_runtime_sized_array [INFO] [stdout] Source: src/structs.rs:679 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 │-#[derive(Debug, PartialEq, Clone, encase :: ShaderType)] [INFO] [stdout] 0 │+#[derive(Debug, PartialEq, Clone, encase::ShaderType)] [INFO] [stdout] 1 1 │ pub struct RtsStruct { [INFO] [stdout] 2 │- pub other_data: i32, [INFO] [stdout] 3 │- #[size(runtime)] [INFO] [stdout] 4 │- pub the_array: Vec, [INFO] [stdout] 2 │+ pub other_data: i32, [INFO] [stdout] 3 │+ #[size(runtime)] [INFO] [stdout] 4 │+ pub the_array: Vec, [INFO] [stdout] 5 5 │ } [INFO] [stdout] 6 6 │ impl RtsStruct { [INFO] [stdout] 7 │- pub const fn new(other_data: i32, the_array: Vec) -> Self { [INFO] [stdout] 8 │- Self { [INFO] [stdout] 9 │- other_data, [INFO] [stdout] 10 │- the_array, [INFO] [stdout] 7 │+ pub const fn new(other_data: i32, the_array: Vec) -> Self { [INFO] [stdout] 8 │+ Self { other_data, the_array } [INFO] [stdout] 11 9 │ } [INFO] [stdout] 12 │- } [INFO] [stdout] 13 10 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'structs::tests::write_runtime_sized_array' (10522) 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: 0x64d434624cd2 - std::backtrace_rs::backtrace::libunwind::trace::h7cddb8376417e7cc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x64d434624cd2 - std::backtrace_rs::backtrace::trace_unsynchronized::hb4e41acf4b349ff1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x64d434624cd2 - std::sys::backtrace::_print_fmt::h1222b80910ba6eb5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x64d434624cd2 - ::fmt::h5bb8a979ba5db788 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x64d434638d3f - core::fmt::rt::Argument::fmt::h2ee2c138a50a7796 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x64d434638d3f - core::fmt::write::h1e0dbf07fe3990bd [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x64d4345f03a3 - std::io::default_write_fmt::h7d7ad5ed6a883d81 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x64d4345f03a3 - std::io::Write::write_fmt::hc477d9325b345ece [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x64d4345fcc52 - std::sys::backtrace::BacktraceLock::print::h788d486777205086 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x64d43460282f - std::panicking::default_hook::{{closure}}::ha7bdfeb5949fc0fa [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x64d4346026c1 - std::panicking::default_hook::h6dad75ec721846f4 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x64d433d3b72e - as core::ops::function::Fn>::call::h33799d04b0b96146 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x64d433d3b72e - test::test_main_with_exit_callback::{{closure}}::h880e31c829a2eb5d [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x64d434602f7e - as core::ops::function::Fn>::call::h5e1b8c652ea49180 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x64d434602f7e - std::panicking::panic_with_hook::hba00e869ada17676 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x64d434602c9a - std::panicking::panic_handler::{{closure}}::h3d21149c258e5ceb [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x64d4345fcd89 - std::sys::backtrace::__rust_end_short_backtrace::h4f5d9b9dfb3e6ec1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x64d4345e34ad - __rustc[9a7a9f9af7564de1]::rust_begin_unwind [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x64d434643df0 - core::panicking::panic_fmt::h78e817a90331d98b [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x64d434642b06 - core::result::unwrap_failed::h3ce108722ad88f1e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:1852:5 [INFO] [stdout] 20: 0x64d433b53343 - core::result::Result::unwrap::haafd36386984d778 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:1223:23 [INFO] [stdout] 21: 0x64d433b53343 - wgsl_bindgen::structs::tests::write_runtime_sized_array::{{closure}}::h550b24653d2ab6d3 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x64d433b9de7f - insta::settings::Settings::bind::hf46d4b67459cf8b8 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.1/src/settings.rs:509:9 [INFO] [stdout] 23: 0x64d433b52e5a - wgsl_bindgen::structs::tests::write_runtime_sized_array::h71a8e7e2873d946c [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x64d433b52f17 - wgsl_bindgen::structs::tests::write_runtime_sized_array::{{closure}}::h4a1042253e5382bd [INFO] [stdout] at /opt/rustwide/workdir/src/structs.rs:667:33 [INFO] [stdout] 25: 0x64d433b72166 - core::ops::function::FnOnce::call_once::hb8cdd4e5f1b746f5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x64d433d3b52b - core::ops::function::FnOnce::call_once::h7f4b4fba903e39d5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 27: 0x64d433d3b52b - test::__rust_begin_short_backtrace::h9277cb6a2ccfc000 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x64d433d50fd5 - test::run_test_in_process::{{closure}}::h9aea5ca90d1f4423 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x64d433d50fd5 - as core::ops::function::FnOnce<()>>::call_once::h364f5fe6cc8afa85 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 30: 0x64d433d50fd5 - std::panicking::catch_unwind::do_call::h2b2bec3317fe53ec [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x64d433d50fd5 - std::panicking::catch_unwind::hc3763734156da4af [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x64d433d50fd5 - std::panic::catch_unwind::h28038391e867eabc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x64d433d50fd5 - test::run_test_in_process::had0273166695a036 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x64d433d50fd5 - test::run_test::{{closure}}::h743d09d4bb476605 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x64d433d279f4 - test::run_test::{{closure}}::he950b8f9118d37e2 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x64d433d279f4 - std::sys::backtrace::__rust_begin_short_backtrace::hbfaffa6539f6abb7 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x64d433d2b2da - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hcce3c2c65b9c3b20 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x64d433d2b2da - as core::ops::function::FnOnce<()>>::call_once::hb66b30b6d37985a5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 39: 0x64d433d2b2da - std::panicking::catch_unwind::do_call::h992bbe2c32dc1d79 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x64d433d2b2da - std::panicking::catch_unwind::h412991d5237de610 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x64d433d2b2da - std::panic::catch_unwind::ha82b139b3eb5840a [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x64d433d2b2da - std::thread::Builder::spawn_unchecked_::{{closure}}::ha823b36f5114938e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x64d433d2b2da - core::ops::function::FnOnce::call_once{{vtable.shim}}::hf120e7b1db22ac07 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 44: 0x64d4345f6cdf - as core::ops::function::FnOnce>::call_once::h3e049222c99298ac [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 45: 0x64d4345f6cdf - std::sys::pal::unix::thread::Thread::new::thread_start::h942e336943ad5963 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 46: 0x7220e1521aa4 - [INFO] [stdout] 47: 0x7220e15aea34 - 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 'cdb45c87e2cd43495379f7e867e3cc15dcee9f93'. [INFO] [stdout] note: this is a custom toolchain, which cannot use `rustup component add` [INFO] [stdout] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py` [INFO] [stdout] ), falling back to prettyplease [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/snapshots/write_atomic_types.snap [INFO] [stdout] Snapshot: write_atomic_types [INFO] [stdout] Source: src/structs.rs:650 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 0 │ #[repr(C)] [INFO] [stdout] 1 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 1 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 2 2 │ pub struct Atomics { [INFO] [stdout] 3 │- pub num: u32, [INFO] [stdout] 4 │- pub numi: i32, [INFO] [stdout] 3 │+ pub num: u32, [INFO] [stdout] 4 │+ pub numi: i32, [INFO] [stdout] 5 5 │ } [INFO] [stdout] 6 6 │ impl Atomics { [INFO] [stdout] 7 │- pub const fn new(num: u32, numi: i32) -> Self { [INFO] [stdout] 8 │- Self { num, numi } [INFO] [stdout] 9 │- } [INFO] [stdout] 7 │+ pub const fn new(num: u32, numi: i32) -> Self { [INFO] [stdout] 8 │+ Self { num, numi } [INFO] [stdout] 9 │+ } [INFO] [stdout] 10 10 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'structs::tests::write_atomic_types' (10274) 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: 0x64d434624cd2 - std::backtrace_rs::backtrace::libunwind::trace::h7cddb8376417e7cc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x64d434624cd2 - std::backtrace_rs::backtrace::trace_unsynchronized::hb4e41acf4b349ff1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x64d434624cd2 - std::sys::backtrace::_print_fmt::h1222b80910ba6eb5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x64d434624cd2 - ::fmt::h5bb8a979ba5db788 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x64d434638d3f - core::fmt::rt::Argument::fmt::h2ee2c138a50a7796 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x64d434638d3f - core::fmt::write::h1e0dbf07fe3990bd [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x64d4345f03a3 - std::io::default_write_fmt::h7d7ad5ed6a883d81 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x64d4345f03a3 - std::io::Write::write_fmt::hc477d9325b345ece [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x64d4345fcc52 - std::sys::backtrace::BacktraceLock::print::h788d486777205086 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x64d43460282f - std::panicking::default_hook::{{closure}}::ha7bdfeb5949fc0fa [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x64d4346026c1 - std::panicking::default_hook::h6dad75ec721846f4 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x64d433d3b72e - as core::ops::function::Fn>::call::h33799d04b0b96146 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x64d433d3b72e - test::test_main_with_exit_callback::{{closure}}::h880e31c829a2eb5d [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x64d434602f7e - as core::ops::function::Fn>::call::h5e1b8c652ea49180 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x64d434602f7e - std::panicking::panic_with_hook::hba00e869ada17676 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x64d434602c9a - std::panicking::panic_handler::{{closure}}::h3d21149c258e5ceb [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x64d4345fcd89 - std::sys::backtrace::__rust_end_short_backtrace::h4f5d9b9dfb3e6ec1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x64d4345e34ad - __rustc[9a7a9f9af7564de1]::rust_begin_unwind [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x64d434643df0 - core::panicking::panic_fmt::h78e817a90331d98b [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x64d434642b06 - core::result::unwrap_failed::h3ce108722ad88f1e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:1852:5 [INFO] [stdout] 20: 0x64d433b4e843 - core::result::Result::unwrap::haafd36386984d778 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:1223:23 [INFO] [stdout] 21: 0x64d433b4e843 - wgsl_bindgen::structs::tests::write_atomic_types::{{closure}}::he7289e732e4b5b43 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x64d433b9dc9f - insta::settings::Settings::bind::he743df350e1fe6f9 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.1/src/settings.rs:509:9 [INFO] [stdout] 23: 0x64d433b4e33c - wgsl_bindgen::structs::tests::write_atomic_types::h0e8ae101cae6a72e [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x64d433b4e417 - wgsl_bindgen::structs::tests::write_atomic_types::{{closure}}::h74bfaefd7552f0a8 [INFO] [stdout] at /opt/rustwide/workdir/src/structs.rs:628:26 [INFO] [stdout] 25: 0x64d433b71066 - core::ops::function::FnOnce::call_once::h4e3853d05e613e76 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x64d433d3b52b - core::ops::function::FnOnce::call_once::h7f4b4fba903e39d5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 27: 0x64d433d3b52b - test::__rust_begin_short_backtrace::h9277cb6a2ccfc000 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x64d433d50fd5 - test::run_test_in_process::{{closure}}::h9aea5ca90d1f4423 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x64d433d50fd5 - as core::ops::function::FnOnce<()>>::call_once::h364f5fe6cc8afa85 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 30: 0x64d433d50fd5 - std::panicking::catch_unwind::do_call::h2b2bec3317fe53ec [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x64d433d50fd5 - std::panicking::catch_unwind::hc3763734156da4af [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x64d433d50fd5 - std::panic::catch_unwind::h28038391e867eabc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x64d433d50fd5 - test::run_test_in_process::had0273166695a036 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x64d433d50fd5 - test::run_test::{{closure}}::h743d09d4bb476605 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x64d433d279f4 - test::run_test::{{closure}}::he950b8f9118d37e2 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x64d433d279f4 - std::sys::backtrace::__rust_begin_short_backtrace::hbfaffa6539f6abb7 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x64d433d2b2da - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hcce3c2c65b9c3b20 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x64d433d2b2da - as core::ops::function::FnOnce<()>>::call_once::hb66b30b6d37985a5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 39: 0x64d433d2b2da - std::panicking::catch_unwind::do_call::h992bbe2c32dc1d79 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x64d433d2b2da - std::panicking::catch_unwind::h412991d5237de610 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x64d433d2b2da - std::panic::catch_unwind::ha82b139b3eb5840a [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x64d433d2b2da - std::thread::Builder::spawn_unchecked_::{{closure}}::ha823b36f5114938e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x64d433d2b2da - core::ops::function::FnOnce::call_once{{vtable.shim}}::hf120e7b1db22ac07 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 44: 0x64d4345f6cdf - as core::ops::function::FnOnce>::call_once::h3e049222c99298ac [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 45: 0x64d4345f6cdf - std::sys::pal::unix::thread::Thread::new::thread_start::h942e336943ad5963 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 46: 0x7220e1521aa4 - [INFO] [stdout] 47: 0x7220e15aea34 - 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 'cdb45c87e2cd43495379f7e867e3cc15dcee9f93'. [INFO] [stdout] note: this is a custom toolchain, which cannot use `rustup component add` [INFO] [stdout] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py` [INFO] [stdout] ), falling back to prettyplease [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/snapshots/write_runtime_sized_array_bytemuck.snap [INFO] [stdout] Snapshot: write_runtime_sized_array_bytemuck [INFO] [stdout] Source: src/structs.rs:696 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 0 │ #[derive(Debug, PartialEq, Clone, Copy)] [INFO] [stdout] 1 1 │ pub struct RtsStruct { [INFO] [stdout] 2 │- #[doc = "offset: 0, size: 4, type: `i32`"] [INFO] [stdout] 3 │- pub other_data: i32, [INFO] [stdout] 4 │- #[doc = "offset: 4, size: 4, type: `array`"] [INFO] [stdout] 5 │- pub the_array: [u32; N], [INFO] [stdout] 2 │+ ///offset: 0, size: 4, type: `i32` [INFO] [stdout] 3 │+ pub other_data: i32, [INFO] [stdout] 4 │+ ///offset: 4, size: 4, type: `array` [INFO] [stdout] 5 │+ pub the_array: [u32; N], [INFO] [stdout] 6 6 │ } [INFO] [stdout] 7 7 │ impl RtsStruct { [INFO] [stdout] 8 │- pub const fn new(other_data: i32, the_array: [u32; N]) -> Self { [INFO] [stdout] 9 │- Self { [INFO] [stdout] 10 │- other_data, [INFO] [stdout] 11 │- the_array, [INFO] [stdout] 8 │+ pub const fn new(other_data: i32, the_array: [u32; N]) -> Self { [INFO] [stdout] 9 │+ Self { other_data, the_array } [INFO] [stdout] 12 10 │ } [INFO] [stdout] 13 │- } [INFO] [stdout] 14 11 │ } [INFO] [stdout] 15 12 │ const RTS_STRUCT_ASSERTS: () = { [INFO] [stdout] 16 │- assert!(std::mem::offset_of!(RtsStruct<1>, other_data) == 0); [INFO] [stdout] 17 │- assert!(std::mem::offset_of!(RtsStruct<1>, the_array) == 4); [INFO] [stdout] 18 │- assert!(std::mem::size_of::>() == 8); [INFO] [stdout] 13 │+ assert!(std::mem::offset_of!(RtsStruct < 1 >, other_data) == 0); [INFO] [stdout] 14 │+ assert!(std::mem::offset_of!(RtsStruct < 1 >, the_array) == 4); [INFO] [stdout] 15 │+ assert!(std::mem::size_of:: < RtsStruct < 1 > > () == 8); [INFO] [stdout] 19 16 │ }; [INFO] [stdout] 20 17 │ unsafe impl bytemuck::Zeroable for RtsStruct {} [INFO] [stdout] 21 18 │ unsafe impl bytemuck::Pod for RtsStruct {} [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'structs::tests::write_runtime_sized_array_bytemuck' (10648) 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: 0x64d434624cd2 - std::backtrace_rs::backtrace::libunwind::trace::h7cddb8376417e7cc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x64d434624cd2 - std::backtrace_rs::backtrace::trace_unsynchronized::hb4e41acf4b349ff1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x64d434624cd2 - std::sys::backtrace::_print_fmt::h1222b80910ba6eb5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x64d434624cd2 - ::fmt::h5bb8a979ba5db788 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x64d434638d3f - core::fmt::rt::Argument::fmt::h2ee2c138a50a7796 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x64d434638d3f - core::fmt::write::h1e0dbf07fe3990bd [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x64d4345f03a3 - std::io::default_write_fmt::h7d7ad5ed6a883d81 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x64d4345f03a3 - std::io::Write::write_fmt::hc477d9325b345ece [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x64d4345fcc52 - std::sys::backtrace::BacktraceLock::print::h788d486777205086 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x64d43460282f - std::panicking::default_hook::{{closure}}::ha7bdfeb5949fc0fa [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x64d4346026c1 - std::panicking::default_hook::h6dad75ec721846f4 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:325:9 [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] [stdout] 11: 0x64d433d3b72e - as core::ops::function::Fn>::call::h33799d04b0b96146 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x64d433d3b72e - test::test_main_with_exit_callback::{{closure}}::h880e31c829a2eb5d [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x64d434602f7e - as core::ops::function::Fn>::call::h5e1b8c652ea49180 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x64d434602f7e - std::panicking::panic_with_hook::hba00e869ada17676 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x64d434602c9a - std::panicking::panic_handler::{{closure}}::h3d21149c258e5ceb [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x64d4345fcd89 - std::sys::backtrace::__rust_end_short_backtrace::h4f5d9b9dfb3e6ec1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x64d4345e34ad - __rustc[9a7a9f9af7564de1]::rust_begin_unwind [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x64d434643df0 - core::panicking::panic_fmt::h78e817a90331d98b [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x64d434642b06 - core::result::unwrap_failed::h3ce108722ad88f1e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:1852:5 [INFO] [stdout] 20: 0x64d433b56873 - core::result::Result::unwrap::haafd36386984d778 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:1223:23 [INFO] [stdout] 21: 0x64d433b56873 - wgsl_bindgen::structs::tests::write_runtime_sized_array_bytemuck::{{closure}}::hb097fed8194c4225 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x64d433b9d0bf - insta::settings::Settings::bind::h7576fb9038a8a34e [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.1/src/settings.rs:509:9 [INFO] [stdout] 23: 0x64d433b5638a - wgsl_bindgen::structs::tests::write_runtime_sized_array_bytemuck::h83811a5b43b314ad [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x64d433b56447 - wgsl_bindgen::structs::tests::write_runtime_sized_array_bytemuck::{{closure}}::h337db515e2f10446 [INFO] [stdout] at /opt/rustwide/workdir/src/structs.rs:683:42 [INFO] [stdout] 25: 0x64d433b722a6 - core::ops::function::FnOnce::call_once::hcafc82903fe07376 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x64d433d3b52b - core::ops::function::FnOnce::call_once::h7f4b4fba903e39d5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 27: 0x64d433d3b52b - test::__rust_begin_short_backtrace::h9277cb6a2ccfc000 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x64d433d50fd5 - test::run_test_in_process::{{closure}}::h9aea5ca90d1f4423 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x64d433d50fd5 - as core::ops::function::FnOnce<()>>::call_once::h364f5fe6cc8afa85 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 30: 0x64d433d50fd5 - std::panicking::catch_unwind::do_call::h2b2bec3317fe53ec [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x64d433d50fd5 - std::panicking::catch_unwind::hc3763734156da4af [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x64d433d50fd5 - std::panic::catch_unwind::h28038391e867eabc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x64d433d50fd5 - test::run_test_in_process::had0273166695a036 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x64d433d50fd5 - test::run_test::{{closure}}::h743d09d4bb476605 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x64d433d279f4 - test::run_test::{{closure}}::he950b8f9118d37e2 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x64d433d279f4 - std::sys::backtrace::__rust_begin_short_backtrace::hbfaffa6539f6abb7 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x64d433d2b2da - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hcce3c2c65b9c3b20 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x64d433d2b2da - as core::ops::function::FnOnce<()>>::call_once::hb66b30b6d37985a5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 39: 0x64d433d2b2da - std::panicking::catch_unwind::do_call::h992bbe2c32dc1d79 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x64d433d2b2da - std::panicking::catch_unwind::h412991d5237de610 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x64d433d2b2da - std::panic::catch_unwind::ha82b139b3eb5840a [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x64d433d2b2da - std::thread::Builder::spawn_unchecked_::{{closure}}::ha823b36f5114938e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x64d433d2b2da - core::ops::function::FnOnce::call_once{{vtable.shim}}::hf120e7b1db22ac07 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 44: 0x64d4345f6cdf - as core::ops::function::FnOnce>::call_once::h3e049222c99298ac [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 45: 0x64d4345f6cdf - std::sys::pal::unix::thread::Thread::new::thread_start::h942e336943ad5963 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 46: 0x7220e1521aa4 - [INFO] [stdout] 47: 0x7220e15aea34 - 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 'cdb45c87e2cd43495379f7e867e3cc15dcee9f93'. [INFO] [stdout] note: this is a custom toolchain, which cannot use `rustup component add` [INFO] [stdout] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py` [INFO] [stdout] ), falling back to prettyplease [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/snapshots/write_all_structs_rust.snap [INFO] [stdout] Snapshot: write_all_structs_rust [INFO] [stdout] Source: src/structs.rs:280 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 0 │ #[repr(C)] [INFO] [stdout] 1 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 1 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 2 2 │ pub struct Scalars { [INFO] [stdout] 3 │- pub a: u32, [INFO] [stdout] 4 │- pub b: i32, [INFO] [stdout] 5 │- pub c: f32, [INFO] [stdout] 3 │+ pub a: u32, [INFO] [stdout] 4 │+ pub b: i32, [INFO] [stdout] 5 │+ pub c: f32, [INFO] [stdout] 6 6 │ } [INFO] [stdout] 7 7 │ impl Scalars { [INFO] [stdout] 8 │- pub const fn new(a: u32, b: i32, c: f32) -> Self { [INFO] [stdout] 9 │- Self { a, b, c } [INFO] [stdout] 10 │- } [INFO] [stdout] 8 │+ pub const fn new(a: u32, b: i32, c: f32) -> Self { [INFO] [stdout] 9 │+ Self { a, b, c } [INFO] [stdout] 10 │+ } [INFO] [stdout] 11 11 │ } [INFO] [stdout] 12 12 │ #[repr(C)] [INFO] [stdout] 13 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 13 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 14 14 │ pub struct VectorsU32 { [INFO] [stdout] 15 │- pub a: [u32; 2], [INFO] [stdout] 16 │- pub b: [u32; 4], [INFO] [stdout] 17 │- pub c: [u32; 4], [INFO] [stdout] 15 │+ pub a: [u32; 2], [INFO] [stdout] 16 │+ pub b: [u32; 4], [INFO] [stdout] 17 │+ pub c: [u32; 4], [INFO] [stdout] 18 18 │ } [INFO] [stdout] 19 19 │ impl VectorsU32 { [INFO] [stdout] 20 │- pub const fn new(a: [u32; 2], b: [u32; 4], c: [u32; 4]) -> Self { [INFO] [stdout] 21 │- Self { a, b, c } [INFO] [stdout] 22 │- } [INFO] [stdout] 20 │+ pub const fn new(a: [u32; 2], b: [u32; 4], c: [u32; 4]) -> Self { [INFO] [stdout] 21 │+ Self { a, b, c } [INFO] [stdout] 22 │+ } [INFO] [stdout] 23 23 │ } [INFO] [stdout] 24 24 │ #[repr(C)] [INFO] [stdout] 25 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 25 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 26 26 │ pub struct VectorsI32 { [INFO] [stdout] 27 │- pub a: [i32; 2], [INFO] [stdout] 28 │- pub b: [i32; 4], [INFO] [stdout] 29 │- pub c: [i32; 4], [INFO] [stdout] 27 │+ pub a: [i32; 2], [INFO] [stdout] 28 │+ pub b: [i32; 4], [INFO] [stdout] 29 │+ pub c: [i32; 4], [INFO] [stdout] 30 30 │ } [INFO] [stdout] 31 31 │ impl VectorsI32 { [INFO] [stdout] 32 │- pub const fn new(a: [i32; 2], b: [i32; 4], c: [i32; 4]) -> Self { [INFO] [stdout] 33 │- Self { a, b, c } [INFO] [stdout] 34 │- } [INFO] [stdout] 32 │+ pub const fn new(a: [i32; 2], b: [i32; 4], c: [i32; 4]) -> Self { [INFO] [stdout] 33 │+ Self { a, b, c } [INFO] [stdout] 34 │+ } [INFO] [stdout] 35 35 │ } [INFO] [stdout] 36 36 │ #[repr(C)] [INFO] [stdout] 37 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 37 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 38 38 │ pub struct VectorsF32 { [INFO] [stdout] 39 │- pub a: [f32; 2], [INFO] [stdout] 40 │- pub b: [f32; 4], [INFO] [stdout] 41 │- pub c: [f32; 4], [INFO] [stdout] 39 │+ pub a: [f32; 2], [INFO] [stdout] 40 │+ pub b: [f32; 4], [INFO] [stdout] 41 │+ pub c: [f32; 4], [INFO] [stdout] 42 42 │ } [INFO] [stdout] 43 43 │ impl VectorsF32 { [INFO] [stdout] 44 │- pub const fn new(a: [f32; 2], b: [f32; 4], c: [f32; 4]) -> Self { [INFO] [stdout] 45 │- Self { a, b, c } [INFO] [stdout] 46 │- } [INFO] [stdout] 44 │+ pub const fn new(a: [f32; 2], b: [f32; 4], c: [f32; 4]) -> Self { [INFO] [stdout] 45 │+ Self { a, b, c } [INFO] [stdout] 46 │+ } [INFO] [stdout] 47 47 │ } [INFO] [stdout] 48 48 │ #[repr(C)] [INFO] [stdout] 49 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 49 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 50 50 │ pub struct VectorsF64 { [INFO] [stdout] 51 │- pub a: [f64; 2], [INFO] [stdout] 52 │- pub b: [f64; 4], [INFO] [stdout] 53 │- pub c: [f64; 4], [INFO] [stdout] 51 │+ pub a: [f64; 2], [INFO] [stdout] 52 │+ pub b: [f64; 4], [INFO] [stdout] 53 │+ pub c: [f64; 4], [INFO] [stdout] 54 54 │ } [INFO] [stdout] 55 55 │ impl VectorsF64 { [INFO] [stdout] 56 │- pub const fn new(a: [f64; 2], b: [f64; 4], c: [f64; 4]) -> Self { [INFO] [stdout] 57 │- Self { a, b, c } [INFO] [stdout] 58 │- } [INFO] [stdout] 56 │+ pub const fn new(a: [f64; 2], b: [f64; 4], c: [f64; 4]) -> Self { [INFO] [stdout] 57 │+ Self { a, b, c } [INFO] [stdout] 58 │+ } [INFO] [stdout] 59 59 │ } [INFO] [stdout] 60 60 │ #[repr(C)] [INFO] [stdout] 61 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 61 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 62 62 │ pub struct MatricesF32 { [INFO] [stdout] 63 │- pub a: [[f32; 4]; 4], [INFO] [stdout] 64 │- pub b: [[f32; 4]; 4], [INFO] [stdout] 65 │- pub c: [[f32; 2]; 4], [INFO] [stdout] 66 │- pub d: [[f32; 4]; 3], [INFO] [stdout] 67 │- pub e: [[f32; 4]; 3], [INFO] [stdout] 68 │- pub f: [[f32; 2]; 3], [INFO] [stdout] 69 │- pub g: [[f32; 4]; 2], [INFO] [stdout] 70 │- pub h: [[f32; 4]; 2], [INFO] [stdout] 71 │- pub i: [[f32; 2]; 2], [INFO] [stdout] 63 │+ pub a: [[f32; 4]; 4], [INFO] [stdout] 64 │+ pub b: [[f32; 4]; 4], [INFO] [stdout] 65 │+ pub c: [[f32; 2]; 4], [INFO] [stdout] 66 │+ pub d: [[f32; 4]; 3], [INFO] [stdout] 67 │+ pub e: [[f32; 4]; 3], [INFO] [stdout] 68 │+ pub f: [[f32; 2]; 3], [INFO] [stdout] 69 │+ pub g: [[f32; 4]; 2], [INFO] [stdout] 70 │+ pub h: [[f32; 4]; 2], [INFO] [stdout] 71 │+ pub i: [[f32; 2]; 2], [INFO] [stdout] 72 72 │ } [INFO] [stdout] 73 73 │ impl MatricesF32 { [INFO] [stdout] 74 │- pub const fn new( [INFO] [stdout] 75 │- a: [[f32; 4]; 4], [INFO] [stdout] 76 │- b: [[f32; 4]; 4], [INFO] [stdout] 77 │- c: [[f32; 2]; 4], [INFO] [stdout] 78 │- d: [[f32; 4]; 3], [INFO] [stdout] 79 │- e: [[f32; 4]; 3], [INFO] [stdout] 80 │- f: [[f32; 2]; 3], [INFO] [stdout] 81 │- g: [[f32; 4]; 2], [INFO] [stdout] 82 │- h: [[f32; 4]; 2], [INFO] [stdout] 83 │- i: [[f32; 2]; 2], [INFO] [stdout] 84 │- ) -> Self { [INFO] [stdout] 85 │- Self { [INFO] [stdout] 86 │- a, [INFO] [stdout] 87 │- b, [INFO] [stdout] 88 │- c, [INFO] [stdout] 89 │- d, [INFO] [stdout] 90 │- e, [INFO] [stdout] 91 │- f, [INFO] [stdout] 92 │- g, [INFO] [stdout] 93 │- h, [INFO] [stdout] 94 │- i, [INFO] [stdout] 74 │+ pub const fn new( [INFO] [stdout] 75 │+ a: [[f32; 4]; 4], [INFO] [stdout] 76 │+ b: [[f32; 4]; 4], [INFO] [stdout] 77 │+ c: [[f32; 2]; 4], [INFO] [stdout] 78 │+ d: [[f32; 4]; 3], [INFO] [stdout] 79 │+ e: [[f32; 4]; 3], [INFO] [stdout] 80 │+ f: [[f32; 2]; 3], [INFO] [stdout] 81 │+ g: [[f32; 4]; 2], [INFO] [stdout] 82 │+ h: [[f32; 4]; 2], [INFO] [stdout] 83 │+ i: [[f32; 2]; 2], [INFO] [stdout] 84 │+ ) -> Self { [INFO] [stdout] 85 │+ Self { a, b, c, d, e, f, g, h, i } [INFO] [stdout] 95 86 │ } [INFO] [stdout] 96 │- } [INFO] [stdout] 97 87 │ } [INFO] [stdout] 98 88 │ #[repr(C)] [INFO] [stdout] 99 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 89 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 100 90 │ pub struct MatricesF64 { [INFO] [stdout] 101 │- pub a: [[f64; 4]; 4], [INFO] [stdout] 102 │- pub b: [[f64; 4]; 4], [INFO] [stdout] 103 │- pub c: [[f64; 2]; 4], [INFO] [stdout] 104 │- pub d: [[f64; 4]; 3], [INFO] [stdout] 105 │- pub e: [[f64; 4]; 3], [INFO] [stdout] 106 │- pub f: [[f64; 2]; 3], [INFO] [stdout] 107 │- pub g: [[f64; 4]; 2], [INFO] [stdout] 108 │- pub h: [[f64; 4]; 2], [INFO] [stdout] 109 │- pub i: [[f64; 2]; 2], [INFO] [stdout] 91 │+ pub a: [[f64; 4]; 4], [INFO] [stdout] 92 │+ pub b: [[f64; 4]; 4], [INFO] [stdout] 93 │+ pub c: [[f64; 2]; 4], [INFO] [stdout] 94 │+ pub d: [[f64; 4]; 3], [INFO] [stdout] 95 │+ pub e: [[f64; 4]; 3], [INFO] [stdout] 96 │+ pub f: [[f64; 2]; 3], [INFO] [stdout] 97 │+ pub g: [[f64; 4]; 2], [INFO] [stdout] 98 │+ pub h: [[f64; 4]; 2], [INFO] [stdout] 99 │+ pub i: [[f64; 2]; 2], [INFO] [stdout] 110 100 │ } [INFO] [stdout] 111 101 │ impl MatricesF64 { [INFO] [stdout] 112 │- pub const fn new( [INFO] [stdout] 113 │- a: [[f64; 4]; 4], [INFO] [stdout] 114 │- b: [[f64; 4]; 4], [INFO] [stdout] 115 │- c: [[f64; 2]; 4], [INFO] [stdout] 116 │- d: [[f64; 4]; 3], [INFO] [stdout] 117 │- e: [[f64; 4]; 3], [INFO] [stdout] 118 │- f: [[f64; 2]; 3], [INFO] [stdout] 119 │- g: [[f64; 4]; 2], [INFO] [stdout] 120 │- h: [[f64; 4]; 2], [INFO] [stdout] 121 │- i: [[f64; 2]; 2], [INFO] [stdout] 122 │- ) -> Self { [INFO] [stdout] 123 │- Self { [INFO] [stdout] 124 │- a, [INFO] [stdout] 125 │- b, [INFO] [stdout] 126 │- c, [INFO] [stdout] 127 │- d, [INFO] [stdout] 128 │- e, [INFO] [stdout] 129 │- f, [INFO] [stdout] 130 │- g, [INFO] [stdout] 131 │- h, [INFO] [stdout] 132 │- i, [INFO] [stdout] 102 │+ pub const fn new( [INFO] [stdout] 103 │+ a: [[f64; 4]; 4], [INFO] [stdout] 104 │+ b: [[f64; 4]; 4], [INFO] [stdout] 105 │+ c: [[f64; 2]; 4], [INFO] [stdout] 106 │+ d: [[f64; 4]; 3], [INFO] [stdout] 107 │+ e: [[f64; 4]; 3], [INFO] [stdout] 108 │+ f: [[f64; 2]; 3], [INFO] [stdout] 109 │+ g: [[f64; 4]; 2], [INFO] [stdout] 110 │+ h: [[f64; 4]; 2], [INFO] [stdout] 111 │+ i: [[f64; 2]; 2], [INFO] [stdout] 112 │+ ) -> Self { [INFO] [stdout] 113 │+ Self { a, b, c, d, e, f, g, h, i } [INFO] [stdout] 133 114 │ } [INFO] [stdout] 134 │- } [INFO] [stdout] 135 115 │ } [INFO] [stdout] 136 116 │ #[repr(C)] [INFO] [stdout] 137 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 117 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 138 118 │ pub struct StaticArrays { [INFO] [stdout] 139 │- pub a: [u32; 5], [INFO] [stdout] 140 │- pub b: [f32; 3], [INFO] [stdout] 141 │- pub c: [[[f32; 4]; 4]; 512], [INFO] [stdout] 119 │+ pub a: [u32; 5], [INFO] [stdout] 120 │+ pub b: [f32; 3], [INFO] [stdout] 121 │+ pub c: [[[f32; 4]; 4]; 512], [INFO] [stdout] 142 122 │ } [INFO] [stdout] 143 123 │ impl StaticArrays { [INFO] [stdout] 144 │- pub const fn new(a: [u32; 5], b: [f32; 3], c: [[[f32; 4]; 4]; 512]) -> Self { [INFO] [stdout] 145 │- Self { a, b, c } [INFO] [stdout] 146 │- } [INFO] [stdout] 124 │+ pub const fn new(a: [u32; 5], b: [f32; 3], c: [[[f32; 4]; 4]; 512]) -> Self { [INFO] [stdout] 125 │+ Self { a, b, c } [INFO] [stdout] 126 │+ } [INFO] [stdout] 147 127 │ } [INFO] [stdout] 148 128 │ #[repr(C)] [INFO] [stdout] 149 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 129 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 150 130 │ pub struct Nested { [INFO] [stdout] 151 │- pub a: MatricesF32, [INFO] [stdout] 152 │- pub b: MatricesF64, [INFO] [stdout] 131 │+ pub a: MatricesF32, [INFO] [stdout] 132 │+ pub b: MatricesF64, [INFO] [stdout] 153 133 │ } [INFO] [stdout] 154 134 │ impl Nested { [INFO] [stdout] 155 │- pub const fn new(a: MatricesF32, b: MatricesF64) -> Self { [INFO] [stdout] 156 │- Self { a, b } [INFO] [stdout] 157 │- } [INFO] [stdout] 135 │+ pub const fn new(a: MatricesF32, b: MatricesF64) -> Self { [INFO] [stdout] 136 │+ Self { a, b } [INFO] [stdout] 137 │+ } [INFO] [stdout] 158 138 │ } [INFO] [stdout] 159 139 │ #[repr(C)] [INFO] [stdout] 160 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 140 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 161 141 │ pub struct VectorsF16 { [INFO] [stdout] 162 │- pub a: [half::f16; 2], [INFO] [stdout] 163 │- pub b: [half::f16; 4], [INFO] [stdout] 142 │+ pub a: [half::f16; 2], [INFO] [stdout] 143 │+ pub b: [half::f16; 4], [INFO] [stdout] 164 144 │ } [INFO] [stdout] 165 145 │ impl VectorsF16 { [INFO] [stdout] 166 │- pub const fn new(a: [half::f16; 2], b: [half::f16; 4]) -> Self { [INFO] [stdout] 167 │- Self { a, b } [INFO] [stdout] 168 │- } [INFO] [stdout] 146 │+ pub const fn new(a: [half::f16; 2], b: [half::f16; 4]) -> Self { [INFO] [stdout] 147 │+ Self { a, b } [INFO] [stdout] 148 │+ } [INFO] [stdout] 169 149 │ } [INFO] [stdout] 170 150 │ #[repr(C)] [INFO] [stdout] 171 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 151 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 172 152 │ pub struct MatricesF16 { [INFO] [stdout] 173 │- pub a: [[half::f16; 4]; 4], [INFO] [stdout] 174 │- pub b: [[half::f16; 4]; 4], [INFO] [stdout] 175 │- pub c: [[half::f16; 2]; 4], [INFO] [stdout] 176 │- pub d: [[half::f16; 4]; 3], [INFO] [stdout] 177 │- pub e: [[half::f16; 4]; 3], [INFO] [stdout] 178 │- pub f: [[half::f16; 2]; 3], [INFO] [stdout] 179 │- pub g: [[half::f16; 4]; 2], [INFO] [stdout] 180 │- pub h: [[half::f16; 4]; 2], [INFO] [stdout] 181 │- pub i: [[half::f16; 2]; 2], [INFO] [stdout] 153 │+ pub a: [[half::f16; 4]; 4], [INFO] [stdout] 154 │+ pub b: [[half::f16; 4]; 4], [INFO] [stdout] 155 │+ pub c: [[half::f16; 2]; 4], [INFO] [stdout] 156 │+ pub d: [[half::f16; 4]; 3], [INFO] [stdout] 157 │+ pub e: [[half::f16; 4]; 3], [INFO] [stdout] 158 │+ pub f: [[half::f16; 2]; 3], [INFO] [stdout] 159 │+ pub g: [[half::f16; 4]; 2], [INFO] [stdout] 160 │+ pub h: [[half::f16; 4]; 2], [INFO] [stdout] 161 │+ pub i: [[half::f16; 2]; 2], [INFO] [stdout] 182 162 │ } [INFO] [stdout] 183 163 │ impl MatricesF16 { [INFO] [stdout] 184 │- pub const fn new( [INFO] [stdout] 185 │- a: [[half::f16; 4]; 4], [INFO] [stdout] 186 │- b: [[half::f16; 4]; 4], [INFO] [stdout] 187 │- c: [[half::f16; 2]; 4], [INFO] [stdout] 188 │- d: [[half::f16; 4]; 3], [INFO] [stdout] 189 │- e: [[half::f16; 4]; 3], [INFO] [stdout] 190 │- f: [[half::f16; 2]; 3], [INFO] [stdout] 191 │- g: [[half::f16; 4]; 2], [INFO] [stdout] 192 │- h: [[half::f16; 4]; 2], [INFO] [stdout] 193 │- i: [[half::f16; 2]; 2], [INFO] [stdout] 194 │- ) -> Self { [INFO] [stdout] 195 │- Self { [INFO] [stdout] 196 │- a, [INFO] [stdout] 197 │- b, [INFO] [stdout] 198 │- c, [INFO] [stdout] 199 │- d, [INFO] [stdout] 200 │- e, [INFO] [stdout] 201 │- f, [INFO] [stdout] 202 │- g, [INFO] [stdout] 203 │- h, [INFO] [stdout] 204 │- i, [INFO] [stdout] 164 │+ pub const fn new( [INFO] [stdout] 165 │+ a: [[half::f16; 4]; 4], [INFO] [stdout] 166 │+ b: [[half::f16; 4]; 4], [INFO] [stdout] 167 │+ c: [[half::f16; 2]; 4], [INFO] [stdout] 168 │+ d: [[half::f16; 4]; 3], [INFO] [stdout] 169 │+ e: [[half::f16; 4]; 3], [INFO] [stdout] 170 │+ f: [[half::f16; 2]; 3], [INFO] [stdout] 171 │+ g: [[half::f16; 4]; 2], [INFO] [stdout] 172 │+ h: [[half::f16; 4]; 2], [INFO] [stdout] 173 │+ i: [[half::f16; 2]; 2], [INFO] [stdout] 174 │+ ) -> Self { [INFO] [stdout] 175 │+ Self { a, b, c, d, e, f, g, h, i } [INFO] [stdout] 205 176 │ } [INFO] [stdout] 206 │- } [INFO] [stdout] 207 177 │ } [INFO] [stdout] 208 178 │ #[repr(C)] [INFO] [stdout] 209 │-#[derive(Debug, PartialEq, Clone, Copy, encase :: ShaderType)] [INFO] [stdout] 179 │+#[derive(Debug, PartialEq, Clone, Copy, encase::ShaderType)] [INFO] [stdout] 210 180 │ pub struct Atomics { [INFO] [stdout] 211 │- pub num: u32, [INFO] [stdout] 212 │- pub numi: i32, [INFO] [stdout] 181 │+ pub num: u32, [INFO] [stdout] 182 │+ pub numi: i32, [INFO] [stdout] 213 183 │ } [INFO] [stdout] 214 184 │ impl Atomics { [INFO] [stdout] 215 │- pub const fn new(num: u32, numi: i32) -> Self { [INFO] [stdout] 216 │- Self { num, numi } [INFO] [stdout] 217 │- } [INFO] [stdout] 185 │+ pub const fn new(num: u32, numi: i32) -> Self { [INFO] [stdout] 186 │+ Self { num, numi } [INFO] [stdout] 187 │+ } [INFO] [stdout] 218 188 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'structs::tests::write_all_structs_rust' (10064) 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: 0x64d434624cd2 - std::backtrace_rs::backtrace::libunwind::trace::h7cddb8376417e7cc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x64d434624cd2 - std::backtrace_rs::backtrace::trace_unsynchronized::hb4e41acf4b349ff1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x64d434624cd2 - std::sys::backtrace::_print_fmt::h1222b80910ba6eb5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x64d434624cd2 - ::fmt::h5bb8a979ba5db788 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x64d434638d3f - core::fmt::rt::Argument::fmt::h2ee2c138a50a7796 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x64d434638d3f - core::fmt::write::h1e0dbf07fe3990bd [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x64d4345f03a3 - std::io::default_write_fmt::h7d7ad5ed6a883d81 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x64d4345f03a3 - std::io::Write::write_fmt::hc477d9325b345ece [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x64d4345fcc52 - std::sys::backtrace::BacktraceLock::print::h788d486777205086 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x64d43460282f - std::panicking::default_hook::{{closure}}::ha7bdfeb5949fc0fa [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x64d4346026c1 - std::panicking::default_hook::h6dad75ec721846f4 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x64d433d3b72e - as core::ops::function::Fn>::call::h33799d04b0b96146 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x64d433d3b72e - test::test_main_with_exit_callback::{{closure}}::h880e31c829a2eb5d [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x64d434602f7e - as core::ops::function::Fn>::call::h5e1b8c652ea49180 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x64d434602f7e - std::panicking::panic_with_hook::hba00e869ada17676 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x64d434602c9a - std::panicking::panic_handler::{{closure}}::h3d21149c258e5ceb [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x64d4345fcd89 - std::sys::backtrace::__rust_end_short_backtrace::h4f5d9b9dfb3e6ec1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x64d4345e34ad - __rustc[9a7a9f9af7564de1]::rust_begin_unwind [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x64d434643df0 - core::panicking::panic_fmt::h78e817a90331d98b [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x64d434642b06 - core::result::unwrap_failed::h3ce108722ad88f1e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:1852:5 [INFO] [stdout] 20: 0x64d433b50cc3 - core::result::Result::unwrap::haafd36386984d778 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:1223:23 [INFO] [stdout] 21: 0x64d433b50cc3 - wgsl_bindgen::structs::tests::write_all_structs_rust::{{closure}}::h9ded461038cfc943 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x64d433b9d3df - insta::settings::Settings::bind::h870dd8c066632350 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.1/src/settings.rs:509:9 [INFO] [stdout] 23: 0x64d433b507d0 - wgsl_bindgen::structs::tests::write_all_structs_rust::hafc9f056f464a0dc [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x64d433b50897 - wgsl_bindgen::structs::tests::write_all_structs_rust::{{closure}}::h4b97b2a35efd398a [INFO] [stdout] at /opt/rustwide/workdir/src/structs.rs:169:30 [INFO] [stdout] 25: 0x64d433b70f76 - core::ops::function::FnOnce::call_once::h4d4f9c6373a79733 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x64d433d3b52b - core::ops::function::FnOnce::call_once::h7f4b4fba903e39d5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 27: 0x64d433d3b52b - test::__rust_begin_short_backtrace::h9277cb6a2ccfc000 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x64d433d50fd5 - test::run_test_in_process::{{closure}}::h9aea5ca90d1f4423 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x64d433d50fd5 - as core::ops::function::FnOnce<()>>::call_once::h364f5fe6cc8afa85 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 30: 0x64d433d50fd5 - std::panicking::catch_unwind::do_call::h2b2bec3317fe53ec [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x64d433d50fd5 - std::panicking::catch_unwind::hc3763734156da4af [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x64d433d50fd5 - std::panic::catch_unwind::h28038391e867eabc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x64d433d50fd5 - test::run_test_in_process::had0273166695a036 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x64d433d50fd5 - test::run_test::{{closure}}::h743d09d4bb476605 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x64d433d279f4 - test::run_test::{{closure}}::he950b8f9118d37e2 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x64d433d279f4 - std::sys::backtrace::__rust_begin_short_backtrace::hbfaffa6539f6abb7 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x64d433d2b2da - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hcce3c2c65b9c3b20 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x64d433d2b2da - as core::ops::function::FnOnce<()>>::call_once::hb66b30b6d37985a5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 39: 0x64d433d2b2da - std::panicking::catch_unwind::do_call::h992bbe2c32dc1d79 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x64d433d2b2da - std::panicking::catch_unwind::h412991d5237de610 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x64d433d2b2da - std::panic::catch_unwind::ha82b139b3eb5840a [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x64d433d2b2da - std::thread::Builder::spawn_unchecked_::{{closure}}::ha823b36f5114938e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x64d433d2b2da - core::ops::function::FnOnce::call_once{{vtable.shim}}::hf120e7b1db22ac07 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 44: 0x64d4345f6cdf - as core::ops::function::FnOnce>::call_once::h3e049222c99298ac [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 45: 0x64d4345f6cdf - std::sys::pal::unix::thread::Thread::new::thread_start::h942e336943ad5963 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 46: 0x7220e1521aa4 - [INFO] [stdout] 47: 0x7220e15aea34 - 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 'cdb45c87e2cd43495379f7e867e3cc15dcee9f93'. [INFO] [stdout] note: this is a custom toolchain, which cannot use `rustup component add` [INFO] [stdout] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py` [INFO] [stdout] ), falling back to prettyplease [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/snapshots/write_shorter_constructor.snap [INFO] [stdout] Snapshot: write_shorter_constructor [INFO] [stdout] Source: src/structs.rs:824 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 0 │ #[repr(C, align(8))] [INFO] [stdout] 1 1 │ #[derive(Debug, PartialEq, Clone, Copy)] [INFO] [stdout] 2 2 │ pub struct Uniform { [INFO] [stdout] 3 │- #[doc = "offset: 0, size: 8, type: `vec2`"] [INFO] [stdout] 4 │- pub position_data: glam::Vec2, [INFO] [stdout] 3 │+ ///offset: 0, size: 8, type: `vec2` [INFO] [stdout] 4 │+ pub position_data: glam::Vec2, [INFO] [stdout] 5 5 │ } [INFO] [stdout] 6 6 │ pub const fn Uniform(position_data: glam::Vec2) -> Uniform { [INFO] [stdout] 7 │- Uniform { position_data } [INFO] [stdout] 7 │+ Uniform { position_data } [INFO] [stdout] 8 8 │ } [INFO] [stdout] 9 9 │ const UNIFORM_ASSERTS: () = { [INFO] [stdout] 10 │- assert!(std::mem::offset_of!(Uniform, position_data) == 0); [INFO] [stdout] 11 │- assert!(std::mem::size_of::() == 8); [INFO] [stdout] 10 │+ assert!(std::mem::offset_of!(Uniform, position_data) == 0); [INFO] [stdout] 11 │+ assert!(std::mem::size_of:: < Uniform > () == 8); [INFO] [stdout] 12 12 │ }; [INFO] [stdout] 13 13 │ unsafe impl bytemuck::Zeroable for Uniform {} [INFO] [stdout] 14 14 │ unsafe impl bytemuck::Pod for Uniform {} [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'structs::tests::write_shorter_constructor' (10765) 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: 0x64d434624cd2 - std::backtrace_rs::backtrace::libunwind::trace::h7cddb8376417e7cc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x64d434624cd2 - std::backtrace_rs::backtrace::trace_unsynchronized::hb4e41acf4b349ff1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x64d434624cd2 - std::sys::backtrace::_print_fmt::h1222b80910ba6eb5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x64d434624cd2 - ::fmt::h5bb8a979ba5db788 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x64d434638d3f - core::fmt::rt::Argument::fmt::h2ee2c138a50a7796 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x64d434638d3f - core::fmt::write::h1e0dbf07fe3990bd [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x64d4345f03a3 - std::io::default_write_fmt::h7d7ad5ed6a883d81 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x64d4345f03a3 - std::io::Write::write_fmt::hc477d9325b345ece [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x64d4345fcc52 - std::sys::backtrace::BacktraceLock::print::h788d486777205086 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x64d43460282f - std::panicking::default_hook::{{closure}}::ha7bdfeb5949fc0fa [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x64d4346026c1 - std::panicking::default_hook::h6dad75ec721846f4 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x64d433d3b72e - as core::ops::function::Fn>::call::h33799d04b0b96146 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x64d433d3b72e - test::test_main_with_exit_callback::{{closure}}::h880e31c829a2eb5d [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x64d434602f7e - as core::ops::function::Fn>::call::h5e1b8c652ea49180 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x64d434602f7e - std::panicking::panic_with_hook::hba00e869ada17676 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x64d434602c9a - std::panicking::panic_handler::{{closure}}::h3d21149c258e5ceb [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x64d4345fcd89 - std::sys::backtrace::__rust_end_short_backtrace::h4f5d9b9dfb3e6ec1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x64d4345e34ad - __rustc[9a7a9f9af7564de1]::rust_begin_unwind [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x64d434643df0 - core::panicking::panic_fmt::h78e817a90331d98b [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x64d434642b06 - core::result::unwrap_failed::h3ce108722ad88f1e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:1852:5 [INFO] [stdout] 20: 0x64d433b54083 - core::result::Result::unwrap::haafd36386984d778 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:1223:23 [INFO] [stdout] 21: 0x64d433b54083 - wgsl_bindgen::structs::tests::write_shorter_constructor::{{closure}}::h08680745f240f6ce [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x64d433b9ce3f - insta::settings::Settings::bind::h566f5921f542c38c [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.1/src/settings.rs:509:9 [INFO] [stdout] 23: 0x64d433b53ba3 - wgsl_bindgen::structs::tests::write_shorter_constructor::h274e0fb9e7cdfb04 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x64d433b54177 - wgsl_bindgen::structs::tests::write_shorter_constructor::{{closure}}::hed0757b7bf0d1565 [INFO] [stdout] at /opt/rustwide/workdir/src/structs.rs:803:33 [INFO] [stdout] 25: 0x64d433b72066 - core::ops::function::FnOnce::call_once::hb4f55414c2c7f10a [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x64d433d3b52b - core::ops::function::FnOnce::call_once::h7f4b4fba903e39d5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 27: 0x64d433d3b52b - test::__rust_begin_short_backtrace::h9277cb6a2ccfc000 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x64d433d50fd5 - test::run_test_in_process::{{closure}}::h9aea5ca90d1f4423 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x64d433d50fd5 - as core::ops::function::FnOnce<()>>::call_once::h364f5fe6cc8afa85 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 30: 0x64d433d50fd5 - std::panicking::catch_unwind::do_call::h2b2bec3317fe53ec [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x64d433d50fd5 - std::panicking::catch_unwind::hc3763734156da4af [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x64d433d50fd5 - std::panic::catch_unwind::h28038391e867eabc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x64d433d50fd5 - test::run_test_in_process::had0273166695a036 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x64d433d50fd5 - test::run_test::{{closure}}::h743d09d4bb476605 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x64d433d279f4 - test::run_test::{{closure}}::he950b8f9118d37e2 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x64d433d279f4 - std::sys::backtrace::__rust_begin_short_backtrace::hbfaffa6539f6abb7 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x64d433d2b2da - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hcce3c2c65b9c3b20 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x64d433d2b2da - as core::ops::function::FnOnce<()>>::call_once::hb66b30b6d37985a5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 39: 0x64d433d2b2da - std::panicking::catch_unwind::do_call::h992bbe2c32dc1d79 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x64d433d2b2da - std::panicking::catch_unwind::h412991d5237de610 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x64d433d2b2da - std::panic::catch_unwind::ha82b139b3eb5840a [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x64d433d2b2da - std::thread::Builder::spawn_unchecked_::{{closure}}::ha823b36f5114938e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x64d433d2b2da - core::ops::function::FnOnce::call_once{{vtable.shim}}::hf120e7b1db22ac07 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 44: 0x64d4345f6cdf - as core::ops::function::FnOnce>::call_once::h3e049222c99298ac [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 45: 0x64d4345f6cdf - std::sys::pal::unix::thread::Thread::new::thread_start::h942e336943ad5963 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 46: 0x7220e1521aa4 - [INFO] [stdout] 47: 0x7220e15aea34 - 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 'cdb45c87e2cd43495379f7e867e3cc15dcee9f93'. [INFO] [stdout] note: this is a custom toolchain, which cannot use `rustup component add` [INFO] [stdout] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py` [INFO] [stdout] ), falling back to prettyplease [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/snapshots/wgsl_bindgen__test__create_shader_module_embed_source.snap [INFO] [stdout] Snapshot: create_shader_module_embed_source [INFO] [stdout] Source: src/lib.rs:513 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] Expression: actual [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 0 │ #![allow(unused, non_snake_case, non_camel_case_types, non_upper_case_globals)] [INFO] [stdout] 1 1 │ #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)] [INFO] [stdout] 2 2 │ pub enum ShaderEntry { [INFO] [stdout] 3 │- Test, [INFO] [stdout] 3 │+ Test, [INFO] [stdout] 4 4 │ } [INFO] [stdout] 5 5 │ impl ShaderEntry { [INFO] [stdout] 6 │- pub fn create_pipeline_layout(&self, device: &wgpu::Device) -> wgpu::PipelineLayout { [INFO] [stdout] 7 │- match self { [INFO] [stdout] 8 │- Self::Test => test::create_pipeline_layout(device), [INFO] [stdout] 6 │+ pub fn create_pipeline_layout(&self, device: &wgpu::Device) -> wgpu::PipelineLayout { [INFO] [stdout] 7 │+ match self { [INFO] [stdout] 8 │+ Self::Test => test::create_pipeline_layout(device), [INFO] [stdout] 9 │+ } [INFO] [stdout] 9 10 │ } [INFO] [stdout] 10 │- } [INFO] [stdout] 11 │- pub fn create_shader_module_embed_source( [INFO] [stdout] 12 │- &self, [INFO] [stdout] 13 │- device: &wgpu::Device, [INFO] [stdout] 14 │- ) -> wgpu::ShaderModule { [INFO] [stdout] 15 │- match self { [INFO] [stdout] 16 │- Self::Test => test::create_shader_module_embed_source(device), [INFO] [stdout] 11 │+ pub fn create_shader_module_embed_source( [INFO] [stdout] 12 │+ &self, [INFO] [stdout] 13 │+ device: &wgpu::Device, [INFO] [stdout] 14 │+ ) -> wgpu::ShaderModule { [INFO] [stdout] 15 │+ match self { [INFO] [stdout] 16 │+ Self::Test => test::create_shader_module_embed_source(device), [INFO] [stdout] 17 │+ } [INFO] [stdout] 17 18 │ } [INFO] [stdout] 18 │- } [INFO] [stdout] 19 19 │ } [INFO] [stdout] 20 20 │ mod _root { [INFO] [stdout] 21 │- pub use super::*; [INFO] [stdout] 21 │+ pub use super::*; [INFO] [stdout] 22 22 │ } [INFO] [stdout] 23 23 │ pub mod test { [INFO] [stdout] 24 │- use super::{_root, _root::*}; [INFO] [stdout] 25 │- pub const ENTRY_FS_MAIN: &str = "fs_main"; [INFO] [stdout] 26 │- #[derive(Debug)] [INFO] [stdout] 27 │- pub struct FragmentEntry { [INFO] [stdout] 28 │- pub entry_point: &'static str, [INFO] [stdout] 29 │- pub targets: [Option; N], [INFO] [stdout] 30 │- pub constants: Vec<(&'static str, f64)>, [INFO] [stdout] 31 │- } [INFO] [stdout] 32 │- pub fn fragment_state<'a, const N: usize>( [INFO] [stdout] 33 │- module: &'a wgpu::ShaderModule, [INFO] [stdout] 34 │- entry: &'a FragmentEntry, [INFO] [stdout] 35 │- ) -> wgpu::FragmentState<'a> { [INFO] [stdout] 36 │- wgpu::FragmentState { [INFO] [stdout] 37 │- module, [INFO] [stdout] 38 │- entry_point: Some(entry.entry_point), [INFO] [stdout] 39 │- targets: &entry.targets, [INFO] [stdout] 40 │- compilation_options: wgpu::PipelineCompilationOptions { [INFO] [stdout] 41 │- constants: &entry.constants, [INFO] [stdout] 42 │- ..Default::default() [INFO] [stdout] 43 │- }, [INFO] [stdout] 24 │+ use super::{_root, _root::*}; [INFO] [stdout] 25 │+ pub const ENTRY_FS_MAIN: &str = "fs_main"; [INFO] [stdout] 26 │+ #[derive(Debug)] [INFO] [stdout] 27 │+ pub struct FragmentEntry { [INFO] [stdout] 28 │+ pub entry_point: &'static str, [INFO] [stdout] 29 │+ pub targets: [Option; N], [INFO] [stdout] 30 │+ pub constants: Vec<(&'static str, f64)>, [INFO] [stdout] 31 │+ } [INFO] [stdout] 32 │+ pub fn fragment_state<'a, const N: usize>( [INFO] [stdout] 33 │+ module: &'a wgpu::ShaderModule, [INFO] [stdout] 34 │+ entry: &'a FragmentEntry, [INFO] [stdout] 35 │+ ) -> wgpu::FragmentState<'a> { [INFO] [stdout] 36 │+ wgpu::FragmentState { [INFO] [stdout] 37 │+ module, [INFO] [stdout] 38 │+ entry_point: Some(entry.entry_point), [INFO] [stdout] 39 │+ targets: &entry.targets, [INFO] [stdout] 40 │+ compilation_options: wgpu::PipelineCompilationOptions { [INFO] [stdout] 41 │+ constants: &entry.constants, [INFO] [stdout] 42 │+ ..Default::default() [INFO] [stdout] 43 │+ }, [INFO] [stdout] 44 │+ } [INFO] [stdout] 45 │+ } [INFO] [stdout] 46 │+ pub fn fs_main_entry( [INFO] [stdout] 47 │+ targets: [Option; 0], [INFO] [stdout] 48 │+ ) -> FragmentEntry<0> { [INFO] [stdout] 49 │+ FragmentEntry { [INFO] [stdout] 50 │+ entry_point: ENTRY_FS_MAIN, [INFO] [stdout] 51 │+ targets, [INFO] [stdout] 52 │+ constants: Default::default(), [INFO] [stdout] 53 │+ } [INFO] [stdout] 54 │+ } [INFO] [stdout] 55 │+ #[derive(Debug)] [INFO] [stdout] 56 │+ pub struct WgpuPipelineLayout; [INFO] [stdout] 57 │+ impl WgpuPipelineLayout { [INFO] [stdout] 58 │+ pub fn bind_group_layout_entries( [INFO] [stdout] 59 │+ entries: [wgpu::BindGroupLayout; 0], [INFO] [stdout] 60 │+ ) -> [wgpu::BindGroupLayout; 0] { [INFO] [stdout] 61 │+ entries [INFO] [stdout] 62 │+ } [INFO] [stdout] 44 63 │ } [INFO] [stdout] 45 │- } [INFO] [stdout] 46 │- pub fn fs_main_entry(targets: [Option; 0]) -> FragmentEntry<0> { [INFO] [stdout] 47 │- FragmentEntry { [INFO] [stdout] 48 │- entry_point: ENTRY_FS_MAIN, [INFO] [stdout] 49 │- targets, [INFO] [stdout] 50 │- constants: Default::default(), [INFO] [stdout] 64 │+ pub fn create_pipeline_layout(device: &wgpu::Device) -> wgpu::PipelineLayout { [INFO] [stdout] 65 │+ device [INFO] [stdout] 66 │+ .create_pipeline_layout( [INFO] [stdout] 67 │+ &wgpu::PipelineLayoutDescriptor { [INFO] [stdout] 68 │+ label: Some("Test::PipelineLayout"), [INFO] [stdout] 69 │+ bind_group_layouts: &[], [INFO] [stdout] 70 │+ push_constant_ranges: &[ [INFO] [stdout] 71 │+ wgpu::PushConstantRange { [INFO] [stdout] 72 │+ stages: wgpu::ShaderStages::FRAGMENT, [INFO] [stdout] 73 │+ range: 0..16, [INFO] [stdout] 74 │+ }, [INFO] [stdout] 75 │+ ], [INFO] [stdout] 76 │+ }, [INFO] [stdout] 77 │+ ) [INFO] [stdout] 51 78 │ } [INFO] [stdout] 52 │- } [INFO] [stdout] 53 │- #[derive(Debug)] [INFO] [stdout] 54 │- pub struct WgpuPipelineLayout; [INFO] [stdout] 55 │- impl WgpuPipelineLayout { [INFO] [stdout] 56 │- pub fn bind_group_layout_entries( [INFO] [stdout] 57 │- entries: [wgpu::BindGroupLayout; 0], [INFO] [stdout] 58 │- ) -> [wgpu::BindGroupLayout; 0] { [INFO] [stdout] 59 │- entries [INFO] [stdout] 79 │+ pub fn create_shader_module_embed_source( [INFO] [stdout] 80 │+ device: &wgpu::Device, [INFO] [stdout] 81 │+ ) -> wgpu::ShaderModule { [INFO] [stdout] 82 │+ let source = std::borrow::Cow::Borrowed(SHADER_STRING); [INFO] [stdout] 83 │+ device [INFO] [stdout] 84 │+ .create_shader_module(wgpu::ShaderModuleDescriptor { [INFO] [stdout] 85 │+ label: None, [INFO] [stdout] 86 │+ source: wgpu::ShaderSource::Wgsl(source), [INFO] [stdout] 87 │+ }) [INFO] [stdout] 60 88 │ } [INFO] [stdout] 61 │- } [INFO] [stdout] 62 │- pub fn create_pipeline_layout(device: &wgpu::Device) -> wgpu::PipelineLayout { [INFO] [stdout] 63 │- device.create_pipeline_layout(&wgpu::PipelineLayoutDescriptor { [INFO] [stdout] 64 │- label: Some("Test::PipelineLayout"), [INFO] [stdout] 65 │- bind_group_layouts: &[], [INFO] [stdout] 66 │- push_constant_ranges: &[wgpu::PushConstantRange { [INFO] [stdout] 67 │- stages: wgpu::ShaderStages::FRAGMENT, [INFO] [stdout] 68 │- range: 0..16, [INFO] [stdout] 69 │- }], [INFO] [stdout] 70 │- }) [INFO] [stdout] 71 │- } [INFO] [stdout] 72 │- pub fn create_shader_module_embed_source(device: &wgpu::Device) -> wgpu::ShaderModule { [INFO] [stdout] 73 │- let source = std::borrow::Cow::Borrowed(SHADER_STRING); [INFO] [stdout] 74 │- device.create_shader_module(wgpu::ShaderModuleDescriptor { [INFO] [stdout] 75 │- label: None, [INFO] [stdout] 76 │- source: wgpu::ShaderSource::Wgsl(source), [INFO] [stdout] 77 │- }) [INFO] [stdout] 78 │- } [INFO] [stdout] 79 │- pub const SHADER_STRING: &str = r#" [INFO] [stdout] 89 │+ pub const SHADER_STRING: &str = r#" [INFO] [stdout] 80 90 │ var consts: vec4; [INFO] [stdout] 81 91 │ [INFO] [stdout] 82 92 │ @fragment [INFO] [stdout] 83 93 │ fn fs_main() { [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'test::create_shader_module_embed_source' (10983) 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: 0x64d434624cd2 - std::backtrace_rs::backtrace::libunwind::trace::h7cddb8376417e7cc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x64d434624cd2 - std::backtrace_rs::backtrace::trace_unsynchronized::hb4e41acf4b349ff1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x64d434624cd2 - std::sys::backtrace::_print_fmt::h1222b80910ba6eb5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x64d434624cd2 - ::fmt::h5bb8a979ba5db788 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x64d434638d3f - core::fmt::rt::Argument::fmt::h2ee2c138a50a7796 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x64d434638d3f - core::fmt::write::h1e0dbf07fe3990bd [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x64d4345f03a3 - std::io::default_write_fmt::h7d7ad5ed6a883d81 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x64d4345f03a3 - std::io::Write::write_fmt::hc477d9325b345ece [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x64d4345fcc52 - std::sys::backtrace::BacktraceLock::print::h788d486777205086 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x64d43460282f - std::panicking::default_hook::{{closure}}::ha7bdfeb5949fc0fa [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x64d4346026c1 - std::panicking::default_hook::h6dad75ec721846f4 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x64d433d3b72e - as core::ops::function::Fn>::call::h33799d04b0b96146 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x64d433d3b72e - test::test_main_with_exit_callback::{{closure}}::h880e31c829a2eb5d [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x64d434602f7e - as core::ops::function::Fn>::call::h5e1b8c652ea49180 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x64d434602f7e - std::panicking::panic_with_hook::hba00e869ada17676 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x64d434602c9a - std::panicking::panic_handler::{{closure}}::h3d21149c258e5ceb [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x64d4345fcd89 - std::sys::backtrace::__rust_end_short_backtrace::h4f5d9b9dfb3e6ec1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x64d4345e34ad - __rustc[9a7a9f9af7564de1]::rust_begin_unwind [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x64d434643df0 - core::panicking::panic_fmt::h78e817a90331d98b [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x64d434642b06 - core::result::unwrap_failed::h3ce108722ad88f1e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:1852:5 [INFO] [stdout] 20: 0x64d433b4d66c - core::result::Result::unwrap::haafd36386984d778 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:1223:23 [INFO] [stdout] 21: 0x64d433b4d66c - wgsl_bindgen::test::create_shader_module_embed_source::h87fa623c8645dc7e [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:513:5 [INFO] [stdout] 22: 0x64d433b4d777 - wgsl_bindgen::test::create_shader_module_embed_source::{{closure}}::h3be6217202b201c1 [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:496:41 [INFO] [stdout] 23: 0x64d433b71706 - core::ops::function::FnOnce::call_once::h6d5448f41ce340e9 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 24: 0x64d433d3b52b - core::ops::function::FnOnce::call_once::h7f4b4fba903e39d5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x64d433d3b52b - test::__rust_begin_short_backtrace::h9277cb6a2ccfc000 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x64d433d50fd5 - test::run_test_in_process::{{closure}}::h9aea5ca90d1f4423 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x64d433d50fd5 - as core::ops::function::FnOnce<()>>::call_once::h364f5fe6cc8afa85 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x64d433d50fd5 - std::panicking::catch_unwind::do_call::h2b2bec3317fe53ec [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x64d433d50fd5 - std::panicking::catch_unwind::hc3763734156da4af [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x64d433d50fd5 - std::panic::catch_unwind::h28038391e867eabc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x64d433d50fd5 - test::run_test_in_process::had0273166695a036 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x64d433d50fd5 - test::run_test::{{closure}}::h743d09d4bb476605 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x64d433d279f4 - test::run_test::{{closure}}::he950b8f9118d37e2 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x64d433d279f4 - std::sys::backtrace::__rust_begin_short_backtrace::hbfaffa6539f6abb7 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x64d433d2b2da - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hcce3c2c65b9c3b20 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x64d433d2b2da - as core::ops::function::FnOnce<()>>::call_once::hb66b30b6d37985a5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x64d433d2b2da - std::panicking::catch_unwind::do_call::h992bbe2c32dc1d79 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x64d433d2b2da - std::panicking::catch_unwind::h412991d5237de610 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x64d433d2b2da - std::panic::catch_unwind::ha82b139b3eb5840a [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x64d433d2b2da - std::thread::Builder::spawn_unchecked_::{{closure}}::ha823b36f5114938e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x64d433d2b2da - core::ops::function::FnOnce::call_once{{vtable.shim}}::hf120e7b1db22ac07 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 42: 0x64d4345f6cdf - as core::ops::function::FnOnce>::call_once::h3e049222c99298ac [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 43: 0x64d4345f6cdf - std::sys::pal::unix::thread::Thread::new::thread_start::h942e336943ad5963 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 44: 0x7220e1521aa4 - [INFO] [stdout] 45: 0x7220e15aea34 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] generate::bind_group::tests::bind_groups_module_acceleration_structure [INFO] [stdout] generate::bind_group::tests::bind_groups_module_array_bindings [INFO] [stdout] generate::bind_group::tests::bind_groups_module_compute [INFO] [stdout] generate::bind_group::tests::bind_groups_module_fragment [INFO] [stdout] generate::bind_group::tests::bind_groups_module_vertex [INFO] [stdout] generate::bind_group::tests::bind_groups_module_vertex_fragment [INFO] [stdout] generate::consts::tests::write_pipeline_overrideable_constants [INFO] [stdout] generate::entry::test::write_fragment_states_multiple_entries [INFO] [stdout] generate::entry::test::write_fragment_states_single_entry [INFO] [stdout] generate::entry::test::write_vertex_module_single_input_float32 [INFO] [stdout] generate::entry::test::write_vertex_module_single_input_float64 [INFO] [stdout] generate::entry::test::write_vertex_module_single_input_uint32 [INFO] [stdout] generate::entry::test::write_vertex_shader_entry_multiple_buffers [INFO] [stdout] generate::entry::test::write_vertex_shader_entry_no_buffers [INFO] [stdout] generate::entry::test::write_vertex_shader_multiple_entries [INFO] [stdout] generate::shader_module::tests::write_compute_module_multiple_entries [INFO] [stdout] quote_gen::rust_module_builder::tests::test_include_relative_root_but_dont_generate_it [INFO] [stdout] quote_gen::rust_module_builder::tests::test_merge [INFO] [stdout] quote_gen::rust_module_builder::tests::test_module_add_duplicates [INFO] [stdout] quote_gen::rust_module_builder::tests::test_module_generation_works [INFO] [stdout] quote_gen::rust_module_builder::tests::test_relative_root_feature [INFO] [stdout] structs::tests::test_struct_visibility [INFO] [stdout] structs::tests::write_all_structs_bytemuck_input_layout_validation [INFO] [stdout] structs::tests::write_all_structs_bytemuck_skip_input_layout_validation [INFO] [stdout] structs::tests::write_all_structs_encase [INFO] [stdout] structs::tests::write_all_structs_glam [INFO] [stdout] structs::tests::write_all_structs_nalgebra [INFO] [stdout] structs::tests::write_all_structs_rust [INFO] [stdout] structs::tests::write_all_structs_serde_encase [INFO] [stdout] structs::tests::write_all_structs_skip_stage_outputs [INFO] [stdout] structs::tests::write_atomic_types [INFO] [stdout] structs::tests::write_nonpower_of_2_mats [INFO] [stdout] structs::tests::write_nonpower_of_2_mats_for_bytemuck_glam_option [INFO] [stdout] structs::tests::write_nonpower_of_2_mats_for_bytemuck_option [INFO] [stdout] structs::tests::write_runtime_sized_array [INFO] [stdout] structs::tests::write_runtime_sized_array_bytemuck [INFO] [stdout] structs::tests::write_shorter_constructor [INFO] [stdout] test::create_shader_module_embed_source [INFO] [stdout] [INFO] [stdout] test result: FAILED. 40 passed; 38 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.28s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5ca2b2a4998d13fdb7dc7eb870ee662a29ad0a96f9798e4c3387e115d8cbea38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ca2b2a4998d13fdb7dc7eb870ee662a29ad0a96f9798e4c3387e115d8cbea38", kill_on_drop: false }` [INFO] [stdout] 5ca2b2a4998d13fdb7dc7eb870ee662a29ad0a96f9798e4c3387e115d8cbea38