[INFO] fetching crate wgsl_bindgen 0.21.1... [INFO] testing wgsl_bindgen-0.21.1 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate wgsl_bindgen 0.21.1 into /workspace/builds/worker-4-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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate wgsl_bindgen 0.21.1 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pathdiff v0.2.3 [INFO] [stderr] Downloaded wgpu-types v25.0.0 [INFO] [stderr] Downloaded matrixmultiply v0.3.10 [INFO] [stderr] Downloaded derive_builder v0.20.2 [INFO] [stderr] Downloaded enum-ordinalize-derive v4.3.1 [INFO] [stderr] Downloaded enumflags2_derive v0.7.12 [INFO] [stderr] Downloaded insta v1.43.1 [INFO] [stderr] Downloaded smol_str v0.3.2 [INFO] [stderr] Downloaded is_ci v1.2.0 [INFO] [stderr] Downloaded bit-vec v0.8.0 [INFO] [stderr] Downloaded derive_builder_macro v0.20.2 [INFO] [stderr] Downloaded supports-unicode v3.0.0 [INFO] [stderr] Downloaded codespan-reporting v0.12.0 [INFO] [stderr] Downloaded case v1.0.0 [INFO] [stderr] Downloaded enum-ordinalize v4.3.0 [INFO] [stderr] Downloaded owo-colors v4.2.2 [INFO] [stderr] Downloaded nalgebra-macros v0.2.2 [INFO] [stderr] Downloaded convert_case v0.7.1 [INFO] [stderr] Downloaded pp-rs v0.2.1 [INFO] [stderr] Downloaded educe v0.6.0 [INFO] [stderr] Downloaded naga_oil v0.18.0 [INFO] [stderr] Downloaded supports-color v3.0.2 [INFO] [stderr] Downloaded naga v25.0.1 [INFO] [stderr] Downloaded simba v0.9.0 [INFO] [stderr] Downloaded enumflags2 v0.7.12 [INFO] [stderr] Downloaded unicode-linebreak v0.1.5 [INFO] [stderr] Downloaded rawpointer v0.2.1 [INFO] [stderr] Downloaded stdext v0.3.3 [INFO] [stderr] Downloaded backtrace-ext v0.2.1 [INFO] [stderr] Downloaded derive_builder_core v0.20.2 [INFO] [stderr] Downloaded approx v0.5.1 [INFO] [stderr] Downloaded prettyplease v0.2.36 [INFO] [stderr] Downloaded cc v1.2.32 [INFO] [stderr] Downloaded wide v0.7.33 [INFO] [stderr] Downloaded glam v0.30.5 [INFO] [stderr] Downloaded hexf-parse v0.2.1 [INFO] [stderr] Downloaded safe_arch v0.7.4 [INFO] [stderr] Downloaded bit-set v0.8.0 [INFO] [stderr] Downloaded colored v3.0.0 [INFO] [stderr] Downloaded terminal_size v0.4.2 [INFO] [stderr] Downloaded nalgebra v0.33.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e576c8358d2d46fab8239f07007b1b7c34d0dde9755a133e016dca78b26e54a4 [INFO] running `Command { std: "docker" "start" "-a" "e576c8358d2d46fab8239f07007b1b7c34d0dde9755a133e016dca78b26e54a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e576c8358d2d46fab8239f07007b1b7c34d0dde9755a133e016dca78b26e54a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e576c8358d2d46fab8239f07007b1b7c34d0dde9755a133e016dca78b26e54a4", kill_on_drop: false }` [INFO] [stdout] e576c8358d2d46fab8239f07007b1b7c34d0dde9755a133e016dca78b26e54a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 114607cd66b254b6fd1a1c0d407ce04c419a7933dfe628e7617e3333dc5162b7 [INFO] running `Command { std: "docker" "start" "-a" "114607cd66b254b6fd1a1c0d407ce04c419a7933dfe628e7617e3333dc5162b7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling naga v25.0.1 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling codespan-reporting v0.12.0 [INFO] [stderr] Compiling pp-rs v0.2.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling convert_case v0.7.1 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling hexf-parse v0.2.1 [INFO] [stderr] Compiling prettyplease v0.2.36 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling colored v3.0.0 [INFO] [stderr] Compiling glam v0.30.5 [INFO] [stderr] Compiling strum v0.27.2 [INFO] [stderr] Compiling smol_str v0.3.2 [INFO] [stderr] Compiling case v1.0.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling bytemuck_derive v1.10.1 [INFO] [stderr] Compiling enum-ordinalize-derive v4.3.1 [INFO] [stderr] Compiling miette-derive v7.6.0 [INFO] [stderr] Compiling enum-ordinalize v4.3.0 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling enumflags2_derive v0.7.12 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling miette v7.6.0 [INFO] [stderr] Compiling educe v0.6.0 [INFO] [stderr] Compiling wgpu-types v25.0.0 [INFO] [stderr] Compiling enumflags2 v0.7.12 [INFO] [stderr] Compiling strum_macros v0.27.2 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Compiling derive_builder v0.20.2 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling naga_oil v0.18.0 [INFO] [stderr] Compiling wgsl_bindgen v0.21.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 35s [INFO] running `Command { std: "docker" "inspect" "114607cd66b254b6fd1a1c0d407ce04c419a7933dfe628e7617e3333dc5162b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "114607cd66b254b6fd1a1c0d407ce04c419a7933dfe628e7617e3333dc5162b7", kill_on_drop: false }` [INFO] [stdout] 114607cd66b254b6fd1a1c0d407ce04c419a7933dfe628e7617e3333dc5162b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2b94d0351f624f41f29305993559de42b938104f8a574bea9f905c33fb69ee7d [INFO] running `Command { std: "docker" "start" "-a" "2b94d0351f624f41f29305993559de42b938104f8a574bea9f905c33fb69ee7d", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling owo-colors v4.2.2 [INFO] [stderr] Compiling is_ci v1.2.0 [INFO] [stderr] Compiling textwrap v0.16.2 [INFO] [stderr] Compiling supports-color v3.0.2 [INFO] [stderr] Compiling supports-hyperlinks v3.1.0 [INFO] [stderr] Compiling supports-unicode v3.0.0 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Compiling stdext v0.3.3 [INFO] [stderr] Compiling insta v1.43.1 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling naga v25.0.1 [INFO] [stderr] Compiling wgpu-types v25.0.0 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling terminal_size v0.4.2 [INFO] [stderr] Compiling backtrace-ext v0.2.1 [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 1m 10s [INFO] running `Command { std: "docker" "inspect" "2b94d0351f624f41f29305993559de42b938104f8a574bea9f905c33fb69ee7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b94d0351f624f41f29305993559de42b938104f8a574bea9f905c33fb69ee7d", kill_on_drop: false }` [INFO] [stdout] 2b94d0351f624f41f29305993559de42b938104f8a574bea9f905c33fb69ee7d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] eeb12a95aba45bb2323f409b4afdb5edaf7b41807163135548021da508007c0f [INFO] running `Command { std: "docker" "start" "-a" "eeb12a95aba45bb2323f409b4afdb5edaf7b41807163135548021da508007c0f", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [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_return_valid_pbr_paths_back_to_current_dir ... ok [INFO] [stdout] test bevy_util::module_path_resolver::tests::should_generate_import_paths_with_correct_extensions ... ok [INFO] [stdout] test bevy_util::name_demangle::tests::test_make_valid_rust_import ... ok [INFO] [stdout] test bevy_util::module_path_resolver::tests::should_generate_single_import_path_when_module_prefix_match ... ok [INFO] [stdout] test bevy_util::module_path_resolver::tests::should_return_valid_pbr_paths_from_repeated_part ... ok [INFO] [stdout] test bevy_util::module_path_resolver::tests::should_return_smallvec_when_import_module ... ok [INFO] [stdout] test bevy_util::parse_imports::tests::test_parsing_from_contents ... ok [INFO] [stdout] test bevy_util::parse_imports::tests::test_parsing_imports_from_bevy_mesh_view_bindings ... ok [INFO] [stdout] test bevy_util::module_path_resolver::tests::should_generate_single_import_path ... ok [INFO] [stdout] test bevy_util::source_file::tests::test_parsing_imports_from_bevy_mesh_view_bindings ... ok [INFO] [stdout] test generate::bind_group::tests::bind_group_data_first_group_not_zero ... ok [INFO] [stdout] test generate::bind_group::tests::bind_group_data_consecutive_bind_groups ... ok [INFO] [stdout] test generate::bind_group::tests::bind_group_data_non_consecutive_bind_groups ... ok [INFO] [stdout] test bevy_util::module_path_resolver::tests::should_panic_when_import_module_is_empty - should panic ... ok [INFO] [stdout] test bevy_util::module_path_resolver::tests::should_return_empty_smallvec_when_import_module_has_only_module_prefix - should panic ... ok [INFO] [stdout] test bevy_util::name_demangle::tests::test_demangle_mod_names ... ok [INFO] [stdout] test generate::bind_group::tests::bind_groups_module_acceleration_structure ... FAILED [INFO] [stdout] test generate::bind_group::tests::bind_groups_module_array_bindings ... FAILED [INFO] [stdout] test generate::bind_group::tests::bind_groups_module_fragment ... FAILED [INFO] [stdout] test generate::consts::tests::write_global_constants ... ok [INFO] [stdout] test generate::bind_group::tests::bind_groups_module_compute ... FAILED [INFO] [stdout] test generate::bind_group::tests::bind_groups_module_vertex ... FAILED [INFO] [stdout] test generate::bind_group::tests::bind_groups_module_vertex_fragment ... FAILED [INFO] [stdout] test generate::consts::tests::write_pipeline_overrideable_constants ... FAILED [INFO] [stdout] test generate::consts::tests::write_pipeline_overrideable_constants_empty ... ok [INFO] [stdout] test generate::entry::test::write_vertex_module_empty ... ok [INFO] [stdout] test generate::entry::test::write_fragment_states_single_entry ... FAILED [INFO] [stdout] test generate::entry::test::write_entry_constants ... ok [INFO] [stdout] test generate::entry::test::write_fragment_states_multiple_entries ... FAILED [INFO] [stdout] test generate::shader_module::tests::test_create_canonical_variable_name ... ok [INFO] [stdout] test generate::entry::test::write_vertex_module_single_input_uint32 ... FAILED [INFO] [stdout] test generate::entry::test::write_vertex_module_single_input_float32 ... FAILED [INFO] [stdout] test generate::entry::test::write_vertex_module_single_input_float64 ... FAILED [INFO] [stdout] test generate::entry::test::write_vertex_shader_entry_multiple_buffers ... FAILED [INFO] [stdout] test generate::entry::test::write_vertex_shader_entry_no_buffers ... FAILED [INFO] [stdout] test generate::entry::test::write_vertex_shader_multiple_entries ... FAILED [INFO] [stdout] test generate::shader_module::tests::write_compute_module_empty ... ok [INFO] [stdout] test generate::shader_module::tests::write_compute_module_multiple_entries ... FAILED [INFO] [stdout] test generate::entry::test::write_vertex_states_no_entries ... ok [INFO] [stdout] test quote_gen::tests::should_not_fully_qualify_non_mangled_string ... ok [INFO] [stdout] test quote_gen::token_utils::tests::test_generate_derive_attributes ... ok [INFO] [stdout] test quote_gen::token_utils::tests::test_generate_struct_definition ... ok [INFO] [stdout] test quote_gen::rust_module_builder::tests::test_merge ... FAILED [INFO] [stdout] test quote_gen::tests::should_fully_qualify_mangled_string ... ok [INFO] [stdout] test quote_gen::rust_module_builder::tests::test_module_add_duplicates ... FAILED [INFO] [stdout] test quote_gen::rust_module_builder::tests::test_include_relative_root_but_dont_generate_it ... FAILED [INFO] [stdout] test quote_gen::rust_module_builder::tests::test_module_generation_works ... FAILED [INFO] [stdout] test quote_gen::rust_module_builder::tests::test_relative_root_feature ... FAILED [INFO] [stdout] test structs::tests::test_struct_visibility ... FAILED [INFO] [stdout] test structs::tests::write_all_structs_bytemuck_skip_input_layout_validation ... FAILED [INFO] [stdout] test structs::tests::write_all_structs_bytemuck_input_layout_validation ... FAILED [INFO] [stdout] test structs::tests::write_all_structs_encase ... FAILED [INFO] [stdout] test quote_gen::rust_module_builder::tests::test_module_add_duplicates_different_contents ... ok [INFO] [stdout] test structs::tests::write_all_structs_glam ... FAILED [INFO] [stdout] test structs::tests::write_all_structs_rust ... FAILED [INFO] [stdout] test structs::tests::write_all_structs_serde_encase ... FAILED [INFO] [stdout] test structs::tests::write_nonpower_of_2_mats ... FAILED [INFO] [stdout] test structs::tests::write_runtime_sized_array_not_last_field - should panic ... ok [INFO] [stdout] test structs::tests::write_nonpower_of_2_mats_for_bytemuck_glam_option ... FAILED [INFO] [stdout] test structs::tests::write_all_structs_nalgebra ... FAILED [INFO] [stdout] test structs::tests::write_nonpower_of_2_mats_for_bytemuck_option ... FAILED [INFO] [stdout] test test::create_shader_module_non_consecutive_bind_groups ... ok [INFO] [stdout] test test::create_shader_module_repeated_bindings ... ok [INFO] [stdout] test test::test_sanitize_and_pascal_case ... ok [INFO] [stdout] test wgsl::tests::shader_stages_all ... ok [INFO] [stdout] test wgsl::tests::shader_stages_compute ... ok [INFO] [stdout] test wgsl::tests::shader_stages_fragment ... ok [INFO] [stdout] test wgsl::tests::shader_stages_none ... ok [INFO] [stdout] test wgsl::tests::shader_stages_vertex ... ok [INFO] [stdout] test wgsl::tests::shader_stages_vertex_fragment ... ok [INFO] [stdout] test wgsl::tests::vertex_input_structs_two_structs ... ok [INFO] [stdout] test structs::tests::write_atomic_types ... FAILED [INFO] [stdout] test structs::tests::write_runtime_sized_array_bytemuck ... FAILED [INFO] [stdout] test structs::tests::write_all_structs_skip_stage_outputs ... FAILED [INFO] [stdout] test structs::tests::write_runtime_sized_array ... FAILED [INFO] [stdout] test test::create_shader_module_consecutive_bind_groups ... ok [INFO] [stdout] test structs::tests::write_shorter_constructor ... FAILED [INFO] [stdout] test test::create_shader_module_embed_source ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- generate::bind_group::tests::bind_groups_module_acceleration_structure stdout ---- [INFO] [stdout] Warning: rustfmt formatting failed (rustfmt failed: error: 'rustfmt' is not installed for the custom toolchain 'caccb4d0368bd918ef6668af8e13834d07040417'. [INFO] [stdout] note: this is a custom toolchain, which cannot use `rustup component add` [INFO] [stdout] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py` [INFO] [stdout] ), falling back to prettyplease [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/generate/bind_group/snapshots/bind_groups_module_acceleration_structure.snap [INFO] [stdout] Snapshot: bind_groups_module_acceleration_structure [INFO] [stdout] Source: src/generate/bind_group/mod.rs:568 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 0 │ #[derive(Debug)] [INFO] [stdout] 1 1 │ pub struct WgpuBindGroup0EntriesParams<'a> { [INFO] [stdout] 2 │- pub transforms: wgpu::BufferBinding<'a>, [INFO] [stdout] 3 │- pub acc_struct: &'a wgpu::Tlas, [INFO] [stdout] 2 │+ pub transforms: wgpu::BufferBinding<'a>, [INFO] [stdout] 3 │+ pub acc_struct: &'a wgpu::Tlas, [INFO] [stdout] 4 4 │ } [INFO] [stdout] 5 5 │ #[derive(Clone, Debug)] [INFO] [stdout] 6 6 │ pub struct WgpuBindGroup0Entries<'a> { [INFO] [stdout] 7 │- pub transforms: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 8 │- pub acc_struct: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 7 │+ pub transforms: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 8 │+ pub acc_struct: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 9 9 │ } [INFO] [stdout] 10 10 │ impl<'a> WgpuBindGroup0Entries<'a> { [INFO] [stdout] 11 │- pub fn new(params: WgpuBindGroup0EntriesParams<'a>) -> Self { [INFO] [stdout] 12 │- Self { [INFO] [stdout] 13 │- transforms: wgpu::BindGroupEntry { [INFO] [stdout] 14 │- binding: 0, [INFO] [stdout] 15 │- resource: wgpu::BindingResource::Buffer(params.transforms), [INFO] [stdout] 16 │- }, [INFO] [stdout] 17 │- acc_struct: wgpu::BindGroupEntry { [INFO] [stdout] 18 │- binding: 1, [INFO] [stdout] 19 │- resource: wgpu::BindingResource::AccelerationStructure(params.acc_struct), [INFO] [stdout] 20 │- }, [INFO] [stdout] 11 │+ pub fn new(params: WgpuBindGroup0EntriesParams<'a>) -> Self { [INFO] [stdout] 12 │+ Self { [INFO] [stdout] 13 │+ transforms: wgpu::BindGroupEntry { [INFO] [stdout] 14 │+ binding: 0, [INFO] [stdout] 15 │+ resource: wgpu::BindingResource::Buffer(params.transforms), [INFO] [stdout] 16 │+ }, [INFO] [stdout] 17 │+ acc_struct: wgpu::BindGroupEntry { [INFO] [stdout] 18 │+ binding: 1, [INFO] [stdout] 19 │+ resource: wgpu::BindingResource::AccelerationStructure(params.acc_struct), [INFO] [stdout] 20 │+ }, [INFO] [stdout] 21 │+ } [INFO] [stdout] 22 │+ } [INFO] [stdout] 23 │+ pub fn into_array(self) -> [wgpu::BindGroupEntry<'a>; 2] { [INFO] [stdout] 24 │+ [self.transforms, self.acc_struct] [INFO] [stdout] 25 │+ } [INFO] [stdout] 26 │+ pub fn collect>>(self) -> B { [INFO] [stdout] 27 │+ self.into_array().into_iter().collect() [INFO] [stdout] 21 28 │ } [INFO] [stdout] 22 │- } [INFO] [stdout] 23 │- pub fn into_array(self) -> [wgpu::BindGroupEntry<'a>; 2] { [INFO] [stdout] 24 │- [self.transforms, self.acc_struct] [INFO] [stdout] 25 │- } [INFO] [stdout] 26 │- pub fn collect>>(self) -> B { [INFO] [stdout] 27 │- self.into_array().into_iter().collect() [INFO] [stdout] 28 │- } [INFO] [stdout] 29 29 │ } [INFO] [stdout] 30 30 │ #[derive(Debug)] [INFO] [stdout] 31 31 │ pub struct WgpuBindGroup0(wgpu::BindGroup); [INFO] [stdout] 32 32 │ impl WgpuBindGroup0 { [INFO] [stdout] 33 │- pub const LAYOUT_DESCRIPTOR: wgpu::BindGroupLayoutDescriptor<'static> = [INFO] [stdout] 34 │- wgpu::BindGroupLayoutDescriptor { [INFO] [stdout] 35 │- label: Some("Test::BindGroup0::LayoutDescriptor"), [INFO] [stdout] 36 │- entries: &[ [INFO] [stdout] 37 │- #[doc = " @binding(0): \"transforms\""] [INFO] [stdout] 38 │- wgpu::BindGroupLayoutEntry { [INFO] [stdout] 39 │- binding: 0, [INFO] [stdout] 40 │- visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 41 │- ty: wgpu::BindingType::Buffer { [INFO] [stdout] 42 │- ty: wgpu::BufferBindingType::Uniform, [INFO] [stdout] 43 │- has_dynamic_offset: false, [INFO] [stdout] 44 │- min_binding_size: std::num::NonZeroU64::new(std::mem::size_of::< [INFO] [stdout] 45 │- _root::test::Transforms, [INFO] [stdout] 46 │- >() as _), [INFO] [stdout] 47 │- }, [INFO] [stdout] 48 │- count: None, [INFO] [stdout] 49 │- }, [INFO] [stdout] 50 │- #[doc = " @binding(1): \"acc_struct\""] [INFO] [stdout] 51 │- wgpu::BindGroupLayoutEntry { [INFO] [stdout] 52 │- binding: 1, [INFO] [stdout] 53 │- visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 54 │- ty: wgpu::BindingType::AccelerationStructure { [INFO] [stdout] 55 │- vertex_return: false, [INFO] [stdout] 56 │- }, [INFO] [stdout] 57 │- count: None, [INFO] [stdout] 58 │- }, [INFO] [stdout] 59 │- ], [INFO] [stdout] 33 │+ pub const LAYOUT_DESCRIPTOR: wgpu::BindGroupLayoutDescriptor<'static> = wgpu::BindGroupLayoutDescriptor { [INFO] [stdout] 34 │+ label: Some("Test::BindGroup0::LayoutDescriptor"), [INFO] [stdout] 35 │+ entries: &[ [INFO] [stdout] 36 │+ /// @binding(0): "transforms" [INFO] [stdout] 37 │+ wgpu::BindGroupLayoutEntry { [INFO] [stdout] 38 │+ binding: 0, [INFO] [stdout] 39 │+ visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 40 │+ ty: wgpu::BindingType::Buffer { [INFO] [stdout] 41 │+ ty: wgpu::BufferBindingType::Uniform, [INFO] [stdout] 42 │+ has_dynamic_offset: false, [INFO] [stdout] 43 │+ min_binding_size: std::num::NonZeroU64::new( [INFO] [stdout] 44 │+ std::mem::size_of::<_root::test::Transforms>() as _, [INFO] [stdout] 45 │+ ), [INFO] [stdout] 46 │+ }, [INFO] [stdout] 47 │+ count: None, [INFO] [stdout] 48 │+ }, [INFO] [stdout] 49 │+ /// @binding(1): "acc_struct" [INFO] [stdout] 50 │+ wgpu::BindGroupLayoutEntry { [INFO] [stdout] 51 │+ binding: 1, [INFO] [stdout] 52 │+ visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 53 │+ ty: wgpu::BindingType::AccelerationStructure { [INFO] [stdout] 54 │+ vertex_return: false, [INFO] [stdout] 55 │+ }, [INFO] [stdout] 56 │+ count: None, [INFO] [stdout] 57 │+ }, [INFO] [stdout] 58 │+ ], [INFO] [stdout] 60 59 │ }; [INFO] [stdout] 61 │- pub fn get_bind_group_layout(device: &wgpu::Device) -> wgpu::BindGroupLayout { [INFO] [stdout] 62 │- device.create_bind_group_layout(&Self::LAYOUT_DESCRIPTOR) [INFO] [stdout] 63 │- } [INFO] [stdout] 64 │- pub fn from_bindings(device: &wgpu::Device, bindings: WgpuBindGroup0Entries) -> Self { [INFO] [stdout] 65 │- let bind_group_layout = Self::get_bind_group_layout(device); [INFO] [stdout] 66 │- let entries = bindings.into_array(); [INFO] [stdout] 67 │- let bind_group = device.create_bind_group(&wgpu::BindGroupDescriptor { [INFO] [stdout] 68 │- label: Some("Test::BindGroup0"), [INFO] [stdout] 69 │- layout: &bind_group_layout, [INFO] [stdout] 70 │- entries: &entries, [INFO] [stdout] 71 │- }); [INFO] [stdout] 72 │- Self(bind_group) [INFO] [stdout] 73 │- } [INFO] [stdout] 74 │- pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 75 │- pass.set_bind_group(0, &self.0, &[]); [INFO] [stdout] 76 │- } [INFO] [stdout] 60 │+ pub fn get_bind_group_layout(device: &wgpu::Device) -> wgpu::BindGroupLayout { [INFO] [stdout] 61 │+ device.create_bind_group_layout(&Self::LAYOUT_DESCRIPTOR) [INFO] [stdout] 62 │+ } [INFO] [stdout] 63 │+ pub fn from_bindings( [INFO] [stdout] 64 │+ device: &wgpu::Device, [INFO] [stdout] 65 │+ bindings: WgpuBindGroup0Entries, [INFO] [stdout] 66 │+ ) -> Self { [INFO] [stdout] 67 │+ let bind_group_layout = Self::get_bind_group_layout(device); [INFO] [stdout] 68 │+ let entries = bindings.into_array(); [INFO] [stdout] 69 │+ let bind_group = device [INFO] [stdout] 70 │+ .create_bind_group( [INFO] [stdout] 71 │+ &wgpu::BindGroupDescriptor { [INFO] [stdout] 72 │+ label: Some("Test::BindGroup0"), [INFO] [stdout] 73 │+ layout: &bind_group_layout, [INFO] [stdout] 74 │+ entries: &entries, [INFO] [stdout] 75 │+ }, [INFO] [stdout] 76 │+ ); [INFO] [stdout] 77 │+ Self(bind_group) [INFO] [stdout] 78 │+ } [INFO] [stdout] 79 │+ pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 80 │+ pass.set_bind_group(0, &self.0, &[]); [INFO] [stdout] 81 │+ } [INFO] [stdout] 77 82 │ } [INFO] [stdout] 78 │-#[doc = " Bind groups can be set individually using their set(render_pass) method, or all at once using `WgpuBindGroups::set`."] [INFO] [stdout] 79 │-#[doc = " For optimal performance with many draw calls, it's recommended to organize bindings into bind groups based on update frequency:"] [INFO] [stdout] 80 │-#[doc = " - Bind group 0: Least frequent updates (e.g. per frame resources)"] [INFO] [stdout] 81 │-#[doc = " - Bind group 1: More frequent updates"] [INFO] [stdout] 82 │-#[doc = " - Bind group 2: More frequent updates"] [INFO] [stdout] 83 │-#[doc = " - Bind group 3: Most frequent updates (e.g. per draw resources)"] [INFO] [stdout] 83 │+/// Bind groups can be set individually using their set(render_pass) method, or all at once using `WgpuBindGroups::set`. [INFO] [stdout] 84 │+/// For optimal performance with many draw calls, it's recommended to organize bindings into bind groups based on update frequency: [INFO] [stdout] 85 │+/// - Bind group 0: Least frequent updates (e.g. per frame resources) [INFO] [stdout] 86 │+/// - Bind group 1: More frequent updates [INFO] [stdout] 87 │+/// - Bind group 2: More frequent updates [INFO] [stdout] 88 │+/// - Bind group 3: Most frequent updates (e.g. per draw resources) [INFO] [stdout] 84 89 │ #[derive(Debug, Copy, Clone)] [INFO] [stdout] 85 90 │ pub struct WgpuBindGroups<'a> { [INFO] [stdout] 86 │- pub bind_group0: &'a WgpuBindGroup0, [INFO] [stdout] 91 │+ pub bind_group0: &'a WgpuBindGroup0, [INFO] [stdout] 87 92 │ } [INFO] [stdout] 88 93 │ impl<'a> WgpuBindGroups<'a> { [INFO] [stdout] 89 │- pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 90 │- self.bind_group0.set(pass); [INFO] [stdout] 91 │- } [INFO] [stdout] 94 │+ pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 95 │+ self.bind_group0.set(pass); [INFO] [stdout] 96 │+ } [INFO] [stdout] 92 97 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'generate::bind_group::tests::bind_groups_module_acceleration_structure' (33) panicked at src/generate/bind_group/mod.rs:568:5: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: FileIo(Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }, "/opt/rustwide/workdir/src/generate/bind_group/snapshots/bind_groups_module_acceleration_structure.snap.new") [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x6358a5b6a592 - std::backtrace_rs::backtrace::libunwind::trace::h76861be37b31432e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x6358a5b6a592 - std::backtrace_rs::backtrace::trace_unsynchronized::h58d4003082192c17 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x6358a5b6a592 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x6358a5b6a592 - ::fmt::h52160e9da139e442 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x6358a5b7e81f - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x6358a5b7e81f - core::fmt::write::hf09a056a304e021a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x6358a5b35311 - std::io::default_write_fmt::hf1a3645468226e09 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x6358a5b35311 - std::io::Write::write_fmt::ha5ada6d6a18bde33 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x6358a5b41ed2 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x6358a5b47c0f - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x6358a5b47aa1 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x6358a528ec2e - as core::ops::function::Fn>::call::h3d020961abd83a77 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x6358a528ec2e - test::test_main_with_exit_callback::{{closure}}::h720dd2fdb2ddcdca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x6358a5b4837f - as core::ops::function::Fn>::call::h75334a5fed245bca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x6358a5b4837f - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x6358a5b4812a - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x6358a5b42009 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x6358a5b2854d - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x6358a5b89900 - core::panicking::panic_fmt::heb245a301f4395db [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x6358a5b885e6 - core::result::unwrap_failed::h91bd1e1731f928fc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x6358a5006c93 - core::result::Result::unwrap::h81966e9c37ad6a20 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x6358a5006c93 - wgsl_bindgen::generate::bind_group::tests::bind_groups_module_acceleration_structure::{{closure}}::h2759f31f5e894bcf [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x6358a50e9ccf - insta::settings::Settings::bind::hc6d1fee9a75dadef [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: 0x6358a50067c5 - wgsl_bindgen::generate::bind_group::tests::bind_groups_module_acceleration_structure::he643c09efe5c57cd [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x6358a5006d87 - wgsl_bindgen::generate::bind_group::tests::bind_groups_module_acceleration_structure::{{closure}}::he1d848699f27aaa8 [INFO] [stdout] at /opt/rustwide/workdir/src/generate/bind_group/mod.rs:536:49 [INFO] [stdout] 25: 0x6358a5097706 - core::ops::function::FnOnce::call_once::h328bd8469a3ca20f [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x6358a528ea5b - core::ops::function::FnOnce::call_once::h933a5d67211adff2 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x6358a528ea5b - test::__rust_begin_short_backtrace::h2157af19b0990ffb [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x6358a52a4635 - test::run_test_in_process::{{closure}}::hc3b17e0f313c900a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x6358a52a4635 - as core::ops::function::FnOnce<()>>::call_once::ha23e4b490259273c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x6358a52a4635 - std::panicking::catch_unwind::do_call::h8dc9d5da83792f7a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x6358a52a4635 - std::panicking::catch_unwind::h0d8461330de4a18b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x6358a52a4635 - std::panic::catch_unwind::h0321b51397bf9811 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x6358a52a4635 - test::run_test_in_process::hcaaa440fdbe4a513 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x6358a52a4635 - test::run_test::{{closure}}::h6345da602b85d6c3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x6358a527ae44 - test::run_test::{{closure}}::h90a3b75194d37b5d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x6358a527ae44 - std::sys::backtrace::__rust_begin_short_backtrace::hae41a17001f53ede [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x6358a527e70a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6ea895368381e0b1 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x6358a527e70a - as core::ops::function::FnOnce<()>>::call_once::h9c39013633bb9237 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x6358a527e70a - std::panicking::catch_unwind::do_call::hac7dba9ee4d99108 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x6358a527e70a - std::panicking::catch_unwind::h73015d00e4866ebc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x6358a527e70a - std::panic::catch_unwind::h6f7b38e188aa4f62 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x6358a527e70a - std::thread::Builder::spawn_unchecked_::{{closure}}::h969a6a2dc1856df7 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x6358a527e70a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h269ad1ff23e72122 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x6358a5b3cf5f - as core::ops::function::FnOnce>::call_once::hdd09a470c130e806 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 45: 0x6358a5b3cf5f - std::sys::thread::unix::Thread::new::thread_start::h14ea1ba6e320367c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 46: 0x7b0814b3daa4 - [INFO] [stdout] 47: 0x7b0814bcaa34 - 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 'caccb4d0368bd918ef6668af8e13834d07040417'. [INFO] [stdout] note: this is a custom toolchain, which cannot use `rustup component add` [INFO] [stdout] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py` [INFO] [stdout] ), falling back to prettyplease [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/generate/bind_group/snapshots/bind_groups_module_array_bindings.snap [INFO] [stdout] Snapshot: bind_groups_module_array_bindings [INFO] [stdout] Source: src/generate/bind_group/mod.rs:605 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 0 │ #[derive(Debug)] [INFO] [stdout] 1 1 │ pub struct WgpuBindGroup0EntriesParams<'a> { [INFO] [stdout] 2 │- pub transforms: wgpu::BufferBinding<'a>, [INFO] [stdout] 3 │- pub texture_array: &'a [&'a wgpu::TextureView], [INFO] [stdout] 4 │- pub sampler_array: &'a [&'a wgpu::Sampler], [INFO] [stdout] 2 │+ pub transforms: wgpu::BufferBinding<'a>, [INFO] [stdout] 3 │+ pub texture_array: &'a [&'a wgpu::TextureView], [INFO] [stdout] 4 │+ pub sampler_array: &'a [&'a wgpu::Sampler], [INFO] [stdout] 5 5 │ } [INFO] [stdout] 6 6 │ #[derive(Clone, Debug)] [INFO] [stdout] 7 7 │ pub struct WgpuBindGroup0Entries<'a> { [INFO] [stdout] 8 │- pub transforms: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 9 │- pub texture_array: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 10 │- pub sampler_array: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 8 │+ pub transforms: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 9 │+ pub texture_array: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 10 │+ pub sampler_array: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 11 11 │ } [INFO] [stdout] 12 12 │ impl<'a> WgpuBindGroup0Entries<'a> { [INFO] [stdout] 13 │- pub fn new(params: WgpuBindGroup0EntriesParams<'a>) -> Self { [INFO] [stdout] 14 │- Self { [INFO] [stdout] 15 │- transforms: wgpu::BindGroupEntry { [INFO] [stdout] 16 │- binding: 0, [INFO] [stdout] 17 │- resource: wgpu::BindingResource::Buffer(params.transforms), [INFO] [stdout] 18 │- }, [INFO] [stdout] 19 │- texture_array: wgpu::BindGroupEntry { [INFO] [stdout] 20 │- binding: 1, [INFO] [stdout] 21 │- resource: wgpu::BindingResource::TextureViewArray(params.texture_array), [INFO] [stdout] 22 │- }, [INFO] [stdout] 23 │- sampler_array: wgpu::BindGroupEntry { [INFO] [stdout] 24 │- binding: 2, [INFO] [stdout] 25 │- resource: wgpu::BindingResource::SamplerArray(params.sampler_array), [INFO] [stdout] 26 │- }, [INFO] [stdout] 13 │+ pub fn new(params: WgpuBindGroup0EntriesParams<'a>) -> Self { [INFO] [stdout] 14 │+ Self { [INFO] [stdout] 15 │+ transforms: wgpu::BindGroupEntry { [INFO] [stdout] 16 │+ binding: 0, [INFO] [stdout] 17 │+ resource: wgpu::BindingResource::Buffer(params.transforms), [INFO] [stdout] 18 │+ }, [INFO] [stdout] 19 │+ texture_array: wgpu::BindGroupEntry { [INFO] [stdout] 20 │+ binding: 1, [INFO] [stdout] 21 │+ resource: wgpu::BindingResource::TextureViewArray(params.texture_array), [INFO] [stdout] 22 │+ }, [INFO] [stdout] 23 │+ sampler_array: wgpu::BindGroupEntry { [INFO] [stdout] 24 │+ binding: 2, [INFO] [stdout] 25 │+ resource: wgpu::BindingResource::SamplerArray(params.sampler_array), [INFO] [stdout] 26 │+ }, [INFO] [stdout] 27 │+ } [INFO] [stdout] 28 │+ } [INFO] [stdout] 29 │+ pub fn into_array(self) -> [wgpu::BindGroupEntry<'a>; 3] { [INFO] [stdout] 30 │+ [self.transforms, self.texture_array, self.sampler_array] [INFO] [stdout] 31 │+ } [INFO] [stdout] 32 │+ pub fn collect>>(self) -> B { [INFO] [stdout] 33 │+ self.into_array().into_iter().collect() [INFO] [stdout] 27 34 │ } [INFO] [stdout] 28 │- } [INFO] [stdout] 29 │- pub fn into_array(self) -> [wgpu::BindGroupEntry<'a>; 3] { [INFO] [stdout] 30 │- [self.transforms, self.texture_array, self.sampler_array] [INFO] [stdout] 31 │- } [INFO] [stdout] 32 │- pub fn collect>>(self) -> B { [INFO] [stdout] 33 │- self.into_array().into_iter().collect() [INFO] [stdout] 34 │- } [INFO] [stdout] 35 35 │ } [INFO] [stdout] 36 36 │ #[derive(Debug)] [INFO] [stdout] 37 37 │ pub struct WgpuBindGroup0(wgpu::BindGroup); [INFO] [stdout] 38 38 │ impl WgpuBindGroup0 { [INFO] [stdout] 39 │- pub const LAYOUT_DESCRIPTOR: wgpu::BindGroupLayoutDescriptor<'static> = [INFO] [stdout] 40 │- wgpu::BindGroupLayoutDescriptor { [INFO] [stdout] 41 │- label: Some("Test::BindGroup0::LayoutDescriptor"), [INFO] [stdout] 42 │- entries: &[ [INFO] [stdout] 43 │- #[doc = " @binding(0): \"transforms\""] [INFO] [stdout] 44 │- wgpu::BindGroupLayoutEntry { [INFO] [stdout] 45 │- binding: 0, [INFO] [stdout] 46 │- visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 47 │- ty: wgpu::BindingType::Buffer { [INFO] [stdout] 48 │- ty: wgpu::BufferBindingType::Uniform, [INFO] [stdout] 49 │- has_dynamic_offset: false, [INFO] [stdout] 50 │- min_binding_size: std::num::NonZeroU64::new(std::mem::size_of::< [INFO] [stdout] 51 │- _root::test::Transforms, [INFO] [stdout] 52 │- >() as _), [INFO] [stdout] 53 │- }, [INFO] [stdout] 54 │- count: None, [INFO] [stdout] 55 │- }, [INFO] [stdout] 56 │- #[doc = " @binding(1): \"texture_array\""] [INFO] [stdout] 57 │- wgpu::BindGroupLayoutEntry { [INFO] [stdout] 58 │- binding: 1, [INFO] [stdout] 59 │- visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 60 │- ty: wgpu::BindingType::Texture { [INFO] [stdout] 61 │- sample_type: wgpu::TextureSampleType::Float { filterable: true }, [INFO] [stdout] 62 │- view_dimension: wgpu::TextureViewDimension::D2, [INFO] [stdout] 63 │- multisampled: false, [INFO] [stdout] 64 │- }, [INFO] [stdout] 65 │- count: Some(std::num::NonZeroU32::new(4u32).unwrap()), [INFO] [stdout] 66 │- }, [INFO] [stdout] 67 │- #[doc = " @binding(2): \"sampler_array\""] [INFO] [stdout] 68 │- wgpu::BindGroupLayoutEntry { [INFO] [stdout] 69 │- binding: 2, [INFO] [stdout] 70 │- visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 71 │- ty: wgpu::BindingType::Sampler(wgpu::SamplerBindingType::Filtering), [INFO] [stdout] 72 │- count: Some(std::num::NonZeroU32::new(3u32).unwrap()), [INFO] [stdout] 73 │- }, [INFO] [stdout] 74 │- ], [INFO] [stdout] 39 │+ pub const LAYOUT_DESCRIPTOR: wgpu::BindGroupLayoutDescriptor<'static> = wgpu::BindGroupLayoutDescriptor { [INFO] [stdout] 40 │+ label: Some("Test::BindGroup0::LayoutDescriptor"), [INFO] [stdout] 41 │+ entries: &[ [INFO] [stdout] 42 │+ /// @binding(0): "transforms" [INFO] [stdout] 43 │+ wgpu::BindGroupLayoutEntry { [INFO] [stdout] 44 │+ binding: 0, [INFO] [stdout] 45 │+ visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 46 │+ ty: wgpu::BindingType::Buffer { [INFO] [stdout] 47 │+ ty: wgpu::BufferBindingType::Uniform, [INFO] [stdout] 48 │+ has_dynamic_offset: false, [INFO] [stdout] 49 │+ min_binding_size: std::num::NonZeroU64::new( [INFO] [stdout] 50 │+ std::mem::size_of::<_root::test::Transforms>() as _, [INFO] [stdout] 51 │+ ), [INFO] [stdout] 52 │+ }, [INFO] [stdout] 53 │+ count: None, [INFO] [stdout] 54 │+ }, [INFO] [stdout] 55 │+ /// @binding(1): "texture_array" [INFO] [stdout] 56 │+ wgpu::BindGroupLayoutEntry { [INFO] [stdout] 57 │+ binding: 1, [INFO] [stdout] 58 │+ visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 59 │+ ty: wgpu::BindingType::Texture { [INFO] [stdout] 60 │+ sample_type: wgpu::TextureSampleType::Float { [INFO] [stdout] 61 │+ filterable: true, [INFO] [stdout] 62 │+ }, [INFO] [stdout] 63 │+ view_dimension: wgpu::TextureViewDimension::D2, [INFO] [stdout] 64 │+ multisampled: false, [INFO] [stdout] 65 │+ }, [INFO] [stdout] 66 │+ count: Some(std::num::NonZeroU32::new(4u32).unwrap()), [INFO] [stdout] 67 │+ }, [INFO] [stdout] 68 │+ /// @binding(2): "sampler_array" [INFO] [stdout] 69 │+ wgpu::BindGroupLayoutEntry { [INFO] [stdout] 70 │+ binding: 2, [INFO] [stdout] 71 │+ visibility: wgpu::ShaderStages::VERTEX_FRAGMENT, [INFO] [stdout] 72 │+ ty: wgpu::BindingType::Sampler(wgpu::SamplerBindingType::Filtering), [INFO] [stdout] 73 │+ count: Some(std::num::NonZeroU32::new(3u32).unwrap()), [INFO] [stdout] 74 │+ }, [INFO] [stdout] 75 │+ ], [INFO] [stdout] 75 76 │ }; [INFO] [stdout] 76 │- pub fn get_bind_group_layout(device: &wgpu::Device) -> wgpu::BindGroupLayout { [INFO] [stdout] 77 │- device.create_bind_group_layout(&Self::LAYOUT_DESCRIPTOR) [INFO] [stdout] 78 │- } [INFO] [stdout] 79 │- pub fn from_bindings(device: &wgpu::Device, bindings: WgpuBindGroup0Entries) -> Self { [INFO] [stdout] 80 │- let bind_group_layout = Self::get_bind_group_layout(device); [INFO] [stdout] 81 │- let entries = bindings.into_array(); [INFO] [stdout] 82 │- let bind_group = device.create_bind_group(&wgpu::BindGroupDescriptor { [INFO] [stdout] 83 │- label: Some("Test::BindGroup0"), [INFO] [stdout] 84 │- layout: &bind_group_layout, [INFO] [stdout] 85 │- entries: &entries, [INFO] [stdout] 86 │- }); [INFO] [stdout] 87 │- Self(bind_group) [INFO] [stdout] 88 │- } [INFO] [stdout] 89 │- pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 90 │- pass.set_bind_group(0, &self.0, &[]); [INFO] [stdout] 91 │- } [INFO] [stdout] 77 │+ pub fn get_bind_group_layout(device: &wgpu::Device) -> wgpu::BindGroupLayout { [INFO] [stdout] 78 │+ device.create_bind_group_layout(&Self::LAYOUT_DESCRIPTOR) [INFO] [stdout] 79 │+ } [INFO] [stdout] 80 │+ pub fn from_bindings( [INFO] [stdout] 81 │+ device: &wgpu::Device, [INFO] [stdout] 82 │+ bindings: WgpuBindGroup0Entries, [INFO] [stdout] 83 │+ ) -> Self { [INFO] [stdout] 84 │+ let bind_group_layout = Self::get_bind_group_layout(device); [INFO] [stdout] 85 │+ let entries = bindings.into_array(); [INFO] [stdout] 86 │+ let bind_group = device [INFO] [stdout] 87 │+ .create_bind_group( [INFO] [stdout] 88 │+ &wgpu::BindGroupDescriptor { [INFO] [stdout] 89 │+ label: Some("Test::BindGroup0"), [INFO] [stdout] 90 │+ layout: &bind_group_layout, [INFO] [stdout] 91 │+ entries: &entries, [INFO] [stdout] 92 │+ }, [INFO] [stdout] 93 │+ ); [INFO] [stdout] 94 │+ Self(bind_group) [INFO] [stdout] 95 │+ } [INFO] [stdout] 96 │+ pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 97 │+ pass.set_bind_group(0, &self.0, &[]); [INFO] [stdout] 98 │+ } [INFO] [stdout] 92 99 │ } [INFO] [stdout] 93 │-#[doc = " Bind groups can be set individually using their set(render_pass) method, or all at once using `WgpuBindGroups::set`."] [INFO] [stdout] 94 │-#[doc = " For optimal performance with many draw calls, it's recommended to organize bindings into bind groups based on update frequency:"] [INFO] [stdout] 95 │-#[doc = " - Bind group 0: Least frequent updates (e.g. per frame resources)"] [INFO] [stdout] 96 │-#[doc = " - Bind group 1: More frequent updates"] [INFO] [stdout] 97 │-#[doc = " - Bind group 2: More frequent updates"] [INFO] [stdout] 98 │-#[doc = " - Bind group 3: Most frequent updates (e.g. per draw resources)"] [INFO] [stdout] 100 │+/// Bind groups can be set individually using their set(render_pass) method, or all at once using `WgpuBindGroups::set`. [INFO] [stdout] 101 │+/// For optimal performance with many draw calls, it's recommended to organize bindings into bind groups based on update frequency: [INFO] [stdout] 102 │+/// - Bind group 0: Least frequent updates (e.g. per frame resources) [INFO] [stdout] 103 │+/// - Bind group 1: More frequent updates [INFO] [stdout] 104 │+/// - Bind group 2: More frequent updates [INFO] [stdout] 105 │+/// - Bind group 3: Most frequent updates (e.g. per draw resources) [INFO] [stdout] 99 106 │ #[derive(Debug, Copy, Clone)] [INFO] [stdout] 100 107 │ pub struct WgpuBindGroups<'a> { [INFO] [stdout] 101 │- pub bind_group0: &'a WgpuBindGroup0, [INFO] [stdout] 108 │+ pub bind_group0: &'a WgpuBindGroup0, [INFO] [stdout] 102 109 │ } [INFO] [stdout] 103 110 │ impl<'a> WgpuBindGroups<'a> { [INFO] [stdout] 104 │- pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 105 │- self.bind_group0.set(pass); [INFO] [stdout] 106 │- } [INFO] [stdout] 111 │+ pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 112 │+ self.bind_group0.set(pass); [INFO] [stdout] 113 │+ } [INFO] [stdout] 107 114 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'generate::bind_group::tests::bind_groups_module_array_bindings' (34) panicked at src/generate/bind_group/mod.rs:605:5: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: FileIo(Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }, "/opt/rustwide/workdir/src/generate/bind_group/snapshots/bind_groups_module_array_bindings.snap.new") [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x6358a5b6a592 - std::backtrace_rs::backtrace::libunwind::trace::h76861be37b31432e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x6358a5b6a592 - std::backtrace_rs::backtrace::trace_unsynchronized::h58d4003082192c17 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x6358a5b6a592 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x6358a5b6a592 - ::fmt::h52160e9da139e442 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x6358a5b7e81f - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x6358a5b7e81f - core::fmt::write::hf09a056a304e021a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x6358a5b35311 - std::io::default_write_fmt::hf1a3645468226e09 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x6358a5b35311 - std::io::Write::write_fmt::ha5ada6d6a18bde33 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x6358a5b41ed2 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x6358a5b47c0f - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x6358a5b47aa1 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x6358a528ec2e - as core::ops::function::Fn>::call::h3d020961abd83a77 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x6358a528ec2e - test::test_main_with_exit_callback::{{closure}}::h720dd2fdb2ddcdca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x6358a5b4837f - as core::ops::function::Fn>::call::h75334a5fed245bca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x6358a5b4837f - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x6358a5b4812a - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x6358a5b42009 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x6358a5b2854d - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x6358a5b89900 - core::panicking::panic_fmt::heb245a301f4395db [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x6358a5b885e6 - core::result::unwrap_failed::h91bd1e1731f928fc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x6358a5005083 - core::result::Result::unwrap::h81966e9c37ad6a20 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x6358a5005083 - wgsl_bindgen::generate::bind_group::tests::bind_groups_module_array_bindings::{{closure}}::h36b42e38a848b7bf [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x6358a50e8e6f - insta::settings::Settings::bind::h0f2147c3dd37c70a [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: 0x6358a5004b85 - wgsl_bindgen::generate::bind_group::tests::bind_groups_module_array_bindings::h16ca4632deb56dca [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x6358a5004c57 - wgsl_bindgen::generate::bind_group::tests::bind_groups_module_array_bindings::{{closure}}::h187f60eb8ba53716 [INFO] [stdout] at /opt/rustwide/workdir/src/generate/bind_group/mod.rs:572:41 [INFO] [stdout] 25: 0x6358a50988a6 - core::ops::function::FnOnce::call_once::h9d2746d963f73241 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x6358a528ea5b - core::ops::function::FnOnce::call_once::h933a5d67211adff2 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x6358a528ea5b - test::__rust_begin_short_backtrace::h2157af19b0990ffb [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x6358a52a4635 - test::run_test_in_process::{{closure}}::hc3b17e0f313c900a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x6358a52a4635 - as core::ops::function::FnOnce<()>>::call_once::ha23e4b490259273c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x6358a52a4635 - std::panicking::catch_unwind::do_call::h8dc9d5da83792f7a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x6358a52a4635 - std::panicking::catch_unwind::h0d8461330de4a18b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x6358a52a4635 - std::panic::catch_unwind::h0321b51397bf9811 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x6358a52a4635 - test::run_test_in_process::hcaaa440fdbe4a513 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x6358a52a4635 - test::run_test::{{closure}}::h6345da602b85d6c3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x6358a527ae44 - test::run_test::{{closure}}::h90a3b75194d37b5d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x6358a527ae44 - std::sys::backtrace::__rust_begin_short_backtrace::hae41a17001f53ede [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x6358a527e70a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6ea895368381e0b1 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x6358a527e70a - as core::ops::function::FnOnce<()>>::call_once::h9c39013633bb9237 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x6358a527e70a - std::panicking::catch_unwind::do_call::hac7dba9ee4d99108 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x6358a527e70a - std::panicking::catch_unwind::h73015d00e4866ebc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x6358a527e70a - std::panic::catch_unwind::h6f7b38e188aa4f62 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x6358a527e70a - std::thread::Builder::spawn_unchecked_::{{closure}}::h969a6a2dc1856df7 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x6358a527e70a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h269ad1ff23e72122 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x6358a5b3cf5f - as core::ops::function::FnOnce>::call_once::hdd09a470c130e806 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 45: 0x6358a5b3cf5f - std::sys::thread::unix::Thread::new::thread_start::h14ea1ba6e320367c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 46: 0x7b0814b3daa4 - [INFO] [stdout] 47: 0x7b0814bcaa34 - 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 'caccb4d0368bd918ef6668af8e13834d07040417'. [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' (36) 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: 0x6358a5b6a592 - std::backtrace_rs::backtrace::libunwind::trace::h76861be37b31432e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x6358a5b6a592 - std::backtrace_rs::backtrace::trace_unsynchronized::h58d4003082192c17 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x6358a5b6a592 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x6358a5b6a592 - ::fmt::h52160e9da139e442 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x6358a5b7e81f - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x6358a5b7e81f - core::fmt::write::hf09a056a304e021a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x6358a5b35311 - std::io::default_write_fmt::hf1a3645468226e09 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x6358a5b35311 - std::io::Write::write_fmt::ha5ada6d6a18bde33 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x6358a5b41ed2 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x6358a5b47c0f - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x6358a5b47aa1 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x6358a528ec2e - as core::ops::function::Fn>::call::h3d020961abd83a77 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x6358a528ec2e - test::test_main_with_exit_callback::{{closure}}::h720dd2fdb2ddcdca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x6358a5b4837f - as core::ops::function::Fn>::call::h75334a5fed245bca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x6358a5b4837f - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x6358a5b4812a - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x6358a5b42009 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x6358a5b2854d - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x6358a5b89900 - core::panicking::panic_fmt::heb245a301f4395db [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x6358a5b885e6 - core::result::unwrap_failed::h91bd1e1731f928fc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x6358a5004023 - core::result::Result::unwrap::h81966e9c37ad6a20 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x6358a5004023 - wgsl_bindgen::generate::bind_group::tests::bind_groups_module_fragment::{{closure}}::h7608d0fb06558f23 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x6358a50e968f - insta::settings::Settings::bind::h7e2587f365075cae [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: 0x6358a5003b25 - wgsl_bindgen::generate::bind_group::tests::bind_groups_module_fragment::h0eed7034ba77ce37 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x6358a5003bf7 - wgsl_bindgen::generate::bind_group::tests::bind_groups_module_fragment::{{closure}}::h5d0fc48fa8b7243e [INFO] [stdout] at /opt/rustwide/workdir/src/generate/bind_group/mod.rs:503:35 [INFO] [stdout] 25: 0x6358a50976c6 - core::ops::function::FnOnce::call_once::h2e0b00165a26e8f3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x6358a528ea5b - core::ops::function::FnOnce::call_once::h933a5d67211adff2 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x6358a528ea5b - test::__rust_begin_short_backtrace::h2157af19b0990ffb [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x6358a52a4635 - test::run_test_in_process::{{closure}}::hc3b17e0f313c900a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x6358a52a4635 - as core::ops::function::FnOnce<()>>::call_once::ha23e4b490259273c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x6358a52a4635 - std::panicking::catch_unwind::do_call::h8dc9d5da83792f7a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x6358a52a4635 - std::panicking::catch_unwind::h0d8461330de4a18b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x6358a52a4635 - std::panic::catch_unwind::h0321b51397bf9811 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x6358a52a4635 - test::run_test_in_process::hcaaa440fdbe4a513 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x6358a52a4635 - test::run_test::{{closure}}::h6345da602b85d6c3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x6358a527ae44 - test::run_test::{{closure}}::h90a3b75194d37b5d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x6358a527ae44 - std::sys::backtrace::__rust_begin_short_backtrace::hae41a17001f53ede [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x6358a527e70a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6ea895368381e0b1 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x6358a527e70a - as core::ops::function::FnOnce<()>>::call_once::h9c39013633bb9237 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x6358a527e70a - std::panicking::catch_unwind::do_call::hac7dba9ee4d99108 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x6358a527e70a - std::panicking::catch_unwind::h73015d00e4866ebc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x6358a527e70a - std::panic::catch_unwind::h6f7b38e188aa4f62 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x6358a527e70a - std::thread::Builder::spawn_unchecked_::{{closure}}::h969a6a2dc1856df7 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x6358a527e70a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h269ad1ff23e72122 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x6358a5b3cf5f - as core::ops::function::FnOnce>::call_once::hdd09a470c130e806 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 45: 0x6358a5b3cf5f - std::sys::thread::unix::Thread::new::thread_start::h14ea1ba6e320367c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 46: 0x7b0814b3daa4 - [INFO] [stdout] 47: 0x7b0814bcaa34 - 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 'caccb4d0368bd918ef6668af8e13834d07040417'. [INFO] [stdout] note: this is a custom toolchain, which cannot use `rustup component add` [INFO] [stdout] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py` [INFO] [stdout] ), falling back to prettyplease [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/generate/bind_group/snapshots/bind_groups_module_compute.snap [INFO] [stdout] Snapshot: bind_groups_module_compute [INFO] [stdout] Source: src/generate/bind_group/mod.rs:403 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 0 │ #[derive(Debug)] [INFO] [stdout] 1 1 │ pub struct WgpuBindGroup0EntriesParams<'a> { [INFO] [stdout] 2 │- pub src: wgpu::BufferBinding<'a>, [INFO] [stdout] 3 │- pub vertex_weights: wgpu::BufferBinding<'a>, [INFO] [stdout] 4 │- pub dst: wgpu::BufferBinding<'a>, [INFO] [stdout] 2 │+ pub src: wgpu::BufferBinding<'a>, [INFO] [stdout] 3 │+ pub vertex_weights: wgpu::BufferBinding<'a>, [INFO] [stdout] 4 │+ pub dst: wgpu::BufferBinding<'a>, [INFO] [stdout] 5 5 │ } [INFO] [stdout] 6 6 │ #[derive(Clone, Debug)] [INFO] [stdout] 7 7 │ pub struct WgpuBindGroup0Entries<'a> { [INFO] [stdout] 8 │- pub src: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 9 │- pub vertex_weights: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 10 │- pub dst: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 8 │+ pub src: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 9 │+ pub vertex_weights: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 10 │+ pub dst: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 11 11 │ } [INFO] [stdout] 12 12 │ impl<'a> WgpuBindGroup0Entries<'a> { [INFO] [stdout] 13 │- pub fn new(params: WgpuBindGroup0EntriesParams<'a>) -> Self { [INFO] [stdout] 14 │- Self { [INFO] [stdout] 15 │- src: wgpu::BindGroupEntry { [INFO] [stdout] 16 │- binding: 0, [INFO] [stdout] 17 │- resource: wgpu::BindingResource::Buffer(params.src), [INFO] [stdout] 18 │- }, [INFO] [stdout] 19 │- vertex_weights: wgpu::BindGroupEntry { [INFO] [stdout] 20 │- binding: 1, [INFO] [stdout] 21 │- resource: wgpu::BindingResource::Buffer(params.vertex_weights), [INFO] [stdout] 22 │- }, [INFO] [stdout] 23 │- dst: wgpu::BindGroupEntry { [INFO] [stdout] 24 │- binding: 2, [INFO] [stdout] 25 │- resource: wgpu::BindingResource::Buffer(params.dst), [INFO] [stdout] 26 │- }, [INFO] [stdout] 13 │+ pub fn new(params: WgpuBindGroup0EntriesParams<'a>) -> Self { [INFO] [stdout] 14 │+ Self { [INFO] [stdout] 15 │+ src: wgpu::BindGroupEntry { [INFO] [stdout] 16 │+ binding: 0, [INFO] [stdout] 17 │+ resource: wgpu::BindingResource::Buffer(params.src), [INFO] [stdout] 18 │+ }, [INFO] [stdout] 19 │+ vertex_weights: wgpu::BindGroupEntry { [INFO] [stdout] 20 │+ binding: 1, [INFO] [stdout] 21 │+ resource: wgpu::BindingResource::Buffer(params.vertex_weights), [INFO] [stdout] 22 │+ }, [INFO] [stdout] 23 │+ dst: wgpu::BindGroupEntry { [INFO] [stdout] 24 │+ binding: 2, [INFO] [stdout] 25 │+ resource: wgpu::BindingResource::Buffer(params.dst), [INFO] [stdout] 26 │+ }, [INFO] [stdout] 27 │+ } [INFO] [stdout] 28 │+ } [INFO] [stdout] 29 │+ pub fn into_array(self) -> [wgpu::BindGroupEntry<'a>; 3] { [INFO] [stdout] 30 │+ [self.src, self.vertex_weights, self.dst] [INFO] [stdout] 31 │+ } [INFO] [stdout] 32 │+ pub fn collect>>(self) -> B { [INFO] [stdout] 33 │+ self.into_array().into_iter().collect() [INFO] [stdout] 27 34 │ } [INFO] [stdout] 28 │- } [INFO] [stdout] 29 │- pub fn into_array(self) -> [wgpu::BindGroupEntry<'a>; 3] { [INFO] [stdout] 30 │- [self.src, self.vertex_weights, self.dst] [INFO] [stdout] 31 │- } [INFO] [stdout] 32 │- pub fn collect>>(self) -> B { [INFO] [stdout] 33 │- self.into_array().into_iter().collect() [INFO] [stdout] 34 │- } [INFO] [stdout] 35 35 │ } [INFO] [stdout] 36 36 │ #[derive(Debug)] [INFO] [stdout] 37 37 │ pub struct WgpuBindGroup0(wgpu::BindGroup); [INFO] [stdout] 38 38 │ impl WgpuBindGroup0 { [INFO] [stdout] 39 │- pub const LAYOUT_DESCRIPTOR: wgpu::BindGroupLayoutDescriptor<'static> = [INFO] [stdout] 40 │- wgpu::BindGroupLayoutDescriptor { [INFO] [stdout] 41 │- label: Some("Test::BindGroup0::LayoutDescriptor"), [INFO] [stdout] 42 │- entries: &[ [INFO] [stdout] 43 │- #[doc = " @binding(0): \"src\""] [INFO] [stdout] 44 │- wgpu::BindGroupLayoutEntry { [INFO] [stdout] 45 │- binding: 0, [INFO] [stdout] 46 │- visibility: wgpu::ShaderStages::COMPUTE, [INFO] [stdout] 47 │- ty: wgpu::BindingType::Buffer { [INFO] [stdout] 48 │- ty: wgpu::BufferBindingType::Storage { read_only: true }, [INFO] [stdout] 49 │- has_dynamic_offset: false, [INFO] [stdout] 50 │- min_binding_size: None, [INFO] [stdout] 51 │- }, [INFO] [stdout] 52 │- count: None, [INFO] [stdout] 53 │- }, [INFO] [stdout] 54 │- #[doc = " @binding(1): \"vertex_weights\""] [INFO] [stdout] 55 │- wgpu::BindGroupLayoutEntry { [INFO] [stdout] 56 │- binding: 1, [INFO] [stdout] 57 │- visibility: wgpu::ShaderStages::COMPUTE, [INFO] [stdout] 58 │- ty: wgpu::BindingType::Buffer { [INFO] [stdout] 59 │- ty: wgpu::BufferBindingType::Storage { read_only: true }, [INFO] [stdout] 60 │- has_dynamic_offset: false, [INFO] [stdout] 61 │- min_binding_size: std::num::NonZeroU64::new(std::mem::size_of::< [INFO] [stdout] 62 │- _root::test::VertexWeights, [INFO] [stdout] 63 │- >() as _), [INFO] [stdout] 64 │- }, [INFO] [stdout] 65 │- count: None, [INFO] [stdout] 66 │- }, [INFO] [stdout] 67 │- #[doc = " @binding(2): \"dst\""] [INFO] [stdout] 68 │- wgpu::BindGroupLayoutEntry { [INFO] [stdout] 69 │- binding: 2, [INFO] [stdout] 70 │- visibility: wgpu::ShaderStages::COMPUTE, [INFO] [stdout] 71 │- ty: wgpu::BindingType::Buffer { [INFO] [stdout] 72 │- ty: wgpu::BufferBindingType::Storage { read_only: false }, [INFO] [stdout] 73 │- has_dynamic_offset: false, [INFO] [stdout] 74 │- min_binding_size: std::num::NonZeroU64::new(std::mem::size_of::< [INFO] [stdout] 75 │- _root::test::Vertices, [INFO] [stdout] 76 │- >() as _), [INFO] [stdout] 77 │- }, [INFO] [stdout] 78 │- count: None, [INFO] [stdout] 79 │- }, [INFO] [stdout] 80 │- ], [INFO] [stdout] 39 │+ pub const LAYOUT_DESCRIPTOR: wgpu::BindGroupLayoutDescriptor<'static> = wgpu::BindGroupLayoutDescriptor { [INFO] [stdout] 40 │+ label: Some("Test::BindGroup0::LayoutDescriptor"), [INFO] [stdout] 41 │+ entries: &[ [INFO] [stdout] 42 │+ /// @binding(0): "src" [INFO] [stdout] 43 │+ wgpu::BindGroupLayoutEntry { [INFO] [stdout] 44 │+ binding: 0, [INFO] [stdout] 45 │+ visibility: wgpu::ShaderStages::COMPUTE, [INFO] [stdout] 46 │+ ty: wgpu::BindingType::Buffer { [INFO] [stdout] 47 │+ ty: wgpu::BufferBindingType::Storage { [INFO] [stdout] 48 │+ read_only: true, [INFO] [stdout] 49 │+ }, [INFO] [stdout] 50 │+ has_dynamic_offset: false, [INFO] [stdout] 51 │+ min_binding_size: None, [INFO] [stdout] 52 │+ }, [INFO] [stdout] 53 │+ count: None, [INFO] [stdout] 54 │+ }, [INFO] [stdout] 55 │+ /// @binding(1): "vertex_weights" [INFO] [stdout] 56 │+ wgpu::BindGroupLayoutEntry { [INFO] [stdout] 57 │+ binding: 1, [INFO] [stdout] 58 │+ visibility: wgpu::ShaderStages::COMPUTE, [INFO] [stdout] 59 │+ ty: wgpu::BindingType::Buffer { [INFO] [stdout] 60 │+ ty: wgpu::BufferBindingType::Storage { [INFO] [stdout] 61 │+ read_only: true, [INFO] [stdout] 62 │+ }, [INFO] [stdout] 63 │+ has_dynamic_offset: false, [INFO] [stdout] 64 │+ min_binding_size: std::num::NonZeroU64::new( [INFO] [stdout] 65 │+ std::mem::size_of::<_root::test::VertexWeights>() as _, [INFO] [stdout] 66 │+ ), [INFO] [stdout] 67 │+ }, [INFO] [stdout] 68 │+ count: None, [INFO] [stdout] 69 │+ }, [INFO] [stdout] 70 │+ /// @binding(2): "dst" [INFO] [stdout] 71 │+ wgpu::BindGroupLayoutEntry { [INFO] [stdout] 72 │+ binding: 2, [INFO] [stdout] 73 │+ visibility: wgpu::ShaderStages::COMPUTE, [INFO] [stdout] 74 │+ ty: wgpu::BindingType::Buffer { [INFO] [stdout] 75 │+ ty: wgpu::BufferBindingType::Storage { [INFO] [stdout] 76 │+ read_only: false, [INFO] [stdout] 77 │+ }, [INFO] [stdout] 78 │+ has_dynamic_offset: false, [INFO] [stdout] 79 │+ min_binding_size: std::num::NonZeroU64::new( [INFO] [stdout] 80 │+ std::mem::size_of::<_root::test::Vertices>() as _, [INFO] [stdout] 81 │+ ), [INFO] [stdout] 82 │+ }, [INFO] [stdout] 83 │+ count: None, [INFO] [stdout] 84 │+ }, [INFO] [stdout] 85 │+ ], [INFO] [stdout] 81 86 │ }; [INFO] [stdout] 82 │- pub fn get_bind_group_layout(device: &wgpu::Device) -> wgpu::BindGroupLayout { [INFO] [stdout] 83 │- device.create_bind_group_layout(&Self::LAYOUT_DESCRIPTOR) [INFO] [stdout] 84 │- } [INFO] [stdout] 85 │- pub fn from_bindings(device: &wgpu::Device, bindings: WgpuBindGroup0Entries) -> Self { [INFO] [stdout] 86 │- let bind_group_layout = Self::get_bind_group_layout(device); [INFO] [stdout] 87 │- let entries = bindings.into_array(); [INFO] [stdout] 88 │- let bind_group = device.create_bind_group(&wgpu::BindGroupDescriptor { [INFO] [stdout] 89 │- label: Some("Test::BindGroup0"), [INFO] [stdout] 90 │- layout: &bind_group_layout, [INFO] [stdout] 91 │- entries: &entries, [INFO] [stdout] 92 │- }); [INFO] [stdout] 93 │- Self(bind_group) [INFO] [stdout] 94 │- } [INFO] [stdout] 95 │- pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 96 │- pass.set_bind_group(0, &self.0, &[]); [INFO] [stdout] 97 │- } [INFO] [stdout] 87 │+ pub fn get_bind_group_layout(device: &wgpu::Device) -> wgpu::BindGroupLayout { [INFO] [stdout] 88 │+ device.create_bind_group_layout(&Self::LAYOUT_DESCRIPTOR) [INFO] [stdout] 89 │+ } [INFO] [stdout] 90 │+ pub fn from_bindings( [INFO] [stdout] 91 │+ device: &wgpu::Device, [INFO] [stdout] 92 │+ bindings: WgpuBindGroup0Entries, [INFO] [stdout] 93 │+ ) -> Self { [INFO] [stdout] 94 │+ let bind_group_layout = Self::get_bind_group_layout(device); [INFO] [stdout] 95 │+ let entries = bindings.into_array(); [INFO] [stdout] 96 │+ let bind_group = device [INFO] [stdout] 97 │+ .create_bind_group( [INFO] [stdout] 98 │+ &wgpu::BindGroupDescriptor { [INFO] [stdout] 99 │+ label: Some("Test::BindGroup0"), [INFO] [stdout] 100 │+ layout: &bind_group_layout, [INFO] [stdout] 101 │+ entries: &entries, [INFO] [stdout] 102 │+ }, [INFO] [stdout] 103 │+ ); [INFO] [stdout] 104 │+ Self(bind_group) [INFO] [stdout] 105 │+ } [INFO] [stdout] 106 │+ pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 107 │+ pass.set_bind_group(0, &self.0, &[]); [INFO] [stdout] 108 │+ } [INFO] [stdout] 98 109 │ } [INFO] [stdout] 99 110 │ #[derive(Debug)] [INFO] [stdout] 100 111 │ pub struct WgpuBindGroup1EntriesParams<'a> { [INFO] [stdout] 101 │- pub transforms: wgpu::BufferBinding<'a>, [INFO] [stdout] 112 │+ pub transforms: wgpu::BufferBinding<'a>, [INFO] [stdout] 102 113 │ } [INFO] [stdout] 103 114 │ #[derive(Clone, Debug)] [INFO] [stdout] 104 115 │ pub struct WgpuBindGroup1Entries<'a> { [INFO] [stdout] 105 │- pub transforms: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 116 │+ pub transforms: wgpu::BindGroupEntry<'a>, [INFO] [stdout] 106 117 │ } [INFO] [stdout] 107 118 │ impl<'a> WgpuBindGroup1Entries<'a> { [INFO] [stdout] 108 │- pub fn new(params: WgpuBindGroup1EntriesParams<'a>) -> Self { [INFO] [stdout] 109 │- Self { [INFO] [stdout] 110 │- transforms: wgpu::BindGroupEntry { [INFO] [stdout] 111 │- binding: 0, [INFO] [stdout] 112 │- resource: wgpu::BindingResource::Buffer(params.transforms), [INFO] [stdout] 113 │- }, [INFO] [stdout] 119 │+ pub fn new(params: WgpuBindGroup1EntriesParams<'a>) -> Self { [INFO] [stdout] 120 │+ Self { [INFO] [stdout] 121 │+ transforms: wgpu::BindGroupEntry { [INFO] [stdout] 122 │+ binding: 0, [INFO] [stdout] 123 │+ resource: wgpu::BindingResource::Buffer(params.transforms), [INFO] [stdout] 124 │+ }, [INFO] [stdout] 125 │+ } [INFO] [stdout] 126 │+ } [INFO] [stdout] 127 │+ pub fn into_array(self) -> [wgpu::BindGroupEntry<'a>; 1] { [INFO] [stdout] 128 │+ [self.transforms] [INFO] [stdout] 129 │+ } [INFO] [stdout] 130 │+ pub fn collect>>(self) -> B { [INFO] [stdout] 131 │+ self.into_array().into_iter().collect() [INFO] [stdout] 114 132 │ } [INFO] [stdout] 115 │- } [INFO] [stdout] 116 │- pub fn into_array(self) -> [wgpu::BindGroupEntry<'a>; 1] { [INFO] [stdout] 117 │- [self.transforms] [INFO] [stdout] 118 │- } [INFO] [stdout] 119 │- pub fn collect>>(self) -> B { [INFO] [stdout] 120 │- self.into_array().into_iter().collect() [INFO] [stdout] 121 │- } [INFO] [stdout] 122 133 │ } [INFO] [stdout] 123 134 │ #[derive(Debug)] [INFO] [stdout] 124 135 │ pub struct WgpuBindGroup1(wgpu::BindGroup); [INFO] [stdout] 125 136 │ impl WgpuBindGroup1 { [INFO] [stdout] 126 │- pub const LAYOUT_DESCRIPTOR: wgpu::BindGroupLayoutDescriptor<'static> = [INFO] [stdout] 127 │- wgpu::BindGroupLayoutDescriptor { [INFO] [stdout] 128 │- label: Some("Test::BindGroup1::LayoutDescriptor"), [INFO] [stdout] 129 │- entries: &[ [INFO] [stdout] 130 │- #[doc = " @binding(0): \"transforms\""] [INFO] [stdout] 131 │- wgpu::BindGroupLayoutEntry { [INFO] [stdout] 132 │- binding: 0, [INFO] [stdout] 133 │- visibility: wgpu::ShaderStages::COMPUTE, [INFO] [stdout] 134 │- ty: wgpu::BindingType::Buffer { [INFO] [stdout] 135 │- ty: wgpu::BufferBindingType::Uniform, [INFO] [stdout] 136 │- has_dynamic_offset: false, [INFO] [stdout] 137 │- min_binding_size: std::num::NonZeroU64::new(std::mem::size_of::< [INFO] [stdout] 138 │- _root::test::Transforms, [INFO] [stdout] 139 │- >() as _), [INFO] [stdout] 140 │- }, [INFO] [stdout] 141 │- count: None, [INFO] [stdout] 142 │- }, [INFO] [stdout] 143 │- ], [INFO] [stdout] 137 │+ pub const LAYOUT_DESCRIPTOR: wgpu::BindGroupLayoutDescriptor<'static> = wgpu::BindGroupLayoutDescriptor { [INFO] [stdout] 138 │+ label: Some("Test::BindGroup1::LayoutDescriptor"), [INFO] [stdout] 139 │+ entries: &[ [INFO] [stdout] 140 │+ /// @binding(0): "transforms" [INFO] [stdout] 141 │+ wgpu::BindGroupLayoutEntry { [INFO] [stdout] 142 │+ binding: 0, [INFO] [stdout] 143 │+ visibility: wgpu::ShaderStages::COMPUTE, [INFO] [stdout] 144 │+ ty: wgpu::BindingType::Buffer { [INFO] [stdout] 145 │+ ty: wgpu::BufferBindingType::Uniform, [INFO] [stdout] 146 │+ has_dynamic_offset: false, [INFO] [stdout] 147 │+ min_binding_size: std::num::NonZeroU64::new( [INFO] [stdout] 148 │+ std::mem::size_of::<_root::test::Transforms>() as _, [INFO] [stdout] 149 │+ ), [INFO] [stdout] 150 │+ }, [INFO] [stdout] 151 │+ count: None, [INFO] [stdout] 152 │+ }, [INFO] [stdout] 153 │+ ], [INFO] [stdout] 144 154 │ }; [INFO] [stdout] 145 │- pub fn get_bind_group_layout(device: &wgpu::Device) -> wgpu::BindGroupLayout { [INFO] [stdout] 146 │- device.create_bind_group_layout(&Self::LAYOUT_DESCRIPTOR) [INFO] [stdout] 147 │- } [INFO] [stdout] 148 │- pub fn from_bindings(device: &wgpu::Device, bindings: WgpuBindGroup1Entries) -> Self { [INFO] [stdout] 149 │- let bind_group_layout = Self::get_bind_group_layout(device); [INFO] [stdout] 150 │- let entries = bindings.into_array(); [INFO] [stdout] 151 │- let bind_group = device.create_bind_group(&wgpu::BindGroupDescriptor { [INFO] [stdout] 152 │- label: Some("Test::BindGroup1"), [INFO] [stdout] 153 │- layout: &bind_group_layout, [INFO] [stdout] 154 │- entries: &entries, [INFO] [stdout] 155 │- }); [INFO] [stdout] 156 │- Self(bind_group) [INFO] [stdout] 157 │- } [INFO] [stdout] 158 │- pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 159 │- pass.set_bind_group(1, &self.0, &[]); [INFO] [stdout] 160 │- } [INFO] [stdout] 155 │+ pub fn get_bind_group_layout(device: &wgpu::Device) -> wgpu::BindGroupLayout { [INFO] [stdout] 156 │+ device.create_bind_group_layout(&Self::LAYOUT_DESCRIPTOR) [INFO] [stdout] 157 │+ } [INFO] [stdout] 158 │+ pub fn from_bindings( [INFO] [stdout] 159 │+ device: &wgpu::Device, [INFO] [stdout] 160 │+ bindings: WgpuBindGroup1Entries, [INFO] [stdout] 161 │+ ) -> Self { [INFO] [stdout] 162 │+ let bind_group_layout = Self::get_bind_group_layout(device); [INFO] [stdout] 163 │+ let entries = bindings.into_array(); [INFO] [stdout] 164 │+ let bind_group = device [INFO] [stdout] 165 │+ .create_bind_group( [INFO] [stdout] 166 │+ &wgpu::BindGroupDescriptor { [INFO] [stdout] 167 │+ label: Some("Test::BindGroup1"), [INFO] [stdout] 168 │+ layout: &bind_group_layout, [INFO] [stdout] 169 │+ entries: &entries, [INFO] [stdout] 170 │+ }, [INFO] [stdout] 171 │+ ); [INFO] [stdout] 172 │+ Self(bind_group) [INFO] [stdout] 173 │+ } [INFO] [stdout] 174 │+ pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 175 │+ pass.set_bind_group(1, &self.0, &[]); [INFO] [stdout] 176 │+ } [INFO] [stdout] 161 177 │ } [INFO] [stdout] 162 │-#[doc = " Bind groups can be set individually using their set(render_pass) method, or all at once using `WgpuBindGroups::set`."] [INFO] [stdout] 163 │-#[doc = " For optimal performance with many draw calls, it's recommended to organize bindings into bind groups based on update frequency:"] [INFO] [stdout] 164 │-#[doc = " - Bind group 0: Least frequent updates (e.g. per frame resources)"] [INFO] [stdout] 165 │-#[doc = " - Bind group 1: More frequent updates"] [INFO] [stdout] 166 │-#[doc = " - Bind group 2: More frequent updates"] [INFO] [stdout] 167 │-#[doc = " - Bind group 3: Most frequent updates (e.g. per draw resources)"] [INFO] [stdout] 178 │+/// Bind groups can be set individually using their set(render_pass) method, or all at once using `WgpuBindGroups::set`. [INFO] [stdout] 179 │+/// For optimal performance with many draw calls, it's recommended to organize bindings into bind groups based on update frequency: [INFO] [stdout] 180 │+/// - Bind group 0: Least frequent updates (e.g. per frame resources) [INFO] [stdout] 181 │+/// - Bind group 1: More frequent updates [INFO] [stdout] 182 │+/// - Bind group 2: More frequent updates [INFO] [stdout] 183 │+/// - Bind group 3: Most frequent updates (e.g. per draw resources) [INFO] [stdout] 168 184 │ #[derive(Debug, Copy, Clone)] [INFO] [stdout] 169 185 │ pub struct WgpuBindGroups<'a> { [INFO] [stdout] 170 │- pub bind_group0: &'a WgpuBindGroup0, [INFO] [stdout] 171 │- pub bind_group1: &'a WgpuBindGroup1, [INFO] [stdout] 186 │+ pub bind_group0: &'a WgpuBindGroup0, [INFO] [stdout] 187 │+ pub bind_group1: &'a WgpuBindGroup1, [INFO] [stdout] 172 188 │ } [INFO] [stdout] 173 189 │ impl<'a> WgpuBindGroups<'a> { [INFO] [stdout] 174 │- pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 175 │- self.bind_group0.set(pass); [INFO] [stdout] 176 │- self.bind_group1.set(pass); [INFO] [stdout] 177 │- } [INFO] [stdout] 190 │+ pub fn set(&self, pass: &mut impl SetBindGroup) { [INFO] [stdout] 191 │+ self.bind_group0.set(pass); [INFO] [stdout] 192 │+ self.bind_group1.set(pass); [INFO] [stdout] 193 │+ } [INFO] [stdout] 178 194 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'generate::bind_group::tests::bind_groups_module_compute' (35) panicked at src/generate/bind_group/mod.rs:403:5: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: FileIo(Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }, "/opt/rustwide/workdir/src/generate/bind_group/snapshots/bind_groups_module_compute.snap.new") [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x6358a5b6a592 - std::backtrace_rs::backtrace::libunwind::trace::h76861be37b31432e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x6358a5b6a592 - std::backtrace_rs::backtrace::trace_unsynchronized::h58d4003082192c17 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x6358a5b6a592 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x6358a5b6a592 - ::fmt::h52160e9da139e442 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x6358a5b7e81f - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x6358a5b7e81f - core::fmt::write::hf09a056a304e021a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x6358a5b35311 - std::io::default_write_fmt::hf1a3645468226e09 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x6358a5b35311 - std::io::Write::write_fmt::ha5ada6d6a18bde33 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x6358a5b41ed2 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x6358a5b47c0f - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x6358a5b47aa1 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x6358a528ec2e - as core::ops::function::Fn>::call::h3d020961abd83a77 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x6358a528ec2e - test::test_main_with_exit_callback::{{closure}}::h720dd2fdb2ddcdca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x6358a5b4837f - as core::ops::function::Fn>::call::h75334a5fed245bca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x6358a5b4837f - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x6358a5b4812a - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x6358a5b42009 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x6358a5b2854d - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x6358a5b89900 - core::panicking::panic_fmt::heb245a301f4395db [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x6358a5b885e6 - core::result::unwrap_failed::h91bd1e1731f928fc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x6358a5003593 - core::result::Result::unwrap::h81966e9c37ad6a20 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x6358a5003593 - wgsl_bindgen::generate::bind_group::tests::bind_groups_module_compute::{{closure}}::hb8e91c59be1db0b8 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x6358a50e8d2f - insta::settings::Settings::bind::h0b158f255957bae4 [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: 0x6358a5003095 - wgsl_bindgen::generate::bind_group::tests::bind_groups_module_compute::h4f3d1f43092ab00e [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x6358a5003167 - wgsl_bindgen::generate::bind_group::tests::bind_groups_module_compute::{{closure}}::ha82a328a632970c1 [INFO] [stdout] at /opt/rustwide/workdir/src/generate/bind_group/mod.rs:367:34 [INFO] [stdout] 25: 0x6358a5097b76 - core::ops::function::FnOnce::call_once::h5691ef63686e446c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x6358a528ea5b - core::ops::function::FnOnce::call_once::h933a5d67211adff2 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x6358a528ea5b - test::__rust_begin_short_backtrace::h2157af19b0990ffb [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x6358a52a4635 - test::run_test_in_process::{{closure}}::hc3b17e0f313c900a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x6358a52a4635 - as core::ops::function::FnOnce<()>>::call_once::ha23e4b490259273c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x6358a52a4635 - std::panicking::catch_unwind::do_call::h8dc9d5da83792f7a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x6358a52a4635 - std::panicking::catch_unwind::h0d8461330de4a18b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x6358a52a4635 - std::panic::catch_unwind::h0321b51397bf9811 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x6358a52a4635 - test::run_test_in_process::hcaaa440fdbe4a513 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x6358a52a4635 - test::run_test::{{closure}}::h6345da602b85d6c3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x6358a527ae44 - test::run_test::{{closure}}::h90a3b75194d37b5d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x6358a527ae44 - std::sys::backtrace::__rust_begin_short_backtrace::hae41a17001f53ede [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x6358a527e70a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6ea895368381e0b1 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x6358a527e70a - as core::ops::function::FnOnce<()>>::call_once::h9c39013633bb9237 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x6358a527e70a - std::panicking::catch_unwind::do_call::hac7dba9ee4d99108 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x6358a527e70a - std::panicking::catch_unwind::h73015d00e4866ebc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x6358a527e70a - std::panic::catch_unwind::h6f7b38e188aa4f62 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x6358a527e70a - std::thread::Builder::spawn_unchecked_::{{closure}}::h969a6a2dc1856df7 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x6358a527e70a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h269ad1ff23e72122 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x6358a5b3cf5f - as core::ops::function::FnOnce>::call_once::hdd09a470c130e806 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 45: 0x6358a5b3cf5f - std::sys::thread::unix::Thread::new::thread_start::h14ea1ba6e320367c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 46: 0x7b0814b3daa4 - [INFO] [stdout] 47: 0x7b0814bcaa34 - 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 'caccb4d0368bd918ef6668af8e13834d07040417'. [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' (41) 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: 0x6358a5b6a592 - std::backtrace_rs::backtrace::libunwind::trace::h76861be37b31432e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x6358a5b6a592 - std::backtrace_rs::backtrace::trace_unsynchronized::h58d4003082192c17 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x6358a5b6a592 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x6358a5b6a592 - ::fmt::h52160e9da139e442 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x6358a5b7e81f - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x6358a5b7e81f - core::fmt::write::hf09a056a304e021a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x6358a5b35311 - std::io::default_write_fmt::hf1a3645468226e09 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x6358a5b35311 - std::io::Write::write_fmt::ha5ada6d6a18bde33 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x6358a5b41ed2 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x6358a5b47c0f - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x6358a5b47aa1 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x6358a528ec2e - as core::ops::function::Fn>::call::h3d020961abd83a77 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x6358a528ec2e - test::test_main_with_exit_callback::{{closure}}::h720dd2fdb2ddcdca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x6358a5b4837f - as core::ops::function::Fn>::call::h75334a5fed245bca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x6358a5b4837f - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x6358a5b4812a - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x6358a5b42009 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x6358a5b2854d - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x6358a5b89900 - core::panicking::panic_fmt::heb245a301f4395db [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x6358a5b885e6 - core::result::unwrap_failed::h91bd1e1731f928fc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x6358a5002b03 - core::result::Result::unwrap::h81966e9c37ad6a20 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x6358a5002b03 - wgsl_bindgen::generate::bind_group::tests::bind_groups_module_vertex::{{closure}}::hac6ae8ac96c2b462 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x6358a50e9e0f - insta::settings::Settings::bind::hd1ea26a4bdfc2f18 [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: 0x6358a5002605 - wgsl_bindgen::generate::bind_group::tests::bind_groups_module_vertex::h854f94925dc5ba77 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x6358a50026d7 - wgsl_bindgen::generate::bind_group::tests::bind_groups_module_vertex::{{closure}}::h22978998fe5cafe1 [INFO] [stdout] at /opt/rustwide/workdir/src/generate/bind_group/mod.rs:470:33 [INFO] [stdout] 25: 0x6358a5098546 - core::ops::function::FnOnce::call_once::h8c67096fb22f470d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x6358a528ea5b - core::ops::function::FnOnce::call_once::h933a5d67211adff2 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x6358a528ea5b - test::__rust_begin_short_backtrace::h2157af19b0990ffb [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x6358a52a4635 - test::run_test_in_process::{{closure}}::hc3b17e0f313c900a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x6358a52a4635 - as core::ops::function::FnOnce<()>>::call_once::ha23e4b490259273c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x6358a52a4635 - std::panicking::catch_unwind::do_call::h8dc9d5da83792f7a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x6358a52a4635 - std::panicking::catch_unwind::h0d8461330de4a18b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x6358a52a4635 - std::panic::catch_unwind::h0321b51397bf9811 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x6358a52a4635 - test::run_test_in_process::hcaaa440fdbe4a513 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x6358a52a4635 - test::run_test::{{closure}}::h6345da602b85d6c3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x6358a527ae44 - test::run_test::{{closure}}::h90a3b75194d37b5d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x6358a527ae44 - std::sys::backtrace::__rust_begin_short_backtrace::hae41a17001f53ede [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x6358a527e70a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6ea895368381e0b1 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x6358a527e70a - as core::ops::function::FnOnce<()>>::call_once::h9c39013633bb9237 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x6358a527e70a - std::panicking::catch_unwind::do_call::hac7dba9ee4d99108 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x6358a527e70a - std::panicking::catch_unwind::h73015d00e4866ebc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x6358a527e70a - std::panic::catch_unwind::h6f7b38e188aa4f62 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x6358a527e70a - std::thread::Builder::spawn_unchecked_::{{closure}}::h969a6a2dc1856df7 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x6358a527e70a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h269ad1ff23e72122 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x6358a5b3cf5f - as core::ops::function::FnOnce>::call_once::hdd09a470c130e806 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 45: 0x6358a5b3cf5f - std::sys::thread::unix::Thread::new::thread_start::h14ea1ba6e320367c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 46: 0x7b0814b3daa4 - [INFO] [stdout] 47: 0x7b0814bcaa34 - 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 'caccb4d0368bd918ef6668af8e13834d07040417'. [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' (160) 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: 0x6358a5b6a592 - std::backtrace_rs::backtrace::libunwind::trace::h76861be37b31432e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x6358a5b6a592 - std::backtrace_rs::backtrace::trace_unsynchronized::h58d4003082192c17 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x6358a5b6a592 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x6358a5b6a592 - ::fmt::h52160e9da139e442 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x6358a5b7e81f - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x6358a5b7e81f - core::fmt::write::hf09a056a304e021a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x6358a5b35311 - std::io::default_write_fmt::hf1a3645468226e09 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x6358a5b35311 - std::io::Write::write_fmt::ha5ada6d6a18bde33 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x6358a5b41ed2 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x6358a5b47c0f - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x6358a5b47aa1 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x6358a528ec2e - as core::ops::function::Fn>::call::h3d020961abd83a77 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x6358a528ec2e - test::test_main_with_exit_callback::{{closure}}::h720dd2fdb2ddcdca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x6358a5b4837f - as core::ops::function::Fn>::call::h75334a5fed245bca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x6358a5b4837f - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x6358a5b4812a - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x6358a5b42009 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x6358a5b2854d - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x6358a5b89900 - core::panicking::panic_fmt::heb245a301f4395db [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x6358a5b885e6 - core::result::unwrap_failed::h91bd1e1731f928fc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x6358a5005ae3 - core::result::Result::unwrap::h81966e9c37ad6a20 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x6358a5005ae3 - wgsl_bindgen::generate::bind_group::tests::bind_groups_module_vertex_fragment::{{closure}}::h39da83636bdc1f71 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x6358a50e8dcf - insta::settings::Settings::bind::h0d9e2b77e4d1f26b [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: 0x6358a5005615 - wgsl_bindgen::generate::bind_group::tests::bind_groups_module_vertex_fragment::he3f72f0402718743 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x6358a5005bd7 - wgsl_bindgen::generate::bind_group::tests::bind_groups_module_vertex_fragment::{{closure}}::hb26416f4d0b7ef4c [INFO] [stdout] at /opt/rustwide/workdir/src/generate/bind_group/mod.rs:407:42 [INFO] [stdout] 25: 0x6358a5098186 - core::ops::function::FnOnce::call_once::h75a87eda367ce4f7 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x6358a528ea5b - core::ops::function::FnOnce::call_once::h933a5d67211adff2 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x6358a528ea5b - test::__rust_begin_short_backtrace::h2157af19b0990ffb [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x6358a52a4635 - test::run_test_in_process::{{closure}}::hc3b17e0f313c900a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x6358a52a4635 - as core::ops::function::FnOnce<()>>::call_once::ha23e4b490259273c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x6358a52a4635 - std::panicking::catch_unwind::do_call::h8dc9d5da83792f7a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x6358a52a4635 - std::panicking::catch_unwind::h0d8461330de4a18b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x6358a52a4635 - std::panic::catch_unwind::h0321b51397bf9811 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x6358a52a4635 - test::run_test_in_process::hcaaa440fdbe4a513 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x6358a52a4635 - test::run_test::{{closure}}::h6345da602b85d6c3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x6358a527ae44 - test::run_test::{{closure}}::h90a3b75194d37b5d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x6358a527ae44 - std::sys::backtrace::__rust_begin_short_backtrace::hae41a17001f53ede [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x6358a527e70a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6ea895368381e0b1 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x6358a527e70a - as core::ops::function::FnOnce<()>>::call_once::h9c39013633bb9237 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x6358a527e70a - std::panicking::catch_unwind::do_call::hac7dba9ee4d99108 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x6358a527e70a - std::panicking::catch_unwind::h73015d00e4866ebc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x6358a527e70a - std::panic::catch_unwind::h6f7b38e188aa4f62 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x6358a527e70a - std::thread::Builder::spawn_unchecked_::{{closure}}::h969a6a2dc1856df7 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x6358a527e70a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h269ad1ff23e72122 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x6358a5b3cf5f - as core::ops::function::FnOnce>::call_once::hdd09a470c130e806 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 45: 0x6358a5b3cf5f - std::sys::thread::unix::Thread::new::thread_start::h14ea1ba6e320367c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 46: 0x7b0814b3daa4 - [INFO] [stdout] 47: 0x7b0814bcaa34 - clone [INFO] [stdout] 48: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- generate::consts::tests::write_pipeline_overrideable_constants stdout ---- [INFO] [stdout] Warning: rustfmt formatting failed (rustfmt failed: error: 'rustfmt' is not installed for the custom toolchain 'caccb4d0368bd918ef6668af8e13834d07040417'. [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' (303) 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: 0x6358a5b6a592 - std::backtrace_rs::backtrace::libunwind::trace::h76861be37b31432e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x6358a5b6a592 - std::backtrace_rs::backtrace::trace_unsynchronized::h58d4003082192c17 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x6358a5b6a592 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x6358a5b6a592 - ::fmt::h52160e9da139e442 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x6358a5b7e81f - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x6358a5b7e81f - core::fmt::write::hf09a056a304e021a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x6358a5b35311 - std::io::default_write_fmt::hf1a3645468226e09 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x6358a5b35311 - std::io::Write::write_fmt::ha5ada6d6a18bde33 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x6358a5b41ed2 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x6358a5b47c0f - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x6358a5b47aa1 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x6358a528ec2e - as core::ops::function::Fn>::call::h3d020961abd83a77 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x6358a528ec2e - test::test_main_with_exit_callback::{{closure}}::h720dd2fdb2ddcdca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x6358a5b4837f - as core::ops::function::Fn>::call::h75334a5fed245bca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x6358a5b4837f - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x6358a5b4812a - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x6358a5b42009 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x6358a5b2854d - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x6358a5b89900 - core::panicking::panic_fmt::heb245a301f4395db [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x6358a5b885e6 - core::result::unwrap_failed::h91bd1e1731f928fc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x6358a500fc13 - core::result::Result::unwrap::h81966e9c37ad6a20 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x6358a500fc13 - wgsl_bindgen::generate::consts::tests::write_pipeline_overrideable_constants::{{closure}}::hafe6499aee445baa [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x6358a50e9eaf - insta::settings::Settings::bind::hd3d680c76c7f612c [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: 0x6358a500f768 - wgsl_bindgen::generate::consts::tests::write_pipeline_overrideable_constants::h8036088b0638ede3 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x6358a500fd07 - wgsl_bindgen::generate::consts::tests::write_pipeline_overrideable_constants::{{closure}}::heda2a2db35b7714b [INFO] [stdout] at /opt/rustwide/workdir/src/generate/consts.rs:207:45 [INFO] [stdout] 25: 0x6358a5099296 - core::ops::function::FnOnce::call_once::hdf0334b7259f9102 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x6358a528ea5b - core::ops::function::FnOnce::call_once::h933a5d67211adff2 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x6358a528ea5b - test::__rust_begin_short_backtrace::h2157af19b0990ffb [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x6358a52a4635 - test::run_test_in_process::{{closure}}::hc3b17e0f313c900a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x6358a52a4635 - as core::ops::function::FnOnce<()>>::call_once::ha23e4b490259273c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x6358a52a4635 - std::panicking::catch_unwind::do_call::h8dc9d5da83792f7a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x6358a52a4635 - std::panicking::catch_unwind::h0d8461330de4a18b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x6358a52a4635 - std::panic::catch_unwind::h0321b51397bf9811 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x6358a52a4635 - test::run_test_in_process::hcaaa440fdbe4a513 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x6358a52a4635 - test::run_test::{{closure}}::h6345da602b85d6c3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x6358a527ae44 - test::run_test::{{closure}}::h90a3b75194d37b5d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x6358a527ae44 - std::sys::backtrace::__rust_begin_short_backtrace::hae41a17001f53ede [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x6358a527e70a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6ea895368381e0b1 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x6358a527e70a - as core::ops::function::FnOnce<()>>::call_once::h9c39013633bb9237 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x6358a527e70a - std::panicking::catch_unwind::do_call::hac7dba9ee4d99108 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x6358a527e70a - std::panicking::catch_unwind::h73015d00e4866ebc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x6358a527e70a - std::panic::catch_unwind::h6f7b38e188aa4f62 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x6358a527e70a - std::thread::Builder::spawn_unchecked_::{{closure}}::h969a6a2dc1856df7 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x6358a527e70a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h269ad1ff23e72122 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x6358a5b3cf5f - as core::ops::function::FnOnce>::call_once::hdd09a470c130e806 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 45: 0x6358a5b3cf5f - std::sys::thread::unix::Thread::new::thread_start::h14ea1ba6e320367c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 46: 0x7b0814b3daa4 - [INFO] [stdout] 47: 0x7b0814bcaa34 - 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 'caccb4d0368bd918ef6668af8e13834d07040417'. [INFO] [stdout] note: this is a custom toolchain, which cannot use `rustup component add` [INFO] [stdout] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py` [INFO] [stdout] ), falling back to prettyplease [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: src/generate/snapshots/write_fragment_states_single_entry.snap [INFO] [stdout] Snapshot: write_fragment_states_single_entry [INFO] [stdout] Source: src/generate/entry.rs:536 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 0 │ #[derive(Debug)] [INFO] [stdout] 1 1 │ pub struct FragmentEntry { [INFO] [stdout] 2 │- pub entry_point: &'static str, [INFO] [stdout] 3 │- pub targets: [Option; N], [INFO] [stdout] 4 │- pub constants: Vec<(&'static str, f64)>, [INFO] [stdout] 2 │+ pub entry_point: &'static str, [INFO] [stdout] 3 │+ pub targets: [Option; N], [INFO] [stdout] 4 │+ pub constants: Vec<(&'static str, f64)>, [INFO] [stdout] 5 5 │ } [INFO] [stdout] 6 6 │ pub fn fragment_state<'a, const N: usize>( [INFO] [stdout] 7 │- module: &'a wgpu::ShaderModule, [INFO] [stdout] 8 │- entry: &'a FragmentEntry, [INFO] [stdout] 7 │+ module: &'a wgpu::ShaderModule, [INFO] [stdout] 8 │+ entry: &'a FragmentEntry, [INFO] [stdout] 9 9 │ ) -> wgpu::FragmentState<'a> { [INFO] [stdout] 10 │- wgpu::FragmentState { [INFO] [stdout] 11 │- module, [INFO] [stdout] 12 │- entry_point: Some(entry.entry_point), [INFO] [stdout] 13 │- targets: &entry.targets, [INFO] [stdout] 14 │- compilation_options: wgpu::PipelineCompilationOptions { [INFO] [stdout] 15 │- constants: &entry.constants, [INFO] [stdout] 16 │- ..Default::default() [INFO] [stdout] 17 │- }, [INFO] [stdout] 18 │- } [INFO] [stdout] 10 │+ wgpu::FragmentState { [INFO] [stdout] 11 │+ module, [INFO] [stdout] 12 │+ entry_point: Some(entry.entry_point), [INFO] [stdout] 13 │+ targets: &entry.targets, [INFO] [stdout] 14 │+ compilation_options: wgpu::PipelineCompilationOptions { [INFO] [stdout] 15 │+ constants: &entry.constants, [INFO] [stdout] 16 │+ ..Default::default() [INFO] [stdout] 17 │+ }, [INFO] [stdout] 18 │+ } [INFO] [stdout] 19 19 │ } [INFO] [stdout] 20 20 │ pub fn fs_single_entry( [INFO] [stdout] 21 │- targets: [Option; 1], [INFO] [stdout] 22 │- overrides: &OverrideConstants, [INFO] [stdout] 21 │+ targets: [Option; 1], [INFO] [stdout] 22 │+ overrides: &OverrideConstants, [INFO] [stdout] 23 23 │ ) -> FragmentEntry<1> { [INFO] [stdout] 24 │- FragmentEntry { [INFO] [stdout] 25 │- entry_point: ENTRY_FS_SINGLE, [INFO] [stdout] 26 │- targets, [INFO] [stdout] 27 │- constants: overrides.constants(), [INFO] [stdout] 28 │- } [INFO] [stdout] 24 │+ FragmentEntry { [INFO] [stdout] 25 │+ entry_point: ENTRY_FS_SINGLE, [INFO] [stdout] 26 │+ targets, [INFO] [stdout] 27 │+ constants: overrides.constants(), [INFO] [stdout] 28 │+ } [INFO] [stdout] 29 29 │ } [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'generate::entry::test::write_fragment_states_single_entry' (1360) panicked at src/generate/entry.rs:536:5: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: FileIo(Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }, "/opt/rustwide/workdir/src/generate/snapshots/write_fragment_states_single_entry.snap.new") [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x6358a5b6a592 - std::backtrace_rs::backtrace::libunwind::trace::h76861be37b31432e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x6358a5b6a592 - std::backtrace_rs::backtrace::trace_unsynchronized::h58d4003082192c17 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x6358a5b6a592 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x6358a5b6a592 - ::fmt::h52160e9da139e442 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x6358a5b7e81f - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x6358a5b7e81f - core::fmt::write::hf09a056a304e021a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x6358a5b35311 - std::io::default_write_fmt::hf1a3645468226e09 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x6358a5b35311 - std::io::Write::write_fmt::ha5ada6d6a18bde33 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x6358a5b41ed2 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x6358a5b47c0f - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x6358a5b47aa1 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x6358a528ec2e - as core::ops::function::Fn>::call::h3d020961abd83a77 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x6358a528ec2e - test::test_main_with_exit_callback::{{closure}}::h720dd2fdb2ddcdca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x6358a5b4837f - as core::ops::function::Fn>::call::h75334a5fed245bca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x6358a5b4837f - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x6358a5b4812a - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x6358a5b42009 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x6358a5b2854d - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x6358a5b89900 - core::panicking::panic_fmt::heb245a301f4395db [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x6358a5b885e6 - core::result::unwrap_failed::h91bd1e1731f928fc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x6358a500ab03 - core::result::Result::unwrap::h81966e9c37ad6a20 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x6358a500ab03 - wgsl_bindgen::generate::entry::test::write_fragment_states_single_entry::{{closure}}::h1ad0800d407b75a8 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x6358a50e8faf - insta::settings::Settings::bind::h2f11556d3dea83cf [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: 0x6358a500a64f - wgsl_bindgen::generate::entry::test::write_fragment_states_single_entry::h1a07327b3eab1ad7 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x6358a500abf7 - wgsl_bindgen::generate::entry::test::write_fragment_states_single_entry::{{closure}}::h2deacbf32f839fe3 [INFO] [stdout] at /opt/rustwide/workdir/src/generate/entry.rs:525:42 [INFO] [stdout] 25: 0x6358a50983b6 - core::ops::function::FnOnce::call_once::h86afa87b2c2a18b4 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x6358a528ea5b - core::ops::function::FnOnce::call_once::h933a5d67211adff2 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x6358a528ea5b - test::__rust_begin_short_backtrace::h2157af19b0990ffb [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x6358a52a4635 - test::run_test_in_process::{{closure}}::hc3b17e0f313c900a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x6358a52a4635 - as core::ops::function::FnOnce<()>>::call_once::ha23e4b490259273c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x6358a52a4635 - std::panicking::catch_unwind::do_call::h8dc9d5da83792f7a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x6358a52a4635 - std::panicking::catch_unwind::h0d8461330de4a18b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x6358a52a4635 - std::panic::catch_unwind::h0321b51397bf9811 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x6358a52a4635 - test::run_test_in_process::hcaaa440fdbe4a513 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x6358a52a4635 - test::run_test::{{closure}}::h6345da602b85d6c3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x6358a527ae44 - test::run_test::{{closure}}::h90a3b75194d37b5d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x6358a527ae44 - std::sys::backtrace::__rust_begin_short_backtrace::hae41a17001f53ede [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x6358a527e70a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6ea895368381e0b1 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x6358a527e70a - as core::ops::function::FnOnce<()>>::call_once::h9c39013633bb9237 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x6358a527e70a - std::panicking::catch_unwind::do_call::hac7dba9ee4d99108 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x6358a527e70a - std::panicking::catch_unwind::h73015d00e4866ebc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x6358a527e70a - std::panic::catch_unwind::h6f7b38e188aa4f62 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x6358a527e70a - std::thread::Builder::spawn_unchecked_::{{closure}}::h969a6a2dc1856df7 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x6358a527e70a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h269ad1ff23e72122 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x6358a5b3cf5f - as core::ops::function::FnOnce>::call_once::hdd09a470c130e806 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 45: 0x6358a5b3cf5f - std::sys::thread::unix::Thread::new::thread_start::h14ea1ba6e320367c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 46: 0x7b0814b3daa4 - [INFO] [stdout] 47: 0x7b0814bcaa34 - 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 'caccb4d0368bd918ef6668af8e13834d07040417'. [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' (1343) 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: 0x6358a5b6a592 - std::backtrace_rs::backtrace::libunwind::trace::h76861be37b31432e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x6358a5b6a592 - std::backtrace_rs::backtrace::trace_unsynchronized::h58d4003082192c17 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x6358a5b6a592 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x6358a5b6a592 - ::fmt::h52160e9da139e442 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x6358a5b7e81f - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x6358a5b7e81f - core::fmt::write::hf09a056a304e021a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x6358a5b35311 - std::io::default_write_fmt::hf1a3645468226e09 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x6358a5b35311 - std::io::Write::write_fmt::ha5ada6d6a18bde33 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x6358a5b41ed2 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x6358a5b47c0f - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x6358a5b47aa1 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x6358a528ec2e - as core::ops::function::Fn>::call::h3d020961abd83a77 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x6358a528ec2e - test::test_main_with_exit_callback::{{closure}}::h720dd2fdb2ddcdca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x6358a5b4837f - as core::ops::function::Fn>::call::h75334a5fed245bca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x6358a5b4837f - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x6358a5b4812a - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x6358a5b42009 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x6358a5b2854d - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x6358a5b89900 - core::panicking::panic_fmt::heb245a301f4395db [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x6358a5b885e6 - core::result::unwrap_failed::h91bd1e1731f928fc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x6358a500c503 - core::result::Result::unwrap::h81966e9c37ad6a20 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x6358a500c503 - wgsl_bindgen::generate::entry::test::write_fragment_states_multiple_entries::{{closure}}::h741afd127aa6ff31 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x6358a50e94af - insta::settings::Settings::bind::h61088bef905eedf1 [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: 0x6358a500c01f - wgsl_bindgen::generate::entry::test::write_fragment_states_multiple_entries::h5b7a524480602f5b [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x6358a500c0d7 - wgsl_bindgen::generate::entry::test::write_fragment_states_multiple_entries::{{closure}}::h04ea2211d35d66ce [INFO] [stdout] at /opt/rustwide/workdir/src/generate/entry.rs:500:46 [INFO] [stdout] 25: 0x6358a5098c86 - core::ops::function::FnOnce::call_once::hb2c9417de1af17a5 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x6358a528ea5b - core::ops::function::FnOnce::call_once::h933a5d67211adff2 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x6358a528ea5b - test::__rust_begin_short_backtrace::h2157af19b0990ffb [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x6358a52a4635 - test::run_test_in_process::{{closure}}::hc3b17e0f313c900a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x6358a52a4635 - as core::ops::function::FnOnce<()>>::call_once::ha23e4b490259273c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x6358a52a4635 - std::panicking::catch_unwind::do_call::h8dc9d5da83792f7a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x6358a52a4635 - std::panicking::catch_unwind::h0d8461330de4a18b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x6358a52a4635 - std::panic::catch_unwind::h0321b51397bf9811 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x6358a52a4635 - test::run_test_in_process::hcaaa440fdbe4a513 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x6358a52a4635 - test::run_test::{{closure}}::h6345da602b85d6c3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x6358a527ae44 - test::run_test::{{closure}}::h90a3b75194d37b5d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x6358a527ae44 - std::sys::backtrace::__rust_begin_short_backtrace::hae41a17001f53ede [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x6358a527e70a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6ea895368381e0b1 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x6358a527e70a - as core::ops::function::FnOnce<()>>::call_once::h9c39013633bb9237 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x6358a527e70a - std::panicking::catch_unwind::do_call::hac7dba9ee4d99108 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x6358a527e70a - std::panicking::catch_unwind::h73015d00e4866ebc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x6358a527e70a - std::panic::catch_unwind::h6f7b38e188aa4f62 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x6358a527e70a - std::thread::Builder::spawn_unchecked_::{{closure}}::h969a6a2dc1856df7 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x6358a527e70a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h269ad1ff23e72122 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x6358a5b3cf5f - as core::ops::function::FnOnce>::call_once::hdd09a470c130e806 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 45: 0x6358a5b3cf5f - std::sys::thread::unix::Thread::new::thread_start::h14ea1ba6e320367c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 46: 0x7b0814b3daa4 - [INFO] [stdout] 47: 0x7b0814bcaa34 - 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 'caccb4d0368bd918ef6668af8e13834d07040417'. [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' (1736) 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: 0x6358a5b6a592 - std::backtrace_rs::backtrace::libunwind::trace::h76861be37b31432e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x6358a5b6a592 - std::backtrace_rs::backtrace::trace_unsynchronized::h58d4003082192c17 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x6358a5b6a592 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x6358a5b6a592 - ::fmt::h52160e9da139e442 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x6358a5b7e81f - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x6358a5b7e81f - core::fmt::write::hf09a056a304e021a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x6358a5b35311 - std::io::default_write_fmt::hf1a3645468226e09 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x6358a5b35311 - std::io::Write::write_fmt::ha5ada6d6a18bde33 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x6358a5b41ed2 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x6358a5b47c0f - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x6358a5b47aa1 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x6358a528ec2e - as core::ops::function::Fn>::call::h3d020961abd83a77 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x6358a528ec2e - test::test_main_with_exit_callback::{{closure}}::h720dd2fdb2ddcdca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x6358a5b4837f - as core::ops::function::Fn>::call::h75334a5fed245bca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x6358a5b4837f - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x6358a5b4812a - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x6358a5b42009 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x6358a5b2854d - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x6358a5b89900 - core::panicking::panic_fmt::heb245a301f4395db [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x6358a5b885e6 - core::result::unwrap_failed::h91bd1e1731f928fc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x6358a500cdb3 - core::result::Result::unwrap::h81966e9c37ad6a20 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x6358a500cdb3 - wgsl_bindgen::generate::entry::test::write_vertex_module_single_input_uint32::{{closure}}::h1dd9ad1a1d472b16 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x6358a50e9fef - insta::settings::Settings::bind::hd55c1911d2a0d3dc [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: 0x6358a500c905 - wgsl_bindgen::generate::entry::test::write_vertex_module_single_input_uint32::h91e688dc1f23b77f [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x6358a500cea7 - wgsl_bindgen::generate::entry::test::write_vertex_module_single_input_uint32::{{closure}}::h67d4f73c7f20052a [INFO] [stdout] at /opt/rustwide/workdir/src/generate/entry.rs:382:47 [INFO] [stdout] 25: 0x6358a5097e76 - core::ops::function::FnOnce::call_once::h60ca1f5cde327ef3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x6358a528ea5b - core::ops::function::FnOnce::call_once::h933a5d67211adff2 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x6358a528ea5b - test::__rust_begin_short_backtrace::h2157af19b0990ffb [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x6358a52a4635 - test::run_test_in_process::{{closure}}::hc3b17e0f313c900a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x6358a52a4635 - as core::ops::function::FnOnce<()>>::call_once::ha23e4b490259273c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x6358a52a4635 - std::panicking::catch_unwind::do_call::h8dc9d5da83792f7a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x6358a52a4635 - std::panicking::catch_unwind::h0d8461330de4a18b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x6358a52a4635 - std::panic::catch_unwind::h0321b51397bf9811 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x6358a52a4635 - test::run_test_in_process::hcaaa440fdbe4a513 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x6358a52a4635 - test::run_test::{{closure}}::h6345da602b85d6c3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x6358a527ae44 - test::run_test::{{closure}}::h90a3b75194d37b5d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x6358a527ae44 - std::sys::backtrace::__rust_begin_short_backtrace::hae41a17001f53ede [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x6358a527e70a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6ea895368381e0b1 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x6358a527e70a - as core::ops::function::FnOnce<()>>::call_once::h9c39013633bb9237 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x6358a527e70a - std::panicking::catch_unwind::do_call::hac7dba9ee4d99108 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x6358a527e70a - std::panicking::catch_unwind::h73015d00e4866ebc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x6358a527e70a - std::panic::catch_unwind::h6f7b38e188aa4f62 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x6358a527e70a - std::thread::Builder::spawn_unchecked_::{{closure}}::h969a6a2dc1856df7 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x6358a527e70a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h269ad1ff23e72122 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x6358a5b3cf5f - as core::ops::function::FnOnce>::call_once::hdd09a470c130e806 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 45: 0x6358a5b3cf5f - std::sys::thread::unix::Thread::new::thread_start::h14ea1ba6e320367c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 46: 0x7b0814b3daa4 - [INFO] [stdout] 47: 0x7b0814bcaa34 - 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 'caccb4d0368bd918ef6668af8e13834d07040417'. [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' (1532) 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: 0x6358a5b6a592 - std::backtrace_rs::backtrace::libunwind::trace::h76861be37b31432e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x6358a5b6a592 - std::backtrace_rs::backtrace::trace_unsynchronized::h58d4003082192c17 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x6358a5b6a592 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x6358a5b6a592 - ::fmt::h52160e9da139e442 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x6358a5b7e81f - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x6358a5b7e81f - core::fmt::write::hf09a056a304e021a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x6358a5b35311 - std::io::default_write_fmt::hf1a3645468226e09 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x6358a5b35311 - std::io::Write::write_fmt::ha5ada6d6a18bde33 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x6358a5b41ed2 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x6358a5b47c0f - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x6358a5b47aa1 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x6358a528ec2e - as core::ops::function::Fn>::call::h3d020961abd83a77 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x6358a528ec2e - test::test_main_with_exit_callback::{{closure}}::h720dd2fdb2ddcdca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x6358a5b4837f - as core::ops::function::Fn>::call::h75334a5fed245bca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x6358a5b4837f - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x6358a5b4812a - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x6358a5b42009 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x6358a5b2854d - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x6358a5b89900 - core::panicking::panic_fmt::heb245a301f4395db [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x6358a5b885e6 - core::result::unwrap_failed::h91bd1e1731f928fc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x6358a500d713 - core::result::Result::unwrap::h81966e9c37ad6a20 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x6358a500d713 - wgsl_bindgen::generate::entry::test::write_vertex_module_single_input_float32::{{closure}}::h23f9e442ace4cbe4 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x6358a50e986f - insta::settings::Settings::bind::h8d6939b2b59ef43a [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: 0x6358a500d235 - wgsl_bindgen::generate::entry::test::write_vertex_module_single_input_float32::hffb138f2ad4aa63f [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x6358a500d2e7 - wgsl_bindgen::generate::entry::test::write_vertex_module_single_input_float32::{{closure}}::h0d603219fded88d1 [INFO] [stdout] at /opt/rustwide/workdir/src/generate/entry.rs:336:48 [INFO] [stdout] 25: 0x6358a5098ed6 - core::ops::function::FnOnce::call_once::hc678a766b1c85997 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x6358a528ea5b - core::ops::function::FnOnce::call_once::h933a5d67211adff2 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x6358a528ea5b - test::__rust_begin_short_backtrace::h2157af19b0990ffb [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x6358a52a4635 - test::run_test_in_process::{{closure}}::hc3b17e0f313c900a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x6358a52a4635 - as core::ops::function::FnOnce<()>>::call_once::ha23e4b490259273c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x6358a52a4635 - std::panicking::catch_unwind::do_call::h8dc9d5da83792f7a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x6358a52a4635 - std::panicking::catch_unwind::h0d8461330de4a18b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x6358a52a4635 - std::panic::catch_unwind::h0321b51397bf9811 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x6358a52a4635 - test::run_test_in_process::hcaaa440fdbe4a513 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x6358a52a4635 - test::run_test::{{closure}}::h6345da602b85d6c3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x6358a527ae44 - test::run_test::{{closure}}::h90a3b75194d37b5d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x6358a527ae44 - std::sys::backtrace::__rust_begin_short_backtrace::hae41a17001f53ede [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x6358a527e70a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6ea895368381e0b1 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x6358a527e70a - as core::ops::function::FnOnce<()>>::call_once::h9c39013633bb9237 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x6358a527e70a - std::panicking::catch_unwind::do_call::hac7dba9ee4d99108 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x6358a527e70a - std::panicking::catch_unwind::h73015d00e4866ebc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x6358a527e70a - std::panic::catch_unwind::h6f7b38e188aa4f62 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x6358a527e70a - std::thread::Builder::spawn_unchecked_::{{closure}}::h969a6a2dc1856df7 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x6358a527e70a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h269ad1ff23e72122 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x6358a5b3cf5f - as core::ops::function::FnOnce>::call_once::hdd09a470c130e806 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 45: 0x6358a5b3cf5f - std::sys::thread::unix::Thread::new::thread_start::h14ea1ba6e320367c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 46: 0x7b0814b3daa4 - [INFO] [stdout] 47: 0x7b0814bcaa34 - 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 'caccb4d0368bd918ef6668af8e13834d07040417'. [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' (1533) 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: 0x6358a5b6a592 - std::backtrace_rs::backtrace::libunwind::trace::h76861be37b31432e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x6358a5b6a592 - std::backtrace_rs::backtrace::trace_unsynchronized::h58d4003082192c17 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x6358a5b6a592 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x6358a5b6a592 - ::fmt::h52160e9da139e442 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x6358a5b7e81f - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x6358a5b7e81f - core::fmt::write::hf09a056a304e021a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x6358a5b35311 - std::io::default_write_fmt::hf1a3645468226e09 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x6358a5b35311 - std::io::Write::write_fmt::ha5ada6d6a18bde33 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x6358a5b41ed2 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x6358a5b47c0f - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x6358a5b47aa1 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x6358a528ec2e - as core::ops::function::Fn>::call::h3d020961abd83a77 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x6358a528ec2e - test::test_main_with_exit_callback::{{closure}}::h720dd2fdb2ddcdca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x6358a5b4837f - as core::ops::function::Fn>::call::h75334a5fed245bca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x6358a5b4837f - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x6358a5b4812a - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x6358a5b42009 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x6358a5b2854d - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x6358a5b89900 - core::panicking::panic_fmt::heb245a301f4395db [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x6358a5b885e6 - core::result::unwrap_failed::h91bd1e1731f928fc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x6358a500e013 - core::result::Result::unwrap::h81966e9c37ad6a20 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x6358a500e013 - wgsl_bindgen::generate::entry::test::write_vertex_module_single_input_float64::{{closure}}::h0b1a05b0a9c88b1f [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x6358a50e972f - insta::settings::Settings::bind::h7f65327f699f9d34 [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: 0x6358a500db65 - wgsl_bindgen::generate::entry::test::write_vertex_module_single_input_float64::hafdcab1cb6cf25fe [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x6358a500e107 - wgsl_bindgen::generate::entry::test::write_vertex_module_single_input_float64::{{closure}}::h372d08375fbaf3aa [INFO] [stdout] at /opt/rustwide/workdir/src/generate/entry.rs:359:48 [INFO] [stdout] 25: 0x6358a5099216 - core::ops::function::FnOnce::call_once::hd98bfd106a2070b0 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x6358a528ea5b - core::ops::function::FnOnce::call_once::h933a5d67211adff2 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x6358a528ea5b - test::__rust_begin_short_backtrace::h2157af19b0990ffb [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x6358a52a4635 - test::run_test_in_process::{{closure}}::hc3b17e0f313c900a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x6358a52a4635 - as core::ops::function::FnOnce<()>>::call_once::ha23e4b490259273c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x6358a52a4635 - std::panicking::catch_unwind::do_call::h8dc9d5da83792f7a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x6358a52a4635 - std::panicking::catch_unwind::h0d8461330de4a18b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x6358a52a4635 - std::panic::catch_unwind::h0321b51397bf9811 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x6358a52a4635 - test::run_test_in_process::hcaaa440fdbe4a513 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x6358a52a4635 - test::run_test::{{closure}}::h6345da602b85d6c3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x6358a527ae44 - test::run_test::{{closure}}::h90a3b75194d37b5d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x6358a527ae44 - std::sys::backtrace::__rust_begin_short_backtrace::hae41a17001f53ede [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x6358a527e70a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6ea895368381e0b1 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x6358a527e70a - as core::ops::function::FnOnce<()>>::call_once::h9c39013633bb9237 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x6358a527e70a - std::panicking::catch_unwind::do_call::hac7dba9ee4d99108 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x6358a527e70a - std::panicking::catch_unwind::h73015d00e4866ebc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x6358a527e70a - std::panic::catch_unwind::h6f7b38e188aa4f62 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x6358a527e70a - std::thread::Builder::spawn_unchecked_::{{closure}}::h969a6a2dc1856df7 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x6358a527e70a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h269ad1ff23e72122 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x6358a5b3cf5f - as core::ops::function::FnOnce>::call_once::hdd09a470c130e806 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 45: 0x6358a5b3cf5f - std::sys::thread::unix::Thread::new::thread_start::h14ea1ba6e320367c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 46: 0x7b0814b3daa4 - [INFO] [stdout] 47: 0x7b0814bcaa34 - 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 'caccb4d0368bd918ef6668af8e13834d07040417'. [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' (1879) 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: 0x6358a5b6a592 - std::backtrace_rs::backtrace::libunwind::trace::h76861be37b31432e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x6358a5b6a592 - std::backtrace_rs::backtrace::trace_unsynchronized::h58d4003082192c17 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x6358a5b6a592 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x6358a5b6a592 - ::fmt::h52160e9da139e442 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x6358a5b7e81f - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x6358a5b7e81f - core::fmt::write::hf09a056a304e021a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x6358a5b35311 - std::io::default_write_fmt::hf1a3645468226e09 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x6358a5b35311 - std::io::Write::write_fmt::ha5ada6d6a18bde33 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x6358a5b41ed2 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x6358a5b47c0f - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x6358a5b47aa1 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x6358a528ec2e - as core::ops::function::Fn>::call::h3d020961abd83a77 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x6358a528ec2e - test::test_main_with_exit_callback::{{closure}}::h720dd2fdb2ddcdca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x6358a5b4837f - as core::ops::function::Fn>::call::h75334a5fed245bca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x6358a5b4837f - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x6358a5b4812a - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x6358a5b42009 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x6358a5b2854d - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x6358a5b89900 - core::panicking::panic_fmt::heb245a301f4395db [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x6358a5b885e6 - core::result::unwrap_failed::h91bd1e1731f928fc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x6358a500e933 - core::result::Result::unwrap::h81966e9c37ad6a20 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x6358a500e933 - wgsl_bindgen::generate::entry::test::write_vertex_shader_entry_multiple_buffers::{{closure}}::hddf50b4189512608 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x6358a50e90ef - insta::settings::Settings::bind::h39d3eca3700c0f8e [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: 0x6358a500e44b - wgsl_bindgen::generate::entry::test::write_vertex_shader_entry_multiple_buffers::h92bf69b1348ff7ee [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x6358a500e507 - wgsl_bindgen::generate::entry::test::write_vertex_shader_entry_multiple_buffers::{{closure}}::hd4f0dad312a87d4a [INFO] [stdout] at /opt/rustwide/workdir/src/generate/entry.rs:462:50 [INFO] [stdout] 25: 0x6358a5097cd6 - core::ops::function::FnOnce::call_once::h5bd03c18ac6355e1 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x6358a528ea5b - core::ops::function::FnOnce::call_once::h933a5d67211adff2 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x6358a528ea5b - test::__rust_begin_short_backtrace::h2157af19b0990ffb [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x6358a52a4635 - test::run_test_in_process::{{closure}}::hc3b17e0f313c900a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x6358a52a4635 - as core::ops::function::FnOnce<()>>::call_once::ha23e4b490259273c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x6358a52a4635 - std::panicking::catch_unwind::do_call::h8dc9d5da83792f7a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x6358a52a4635 - std::panicking::catch_unwind::h0d8461330de4a18b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x6358a52a4635 - std::panic::catch_unwind::h0321b51397bf9811 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x6358a52a4635 - test::run_test_in_process::hcaaa440fdbe4a513 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x6358a52a4635 - test::run_test::{{closure}}::h6345da602b85d6c3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x6358a527ae44 - test::run_test::{{closure}}::h90a3b75194d37b5d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x6358a527ae44 - std::sys::backtrace::__rust_begin_short_backtrace::hae41a17001f53ede [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x6358a527e70a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6ea895368381e0b1 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x6358a527e70a - as core::ops::function::FnOnce<()>>::call_once::h9c39013633bb9237 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x6358a527e70a - std::panicking::catch_unwind::do_call::hac7dba9ee4d99108 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x6358a527e70a - std::panicking::catch_unwind::h73015d00e4866ebc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x6358a527e70a - std::panic::catch_unwind::h6f7b38e188aa4f62 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x6358a527e70a - std::thread::Builder::spawn_unchecked_::{{closure}}::h969a6a2dc1856df7 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x6358a527e70a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h269ad1ff23e72122 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x6358a5b3cf5f - as core::ops::function::FnOnce>::call_once::hdd09a470c130e806 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 45: 0x6358a5b3cf5f - std::sys::thread::unix::Thread::new::thread_start::h14ea1ba6e320367c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 46: 0x7b0814b3daa4 - [INFO] [stdout] 47: 0x7b0814bcaa34 - 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 'caccb4d0368bd918ef6668af8e13834d07040417'. [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' (2438) 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: 0x6358a5b6a592 - std::backtrace_rs::backtrace::libunwind::trace::h76861be37b31432e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x6358a5b6a592 - std::backtrace_rs::backtrace::trace_unsynchronized::h58d4003082192c17 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x6358a5b6a592 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x6358a5b6a592 - ::fmt::h52160e9da139e442 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x6358a5b7e81f - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x6358a5b7e81f - core::fmt::write::hf09a056a304e021a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x6358a5b35311 - std::io::default_write_fmt::hf1a3645468226e09 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x6358a5b35311 - std::io::Write::write_fmt::ha5ada6d6a18bde33 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x6358a5b41ed2 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x6358a5b47c0f - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x6358a5b47aa1 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x6358a528ec2e - as core::ops::function::Fn>::call::h3d020961abd83a77 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x6358a528ec2e - test::test_main_with_exit_callback::{{closure}}::h720dd2fdb2ddcdca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x6358a5b4837f - as core::ops::function::Fn>::call::h75334a5fed245bca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x6358a5b4837f - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x6358a5b4812a - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x6358a5b42009 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x6358a5b2854d - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x6358a5b89900 - core::panicking::panic_fmt::heb245a301f4395db [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x6358a5b885e6 - core::result::unwrap_failed::h91bd1e1731f928fc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x6358a500b3a3 - core::result::Result::unwrap::h81966e9c37ad6a20 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x6358a500b3a3 - wgsl_bindgen::generate::entry::test::write_vertex_shader_entry_no_buffers::{{closure}}::h640a692d42fa003a [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x6358a50e99af - insta::settings::Settings::bind::had3532542d4fc6ce [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: 0x6358a500aeeb - wgsl_bindgen::generate::entry::test::write_vertex_shader_entry_no_buffers::h40dd0627a2010712 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x6358a500b497 - wgsl_bindgen::generate::entry::test::write_vertex_shader_entry_no_buffers::{{closure}}::hab70694795d8e731 [INFO] [stdout] at /opt/rustwide/workdir/src/generate/entry.rs:428:44 [INFO] [stdout] 25: 0x6358a5099466 - core::ops::function::FnOnce::call_once::hed24da359b478cfe [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x6358a528ea5b - core::ops::function::FnOnce::call_once::h933a5d67211adff2 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x6358a528ea5b - test::__rust_begin_short_backtrace::h2157af19b0990ffb [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x6358a52a4635 - test::run_test_in_process::{{closure}}::hc3b17e0f313c900a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x6358a52a4635 - as core::ops::function::FnOnce<()>>::call_once::ha23e4b490259273c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x6358a52a4635 - std::panicking::catch_unwind::do_call::h8dc9d5da83792f7a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x6358a52a4635 - std::panicking::catch_unwind::h0d8461330de4a18b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x6358a52a4635 - std::panic::catch_unwind::h0321b51397bf9811 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x6358a52a4635 - test::run_test_in_process::hcaaa440fdbe4a513 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x6358a52a4635 - test::run_test::{{closure}}::h6345da602b85d6c3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x6358a527ae44 - test::run_test::{{closure}}::h90a3b75194d37b5d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x6358a527ae44 - std::sys::backtrace::__rust_begin_short_backtrace::hae41a17001f53ede [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x6358a527e70a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6ea895368381e0b1 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x6358a527e70a - as core::ops::function::FnOnce<()>>::call_once::h9c39013633bb9237 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x6358a527e70a - std::panicking::catch_unwind::do_call::hac7dba9ee4d99108 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x6358a527e70a - std::panicking::catch_unwind::h73015d00e4866ebc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x6358a527e70a - std::panic::catch_unwind::h6f7b38e188aa4f62 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x6358a527e70a - std::thread::Builder::spawn_unchecked_::{{closure}}::h969a6a2dc1856df7 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x6358a527e70a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h269ad1ff23e72122 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x6358a5b3cf5f - as core::ops::function::FnOnce>::call_once::hdd09a470c130e806 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 45: 0x6358a5b3cf5f - std::sys::thread::unix::Thread::new::thread_start::h14ea1ba6e320367c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 46: 0x7b0814b3daa4 - [INFO] [stdout] 47: 0x7b0814bcaa34 - 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 'caccb4d0368bd918ef6668af8e13834d07040417'. [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' (2486) 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: 0x6358a5b6a592 - std::backtrace_rs::backtrace::libunwind::trace::h76861be37b31432e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x6358a5b6a592 - std::backtrace_rs::backtrace::trace_unsynchronized::h58d4003082192c17 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x6358a5b6a592 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x6358a5b6a592 - ::fmt::h52160e9da139e442 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x6358a5b7e81f - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x6358a5b7e81f - core::fmt::write::hf09a056a304e021a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x6358a5b35311 - std::io::default_write_fmt::hf1a3645468226e09 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x6358a5b35311 - std::io::Write::write_fmt::ha5ada6d6a18bde33 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x6358a5b41ed2 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x6358a5b47c0f - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x6358a5b47aa1 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x6358a528ec2e - as core::ops::function::Fn>::call::h3d020961abd83a77 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x6358a528ec2e - test::test_main_with_exit_callback::{{closure}}::h720dd2fdb2ddcdca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x6358a5b4837f - as core::ops::function::Fn>::call::h75334a5fed245bca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x6358a5b4837f - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x6358a5b4812a - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x6358a5b42009 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x6358a5b2854d - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x6358a5b89900 - core::panicking::panic_fmt::heb245a301f4395db [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x6358a5b885e6 - core::result::unwrap_failed::h91bd1e1731f928fc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x6358a500bc43 - core::result::Result::unwrap::h81966e9c37ad6a20 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x6358a500bc43 - wgsl_bindgen::generate::entry::test::write_vertex_shader_multiple_entries::{{closure}}::h9fde896822264589 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x6358a50e918f - insta::settings::Settings::bind::h3a2b50896b1ead7c [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: 0x6358a500b78b - wgsl_bindgen::generate::entry::test::write_vertex_shader_multiple_entries::h7c64e9bd61bde46b [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x6358a500bd37 - wgsl_bindgen::generate::entry::test::write_vertex_shader_multiple_entries::{{closure}}::hef98370449a0aea6 [INFO] [stdout] at /opt/rustwide/workdir/src/generate/entry.rs:442:44 [INFO] [stdout] 25: 0x6358a5097eb6 - core::ops::function::FnOnce::call_once::h61d41fb2c2fcbd08 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x6358a528ea5b - core::ops::function::FnOnce::call_once::h933a5d67211adff2 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x6358a528ea5b - test::__rust_begin_short_backtrace::h2157af19b0990ffb [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x6358a52a4635 - test::run_test_in_process::{{closure}}::hc3b17e0f313c900a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x6358a52a4635 - as core::ops::function::FnOnce<()>>::call_once::ha23e4b490259273c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x6358a52a4635 - std::panicking::catch_unwind::do_call::h8dc9d5da83792f7a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x6358a52a4635 - std::panicking::catch_unwind::h0d8461330de4a18b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x6358a52a4635 - std::panic::catch_unwind::h0321b51397bf9811 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x6358a52a4635 - test::run_test_in_process::hcaaa440fdbe4a513 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x6358a52a4635 - test::run_test::{{closure}}::h6345da602b85d6c3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x6358a527ae44 - test::run_test::{{closure}}::h90a3b75194d37b5d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x6358a527ae44 - std::sys::backtrace::__rust_begin_short_backtrace::hae41a17001f53ede [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x6358a527e70a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6ea895368381e0b1 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x6358a527e70a - as core::ops::function::FnOnce<()>>::call_once::h9c39013633bb9237 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x6358a527e70a - std::panicking::catch_unwind::do_call::hac7dba9ee4d99108 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x6358a527e70a - std::panicking::catch_unwind::h73015d00e4866ebc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x6358a527e70a - std::panic::catch_unwind::h6f7b38e188aa4f62 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x6358a527e70a - std::thread::Builder::spawn_unchecked_::{{closure}}::h969a6a2dc1856df7 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x6358a527e70a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h269ad1ff23e72122 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x6358a5b3cf5f - as core::ops::function::FnOnce>::call_once::hdd09a470c130e806 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 45: 0x6358a5b3cf5f - std::sys::thread::unix::Thread::new::thread_start::h14ea1ba6e320367c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 46: 0x7b0814b3daa4 - [INFO] [stdout] 47: 0x7b0814bcaa34 - 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 'caccb4d0368bd918ef6668af8e13834d07040417'. [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] [stderr] error: test failed, to rerun pass `--lib` [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' (3006) 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: 0x6358a5b6a592 - std::backtrace_rs::backtrace::libunwind::trace::h76861be37b31432e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x6358a5b6a592 - std::backtrace_rs::backtrace::trace_unsynchronized::h58d4003082192c17 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x6358a5b6a592 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x6358a5b6a592 - ::fmt::h52160e9da139e442 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x6358a5b7e81f - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x6358a5b7e81f - core::fmt::write::hf09a056a304e021a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x6358a5b35311 - std::io::default_write_fmt::hf1a3645468226e09 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x6358a5b35311 - std::io::Write::write_fmt::ha5ada6d6a18bde33 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x6358a5b41ed2 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x6358a5b47c0f - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x6358a5b47aa1 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x6358a528ec2e - as core::ops::function::Fn>::call::h3d020961abd83a77 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x6358a528ec2e - test::test_main_with_exit_callback::{{closure}}::h720dd2fdb2ddcdca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x6358a5b4837f - as core::ops::function::Fn>::call::h75334a5fed245bca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x6358a5b4837f - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x6358a5b4812a - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x6358a5b42009 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x6358a5b2854d - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x6358a5b89900 - core::panicking::panic_fmt::heb245a301f4395db [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x6358a5b885e6 - core::result::unwrap_failed::h91bd1e1731f928fc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x6358a5008813 - core::result::Result::unwrap::h81966e9c37ad6a20 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x6358a5008813 - wgsl_bindgen::generate::shader_module::tests::write_compute_module_multiple_entries::{{closure}}::h2fea41953a97864b [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x6358a50e954f - insta::settings::Settings::bind::h6b35ab7702dde2c0 [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: 0x6358a5008368 - wgsl_bindgen::generate::shader_module::tests::write_compute_module_multiple_entries::h091c152cb2cf8add [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x6358a5008907 - wgsl_bindgen::generate::shader_module::tests::write_compute_module_multiple_entries::{{closure}}::hb459f17713b24fea [INFO] [stdout] at /opt/rustwide/workdir/src/generate/shader_module.rs:815:45 [INFO] [stdout] 25: 0x6358a5097a06 - core::ops::function::FnOnce::call_once::h4d0d1d920197440d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x6358a528ea5b - core::ops::function::FnOnce::call_once::h933a5d67211adff2 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x6358a528ea5b - test::__rust_begin_short_backtrace::h2157af19b0990ffb [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x6358a52a4635 - test::run_test_in_process::{{closure}}::hc3b17e0f313c900a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x6358a52a4635 - as core::ops::function::FnOnce<()>>::call_once::ha23e4b490259273c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x6358a52a4635 - std::panicking::catch_unwind::do_call::h8dc9d5da83792f7a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x6358a52a4635 - std::panicking::catch_unwind::h0d8461330de4a18b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x6358a52a4635 - std::panic::catch_unwind::h0321b51397bf9811 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x6358a52a4635 - test::run_test_in_process::hcaaa440fdbe4a513 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x6358a52a4635 - test::run_test::{{closure}}::h6345da602b85d6c3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x6358a527ae44 - test::run_test::{{closure}}::h90a3b75194d37b5d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x6358a527ae44 - std::sys::backtrace::__rust_begin_short_backtrace::hae41a17001f53ede [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x6358a527e70a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6ea895368381e0b1 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x6358a527e70a - as core::ops::function::FnOnce<()>>::call_once::h9c39013633bb9237 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x6358a527e70a - std::panicking::catch_unwind::do_call::hac7dba9ee4d99108 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x6358a527e70a - std::panicking::catch_unwind::h73015d00e4866ebc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x6358a527e70a - std::panic::catch_unwind::h6f7b38e188aa4f62 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x6358a527e70a - std::thread::Builder::spawn_unchecked_::{{closure}}::h969a6a2dc1856df7 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x6358a527e70a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h269ad1ff23e72122 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x6358a5b3cf5f - as core::ops::function::FnOnce>::call_once::hdd09a470c130e806 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 45: 0x6358a5b3cf5f - std::sys::thread::unix::Thread::new::thread_start::h14ea1ba6e320367c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 46: 0x7b0814b3daa4 - [INFO] [stdout] 47: 0x7b0814bcaa34 - 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 'caccb4d0368bd918ef6668af8e13834d07040417'. [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' (3137) 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: 0x6358a5b6a592 - std::backtrace_rs::backtrace::libunwind::trace::h76861be37b31432e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x6358a5b6a592 - std::backtrace_rs::backtrace::trace_unsynchronized::h58d4003082192c17 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x6358a5b6a592 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x6358a5b6a592 - ::fmt::h52160e9da139e442 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x6358a5b7e81f - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x6358a5b7e81f - core::fmt::write::hf09a056a304e021a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x6358a5b35311 - std::io::default_write_fmt::hf1a3645468226e09 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x6358a5b35311 - std::io::Write::write_fmt::ha5ada6d6a18bde33 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x6358a5b41ed2 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x6358a5b47c0f - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x6358a5b47aa1 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x6358a528ec2e - as core::ops::function::Fn>::call::h3d020961abd83a77 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x6358a528ec2e - test::test_main_with_exit_callback::{{closure}}::h720dd2fdb2ddcdca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x6358a5b4837f - as core::ops::function::Fn>::call::h75334a5fed245bca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x6358a5b4837f - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x6358a5b4812a - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x6358a5b42009 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x6358a5b2854d - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x6358a5b89900 - core::panicking::panic_fmt::heb245a301f4395db [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x6358a5b885e6 - core::result::unwrap_failed::h91bd1e1731f928fc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x6358a503f713 - core::result::Result::unwrap::h81966e9c37ad6a20 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x6358a503f713 - wgsl_bindgen::quote_gen::rust_module_builder::tests::test_merge::{{closure}}::he4cc5a4171d5a8c0 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x6358a50e97cf - insta::settings::Settings::bind::h834db25f0e3fec35 [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: 0x6358a503f214 - wgsl_bindgen::quote_gen::rust_module_builder::tests::test_merge::h155fab1c1aec6199 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x6358a503f2e7 - wgsl_bindgen::quote_gen::rust_module_builder::tests::test_merge::{{closure}}::h61ae11c42d7ed7c3 [INFO] [stdout] at /opt/rustwide/workdir/src/quote_gen/rust_module_builder.rs:363:18 [INFO] [stdout] 25: 0x6358a5098a86 - core::ops::function::FnOnce::call_once::ha2f3347a2f2e3378 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x6358a528ea5b - core::ops::function::FnOnce::call_once::h933a5d67211adff2 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x6358a528ea5b - test::__rust_begin_short_backtrace::h2157af19b0990ffb [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x6358a52a4635 - test::run_test_in_process::{{closure}}::hc3b17e0f313c900a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x6358a52a4635 - as core::ops::function::FnOnce<()>>::call_once::ha23e4b490259273c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x6358a52a4635 - std::panicking::catch_unwind::do_call::h8dc9d5da83792f7a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x6358a52a4635 - std::panicking::catch_unwind::h0d8461330de4a18b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x6358a52a4635 - std::panic::catch_unwind::h0321b51397bf9811 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x6358a52a4635 - test::run_test_in_process::hcaaa440fdbe4a513 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x6358a52a4635 - test::run_test::{{closure}}::h6345da602b85d6c3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x6358a527ae44 - test::run_test::{{closure}}::h90a3b75194d37b5d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x6358a527ae44 - std::sys::backtrace::__rust_begin_short_backtrace::hae41a17001f53ede [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x6358a527e70a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6ea895368381e0b1 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x6358a527e70a - as core::ops::function::FnOnce<()>>::call_once::h9c39013633bb9237 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x6358a527e70a - std::panicking::catch_unwind::do_call::hac7dba9ee4d99108 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x6358a527e70a - std::panicking::catch_unwind::h73015d00e4866ebc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x6358a527e70a - std::panic::catch_unwind::h6f7b38e188aa4f62 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x6358a527e70a - std::thread::Builder::spawn_unchecked_::{{closure}}::h969a6a2dc1856df7 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x6358a527e70a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h269ad1ff23e72122 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x6358a5b3cf5f - as core::ops::function::FnOnce>::call_once::hdd09a470c130e806 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 45: 0x6358a5b3cf5f - std::sys::thread::unix::Thread::new::thread_start::h14ea1ba6e320367c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 46: 0x7b0814b3daa4 - [INFO] [stdout] 47: 0x7b0814bcaa34 - 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 'caccb4d0368bd918ef6668af8e13834d07040417'. [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' (3219) 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: 0x6358a5b6a592 - std::backtrace_rs::backtrace::libunwind::trace::h76861be37b31432e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x6358a5b6a592 - std::backtrace_rs::backtrace::trace_unsynchronized::h58d4003082192c17 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x6358a5b6a592 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x6358a5b6a592 - ::fmt::h52160e9da139e442 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x6358a5b7e81f - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x6358a5b7e81f - core::fmt::write::hf09a056a304e021a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x6358a5b35311 - std::io::default_write_fmt::hf1a3645468226e09 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x6358a5b35311 - std::io::Write::write_fmt::ha5ada6d6a18bde33 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x6358a5b41ed2 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x6358a5b47c0f - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x6358a5b47aa1 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x6358a528ec2e - as core::ops::function::Fn>::call::h3d020961abd83a77 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x6358a528ec2e - test::test_main_with_exit_callback::{{closure}}::h720dd2fdb2ddcdca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x6358a5b4837f - as core::ops::function::Fn>::call::h75334a5fed245bca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x6358a5b4837f - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x6358a5b4812a - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x6358a5b42009 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x6358a5b2854d - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x6358a5b89900 - core::panicking::panic_fmt::heb245a301f4395db [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x6358a5b885e6 - core::result::unwrap_failed::h91bd1e1731f928fc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x6358a5040353 - core::result::Result::unwrap::h81966e9c37ad6a20 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x6358a5040353 - wgsl_bindgen::quote_gen::rust_module_builder::tests::test_module_add_duplicates::{{closure}}::hc2e66764b7e98fd5 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x6358a50ea1cf - insta::settings::Settings::bind::hdc189fa80cca618f [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: 0x6358a503fe4a - wgsl_bindgen::quote_gen::rust_module_builder::tests::test_module_add_duplicates::h078cd70c5c0f2610 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x6358a503ff1d - wgsl_bindgen::quote_gen::rust_module_builder::tests::test_module_add_duplicates::{{closure}}::h824a60465fe77512 [INFO] [stdout] at /opt/rustwide/workdir/src/quote_gen/rust_module_builder.rs:338:38 [INFO] [stdout] 25: 0x6358a5098376 - core::ops::function::FnOnce::call_once::h7d7c63b1d0fb0aed [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x6358a528ea5b - core::ops::function::FnOnce::call_once::h933a5d67211adff2 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x6358a528ea5b - test::__rust_begin_short_backtrace::h2157af19b0990ffb [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x6358a52a4635 - test::run_test_in_process::{{closure}}::hc3b17e0f313c900a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x6358a52a4635 - as core::ops::function::FnOnce<()>>::call_once::ha23e4b490259273c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x6358a52a4635 - std::panicking::catch_unwind::do_call::h8dc9d5da83792f7a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x6358a52a4635 - std::panicking::catch_unwind::h0d8461330de4a18b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x6358a52a4635 - std::panic::catch_unwind::h0321b51397bf9811 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x6358a52a4635 - test::run_test_in_process::hcaaa440fdbe4a513 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x6358a52a4635 - test::run_test::{{closure}}::h6345da602b85d6c3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x6358a527ae44 - test::run_test::{{closure}}::h90a3b75194d37b5d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x6358a527ae44 - std::sys::backtrace::__rust_begin_short_backtrace::hae41a17001f53ede [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x6358a527e70a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6ea895368381e0b1 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x6358a527e70a - as core::ops::function::FnOnce<()>>::call_once::h9c39013633bb9237 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x6358a527e70a - std::panicking::catch_unwind::do_call::hac7dba9ee4d99108 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x6358a527e70a - std::panicking::catch_unwind::h73015d00e4866ebc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x6358a527e70a - std::panic::catch_unwind::h6f7b38e188aa4f62 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x6358a527e70a - std::thread::Builder::spawn_unchecked_::{{closure}}::h969a6a2dc1856df7 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x6358a527e70a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h269ad1ff23e72122 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x6358a5b3cf5f - as core::ops::function::FnOnce>::call_once::hdd09a470c130e806 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 45: 0x6358a5b3cf5f - std::sys::thread::unix::Thread::new::thread_start::h14ea1ba6e320367c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 46: 0x7b0814b3daa4 - [INFO] [stdout] 47: 0x7b0814bcaa34 - 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 'caccb4d0368bd918ef6668af8e13834d07040417'. [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' (3079) 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: 0x6358a5b6a592 - std::backtrace_rs::backtrace::libunwind::trace::h76861be37b31432e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x6358a5b6a592 - std::backtrace_rs::backtrace::trace_unsynchronized::h58d4003082192c17 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x6358a5b6a592 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x6358a5b6a592 - ::fmt::h52160e9da139e442 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x6358a5b7e81f - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x6358a5b7e81f - core::fmt::write::hf09a056a304e021a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x6358a5b35311 - std::io::default_write_fmt::hf1a3645468226e09 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x6358a5b35311 - std::io::Write::write_fmt::ha5ada6d6a18bde33 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x6358a5b41ed2 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x6358a5b47c0f - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x6358a5b47aa1 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x6358a528ec2e - as core::ops::function::Fn>::call::h3d020961abd83a77 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x6358a528ec2e - test::test_main_with_exit_callback::{{closure}}::h720dd2fdb2ddcdca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x6358a5b4837f - as core::ops::function::Fn>::call::h75334a5fed245bca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x6358a5b4837f - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x6358a5b4812a - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x6358a5b42009 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x6358a5b2854d - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x6358a5b89900 - core::panicking::panic_fmt::heb245a301f4395db [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x6358a5b885e6 - core::result::unwrap_failed::h91bd1e1731f928fc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x6358a5042583 - core::result::Result::unwrap::h81966e9c37ad6a20 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x6358a5042583 - wgsl_bindgen::quote_gen::rust_module_builder::tests::test_include_relative_root_but_dont_generate_it::{{closure}}::ha1401f2bcd9b9f18 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x6358a50e9a4f - insta::settings::Settings::bind::hb485556599dcafe5 [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: 0x6358a50420d8 - wgsl_bindgen::quote_gen::rust_module_builder::tests::test_include_relative_root_but_dont_generate_it::h2e7f3cc610325c1b [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x6358a5042677 - wgsl_bindgen::quote_gen::rust_module_builder::tests::test_include_relative_root_but_dont_generate_it::{{closure}}::hab244a6cb9b83797 [INFO] [stdout] at /opt/rustwide/workdir/src/quote_gen/rust_module_builder.rs:322:55 [INFO] [stdout] 25: 0x6358a5097866 - core::ops::function::FnOnce::call_once::h3da0436cdb46d525 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x6358a528ea5b - core::ops::function::FnOnce::call_once::h933a5d67211adff2 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x6358a528ea5b - test::__rust_begin_short_backtrace::h2157af19b0990ffb [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x6358a52a4635 - test::run_test_in_process::{{closure}}::hc3b17e0f313c900a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x6358a52a4635 - as core::ops::function::FnOnce<()>>::call_once::ha23e4b490259273c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x6358a52a4635 - std::panicking::catch_unwind::do_call::h8dc9d5da83792f7a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x6358a52a4635 - std::panicking::catch_unwind::h0d8461330de4a18b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x6358a52a4635 - std::panic::catch_unwind::h0321b51397bf9811 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x6358a52a4635 - test::run_test_in_process::hcaaa440fdbe4a513 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x6358a52a4635 - test::run_test::{{closure}}::h6345da602b85d6c3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x6358a527ae44 - test::run_test::{{closure}}::h90a3b75194d37b5d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x6358a527ae44 - std::sys::backtrace::__rust_begin_short_backtrace::hae41a17001f53ede [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x6358a527e70a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6ea895368381e0b1 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x6358a527e70a - as core::ops::function::FnOnce<()>>::call_once::h9c39013633bb9237 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x6358a527e70a - std::panicking::catch_unwind::do_call::hac7dba9ee4d99108 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x6358a527e70a - std::panicking::catch_unwind::h73015d00e4866ebc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x6358a527e70a - std::panic::catch_unwind::h6f7b38e188aa4f62 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x6358a527e70a - std::thread::Builder::spawn_unchecked_::{{closure}}::h969a6a2dc1856df7 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x6358a527e70a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h269ad1ff23e72122 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x6358a5b3cf5f - as core::ops::function::FnOnce>::call_once::hdd09a470c130e806 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 45: 0x6358a5b3cf5f - std::sys::thread::unix::Thread::new::thread_start::h14ea1ba6e320367c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 46: 0x7b0814b3daa4 - [INFO] [stdout] 47: 0x7b0814bcaa34 - 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 'caccb4d0368bd918ef6668af8e13834d07040417'. [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' (3770) 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: 0x6358a5b6a592 - std::backtrace_rs::backtrace::libunwind::trace::h76861be37b31432e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x6358a5b6a592 - std::backtrace_rs::backtrace::trace_unsynchronized::h58d4003082192c17 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x6358a5b6a592 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x6358a5b6a592 - ::fmt::h52160e9da139e442 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x6358a5b7e81f - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x6358a5b7e81f - core::fmt::write::hf09a056a304e021a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x6358a5b35311 - std::io::default_write_fmt::hf1a3645468226e09 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x6358a5b35311 - std::io::Write::write_fmt::ha5ada6d6a18bde33 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x6358a5b41ed2 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x6358a5b47c0f - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x6358a5b47aa1 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x6358a528ec2e - as core::ops::function::Fn>::call::h3d020961abd83a77 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x6358a528ec2e - test::test_main_with_exit_callback::{{closure}}::h720dd2fdb2ddcdca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x6358a5b4837f - as core::ops::function::Fn>::call::h75334a5fed245bca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x6358a5b4837f - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x6358a5b4812a - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x6358a5b42009 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x6358a5b2854d - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x6358a5b89900 - core::panicking::panic_fmt::heb245a301f4395db [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x6358a5b885e6 - core::result::unwrap_failed::h91bd1e1731f928fc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x6358a5041703 - core::result::Result::unwrap::h81966e9c37ad6a20 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x6358a5041703 - wgsl_bindgen::quote_gen::rust_module_builder::tests::test_module_generation_works::{{closure}}::h55a155e96e080a30 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x6358a50ea3af - insta::settings::Settings::bind::he83278ebbbb64e76 [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: 0x6358a5041224 - wgsl_bindgen::quote_gen::rust_module_builder::tests::test_module_generation_works::h94a15524c3c33a4d [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x6358a50412d7 - wgsl_bindgen::quote_gen::rust_module_builder::tests::test_module_generation_works::{{closure}}::h4a4f67156e010945 [INFO] [stdout] at /opt/rustwide/workdir/src/quote_gen/rust_module_builder.rs:294:36 [INFO] [stdout] 25: 0x6358a50975e6 - core::ops::function::FnOnce::call_once::h1e03243b9ab31e0e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x6358a528ea5b - core::ops::function::FnOnce::call_once::h933a5d67211adff2 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x6358a528ea5b - test::__rust_begin_short_backtrace::h2157af19b0990ffb [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x6358a52a4635 - test::run_test_in_process::{{closure}}::hc3b17e0f313c900a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x6358a52a4635 - as core::ops::function::FnOnce<()>>::call_once::ha23e4b490259273c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x6358a52a4635 - std::panicking::catch_unwind::do_call::h8dc9d5da83792f7a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x6358a52a4635 - std::panicking::catch_unwind::h0d8461330de4a18b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x6358a52a4635 - std::panic::catch_unwind::h0321b51397bf9811 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x6358a52a4635 - test::run_test_in_process::hcaaa440fdbe4a513 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x6358a52a4635 - test::run_test::{{closure}}::h6345da602b85d6c3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x6358a527ae44 - test::run_test::{{closure}}::h90a3b75194d37b5d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x6358a527ae44 - std::sys::backtrace::__rust_begin_short_backtrace::hae41a17001f53ede [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x6358a527e70a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6ea895368381e0b1 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x6358a527e70a - as core::ops::function::FnOnce<()>>::call_once::h9c39013633bb9237 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x6358a527e70a - std::panicking::catch_unwind::do_call::hac7dba9ee4d99108 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x6358a527e70a - std::panicking::catch_unwind::h73015d00e4866ebc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x6358a527e70a - std::panic::catch_unwind::h6f7b38e188aa4f62 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x6358a527e70a - std::thread::Builder::spawn_unchecked_::{{closure}}::h969a6a2dc1856df7 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x6358a527e70a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h269ad1ff23e72122 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x6358a5b3cf5f - as core::ops::function::FnOnce>::call_once::hdd09a470c130e806 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 45: 0x6358a5b3cf5f - std::sys::thread::unix::Thread::new::thread_start::h14ea1ba6e320367c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 46: 0x7b0814b3daa4 - [INFO] [stdout] 47: 0x7b0814bcaa34 - 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 'caccb4d0368bd918ef6668af8e13834d07040417'. [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' (3937) 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: 0x6358a5b6a592 - std::backtrace_rs::backtrace::libunwind::trace::h76861be37b31432e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x6358a5b6a592 - std::backtrace_rs::backtrace::trace_unsynchronized::h58d4003082192c17 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x6358a5b6a592 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x6358a5b6a592 - ::fmt::h52160e9da139e442 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x6358a5b7e81f - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x6358a5b7e81f - core::fmt::write::hf09a056a304e021a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x6358a5b35311 - std::io::default_write_fmt::hf1a3645468226e09 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x6358a5b35311 - std::io::Write::write_fmt::ha5ada6d6a18bde33 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x6358a5b41ed2 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x6358a5b47c0f - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x6358a5b47aa1 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x6358a528ec2e - as core::ops::function::Fn>::call::h3d020961abd83a77 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x6358a528ec2e - test::test_main_with_exit_callback::{{closure}}::h720dd2fdb2ddcdca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x6358a5b4837f - as core::ops::function::Fn>::call::h75334a5fed245bca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x6358a5b4837f - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x6358a5b4812a - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x6358a5b42009 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x6358a5b2854d - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x6358a5b89900 - core::panicking::panic_fmt::heb245a301f4395db [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x6358a5b885e6 - core::result::unwrap_failed::h91bd1e1731f928fc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x6358a5040d23 - core::result::Result::unwrap::h81966e9c37ad6a20 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x6358a5040d23 - wgsl_bindgen::quote_gen::rust_module_builder::tests::test_relative_root_feature::{{closure}}::h78f9eeb56e9de3b8 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x6358a50ea44f - insta::settings::Settings::bind::he917fc90741421b9 [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: 0x6358a5040878 - wgsl_bindgen::quote_gen::rust_module_builder::tests::test_relative_root_feature::h253c5c856a4d4cac [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x6358a5040e17 - wgsl_bindgen::quote_gen::rust_module_builder::tests::test_relative_root_feature::{{closure}}::h7dc3fadcdf1ba2e7 [INFO] [stdout] at /opt/rustwide/workdir/src/quote_gen/rust_module_builder.rs:306:34 [INFO] [stdout] 25: 0x6358a50978a6 - core::ops::function::FnOnce::call_once::h3f97cfa328912da5 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x6358a528ea5b - core::ops::function::FnOnce::call_once::h933a5d67211adff2 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x6358a528ea5b - test::__rust_begin_short_backtrace::h2157af19b0990ffb [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x6358a52a4635 - test::run_test_in_process::{{closure}}::hc3b17e0f313c900a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x6358a52a4635 - as core::ops::function::FnOnce<()>>::call_once::ha23e4b490259273c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x6358a52a4635 - std::panicking::catch_unwind::do_call::h8dc9d5da83792f7a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x6358a52a4635 - std::panicking::catch_unwind::h0d8461330de4a18b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x6358a52a4635 - std::panic::catch_unwind::h0321b51397bf9811 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x6358a52a4635 - test::run_test_in_process::hcaaa440fdbe4a513 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x6358a52a4635 - test::run_test::{{closure}}::h6345da602b85d6c3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x6358a527ae44 - test::run_test::{{closure}}::h90a3b75194d37b5d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x6358a527ae44 - std::sys::backtrace::__rust_begin_short_backtrace::hae41a17001f53ede [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x6358a527e70a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6ea895368381e0b1 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x6358a527e70a - as core::ops::function::FnOnce<()>>::call_once::h9c39013633bb9237 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x6358a527e70a - std::panicking::catch_unwind::do_call::hac7dba9ee4d99108 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x6358a527e70a - std::panicking::catch_unwind::h73015d00e4866ebc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x6358a527e70a - std::panic::catch_unwind::h6f7b38e188aa4f62 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x6358a527e70a - std::thread::Builder::spawn_unchecked_::{{closure}}::h969a6a2dc1856df7 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x6358a527e70a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h269ad1ff23e72122 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x6358a5b3cf5f - as core::ops::function::FnOnce>::call_once::hdd09a470c130e806 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 45: 0x6358a5b3cf5f - std::sys::thread::unix::Thread::new::thread_start::h14ea1ba6e320367c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 46: 0x7b0814b3daa4 - [INFO] [stdout] 47: 0x7b0814bcaa34 - 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 'caccb4d0368bd918ef6668af8e13834d07040417'. [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' (4279) 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: 0x6358a5b6a592 - std::backtrace_rs::backtrace::libunwind::trace::h76861be37b31432e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x6358a5b6a592 - std::backtrace_rs::backtrace::trace_unsynchronized::h58d4003082192c17 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x6358a5b6a592 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x6358a5b6a592 - ::fmt::h52160e9da139e442 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x6358a5b7e81f - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x6358a5b7e81f - core::fmt::write::hf09a056a304e021a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x6358a5b35311 - std::io::default_write_fmt::hf1a3645468226e09 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x6358a5b35311 - std::io::Write::write_fmt::ha5ada6d6a18bde33 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x6358a5b41ed2 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x6358a5b47c0f - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x6358a5b47aa1 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x6358a528ec2e - as core::ops::function::Fn>::call::h3d020961abd83a77 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x6358a528ec2e - test::test_main_with_exit_callback::{{closure}}::h720dd2fdb2ddcdca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x6358a5b4837f - as core::ops::function::Fn>::call::h75334a5fed245bca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x6358a5b4837f - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x6358a5b4812a - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x6358a5b42009 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x6358a5b2854d - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x6358a5b89900 - core::panicking::panic_fmt::heb245a301f4395db [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x6358a5b885e6 - core::result::unwrap_failed::h91bd1e1731f928fc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x6358a4ff6493 - core::result::Result::unwrap::h81966e9c37ad6a20 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x6358a4ff6493 - wgsl_bindgen::structs::tests::test_struct_visibility::{{closure}}::he9c50fd9b69d281f [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x6358a50ea58f - insta::settings::Settings::bind::hf5cc32c0aa1e7f34 [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: 0x6358a4ff5f97 - wgsl_bindgen::structs::tests::test_struct_visibility::h4a74a3e2526b103e [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x6358a4ff6067 - wgsl_bindgen::structs::tests::test_struct_visibility::{{closure}}::h454f3558ec69eec7 [INFO] [stdout] at /opt/rustwide/workdir/src/structs.rs:828:30 [INFO] [stdout] 25: 0x6358a5099166 - core::ops::function::FnOnce::call_once::hd52e494c7bed6cb4 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x6358a528ea5b - core::ops::function::FnOnce::call_once::h933a5d67211adff2 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x6358a528ea5b - test::__rust_begin_short_backtrace::h2157af19b0990ffb [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x6358a52a4635 - test::run_test_in_process::{{closure}}::hc3b17e0f313c900a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x6358a52a4635 - as core::ops::function::FnOnce<()>>::call_once::ha23e4b490259273c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x6358a52a4635 - std::panicking::catch_unwind::do_call::h8dc9d5da83792f7a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x6358a52a4635 - std::panicking::catch_unwind::h0d8461330de4a18b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x6358a52a4635 - std::panic::catch_unwind::h0321b51397bf9811 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x6358a52a4635 - test::run_test_in_process::hcaaa440fdbe4a513 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x6358a52a4635 - test::run_test::{{closure}}::h6345da602b85d6c3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x6358a527ae44 - test::run_test::{{closure}}::h90a3b75194d37b5d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x6358a527ae44 - std::sys::backtrace::__rust_begin_short_backtrace::hae41a17001f53ede [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x6358a527e70a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6ea895368381e0b1 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x6358a527e70a - as core::ops::function::FnOnce<()>>::call_once::h9c39013633bb9237 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x6358a527e70a - std::panicking::catch_unwind::do_call::hac7dba9ee4d99108 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x6358a527e70a - std::panicking::catch_unwind::h73015d00e4866ebc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x6358a527e70a - std::panic::catch_unwind::h6f7b38e188aa4f62 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x6358a527e70a - std::thread::Builder::spawn_unchecked_::{{closure}}::h969a6a2dc1856df7 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x6358a527e70a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h269ad1ff23e72122 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x6358a5b3cf5f - as core::ops::function::FnOnce>::call_once::hdd09a470c130e806 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 45: 0x6358a5b3cf5f - std::sys::thread::unix::Thread::new::thread_start::h14ea1ba6e320367c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 46: 0x7b0814b3daa4 - [INFO] [stdout] 47: 0x7b0814bcaa34 - 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 'caccb4d0368bd918ef6668af8e13834d07040417'. [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' (4287) 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: 0x6358a5b6a592 - std::backtrace_rs::backtrace::libunwind::trace::h76861be37b31432e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x6358a5b6a592 - std::backtrace_rs::backtrace::trace_unsynchronized::h58d4003082192c17 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x6358a5b6a592 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x6358a5b6a592 - ::fmt::h52160e9da139e442 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x6358a5b7e81f - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x6358a5b7e81f - core::fmt::write::hf09a056a304e021a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x6358a5b35311 - std::io::default_write_fmt::hf1a3645468226e09 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x6358a5b35311 - std::io::Write::write_fmt::ha5ada6d6a18bde33 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x6358a5b41ed2 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x6358a5b47c0f - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x6358a5b47aa1 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x6358a528ec2e - as core::ops::function::Fn>::call::h3d020961abd83a77 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x6358a528ec2e - test::test_main_with_exit_callback::{{closure}}::h720dd2fdb2ddcdca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x6358a5b4837f - as core::ops::function::Fn>::call::h75334a5fed245bca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x6358a5b4837f - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x6358a5b4812a - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x6358a5b42009 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x6358a5b2854d - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x6358a5b89900 - core::panicking::panic_fmt::heb245a301f4395db [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x6358a5b885e6 - core::result::unwrap_failed::h91bd1e1731f928fc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x6358a5001f83 - core::result::Result::unwrap::h81966e9c37ad6a20 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x6358a5001f83 - wgsl_bindgen::structs::tests::write_all_structs_bytemuck_skip_input_layout_validation::{{closure}}::hc694c293b0e24069 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x6358a50ea6cf - insta::settings::Settings::bind::hfaeee620cc44fb95 [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: 0x6358a5001aa3 - wgsl_bindgen::structs::tests::write_all_structs_bytemuck_skip_input_layout_validation::h527edf7b6ed276a6 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x6358a5002077 - wgsl_bindgen::structs::tests::write_all_structs_bytemuck_skip_input_layout_validation::{{closure}}::hfb1376d7fc2dc533 [INFO] [stdout] at /opt/rustwide/workdir/src/structs.rs:549:63 [INFO] [stdout] 25: 0x6358a5097d66 - core::ops::function::FnOnce::call_once::h5d6a662313293573 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x6358a528ea5b - core::ops::function::FnOnce::call_once::h933a5d67211adff2 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x6358a528ea5b - test::__rust_begin_short_backtrace::h2157af19b0990ffb [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x6358a52a4635 - test::run_test_in_process::{{closure}}::hc3b17e0f313c900a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x6358a52a4635 - as core::ops::function::FnOnce<()>>::call_once::ha23e4b490259273c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x6358a52a4635 - std::panicking::catch_unwind::do_call::h8dc9d5da83792f7a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x6358a52a4635 - std::panicking::catch_unwind::h0d8461330de4a18b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x6358a52a4635 - std::panic::catch_unwind::h0321b51397bf9811 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x6358a52a4635 - test::run_test_in_process::hcaaa440fdbe4a513 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x6358a52a4635 - test::run_test::{{closure}}::h6345da602b85d6c3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x6358a527ae44 - test::run_test::{{closure}}::h90a3b75194d37b5d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x6358a527ae44 - std::sys::backtrace::__rust_begin_short_backtrace::hae41a17001f53ede [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x6358a527e70a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6ea895368381e0b1 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x6358a527e70a - as core::ops::function::FnOnce<()>>::call_once::h9c39013633bb9237 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x6358a527e70a - std::panicking::catch_unwind::do_call::hac7dba9ee4d99108 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x6358a527e70a - std::panicking::catch_unwind::h73015d00e4866ebc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x6358a527e70a - std::panic::catch_unwind::h6f7b38e188aa4f62 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x6358a527e70a - std::thread::Builder::spawn_unchecked_::{{closure}}::h969a6a2dc1856df7 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x6358a527e70a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h269ad1ff23e72122 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x6358a5b3cf5f - as core::ops::function::FnOnce>::call_once::hdd09a470c130e806 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 45: 0x6358a5b3cf5f - std::sys::thread::unix::Thread::new::thread_start::h14ea1ba6e320367c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 46: 0x7b0814b3daa4 - [INFO] [stdout] 47: 0x7b0814bcaa34 - 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 'caccb4d0368bd918ef6668af8e13834d07040417'. [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' (4285) 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: 0x6358a5b6a592 - std::backtrace_rs::backtrace::libunwind::trace::h76861be37b31432e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x6358a5b6a592 - std::backtrace_rs::backtrace::trace_unsynchronized::h58d4003082192c17 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x6358a5b6a592 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x6358a5b6a592 - ::fmt::h52160e9da139e442 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x6358a5b7e81f - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x6358a5b7e81f - core::fmt::write::hf09a056a304e021a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x6358a5b35311 - std::io::default_write_fmt::hf1a3645468226e09 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x6358a5b35311 - std::io::Write::write_fmt::ha5ada6d6a18bde33 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x6358a5b41ed2 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x6358a5b47c0f - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x6358a5b47aa1 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x6358a528ec2e - as core::ops::function::Fn>::call::h3d020961abd83a77 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x6358a528ec2e - test::test_main_with_exit_callback::{{closure}}::h720dd2fdb2ddcdca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x6358a5b4837f - as core::ops::function::Fn>::call::h75334a5fed245bca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x6358a5b4837f - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x6358a5b4812a - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x6358a5b42009 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x6358a5b2854d - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x6358a5b89900 - core::panicking::panic_fmt::heb245a301f4395db [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x6358a5b885e6 - core::result::unwrap_failed::h91bd1e1731f928fc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x6358a5001213 - core::result::Result::unwrap::h81966e9c37ad6a20 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x6358a5001213 - wgsl_bindgen::structs::tests::write_all_structs_bytemuck_input_layout_validation::{{closure}}::h480a492db0433ea1 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x6358a50e92cf - insta::settings::Settings::bind::h4bb066bea2483bdf [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: 0x6358a5000d33 - wgsl_bindgen::structs::tests::write_all_structs_bytemuck_input_layout_validation::hcdf1fd7308bbb1c8 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x6358a5001307 - wgsl_bindgen::structs::tests::write_all_structs_bytemuck_input_layout_validation::{{closure}}::ha68321180521a2fc [INFO] [stdout] at /opt/rustwide/workdir/src/structs.rs:582:58 [INFO] [stdout] 25: 0x6358a5098796 - core::ops::function::FnOnce::call_once::h946b74fbc9dfdbd5 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x6358a528ea5b - core::ops::function::FnOnce::call_once::h933a5d67211adff2 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x6358a528ea5b - test::__rust_begin_short_backtrace::h2157af19b0990ffb [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x6358a52a4635 - test::run_test_in_process::{{closure}}::hc3b17e0f313c900a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x6358a52a4635 - as core::ops::function::FnOnce<()>>::call_once::ha23e4b490259273c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x6358a52a4635 - std::panicking::catch_unwind::do_call::h8dc9d5da83792f7a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x6358a52a4635 - std::panicking::catch_unwind::h0d8461330de4a18b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x6358a52a4635 - std::panic::catch_unwind::h0321b51397bf9811 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x6358a52a4635 - test::run_test_in_process::hcaaa440fdbe4a513 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x6358a52a4635 - test::run_test::{{closure}}::h6345da602b85d6c3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x6358a527ae44 - test::run_test::{{closure}}::h90a3b75194d37b5d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x6358a527ae44 - std::sys::backtrace::__rust_begin_short_backtrace::hae41a17001f53ede [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x6358a527e70a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6ea895368381e0b1 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x6358a527e70a - as core::ops::function::FnOnce<()>>::call_once::h9c39013633bb9237 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x6358a527e70a - std::panicking::catch_unwind::do_call::hac7dba9ee4d99108 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x6358a527e70a - std::panicking::catch_unwind::h73015d00e4866ebc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x6358a527e70a - std::panic::catch_unwind::h6f7b38e188aa4f62 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x6358a527e70a - std::thread::Builder::spawn_unchecked_::{{closure}}::h969a6a2dc1856df7 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x6358a527e70a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h269ad1ff23e72122 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x6358a5b3cf5f - as core::ops::function::FnOnce>::call_once::hdd09a470c130e806 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 45: 0x6358a5b3cf5f - std::sys::thread::unix::Thread::new::thread_start::h14ea1ba6e320367c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 46: 0x7b0814b3daa4 - [INFO] [stdout] 47: 0x7b0814bcaa34 - 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 'caccb4d0368bd918ef6668af8e13834d07040417'. [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' (4347) 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: 0x6358a5b6a592 - std::backtrace_rs::backtrace::libunwind::trace::h76861be37b31432e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x6358a5b6a592 - std::backtrace_rs::backtrace::trace_unsynchronized::h58d4003082192c17 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x6358a5b6a592 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x6358a5b6a592 - ::fmt::h52160e9da139e442 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x6358a5b7e81f - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x6358a5b7e81f - core::fmt::write::hf09a056a304e021a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x6358a5b35311 - std::io::default_write_fmt::hf1a3645468226e09 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x6358a5b35311 - std::io::Write::write_fmt::ha5ada6d6a18bde33 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x6358a5b41ed2 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x6358a5b47c0f - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x6358a5b47aa1 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x6358a528ec2e - as core::ops::function::Fn>::call::h3d020961abd83a77 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x6358a528ec2e - test::test_main_with_exit_callback::{{closure}}::h720dd2fdb2ddcdca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x6358a5b4837f - as core::ops::function::Fn>::call::h75334a5fed245bca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x6358a5b4837f - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x6358a5b4812a - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x6358a5b42009 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x6358a5b2854d - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x6358a5b89900 - core::panicking::panic_fmt::heb245a301f4395db [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x6358a5b885e6 - core::result::unwrap_failed::h91bd1e1731f928fc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x6358a4ff8953 - core::result::Result::unwrap::h81966e9c37ad6a20 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x6358a4ff8953 - wgsl_bindgen::structs::tests::write_all_structs_encase::{{closure}}::h1e1debbdbb0cd86b [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x6358a50ea30f - insta::settings::Settings::bind::he0f53da64cfe4101 [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: 0x6358a4ff8480 - wgsl_bindgen::structs::tests::write_all_structs_encase::h594d83aec5922905 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x6358a4ff8a47 - wgsl_bindgen::structs::tests::write_all_structs_encase::{{closure}}::h6c76503a0aabc989 [INFO] [stdout] at /opt/rustwide/workdir/src/structs.rs:434:32 [INFO] [stdout] 25: 0x6358a5099516 - core::ops::function::FnOnce::call_once::hf344c21e6a5207bd [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x6358a528ea5b - core::ops::function::FnOnce::call_once::h933a5d67211adff2 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x6358a528ea5b - test::__rust_begin_short_backtrace::h2157af19b0990ffb [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x6358a52a4635 - test::run_test_in_process::{{closure}}::hc3b17e0f313c900a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x6358a52a4635 - as core::ops::function::FnOnce<()>>::call_once::ha23e4b490259273c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x6358a52a4635 - std::panicking::catch_unwind::do_call::h8dc9d5da83792f7a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x6358a52a4635 - std::panicking::catch_unwind::h0d8461330de4a18b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x6358a52a4635 - std::panic::catch_unwind::h0321b51397bf9811 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x6358a52a4635 - test::run_test_in_process::hcaaa440fdbe4a513 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x6358a52a4635 - test::run_test::{{closure}}::h6345da602b85d6c3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x6358a527ae44 - test::run_test::{{closure}}::h90a3b75194d37b5d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x6358a527ae44 - std::sys::backtrace::__rust_begin_short_backtrace::hae41a17001f53ede [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x6358a527e70a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6ea895368381e0b1 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x6358a527e70a - as core::ops::function::FnOnce<()>>::call_once::h9c39013633bb9237 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x6358a527e70a - std::panicking::catch_unwind::do_call::hac7dba9ee4d99108 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x6358a527e70a - std::panicking::catch_unwind::h73015d00e4866ebc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x6358a527e70a - std::panic::catch_unwind::h6f7b38e188aa4f62 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x6358a527e70a - std::thread::Builder::spawn_unchecked_::{{closure}}::h969a6a2dc1856df7 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x6358a527e70a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h269ad1ff23e72122 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x6358a5b3cf5f - as core::ops::function::FnOnce>::call_once::hdd09a470c130e806 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 45: 0x6358a5b3cf5f - std::sys::thread::unix::Thread::new::thread_start::h14ea1ba6e320367c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 46: 0x7b0814b3daa4 - [INFO] [stdout] 47: 0x7b0814bcaa34 - 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 'caccb4d0368bd918ef6668af8e13834d07040417'. [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' (4447) 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: 0x6358a5b6a592 - std::backtrace_rs::backtrace::libunwind::trace::h76861be37b31432e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x6358a5b6a592 - std::backtrace_rs::backtrace::trace_unsynchronized::h58d4003082192c17 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x6358a5b6a592 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x6358a5b6a592 - ::fmt::h52160e9da139e442 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x6358a5b7e81f - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x6358a5b7e81f - core::fmt::write::hf09a056a304e021a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x6358a5b35311 - std::io::default_write_fmt::hf1a3645468226e09 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x6358a5b35311 - std::io::Write::write_fmt::ha5ada6d6a18bde33 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x6358a5b41ed2 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x6358a5b47c0f - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x6358a5b47aa1 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x6358a528ec2e - as core::ops::function::Fn>::call::h3d020961abd83a77 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x6358a528ec2e - test::test_main_with_exit_callback::{{closure}}::h720dd2fdb2ddcdca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x6358a5b4837f - as core::ops::function::Fn>::call::h75334a5fed245bca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x6358a5b4837f - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x6358a5b4812a - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x6358a5b42009 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x6358a5b2854d - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x6358a5b89900 - core::panicking::panic_fmt::heb245a301f4395db [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x6358a5b885e6 - core::result::unwrap_failed::h91bd1e1731f928fc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x6358a4ff7203 - core::result::Result::unwrap::h81966e9c37ad6a20 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x6358a4ff7203 - wgsl_bindgen::structs::tests::write_all_structs_glam::{{closure}}::hdd96b4d22b317b79 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x6358a50e9b8f - insta::settings::Settings::bind::hc326f2c72a6807fa [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: 0x6358a4ff6cfc - wgsl_bindgen::structs::tests::write_all_structs_glam::h76a0d286c734b861 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x6358a4ff6dd7 - wgsl_bindgen::structs::tests::write_all_structs_glam::{{closure}}::hd10d6f7fcfc22bd1 [INFO] [stdout] at /opt/rustwide/workdir/src/structs.rs:284:30 [INFO] [stdout] 25: 0x6358a5097626 - core::ops::function::FnOnce::call_once::h207478a2c36e5690 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x6358a528ea5b - core::ops::function::FnOnce::call_once::h933a5d67211adff2 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x6358a528ea5b - test::__rust_begin_short_backtrace::h2157af19b0990ffb [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x6358a52a4635 - test::run_test_in_process::{{closure}}::hc3b17e0f313c900a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x6358a52a4635 - as core::ops::function::FnOnce<()>>::call_once::ha23e4b490259273c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x6358a52a4635 - std::panicking::catch_unwind::do_call::h8dc9d5da83792f7a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x6358a52a4635 - std::panicking::catch_unwind::h0d8461330de4a18b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x6358a52a4635 - std::panic::catch_unwind::h0321b51397bf9811 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x6358a52a4635 - test::run_test_in_process::hcaaa440fdbe4a513 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x6358a52a4635 - test::run_test::{{closure}}::h6345da602b85d6c3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x6358a527ae44 - test::run_test::{{closure}}::h90a3b75194d37b5d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x6358a527ae44 - std::sys::backtrace::__rust_begin_short_backtrace::hae41a17001f53ede [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x6358a527e70a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6ea895368381e0b1 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x6358a527e70a - as core::ops::function::FnOnce<()>>::call_once::h9c39013633bb9237 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x6358a527e70a - std::panicking::catch_unwind::do_call::hac7dba9ee4d99108 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x6358a527e70a - std::panicking::catch_unwind::h73015d00e4866ebc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x6358a527e70a - std::panic::catch_unwind::h6f7b38e188aa4f62 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x6358a527e70a - std::thread::Builder::spawn_unchecked_::{{closure}}::h969a6a2dc1856df7 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x6358a527e70a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h269ad1ff23e72122 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x6358a5b3cf5f - as core::ops::function::FnOnce>::call_once::hdd09a470c130e806 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 45: 0x6358a5b3cf5f - std::sys::thread::unix::Thread::new::thread_start::h14ea1ba6e320367c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 46: 0x7b0814b3daa4 - [INFO] [stdout] 47: 0x7b0814bcaa34 - 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 'caccb4d0368bd918ef6668af8e13834d07040417'. [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' (5240) 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: 0x6358a5b6a592 - std::backtrace_rs::backtrace::libunwind::trace::h76861be37b31432e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x6358a5b6a592 - std::backtrace_rs::backtrace::trace_unsynchronized::h58d4003082192c17 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x6358a5b6a592 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x6358a5b6a592 - ::fmt::h52160e9da139e442 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x6358a5b7e81f - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x6358a5b7e81f - core::fmt::write::hf09a056a304e021a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x6358a5b35311 - std::io::default_write_fmt::hf1a3645468226e09 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x6358a5b35311 - std::io::Write::write_fmt::ha5ada6d6a18bde33 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x6358a5b41ed2 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x6358a5b47c0f - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x6358a5b47aa1 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x6358a528ec2e - as core::ops::function::Fn>::call::h3d020961abd83a77 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x6358a528ec2e - test::test_main_with_exit_callback::{{closure}}::h720dd2fdb2ddcdca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x6358a5b4837f - as core::ops::function::Fn>::call::h75334a5fed245bca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x6358a5b4837f - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x6358a5b4812a - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x6358a5b42009 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x6358a5b2854d - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x6358a5b89900 - core::panicking::panic_fmt::heb245a301f4395db [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x6358a5b885e6 - core::result::unwrap_failed::h91bd1e1731f928fc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x6358a4ff7c23 - core::result::Result::unwrap::h81966e9c37ad6a20 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x6358a4ff7c23 - wgsl_bindgen::structs::tests::write_all_structs_rust::{{closure}}::hbe4a035e18032730 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x6358a50ea08f - insta::settings::Settings::bind::hd5760225a55f89e0 [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: 0x6358a4ff7730 - wgsl_bindgen::structs::tests::write_all_structs_rust::h179e7cdde3ab032f [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x6358a4ff77f7 - wgsl_bindgen::structs::tests::write_all_structs_rust::{{closure}}::h0240d956735bb72a [INFO] [stdout] at /opt/rustwide/workdir/src/structs.rs:169:30 [INFO] [stdout] 25: 0x6358a5097386 - core::ops::function::FnOnce::call_once::h0f17661005036e44 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x6358a528ea5b - core::ops::function::FnOnce::call_once::h933a5d67211adff2 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x6358a528ea5b - test::__rust_begin_short_backtrace::h2157af19b0990ffb [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x6358a52a4635 - test::run_test_in_process::{{closure}}::hc3b17e0f313c900a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x6358a52a4635 - as core::ops::function::FnOnce<()>>::call_once::ha23e4b490259273c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x6358a52a4635 - std::panicking::catch_unwind::do_call::h8dc9d5da83792f7a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x6358a52a4635 - std::panicking::catch_unwind::h0d8461330de4a18b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x6358a52a4635 - std::panic::catch_unwind::h0321b51397bf9811 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x6358a52a4635 - test::run_test_in_process::hcaaa440fdbe4a513 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x6358a52a4635 - test::run_test::{{closure}}::h6345da602b85d6c3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x6358a527ae44 - test::run_test::{{closure}}::h90a3b75194d37b5d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x6358a527ae44 - std::sys::backtrace::__rust_begin_short_backtrace::hae41a17001f53ede [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x6358a527e70a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6ea895368381e0b1 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x6358a527e70a - as core::ops::function::FnOnce<()>>::call_once::h9c39013633bb9237 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x6358a527e70a - std::panicking::catch_unwind::do_call::hac7dba9ee4d99108 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x6358a527e70a - std::panicking::catch_unwind::h73015d00e4866ebc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x6358a527e70a - std::panic::catch_unwind::h6f7b38e188aa4f62 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x6358a527e70a - std::thread::Builder::spawn_unchecked_::{{closure}}::h969a6a2dc1856df7 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x6358a527e70a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h269ad1ff23e72122 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x6358a5b3cf5f - as core::ops::function::FnOnce>::call_once::hdd09a470c130e806 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 45: 0x6358a5b3cf5f - std::sys::thread::unix::Thread::new::thread_start::h14ea1ba6e320367c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 46: 0x7b0814b3daa4 - [INFO] [stdout] 47: 0x7b0814bcaa34 - 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 'caccb4d0368bd918ef6668af8e13834d07040417'. [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' (5535) 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: 0x6358a5b6a592 - std::backtrace_rs::backtrace::libunwind::trace::h76861be37b31432e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x6358a5b6a592 - std::backtrace_rs::backtrace::trace_unsynchronized::h58d4003082192c17 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x6358a5b6a592 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x6358a5b6a592 - ::fmt::h52160e9da139e442 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x6358a5b7e81f - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x6358a5b7e81f - core::fmt::write::hf09a056a304e021a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x6358a5b35311 - std::io::default_write_fmt::hf1a3645468226e09 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x6358a5b35311 - std::io::Write::write_fmt::ha5ada6d6a18bde33 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x6358a5b41ed2 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x6358a5b47c0f - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x6358a5b47aa1 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x6358a528ec2e - as core::ops::function::Fn>::call::h3d020961abd83a77 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x6358a528ec2e - test::test_main_with_exit_callback::{{closure}}::h720dd2fdb2ddcdca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x6358a5b4837f - as core::ops::function::Fn>::call::h75334a5fed245bca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x6358a5b4837f - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x6358a5b4812a - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x6358a5b42009 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x6358a5b2854d - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x6358a5b89900 - core::panicking::panic_fmt::heb245a301f4395db [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x6358a5b885e6 - core::result::unwrap_failed::h91bd1e1731f928fc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x6358a4ffcbf3 - core::result::Result::unwrap::h81966e9c37ad6a20 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x6358a4ffcbf3 - wgsl_bindgen::structs::tests::write_all_structs_serde_encase::{{closure}}::h4aa2541f38675e93 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x6358a50ea4ef - insta::settings::Settings::bind::hec9a6fa33f4001e7 [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: 0x6358a4ffc720 - wgsl_bindgen::structs::tests::write_all_structs_serde_encase::h49df1280cc51de8a [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x6358a4ffcce7 - wgsl_bindgen::structs::tests::write_all_structs_serde_encase::{{closure}}::h9912a6e815177c10 [INFO] [stdout] at /opt/rustwide/workdir/src/structs.rs:471:38 [INFO] [stdout] 25: 0x6358a5097276 - core::ops::function::FnOnce::call_once::h0c6b7a95d0c42a37 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x6358a528ea5b - core::ops::function::FnOnce::call_once::h933a5d67211adff2 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x6358a528ea5b - test::__rust_begin_short_backtrace::h2157af19b0990ffb [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x6358a52a4635 - test::run_test_in_process::{{closure}}::hc3b17e0f313c900a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x6358a52a4635 - as core::ops::function::FnOnce<()>>::call_once::ha23e4b490259273c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x6358a52a4635 - std::panicking::catch_unwind::do_call::h8dc9d5da83792f7a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x6358a52a4635 - std::panicking::catch_unwind::h0d8461330de4a18b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x6358a52a4635 - std::panic::catch_unwind::h0321b51397bf9811 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x6358a52a4635 - test::run_test_in_process::hcaaa440fdbe4a513 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x6358a52a4635 - test::run_test::{{closure}}::h6345da602b85d6c3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x6358a527ae44 - test::run_test::{{closure}}::h90a3b75194d37b5d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x6358a527ae44 - std::sys::backtrace::__rust_begin_short_backtrace::hae41a17001f53ede [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x6358a527e70a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6ea895368381e0b1 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x6358a527e70a - as core::ops::function::FnOnce<()>>::call_once::h9c39013633bb9237 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x6358a527e70a - std::panicking::catch_unwind::do_call::hac7dba9ee4d99108 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x6358a527e70a - std::panicking::catch_unwind::h73015d00e4866ebc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x6358a527e70a - std::panic::catch_unwind::h6f7b38e188aa4f62 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x6358a527e70a - std::thread::Builder::spawn_unchecked_::{{closure}}::h969a6a2dc1856df7 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x6358a527e70a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h269ad1ff23e72122 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x6358a5b3cf5f - as core::ops::function::FnOnce>::call_once::hdd09a470c130e806 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 45: 0x6358a5b3cf5f - std::sys::thread::unix::Thread::new::thread_start::h14ea1ba6e320367c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 46: 0x7b0814b3daa4 - [INFO] [stdout] 47: 0x7b0814bcaa34 - 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 'caccb4d0368bd918ef6668af8e13834d07040417'. [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' (5604) 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: 0x6358a5b6a592 - std::backtrace_rs::backtrace::libunwind::trace::h76861be37b31432e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x6358a5b6a592 - std::backtrace_rs::backtrace::trace_unsynchronized::h58d4003082192c17 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x6358a5b6a592 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x6358a5b6a592 - ::fmt::h52160e9da139e442 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x6358a5b7e81f - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x6358a5b7e81f - core::fmt::write::hf09a056a304e021a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x6358a5b35311 - std::io::default_write_fmt::hf1a3645468226e09 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x6358a5b35311 - std::io::Write::write_fmt::ha5ada6d6a18bde33 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x6358a5b41ed2 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x6358a5b47c0f - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x6358a5b47aa1 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x6358a528ec2e - as core::ops::function::Fn>::call::h3d020961abd83a77 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x6358a528ec2e - test::test_main_with_exit_callback::{{closure}}::h720dd2fdb2ddcdca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x6358a5b4837f - as core::ops::function::Fn>::call::h75334a5fed245bca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x6358a5b4837f - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x6358a5b4812a - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x6358a5b42009 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x6358a5b2854d - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x6358a5b89900 - core::panicking::panic_fmt::heb245a301f4395db [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x6358a5b885e6 - core::result::unwrap_failed::h91bd1e1731f928fc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x6358a4ff96f3 - core::result::Result::unwrap::h81966e9c37ad6a20 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x6358a4ff96f3 - wgsl_bindgen::structs::tests::write_nonpower_of_2_mats::{{closure}}::h8c83b0d315fa315f [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x6358a50e8c8f - insta::settings::Settings::bind::h03508fedd49e9c73 [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: 0x6358a4ff91e9 - wgsl_bindgen::structs::tests::write_nonpower_of_2_mats::h3b25169ff34d9608 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x6358a4ff92c7 - wgsl_bindgen::structs::tests::write_nonpower_of_2_mats::{{closure}}::h86e880b72875396d [INFO] [stdout] at /opt/rustwide/workdir/src/structs.rs:775:32 [INFO] [stdout] 25: 0x6358a5098cc6 - core::ops::function::FnOnce::call_once::hb52bdbe1d5912f34 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x6358a528ea5b - core::ops::function::FnOnce::call_once::h933a5d67211adff2 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x6358a528ea5b - test::__rust_begin_short_backtrace::h2157af19b0990ffb [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x6358a52a4635 - test::run_test_in_process::{{closure}}::hc3b17e0f313c900a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x6358a52a4635 - as core::ops::function::FnOnce<()>>::call_once::ha23e4b490259273c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x6358a52a4635 - std::panicking::catch_unwind::do_call::h8dc9d5da83792f7a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x6358a52a4635 - std::panicking::catch_unwind::h0d8461330de4a18b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x6358a52a4635 - std::panic::catch_unwind::h0321b51397bf9811 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x6358a52a4635 - test::run_test_in_process::hcaaa440fdbe4a513 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x6358a52a4635 - test::run_test::{{closure}}::h6345da602b85d6c3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x6358a527ae44 - test::run_test::{{closure}}::h90a3b75194d37b5d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x6358a527ae44 - std::sys::backtrace::__rust_begin_short_backtrace::hae41a17001f53ede [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x6358a527e70a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6ea895368381e0b1 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x6358a527e70a - as core::ops::function::FnOnce<()>>::call_once::h9c39013633bb9237 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x6358a527e70a - std::panicking::catch_unwind::do_call::hac7dba9ee4d99108 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x6358a527e70a - std::panicking::catch_unwind::h73015d00e4866ebc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x6358a527e70a - std::panic::catch_unwind::h6f7b38e188aa4f62 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x6358a527e70a - std::thread::Builder::spawn_unchecked_::{{closure}}::h969a6a2dc1856df7 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x6358a527e70a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h269ad1ff23e72122 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x6358a5b3cf5f - as core::ops::function::FnOnce>::call_once::hdd09a470c130e806 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 45: 0x6358a5b3cf5f - std::sys::thread::unix::Thread::new::thread_start::h14ea1ba6e320367c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 46: 0x7b0814b3daa4 - [INFO] [stdout] 47: 0x7b0814bcaa34 - 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 'caccb4d0368bd918ef6668af8e13834d07040417'. [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' (5863) 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: 0x6358a5b6a592 - std::backtrace_rs::backtrace::libunwind::trace::h76861be37b31432e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x6358a5b6a592 - std::backtrace_rs::backtrace::trace_unsynchronized::h58d4003082192c17 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x6358a5b6a592 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x6358a5b6a592 - ::fmt::h52160e9da139e442 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x6358a5b7e81f - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x6358a5b7e81f - core::fmt::write::hf09a056a304e021a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x6358a5b35311 - std::io::default_write_fmt::hf1a3645468226e09 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x6358a5b35311 - std::io::Write::write_fmt::ha5ada6d6a18bde33 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x6358a5b41ed2 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x6358a5b47c0f - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x6358a5b47aa1 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x6358a528ec2e - as core::ops::function::Fn>::call::h3d020961abd83a77 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x6358a528ec2e - test::test_main_with_exit_callback::{{closure}}::h720dd2fdb2ddcdca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x6358a5b4837f - as core::ops::function::Fn>::call::h75334a5fed245bca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x6358a5b4837f - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x6358a5b4812a - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x6358a5b42009 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x6358a5b2854d - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x6358a5b89900 - core::panicking::panic_fmt::heb245a301f4395db [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x6358a5b885e6 - core::result::unwrap_failed::h91bd1e1731f928fc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x6358a50004d3 - core::result::Result::unwrap::h81966e9c37ad6a20 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x6358a50004d3 - wgsl_bindgen::structs::tests::write_nonpower_of_2_mats_for_bytemuck_glam_option::{{closure}}::hbcd71d4991266ca5 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x6358a50e9aef - insta::settings::Settings::bind::hbe2e9608e02df4fa [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: 0x6358a4ffffc9 - wgsl_bindgen::structs::tests::write_nonpower_of_2_mats_for_bytemuck_glam_option::h397e019cea4a8537 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x6358a50000a7 - wgsl_bindgen::structs::tests::write_nonpower_of_2_mats_for_bytemuck_glam_option::{{closure}}::h5d2e83f6e49a676d [INFO] [stdout] at /opt/rustwide/workdir/src/structs.rs:749:57 [INFO] [stdout] 25: 0x6358a5099076 - core::ops::function::FnOnce::call_once::hce558a190a864d1b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x6358a528ea5b - core::ops::function::FnOnce::call_once::h933a5d67211adff2 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x6358a528ea5b - test::__rust_begin_short_backtrace::h2157af19b0990ffb [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x6358a52a4635 - test::run_test_in_process::{{closure}}::hc3b17e0f313c900a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x6358a52a4635 - as core::ops::function::FnOnce<()>>::call_once::ha23e4b490259273c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x6358a52a4635 - std::panicking::catch_unwind::do_call::h8dc9d5da83792f7a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x6358a52a4635 - std::panicking::catch_unwind::h0d8461330de4a18b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x6358a52a4635 - std::panic::catch_unwind::h0321b51397bf9811 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x6358a52a4635 - test::run_test_in_process::hcaaa440fdbe4a513 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x6358a52a4635 - test::run_test::{{closure}}::h6345da602b85d6c3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x6358a527ae44 - test::run_test::{{closure}}::h90a3b75194d37b5d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x6358a527ae44 - std::sys::backtrace::__rust_begin_short_backtrace::hae41a17001f53ede [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x6358a527e70a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6ea895368381e0b1 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x6358a527e70a - as core::ops::function::FnOnce<()>>::call_once::h9c39013633bb9237 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x6358a527e70a - std::panicking::catch_unwind::do_call::hac7dba9ee4d99108 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x6358a527e70a - std::panicking::catch_unwind::h73015d00e4866ebc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x6358a527e70a - std::panic::catch_unwind::h6f7b38e188aa4f62 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x6358a527e70a - std::thread::Builder::spawn_unchecked_::{{closure}}::h969a6a2dc1856df7 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x6358a527e70a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h269ad1ff23e72122 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x6358a5b3cf5f - as core::ops::function::FnOnce>::call_once::hdd09a470c130e806 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 45: 0x6358a5b3cf5f - std::sys::thread::unix::Thread::new::thread_start::h14ea1ba6e320367c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 46: 0x7b0814b3daa4 - [INFO] [stdout] 47: 0x7b0814bcaa34 - 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 'caccb4d0368bd918ef6668af8e13834d07040417'. [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' (5053) 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: 0x6358a5b6a592 - std::backtrace_rs::backtrace::libunwind::trace::h76861be37b31432e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x6358a5b6a592 - std::backtrace_rs::backtrace::trace_unsynchronized::h58d4003082192c17 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x6358a5b6a592 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x6358a5b6a592 - ::fmt::h52160e9da139e442 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x6358a5b7e81f - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x6358a5b7e81f - core::fmt::write::hf09a056a304e021a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x6358a5b35311 - std::io::default_write_fmt::hf1a3645468226e09 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x6358a5b35311 - std::io::Write::write_fmt::ha5ada6d6a18bde33 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x6358a5b41ed2 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x6358a5b47c0f - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x6358a5b47aa1 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x6358a528ec2e - as core::ops::function::Fn>::call::h3d020961abd83a77 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x6358a528ec2e - test::test_main_with_exit_callback::{{closure}}::h720dd2fdb2ddcdca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x6358a5b4837f - as core::ops::function::Fn>::call::h75334a5fed245bca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x6358a5b4837f - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x6358a5b4812a - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x6358a5b42009 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x6358a5b2854d - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x6358a5b89900 - core::panicking::panic_fmt::heb245a301f4395db [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x6358a5b885e6 - core::result::unwrap_failed::h91bd1e1731f928fc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x6358a4ffbec3 - core::result::Result::unwrap::h81966e9c37ad6a20 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x6358a4ffbec3 - wgsl_bindgen::structs::tests::write_all_structs_nalgebra::{{closure}}::h3c9407a06d3e47b1 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x6358a50ea62f - insta::settings::Settings::bind::hf8ce642631b90a24 [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: 0x6358a4ffb9bc - wgsl_bindgen::structs::tests::write_all_structs_nalgebra::h463ed20244e9dfcb [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x6358a4ffba97 - wgsl_bindgen::structs::tests::write_all_structs_nalgebra::{{closure}}::h03fb7767703ff890 [INFO] [stdout] at /opt/rustwide/workdir/src/structs.rs:359:34 [INFO] [stdout] 25: 0x6358a50982a6 - core::ops::function::FnOnce::call_once::h79edb9068df8e593 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x6358a528ea5b - core::ops::function::FnOnce::call_once::h933a5d67211adff2 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x6358a528ea5b - test::__rust_begin_short_backtrace::h2157af19b0990ffb [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x6358a52a4635 - test::run_test_in_process::{{closure}}::hc3b17e0f313c900a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x6358a52a4635 - as core::ops::function::FnOnce<()>>::call_once::ha23e4b490259273c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x6358a52a4635 - std::panicking::catch_unwind::do_call::h8dc9d5da83792f7a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x6358a52a4635 - std::panicking::catch_unwind::h0d8461330de4a18b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x6358a52a4635 - std::panic::catch_unwind::h0321b51397bf9811 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x6358a52a4635 - test::run_test_in_process::hcaaa440fdbe4a513 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x6358a52a4635 - test::run_test::{{closure}}::h6345da602b85d6c3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x6358a527ae44 - test::run_test::{{closure}}::h90a3b75194d37b5d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x6358a527ae44 - std::sys::backtrace::__rust_begin_short_backtrace::hae41a17001f53ede [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x6358a527e70a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6ea895368381e0b1 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x6358a527e70a - as core::ops::function::FnOnce<()>>::call_once::h9c39013633bb9237 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x6358a527e70a - std::panicking::catch_unwind::do_call::hac7dba9ee4d99108 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x6358a527e70a - std::panicking::catch_unwind::h73015d00e4866ebc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x6358a527e70a - std::panic::catch_unwind::h6f7b38e188aa4f62 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x6358a527e70a - std::thread::Builder::spawn_unchecked_::{{closure}}::h969a6a2dc1856df7 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x6358a527e70a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h269ad1ff23e72122 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x6358a5b3cf5f - as core::ops::function::FnOnce>::call_once::hdd09a470c130e806 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 45: 0x6358a5b3cf5f - std::sys::thread::unix::Thread::new::thread_start::h14ea1ba6e320367c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 46: 0x7b0814b3daa4 - [INFO] [stdout] 47: 0x7b0814bcaa34 - 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 'caccb4d0368bd918ef6668af8e13834d07040417'. [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' (6077) 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: 0x6358a5b6a592 - std::backtrace_rs::backtrace::libunwind::trace::h76861be37b31432e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x6358a5b6a592 - std::backtrace_rs::backtrace::trace_unsynchronized::h58d4003082192c17 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x6358a5b6a592 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x6358a5b6a592 - ::fmt::h52160e9da139e442 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x6358a5b7e81f - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x6358a5b7e81f - core::fmt::write::hf09a056a304e021a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x6358a5b35311 - std::io::default_write_fmt::hf1a3645468226e09 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x6358a5b35311 - std::io::Write::write_fmt::ha5ada6d6a18bde33 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x6358a5b41ed2 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x6358a5b47c0f - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x6358a5b47aa1 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x6358a528ec2e - as core::ops::function::Fn>::call::h3d020961abd83a77 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x6358a528ec2e - test::test_main_with_exit_callback::{{closure}}::h720dd2fdb2ddcdca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x6358a5b4837f - as core::ops::function::Fn>::call::h75334a5fed245bca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x6358a5b4837f - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x6358a5b4812a - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x6358a5b42009 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x6358a5b2854d - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x6358a5b89900 - core::panicking::panic_fmt::heb245a301f4395db [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x6358a5b885e6 - core::result::unwrap_failed::h91bd1e1731f928fc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x6358a4fff733 - core::result::Result::unwrap::h81966e9c37ad6a20 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x6358a4fff733 - wgsl_bindgen::structs::tests::write_nonpower_of_2_mats_for_bytemuck_option::{{closure}}::h08de0ec10136d642 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x6358a50e940f - insta::settings::Settings::bind::h5dfda02e201efcfa [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: 0x6358a4fff267 - wgsl_bindgen::structs::tests::write_nonpower_of_2_mats_for_bytemuck_option::h7d7866c0f80cb737 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x6358a4fff827 - wgsl_bindgen::structs::tests::write_nonpower_of_2_mats_for_bytemuck_option::{{closure}}::h0ea55936739ad981 [INFO] [stdout] at /opt/rustwide/workdir/src/structs.rs:724:52 [INFO] [stdout] 25: 0x6358a5098826 - core::ops::function::FnOnce::call_once::h9c8041e2d9e60a69 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x6358a528ea5b - core::ops::function::FnOnce::call_once::h933a5d67211adff2 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x6358a528ea5b - test::__rust_begin_short_backtrace::h2157af19b0990ffb [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x6358a52a4635 - test::run_test_in_process::{{closure}}::hc3b17e0f313c900a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x6358a52a4635 - as core::ops::function::FnOnce<()>>::call_once::ha23e4b490259273c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x6358a52a4635 - std::panicking::catch_unwind::do_call::h8dc9d5da83792f7a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x6358a52a4635 - std::panicking::catch_unwind::h0d8461330de4a18b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x6358a52a4635 - std::panic::catch_unwind::h0321b51397bf9811 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x6358a52a4635 - test::run_test_in_process::hcaaa440fdbe4a513 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x6358a52a4635 - test::run_test::{{closure}}::h6345da602b85d6c3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x6358a527ae44 - test::run_test::{{closure}}::h90a3b75194d37b5d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x6358a527ae44 - std::sys::backtrace::__rust_begin_short_backtrace::hae41a17001f53ede [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x6358a527e70a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6ea895368381e0b1 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x6358a527e70a - as core::ops::function::FnOnce<()>>::call_once::h9c39013633bb9237 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x6358a527e70a - std::panicking::catch_unwind::do_call::hac7dba9ee4d99108 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x6358a527e70a - std::panicking::catch_unwind::h73015d00e4866ebc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x6358a527e70a - std::panic::catch_unwind::h6f7b38e188aa4f62 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x6358a527e70a - std::thread::Builder::spawn_unchecked_::{{closure}}::h969a6a2dc1856df7 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x6358a527e70a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h269ad1ff23e72122 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x6358a5b3cf5f - as core::ops::function::FnOnce>::call_once::hdd09a470c130e806 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 45: 0x6358a5b3cf5f - std::sys::thread::unix::Thread::new::thread_start::h14ea1ba6e320367c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 46: 0x7b0814b3daa4 - [INFO] [stdout] 47: 0x7b0814bcaa34 - 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 'caccb4d0368bd918ef6668af8e13834d07040417'. [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' (5591) 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: 0x6358a5b6a592 - std::backtrace_rs::backtrace::libunwind::trace::h76861be37b31432e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x6358a5b6a592 - std::backtrace_rs::backtrace::trace_unsynchronized::h58d4003082192c17 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x6358a5b6a592 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x6358a5b6a592 - ::fmt::h52160e9da139e442 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x6358a5b7e81f - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x6358a5b7e81f - core::fmt::write::hf09a056a304e021a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x6358a5b35311 - std::io::default_write_fmt::hf1a3645468226e09 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x6358a5b35311 - std::io::Write::write_fmt::ha5ada6d6a18bde33 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x6358a5b41ed2 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x6358a5b47c0f - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x6358a5b47aa1 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x6358a528ec2e - as core::ops::function::Fn>::call::h3d020961abd83a77 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x6358a528ec2e - test::test_main_with_exit_callback::{{closure}}::h720dd2fdb2ddcdca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x6358a5b4837f - as core::ops::function::Fn>::call::h75334a5fed245bca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x6358a5b4837f - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x6358a5b4812a - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x6358a5b42009 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x6358a5b2854d - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x6358a5b89900 - core::panicking::panic_fmt::heb245a301f4395db [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x6358a5b885e6 - core::result::unwrap_failed::h91bd1e1731f928fc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x6358a4ff5773 - core::result::Result::unwrap::h81966e9c37ad6a20 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x6358a4ff5773 - wgsl_bindgen::structs::tests::write_atomic_types::{{closure}}::h2ea163c3a113ba1d [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x6358a50e9f4f - insta::settings::Settings::bind::hd5430c7a89ffacf4 [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: 0x6358a4ff529c - wgsl_bindgen::structs::tests::write_atomic_types::hff01b2f467e8e2a4 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x6358a4ff5867 - wgsl_bindgen::structs::tests::write_atomic_types::{{closure}}::h34660d153e81eb23 [INFO] [stdout] at /opt/rustwide/workdir/src/structs.rs:628:26 [INFO] [stdout] 25: 0x6358a5098676 - core::ops::function::FnOnce::call_once::h9028ced3bf281659 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x6358a528ea5b - core::ops::function::FnOnce::call_once::h933a5d67211adff2 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x6358a528ea5b - test::__rust_begin_short_backtrace::h2157af19b0990ffb [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x6358a52a4635 - test::run_test_in_process::{{closure}}::hc3b17e0f313c900a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x6358a52a4635 - as core::ops::function::FnOnce<()>>::call_once::ha23e4b490259273c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x6358a52a4635 - std::panicking::catch_unwind::do_call::h8dc9d5da83792f7a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x6358a52a4635 - std::panicking::catch_unwind::h0d8461330de4a18b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x6358a52a4635 - std::panic::catch_unwind::h0321b51397bf9811 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x6358a52a4635 - test::run_test_in_process::hcaaa440fdbe4a513 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x6358a52a4635 - test::run_test::{{closure}}::h6345da602b85d6c3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x6358a527ae44 - test::run_test::{{closure}}::h90a3b75194d37b5d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x6358a527ae44 - std::sys::backtrace::__rust_begin_short_backtrace::hae41a17001f53ede [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x6358a527e70a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6ea895368381e0b1 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x6358a527e70a - as core::ops::function::FnOnce<()>>::call_once::h9c39013633bb9237 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x6358a527e70a - std::panicking::catch_unwind::do_call::hac7dba9ee4d99108 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x6358a527e70a - std::panicking::catch_unwind::h73015d00e4866ebc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x6358a527e70a - std::panic::catch_unwind::h6f7b38e188aa4f62 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x6358a527e70a - std::thread::Builder::spawn_unchecked_::{{closure}}::h969a6a2dc1856df7 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x6358a527e70a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h269ad1ff23e72122 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x6358a5b3cf5f - as core::ops::function::FnOnce>::call_once::hdd09a470c130e806 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 45: 0x6358a5b3cf5f - std::sys::thread::unix::Thread::new::thread_start::h14ea1ba6e320367c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 46: 0x7b0814b3daa4 - [INFO] [stdout] 47: 0x7b0814bcaa34 - 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 'caccb4d0368bd918ef6668af8e13834d07040417'. [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' (6388) 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: 0x6358a5b6a592 - std::backtrace_rs::backtrace::libunwind::trace::h76861be37b31432e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x6358a5b6a592 - std::backtrace_rs::backtrace::trace_unsynchronized::h58d4003082192c17 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x6358a5b6a592 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x6358a5b6a592 - ::fmt::h52160e9da139e442 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x6358a5b7e81f - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x6358a5b7e81f - core::fmt::write::hf09a056a304e021a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x6358a5b35311 - std::io::default_write_fmt::hf1a3645468226e09 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x6358a5b35311 - std::io::Write::write_fmt::ha5ada6d6a18bde33 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x6358a5b41ed2 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x6358a5b47c0f - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x6358a5b47aa1 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x6358a528ec2e - as core::ops::function::Fn>::call::h3d020961abd83a77 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x6358a528ec2e - test::test_main_with_exit_callback::{{closure}}::h720dd2fdb2ddcdca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x6358a5b4837f - as core::ops::function::Fn>::call::h75334a5fed245bca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x6358a5b4837f - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x6358a5b4812a - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x6358a5b42009 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x6358a5b2854d - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x6358a5b89900 - core::panicking::panic_fmt::heb245a301f4395db [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x6358a5b885e6 - core::result::unwrap_failed::h91bd1e1731f928fc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x6358a4ffd7d3 - core::result::Result::unwrap::h81966e9c37ad6a20 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x6358a4ffd7d3 - wgsl_bindgen::structs::tests::write_runtime_sized_array_bytemuck::{{closure}}::ha88f1a025f7f3416 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x6358a50e990f - insta::settings::Settings::bind::h994dab72fec12fbb [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: 0x6358a4ffd2ea - wgsl_bindgen::structs::tests::write_runtime_sized_array_bytemuck::h7acd9c3d96536682 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x6358a4ffd3a7 - wgsl_bindgen::structs::tests::write_runtime_sized_array_bytemuck::{{closure}}::h8d879cb72bc46bf7 [INFO] [stdout] at /opt/rustwide/workdir/src/structs.rs:683:42 [INFO] [stdout] 25: 0x6358a5098f16 - core::ops::function::FnOnce::call_once::hc7be509c69be5fa9 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x6358a528ea5b - core::ops::function::FnOnce::call_once::h933a5d67211adff2 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x6358a528ea5b - test::__rust_begin_short_backtrace::h2157af19b0990ffb [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x6358a52a4635 - test::run_test_in_process::{{closure}}::hc3b17e0f313c900a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x6358a52a4635 - as core::ops::function::FnOnce<()>>::call_once::ha23e4b490259273c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x6358a52a4635 - std::panicking::catch_unwind::do_call::h8dc9d5da83792f7a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x6358a52a4635 - std::panicking::catch_unwind::h0d8461330de4a18b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x6358a52a4635 - std::panic::catch_unwind::h0321b51397bf9811 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x6358a52a4635 - test::run_test_in_process::hcaaa440fdbe4a513 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x6358a52a4635 - test::run_test::{{closure}}::h6345da602b85d6c3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x6358a527ae44 - test::run_test::{{closure}}::h90a3b75194d37b5d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x6358a527ae44 - std::sys::backtrace::__rust_begin_short_backtrace::hae41a17001f53ede [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x6358a527e70a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6ea895368381e0b1 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x6358a527e70a - as core::ops::function::FnOnce<()>>::call_once::h9c39013633bb9237 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x6358a527e70a - std::panicking::catch_unwind::do_call::hac7dba9ee4d99108 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x6358a527e70a - std::panicking::catch_unwind::h73015d00e4866ebc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x6358a527e70a - std::panic::catch_unwind::h6f7b38e188aa4f62 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x6358a527e70a - std::thread::Builder::spawn_unchecked_::{{closure}}::h969a6a2dc1856df7 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x6358a527e70a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h269ad1ff23e72122 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x6358a5b3cf5f - as core::ops::function::FnOnce>::call_once::hdd09a470c130e806 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 45: 0x6358a5b3cf5f - std::sys::thread::unix::Thread::new::thread_start::h14ea1ba6e320367c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 46: 0x7b0814b3daa4 - [INFO] [stdout] 47: 0x7b0814bcaa34 - 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 'caccb4d0368bd918ef6668af8e13834d07040417'. [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' (5590) 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: 0x6358a5b6a592 - std::backtrace_rs::backtrace::libunwind::trace::h76861be37b31432e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x6358a5b6a592 - std::backtrace_rs::backtrace::trace_unsynchronized::h58d4003082192c17 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x6358a5b6a592 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x6358a5b6a592 - ::fmt::h52160e9da139e442 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x6358a5b7e81f - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x6358a5b7e81f - core::fmt::write::hf09a056a304e021a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x6358a5b35311 - std::io::default_write_fmt::hf1a3645468226e09 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x6358a5b35311 - std::io::Write::write_fmt::ha5ada6d6a18bde33 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x6358a5b41ed2 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x6358a5b47c0f - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x6358a5b47aa1 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x6358a528ec2e - as core::ops::function::Fn>::call::h3d020961abd83a77 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x6358a528ec2e - test::test_main_with_exit_callback::{{closure}}::h720dd2fdb2ddcdca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x6358a5b4837f - as core::ops::function::Fn>::call::h75334a5fed245bca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x6358a5b4837f - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x6358a5b4812a - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x6358a5b42009 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x6358a5b2854d - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x6358a5b89900 - core::panicking::panic_fmt::heb245a301f4395db [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x6358a5b885e6 - core::result::unwrap_failed::h91bd1e1731f928fc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x6358a4ffe513 - core::result::Result::unwrap::h81966e9c37ad6a20 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x6358a4ffe513 - wgsl_bindgen::structs::tests::write_all_structs_skip_stage_outputs::{{closure}}::h5e909b060e904e32 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x6358a50ea26f - insta::settings::Settings::bind::hdd8b936381002d49 [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: 0x6358a4ffe033 - wgsl_bindgen::structs::tests::write_all_structs_skip_stage_outputs::h7f832882e8542cf9 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x6358a4ffe607 - wgsl_bindgen::structs::tests::write_all_structs_skip_stage_outputs::{{closure}}::heaa17d6b83a3dbbf [INFO] [stdout] at /opt/rustwide/workdir/src/structs.rs:509:44 [INFO] [stdout] 25: 0x6358a5097786 - core::ops::function::FnOnce::call_once::h39371e7a627c7db6 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x6358a528ea5b - core::ops::function::FnOnce::call_once::h933a5d67211adff2 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x6358a528ea5b - test::__rust_begin_short_backtrace::h2157af19b0990ffb [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x6358a52a4635 - test::run_test_in_process::{{closure}}::hc3b17e0f313c900a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x6358a52a4635 - as core::ops::function::FnOnce<()>>::call_once::ha23e4b490259273c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x6358a52a4635 - std::panicking::catch_unwind::do_call::h8dc9d5da83792f7a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x6358a52a4635 - std::panicking::catch_unwind::h0d8461330de4a18b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x6358a52a4635 - std::panic::catch_unwind::h0321b51397bf9811 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x6358a52a4635 - test::run_test_in_process::hcaaa440fdbe4a513 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x6358a52a4635 - test::run_test::{{closure}}::h6345da602b85d6c3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x6358a527ae44 - test::run_test::{{closure}}::h90a3b75194d37b5d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x6358a527ae44 - std::sys::backtrace::__rust_begin_short_backtrace::hae41a17001f53ede [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x6358a527e70a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6ea895368381e0b1 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x6358a527e70a - as core::ops::function::FnOnce<()>>::call_once::h9c39013633bb9237 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x6358a527e70a - std::panicking::catch_unwind::do_call::hac7dba9ee4d99108 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x6358a527e70a - std::panicking::catch_unwind::h73015d00e4866ebc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x6358a527e70a - std::panic::catch_unwind::h6f7b38e188aa4f62 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x6358a527e70a - std::thread::Builder::spawn_unchecked_::{{closure}}::h969a6a2dc1856df7 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x6358a527e70a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h269ad1ff23e72122 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x6358a5b3cf5f - as core::ops::function::FnOnce>::call_once::hdd09a470c130e806 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 45: 0x6358a5b3cf5f - std::sys::thread::unix::Thread::new::thread_start::h14ea1ba6e320367c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 46: 0x7b0814b3daa4 - [INFO] [stdout] 47: 0x7b0814bcaa34 - 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 'caccb4d0368bd918ef6668af8e13834d07040417'. [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' (6279) 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: 0x6358a5b6a592 - std::backtrace_rs::backtrace::libunwind::trace::h76861be37b31432e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x6358a5b6a592 - std::backtrace_rs::backtrace::trace_unsynchronized::h58d4003082192c17 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x6358a5b6a592 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x6358a5b6a592 - ::fmt::h52160e9da139e442 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x6358a5b7e81f - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x6358a5b7e81f - core::fmt::write::hf09a056a304e021a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x6358a5b35311 - std::io::default_write_fmt::hf1a3645468226e09 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x6358a5b35311 - std::io::Write::write_fmt::ha5ada6d6a18bde33 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x6358a5b41ed2 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x6358a5b47c0f - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x6358a5b47aa1 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x6358a528ec2e - as core::ops::function::Fn>::call::h3d020961abd83a77 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x6358a528ec2e - test::test_main_with_exit_callback::{{closure}}::h720dd2fdb2ddcdca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x6358a5b4837f - as core::ops::function::Fn>::call::h75334a5fed245bca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x6358a5b4837f - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x6358a5b4812a - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x6358a5b42009 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x6358a5b2854d - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x6358a5b89900 - core::panicking::panic_fmt::heb245a301f4395db [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x6358a5b885e6 - core::result::unwrap_failed::h91bd1e1731f928fc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x6358a4ffa273 - core::result::Result::unwrap::h81966e9c37ad6a20 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x6358a4ffa273 - wgsl_bindgen::structs::tests::write_runtime_sized_array::{{closure}}::hdb8e25a6ca34b91f [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x6358a50e95ef - insta::settings::Settings::bind::h70c10d2a7a9eab99 [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: 0x6358a4ff9dba - wgsl_bindgen::structs::tests::write_runtime_sized_array::h528e874e1dec6210 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x6358a4ffa367 - wgsl_bindgen::structs::tests::write_runtime_sized_array::{{closure}}::hf797c85cd5bc9c10 [INFO] [stdout] at /opt/rustwide/workdir/src/structs.rs:667:33 [INFO] [stdout] 25: 0x6358a5097986 - core::ops::function::FnOnce::call_once::h4ac1c82f15692901 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x6358a528ea5b - core::ops::function::FnOnce::call_once::h933a5d67211adff2 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x6358a528ea5b - test::__rust_begin_short_backtrace::h2157af19b0990ffb [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x6358a52a4635 - test::run_test_in_process::{{closure}}::hc3b17e0f313c900a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x6358a52a4635 - as core::ops::function::FnOnce<()>>::call_once::ha23e4b490259273c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x6358a52a4635 - std::panicking::catch_unwind::do_call::h8dc9d5da83792f7a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x6358a52a4635 - std::panicking::catch_unwind::h0d8461330de4a18b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x6358a52a4635 - std::panic::catch_unwind::h0321b51397bf9811 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x6358a52a4635 - test::run_test_in_process::hcaaa440fdbe4a513 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x6358a52a4635 - test::run_test::{{closure}}::h6345da602b85d6c3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x6358a527ae44 - test::run_test::{{closure}}::h90a3b75194d37b5d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x6358a527ae44 - std::sys::backtrace::__rust_begin_short_backtrace::hae41a17001f53ede [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x6358a527e70a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6ea895368381e0b1 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x6358a527e70a - as core::ops::function::FnOnce<()>>::call_once::h9c39013633bb9237 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x6358a527e70a - std::panicking::catch_unwind::do_call::hac7dba9ee4d99108 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x6358a527e70a - std::panicking::catch_unwind::h73015d00e4866ebc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x6358a527e70a - std::panic::catch_unwind::h6f7b38e188aa4f62 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x6358a527e70a - std::thread::Builder::spawn_unchecked_::{{closure}}::h969a6a2dc1856df7 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x6358a527e70a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h269ad1ff23e72122 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x6358a5b3cf5f - as core::ops::function::FnOnce>::call_once::hdd09a470c130e806 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 45: 0x6358a5b3cf5f - std::sys::thread::unix::Thread::new::thread_start::h14ea1ba6e320367c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 46: 0x7b0814b3daa4 - [INFO] [stdout] 47: 0x7b0814bcaa34 - 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 'caccb4d0368bd918ef6668af8e13834d07040417'. [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' (6908) 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: 0x6358a5b6a592 - std::backtrace_rs::backtrace::libunwind::trace::h76861be37b31432e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x6358a5b6a592 - std::backtrace_rs::backtrace::trace_unsynchronized::h58d4003082192c17 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x6358a5b6a592 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x6358a5b6a592 - ::fmt::h52160e9da139e442 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x6358a5b7e81f - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x6358a5b7e81f - core::fmt::write::hf09a056a304e021a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x6358a5b35311 - std::io::default_write_fmt::hf1a3645468226e09 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x6358a5b35311 - std::io::Write::write_fmt::ha5ada6d6a18bde33 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x6358a5b41ed2 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x6358a5b47c0f - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x6358a5b47aa1 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x6358a528ec2e - as core::ops::function::Fn>::call::h3d020961abd83a77 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x6358a528ec2e - test::test_main_with_exit_callback::{{closure}}::h720dd2fdb2ddcdca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x6358a5b4837f - as core::ops::function::Fn>::call::h75334a5fed245bca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x6358a5b4837f - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x6358a5b4812a - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x6358a5b42009 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x6358a5b2854d - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x6358a5b89900 - core::panicking::panic_fmt::heb245a301f4395db [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x6358a5b885e6 - core::result::unwrap_failed::h91bd1e1731f928fc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x6358a4ffafe3 - core::result::Result::unwrap::h81966e9c37ad6a20 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x6358a4ffafe3 - wgsl_bindgen::structs::tests::write_shorter_constructor::{{closure}}::h7eec17ab15de7ab9 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:23:7 [INFO] [stdout] 22: 0x6358a50e8f0f - insta::settings::Settings::bind::h1b46280707da7ce2 [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: 0x6358a4ffab03 - wgsl_bindgen::structs::tests::write_shorter_constructor::h79c0398d3293ada8 [INFO] [stdout] at /opt/rustwide/workdir/src/test_helper.rs:21:14 [INFO] [stdout] 24: 0x6358a4ffb0d7 - wgsl_bindgen::structs::tests::write_shorter_constructor::{{closure}}::he3b50f20c879f6fc [INFO] [stdout] at /opt/rustwide/workdir/src/structs.rs:803:33 [INFO] [stdout] 25: 0x6358a50982e6 - core::ops::function::FnOnce::call_once::h7aa99955628b6d26 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x6358a528ea5b - core::ops::function::FnOnce::call_once::h933a5d67211adff2 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x6358a528ea5b - test::__rust_begin_short_backtrace::h2157af19b0990ffb [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x6358a52a4635 - test::run_test_in_process::{{closure}}::hc3b17e0f313c900a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x6358a52a4635 - as core::ops::function::FnOnce<()>>::call_once::ha23e4b490259273c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x6358a52a4635 - std::panicking::catch_unwind::do_call::h8dc9d5da83792f7a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x6358a52a4635 - std::panicking::catch_unwind::h0d8461330de4a18b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x6358a52a4635 - std::panic::catch_unwind::h0321b51397bf9811 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x6358a52a4635 - test::run_test_in_process::hcaaa440fdbe4a513 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x6358a52a4635 - test::run_test::{{closure}}::h6345da602b85d6c3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x6358a527ae44 - test::run_test::{{closure}}::h90a3b75194d37b5d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x6358a527ae44 - std::sys::backtrace::__rust_begin_short_backtrace::hae41a17001f53ede [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x6358a527e70a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6ea895368381e0b1 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x6358a527e70a - as core::ops::function::FnOnce<()>>::call_once::h9c39013633bb9237 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x6358a527e70a - std::panicking::catch_unwind::do_call::hac7dba9ee4d99108 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x6358a527e70a - std::panicking::catch_unwind::h73015d00e4866ebc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x6358a527e70a - std::panic::catch_unwind::h6f7b38e188aa4f62 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x6358a527e70a - std::thread::Builder::spawn_unchecked_::{{closure}}::h969a6a2dc1856df7 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x6358a527e70a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h269ad1ff23e72122 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x6358a5b3cf5f - as core::ops::function::FnOnce>::call_once::hdd09a470c130e806 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 45: 0x6358a5b3cf5f - std::sys::thread::unix::Thread::new::thread_start::h14ea1ba6e320367c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 46: 0x7b0814b3daa4 - [INFO] [stdout] 47: 0x7b0814bcaa34 - 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 'caccb4d0368bd918ef6668af8e13834d07040417'. [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' (6985) 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: 0x6358a5b6a592 - std::backtrace_rs::backtrace::libunwind::trace::h76861be37b31432e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x6358a5b6a592 - std::backtrace_rs::backtrace::trace_unsynchronized::h58d4003082192c17 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x6358a5b6a592 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x6358a5b6a592 - ::fmt::h52160e9da139e442 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x6358a5b7e81f - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x6358a5b7e81f - core::fmt::write::hf09a056a304e021a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x6358a5b35311 - std::io::default_write_fmt::hf1a3645468226e09 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x6358a5b35311 - std::io::Write::write_fmt::ha5ada6d6a18bde33 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x6358a5b41ed2 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x6358a5b47c0f - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x6358a5b47aa1 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x6358a528ec2e - as core::ops::function::Fn>::call::h3d020961abd83a77 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x6358a528ec2e - test::test_main_with_exit_callback::{{closure}}::h720dd2fdb2ddcdca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x6358a5b4837f - as core::ops::function::Fn>::call::h75334a5fed245bca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x6358a5b4837f - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x6358a5b4812a - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x6358a5b42009 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x6358a5b2854d - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x6358a5b89900 - core::panicking::panic_fmt::heb245a301f4395db [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x6358a5b885e6 - core::result::unwrap_failed::h91bd1e1731f928fc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x6358a4ff45cc - core::result::Result::unwrap::h81966e9c37ad6a20 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x6358a4ff45cc - wgsl_bindgen::test::create_shader_module_embed_source::h02e95453d5154905 [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:513:5 [INFO] [stdout] 22: 0x6358a4ff46d7 - wgsl_bindgen::test::create_shader_module_embed_source::{{closure}}::h53fdc3ee1aa84936 [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:496:41 [INFO] [stdout] 23: 0x6358a5099256 - core::ops::function::FnOnce::call_once::hdda27b418a8da93b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x6358a528ea5b - core::ops::function::FnOnce::call_once::h933a5d67211adff2 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x6358a528ea5b - test::__rust_begin_short_backtrace::h2157af19b0990ffb [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x6358a52a4635 - test::run_test_in_process::{{closure}}::hc3b17e0f313c900a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x6358a52a4635 - as core::ops::function::FnOnce<()>>::call_once::ha23e4b490259273c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x6358a52a4635 - std::panicking::catch_unwind::do_call::h8dc9d5da83792f7a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x6358a52a4635 - std::panicking::catch_unwind::h0d8461330de4a18b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x6358a52a4635 - std::panic::catch_unwind::h0321b51397bf9811 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x6358a52a4635 - test::run_test_in_process::hcaaa440fdbe4a513 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x6358a52a4635 - test::run_test::{{closure}}::h6345da602b85d6c3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x6358a527ae44 - test::run_test::{{closure}}::h90a3b75194d37b5d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x6358a527ae44 - std::sys::backtrace::__rust_begin_short_backtrace::hae41a17001f53ede [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x6358a527e70a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6ea895368381e0b1 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x6358a527e70a - as core::ops::function::FnOnce<()>>::call_once::h9c39013633bb9237 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x6358a527e70a - std::panicking::catch_unwind::do_call::hac7dba9ee4d99108 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x6358a527e70a - std::panicking::catch_unwind::h73015d00e4866ebc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x6358a527e70a - std::panic::catch_unwind::h6f7b38e188aa4f62 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x6358a527e70a - std::thread::Builder::spawn_unchecked_::{{closure}}::h969a6a2dc1856df7 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x6358a527e70a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h269ad1ff23e72122 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x6358a5b3cf5f - as core::ops::function::FnOnce>::call_once::hdd09a470c130e806 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 43: 0x6358a5b3cf5f - std::sys::thread::unix::Thread::new::thread_start::h14ea1ba6e320367c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 44: 0x7b0814b3daa4 - [INFO] [stdout] 45: 0x7b0814bcaa34 - 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 3.25s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "eeb12a95aba45bb2323f409b4afdb5edaf7b41807163135548021da508007c0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eeb12a95aba45bb2323f409b4afdb5edaf7b41807163135548021da508007c0f", kill_on_drop: false }` [INFO] [stdout] eeb12a95aba45bb2323f409b4afdb5edaf7b41807163135548021da508007c0f