diff --git a/Cargo.toml b/Cargo.toml index 6d3c3ff..b938d36 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "shocovox-rs" -version = "0.3.0" +version = "0.3.1" edition = "2021" authors = ["Dávid Tóth "] license = "MIT OR Apache-2.0" diff --git a/assets/shaders/viewport_render.wgsl b/assets/shaders/viewport_render.wgsl index 21ebe5f..0fcdcbf 100644 --- a/assets/shaders/viewport_render.wgsl +++ b/assets/shaders/viewport_render.wgsl @@ -20,6 +20,8 @@ struct Cube { } const FLOAT_ERROR_TOLERANCE = 0.00001; +const OOB_OCTANT = 8u; + //crate::spatial::raytracing::Cube::contains_point fn cube_contains_point(cube: Cube, p: vec3f) -> bool{ let min_cn = p >= cube.min_position - FLOAT_ERROR_TOLERANCE; @@ -118,7 +120,6 @@ struct CubeRayIntersection { impact_hit: bool, impact_distance: f32, exit_distance: f32, - impact_normal: vec3f, } //crate::spatial::raytracing::Ray::point_at @@ -146,26 +147,12 @@ fn cube_intersect_ray(cube: Cube, ray: Line) -> CubeRayIntersection{ } let p = point_in_ray_at_distance(ray, tmin); - var impact_normal = vec3f(0.,0.,0.); - if abs(p.x - cube.min_position.x) < FLOAT_ERROR_TOLERANCE { - impact_normal.x = -1.; - } else if abs(p.x - (cube.min_position.x + cube.size)) < FLOAT_ERROR_TOLERANCE { - impact_normal.x = 1.; - } else if abs(p.y - cube.min_position.y) < FLOAT_ERROR_TOLERANCE { - impact_normal.y = -1.; - } else if abs(p.y - (cube.min_position.y + cube.size)) < FLOAT_ERROR_TOLERANCE { - impact_normal.y = 1.; - } else if abs(p.z - cube.min_position.z) < FLOAT_ERROR_TOLERANCE { - impact_normal.z = -1.; - } else if abs(p.z - (cube.min_position.z + cube.size)) < FLOAT_ERROR_TOLERANCE { - impact_normal.z = 1.; - } + if tmin < 0.0 { result.hit = true; result.impact_hit = false; result.exit_distance = tmax; - result.impact_normal = impact_normal; return result; } @@ -173,55 +160,48 @@ fn cube_intersect_ray(cube: Cube, ray: Line) -> CubeRayIntersection{ result.impact_hit = true; result.impact_distance = tmin; result.exit_distance = tmax; - result.impact_normal = impact_normal; return result; } +fn cube_impact_normal(cube: Cube, impact_point: vec3f) -> vec3f{ + var impact_normal = vec3f(0.,0.,0.); + let mid_to_impact = cube.min_position + vec3f(cube.size / 2.) - impact_point; + let mid_to_impact_abs = abs(mid_to_impact); + let max_component = max( + mid_to_impact_abs.x, + max(mid_to_impact_abs.y, mid_to_impact_abs.z) + ); + if max_component - mid_to_impact_abs.x < FLOAT_ERROR_TOLERANCE { + impact_normal.x = -mid_to_impact.x; + } + if max_component - mid_to_impact_abs.y < FLOAT_ERROR_TOLERANCE { + impact_normal.y = -mid_to_impact.y; + } + if max_component - mid_to_impact_abs.z < FLOAT_ERROR_TOLERANCE { + impact_normal.z = -mid_to_impact.z; + } + return normalize(impact_normal); +} + struct NodeStackItem { - bounds_intersection: CubeRayIntersection, bounds: Cube, node: u32, sized_node_meta: u32, target_octant: u32, - child_center: vec3f, } //crate::octree:raytracing::NodeStackItem::new fn new_node_stack_item( bounds: Cube, - cube_intersection: CubeRayIntersection, node: u32, sized_node_meta: u32, target_octant: u32 ) -> NodeStackItem { var result: NodeStackItem; result.bounds = bounds; - result.bounds_intersection = cube_intersection; result.node = node; - result.sized_node_meta = sized_node_meta; result.target_octant = target_octant; - result.child_center = ( - bounds.min_position + (bounds.size / 4.) - + (offset_region(target_octant) * (result.bounds.size / 2.)) - ); - return result; -} - -//crate::octree:raytracing::NodeStackItem::is_empty -fn node_is_empty(item: NodeStackItem) -> bool { - return get_node_occupancy_bitmap(item.sized_node_meta) == 0u; -} - -//crate::octree:raytracing::NodeStackItem::add_point -fn add_point_to(item: NodeStackItem, point: vec3f) -> NodeStackItem { - var result: NodeStackItem = item; - result.bounds = item.bounds; - result.node = item.node; - result.child_center = item.child_center + point; - result.target_octant = hash_region( - (result.child_center - result.bounds.min_position), - result.bounds.size - ); + result.sized_node_meta = sized_node_meta; return result; } @@ -291,6 +271,20 @@ fn get_node_occupancy_bitmap(sized_node_meta: u32) -> u32 { return (0x000000FF & sized_node_meta); } +//crate::spatial::math::step_octant +fn step_octant(octant: u32, step: vec3f) -> u32 { + let octant_pos_in_32bits = 4 * octant; + return ((OCTANT_STEP_RESULT_LUT[u32(sign(step.x) + 1)][u32(sign(step.y) + 1)][u32(sign(step.z) + 1)] + & (0x0Fu << octant_pos_in_32bits)) + >> octant_pos_in_32bits) & 0x0Fu; +} + +//crate::spatial::math::hash_direction +fn hash_direction(direction: vec3f) -> u32 { + let offset = vec3f(1.) + normalize(direction); + return hash_region(offset, 2.); +} + // Functionality-wise this function is more generic, than its counterpart // and is used in voxel brick mapping too //crate::spatial::math::flat_projection @@ -298,16 +292,6 @@ fn flat_projection(i: vec3u, dimensions: vec2u) -> u32 { return (i.x + (i.y * dimensions.y) + (i.z * dimensions.x * dimensions.y)); } -//crate::spatial::math::is_bitmap_occupied_at_octant -fn is_bitmap_occupied_at_octant(sized_node_meta: u32, octant: u32) -> bool { - return 0 < ( - get_node_occupancy_bitmap( sized_node_meta ) - & ( // crate::spatial::math::octant_bitmask - 0x00000001u << (octant & 0x000000FF) - ) - ); -} - //crate::spatial::math::position_in_bitmap_64bits fn position_in_bitmap_64bits(i: vec3u, dimension: u32) -> u32{ let pos_inside_bitmap_space = i * 4 / dimension; @@ -333,12 +317,6 @@ fn get_occupancy_in_bitmap_64bits( return 0 < (bitmap_msb & pos_mask); } -//crate::spatial::math::hash_direction -fn hash_direction(direction: vec3f) -> u32 { - let offset = vec3f(1.) + normalize(direction); - return hash_region(offset, 2.); -} - struct BrickHit{ hit: bool, index: vec3u @@ -351,7 +329,6 @@ fn traverse_brick( occupancy_bitmap_lsb: u32, occupancy_bitmap_msb: u32, bounds: Cube, - intersection: CubeRayIntersection, ray_scale_factors: vec3f, direction_lut_index: u32, unit_in_bitmap_space: f32, @@ -361,9 +338,8 @@ fn traverse_brick( result.hit = false; let pos = ( - point_in_ray_at_distance( - ray, impact_or(intersection, *ray_current_distance) - ) - bounds.min_position + point_in_ray_at_distance(ray, *ray_current_distance) + - bounds.min_position ); var current_index = vec3i( clamp(i32(pos.x), 0, i32(dimension - 1)), @@ -469,14 +445,15 @@ fn get_by_ray(ray_: Line) -> OctreeRayIntersection{ ray.direction.z = FLOAT_ERROR_TOLERANCE; } + let ray_scale_factors = get_dda_scale_factors(ray); + let direction_lut_index = hash_direction(ray.direction); + + var root_bounds = Cube(vec3(0.,0.,0.), f32(octreeMetaData.octree_size)); var ray_current_distance: f32 = 0.0; var node_stack: array; var node_stack_i: i32 = 0; - let ray_scale_factors = get_dda_scale_factors(ray); - let direction_lut_index = hash_direction(ray.direction); let unit_in_bitmap_space = 4. / f32(dimension); - var root_bounds = Cube(vec3(0.,0.,0.), f32(octreeMetaData.octree_size)); let root_intersection = cube_intersect_ray(root_bounds, ray); if(root_intersection.hit){ ray_current_distance = impact_or(root_intersection, 0.); @@ -485,27 +462,51 @@ fn get_by_ray(ray_: Line) -> OctreeRayIntersection{ root_bounds.size, ); node_stack[0] = new_node_stack_item( - root_bounds, root_intersection, + root_bounds, OCTREE_ROOT_NODE_KEY, nodes[OCTREE_ROOT_NODE_KEY].sized_node_meta, target_octant ); node_stack_i = 1; } - - var i = 0; - while(0 < node_stack_i && node_stack_i < max_depth) { // until there are items on the stack - let current_bounds = node_stack[node_stack_i - 1].bounds; - let current_bounds_ray_intersection = node_stack[node_stack_i - 1].bounds_intersection; + while(0 < node_stack_i && node_stack_i < max_depth) { + var current_bounds = node_stack[node_stack_i - 1].bounds; var current_node = nodes[node_stack[node_stack_i - 1].node]; //!NOTE: should be const, but then it can not be indexed dynamically var target_octant = node_stack[node_stack_i - 1].target_octant; - if( (!cube_contains_point(current_bounds, node_stack[node_stack_i - 1].child_center)) + var leaf_miss = false; + if is_leaf(current_node.sized_node_meta) { + let leaf_brick_hit = traverse_brick( + ray, &ray_current_distance, current_node.voxels_start_at, + children_buffer[current_node.children_starts_at], + children_buffer[current_node.children_starts_at + 1], + current_bounds, ray_scale_factors, direction_lut_index, + unit_in_bitmap_space, dimension + ); + if leaf_brick_hit.hit == true { + let hit_in_voxels = ( + current_node.voxels_start_at + + u32(flat_projection( leaf_brick_hit.index, vec2u(dimension, dimension ))) + ); + current_bounds.size /= f32(dimension); + current_bounds.min_position = current_bounds.min_position + + vec3f(leaf_brick_hit.index) * current_bounds.size; + result.hit = true; + result.albedo = voxels[hit_in_voxels].albedo; + result.content = voxels[hit_in_voxels].content; + result.collision_point = point_in_ray_at_distance(ray, ray_current_distance); + result.impact_normal = cube_impact_normal(current_bounds, result.collision_point); + return result; + } + leaf_miss = true; + } + if( leaf_miss + || target_octant == OOB_OCTANT || ( 0 == ( get_node_occupancy_bitmap(current_node.sized_node_meta) | RAY_TO_NODE_OCCUPANCY_BITMASK_LUT[target_octant][direction_lut_index] )) - || node_is_empty(node_stack[node_stack_i - 1]) + || 0 == get_node_occupancy_bitmap(current_node.sized_node_meta) ){ // POP let popped_target = node_stack[node_stack_i - 1]; @@ -517,83 +518,34 @@ fn get_by_ray(ray_: Line) -> OctreeRayIntersection{ popped_target.bounds, ray_scale_factors ); - node_stack[node_stack_i - 1] = add_point_to(node_stack[node_stack_i - 1], step_vec); - } - ray_current_distance = current_bounds_ray_intersection.exit_distance; - continue; - } - - if is_leaf(current_node.sized_node_meta) { - let leaf_brick_hit = traverse_brick( - ray, &ray_current_distance, current_node.voxels_start_at, - current_node.children[0], current_node.children[1], - current_bounds, current_bounds_ray_intersection, - ray_scale_factors, direction_lut_index, unit_in_bitmap_space, - dimension - ); - if leaf_brick_hit.hit == true { - let hit_in_voxels = ( - current_node.voxels_start_at - + u32(flat_projection( - leaf_brick_hit.index, - vec2u(dimension, dimension) - )) - ); - let brick_unit = current_bounds.size / f32(dimension); - let result_bounds = Cube( - current_bounds.min_position + ( - vec3f(leaf_brick_hit.index) * brick_unit - ), - brick_unit + node_stack[node_stack_i - 1].target_octant = step_octant( + node_stack[node_stack_i - 1].target_octant, + step_vec ); - var result_raycast = cube_intersect_ray(result_bounds, ray); - if result_raycast.hit == false { - result_raycast = current_bounds_ray_intersection; - } - result.hit = true; - result.albedo = voxels[hit_in_voxels].albedo; - result.content = voxels[hit_in_voxels].content; - result.collision_point = point_in_ray_at_distance( - ray, impact_or(result_raycast, ray_current_distance) - ); - result.impact_normal = result_raycast.impact_normal; - return result; - } else { - // POP - let popped_target = node_stack[node_stack_i - 1]; - node_stack_i -= 1; - if(0 < node_stack_i){ - let step_vec = dda_step_to_next_sibling( - ray, - &ray_current_distance, - popped_target.bounds, - ray_scale_factors - ); - node_stack[node_stack_i - 1] = add_point_to(node_stack[node_stack_i - 1], step_vec); - } - ray_current_distance = current_bounds_ray_intersection.exit_distance; - continue; } + continue; } - ray_current_distance = impact_or(current_bounds_ray_intersection, ray_current_distance); var target_bounds = child_bounds_for(current_bounds, target_octant); - var target_child_key = current_node.children[target_octant]; + var target_child_key = children_buffer[current_node.children_starts_at + target_octant]; let target_is_empty = ( target_child_key >= node_count //!crate::object_pool::key_is_valid - || !is_bitmap_occupied_at_octant(current_node.sized_node_meta, target_octant) + || 0 == ( + get_node_occupancy_bitmap( current_node.sized_node_meta ) + & ( // crate::spatial::math::octant_bitmask + 0x00000001u << (target_octant & 0x000000FF) + ) + ) ); - let target_hit = cube_intersect_ray(target_bounds, ray); - if(!target_is_empty && target_hit.hit) { + if !target_is_empty { // PUSH - ray_current_distance = impact_or(target_hit, ray_current_distance); let child_target_octant = hash_region( (point_in_ray_at_distance(ray, ray_current_distance) - target_bounds.min_position), target_bounds.size ); node_stack[node_stack_i] = new_node_stack_item( - target_bounds, target_hit, + target_bounds, target_child_key, nodes[target_child_key].sized_node_meta, child_target_octant @@ -601,31 +553,38 @@ fn get_by_ray(ray_: Line) -> OctreeRayIntersection{ node_stack_i += 1; } else { // ADVANCE - loop{ + loop { let step_vec = dda_step_to_next_sibling( ray, &ray_current_distance, target_bounds, ray_scale_factors ); - if target_hit.hit == true { - ray_current_distance = target_hit.exit_distance; + target_octant = step_octant(target_octant, step_vec); + if OOB_OCTANT != target_octant { + target_bounds = child_bounds_for(current_bounds, target_octant); + target_child_key = + children_buffer[current_node.children_starts_at + target_octant]; } - node_stack[node_stack_i - 1] = add_point_to(node_stack[node_stack_i - 1], step_vec); - target_octant = node_stack[node_stack_i - 1].target_octant; - target_bounds = child_bounds_for( - current_bounds, - node_stack[node_stack_i - 1].target_octant - ); - target_child_key = current_node.children[target_octant]; if ( - (!cube_contains_point(current_bounds, node_stack[node_stack_i - 1].child_center)) + target_octant == OOB_OCTANT || ( - target_child_key < node_count //crate::object_pool::key_is_valid - && is_bitmap_occupied_at_octant(current_node.sized_node_meta, target_octant) + target_child_key < node_count //crate::object_pool::key_is_valid + && 0 != ( + get_node_occupancy_bitmap( current_node.sized_node_meta ) + & (0x00000001u << (target_octant & 0x000000FF)) // crate::spatial::math::octant_bitmask + ) + && 0 != ( + get_node_occupancy_bitmap(nodes[target_child_key].sized_node_meta) + & RAY_TO_NODE_OCCUPANCY_BITMASK_LUT[hash_region( + point_in_ray_at_distance(ray, ray_current_distance) - target_bounds.min_position, + target_bounds.size + )][direction_lut_index] + ) ) ){ + node_stack[node_stack_i - 1].target_octant = target_octant; break; } } @@ -652,7 +611,7 @@ fn is_empty(e: Voxelement) -> bool { struct SizedNode { sized_node_meta: u32, - children: array, + children_starts_at: u32, voxels_start_at: u32, } @@ -684,6 +643,9 @@ var octreeMetaData: OctreeMetaData; var nodes: array; @group(0) @binding(5) +var children_buffer: array; + +@group(0) @binding(6) var voxels: array; @compute @workgroup_size(8, 8, 1) @@ -724,6 +686,25 @@ fn update( textureStore(output_texture, pixel_location, vec4f(rgb_result, 1.)); } +// Note: should be const +var OCTANT_STEP_RESULT_LUT: array, 3>, 3> = array, 3>, 3>( + array, 3>( + array(143165576,671647880,2284357768), + array(1216874632,1749559304,2288551976), + array(2290632840,2290640968,2290649192) + ), + array, 3>( + array(277383304,839944328,2285013128), + array(1418203272,1985229328,2289469490), + array(2290635912,2290644564,2290649206) + ), + array, 3>( + array(2173208712,2206304392,2290321544), + array(2240315784,2273674113,2290583683), + array(2290648456,2290648965,2290649223) + ) +); + // Note: should be const var RAY_TO_NODE_OCCUPANCY_BITMASK_LUT: array, 8> = array, 8>( array(1, 3, 5, 15, 17, 51, 85, 255), diff --git a/benches/performance.rs b/benches/performance.rs index 978e79c..5bdde45 100644 --- a/benches/performance.rs +++ b/benches/performance.rs @@ -1,22 +1,15 @@ use criterion::{criterion_group, criterion_main}; -use rand::Rng; -use shocovox_rs::octree::{Octree, V3c}; + +use shocovox_rs::octree::{Albedo, Octree, V3c}; #[cfg(feature = "raytracing")] -use shocovox_rs::octree::{raytracing::Ray, Albedo}; +use shocovox_rs::octree::raytracing::Ray; fn criterion_benchmark(c: &mut criterion::Criterion) { - let mut rng = rand::thread_rng(); - #[cfg(feature = "raytracing")] { let tree_size = 512; - let mut tree = shocovox_rs::octree::Octree::::new(tree_size) - .ok() - .unwrap(); - tree.insert(&V3c::new(1, 3, 3), rng.gen_range(0..500).into()) - .ok() - .unwrap(); + let mut tree = Octree::::new(tree_size).ok().unwrap(); for x in 0..100 { for y in 0..100 { for z in 0..100 { @@ -25,7 +18,7 @@ fn criterion_benchmark(c: &mut criterion::Criterion) { || z < (tree_size / 4) || ((tree_size / 2) <= x && (tree_size / 2) <= y && (tree_size / 2) <= z) { - tree.insert(&V3c::new(x, y, z), rng.gen_range(0..500).into()) + tree.insert(&V3c::new(x, y, z), 0x00ABCDEF.into()) .ok() .unwrap(); } @@ -73,58 +66,63 @@ fn criterion_benchmark(c: &mut criterion::Criterion) { }); } - let tree_size = 64; - let mut tree = shocovox_rs::octree::Octree::::new(tree_size) - .ok() - .unwrap(); + #[cfg(not(feature = "raytracing"))] + { + use rand::Rng; + let mut rng = rand::thread_rng(); + let tree_size = 64; + let mut tree = shocovox_rs::octree::Octree::::new(tree_size) + .ok() + .unwrap(); + + c.bench_function("octree insert", |b| { + b.iter(|| { + tree.insert( + &V3c::new( + rng.gen_range(0..tree_size), + rng.gen_range(0..tree_size), + rng.gen_range(0..tree_size), + ), + rng.gen_range(0..500).into(), + ) + .ok() + }); + }); - c.bench_function("octree insert", |b| { - b.iter(|| { - tree.insert( - &V3c::new( + c.bench_function("octree clear", |b| { + b.iter(|| { + tree.clear(&V3c::new( rng.gen_range(0..tree_size), rng.gen_range(0..tree_size), rng.gen_range(0..tree_size), - ), - rng.gen_range(0..500).into(), - ) - .ok() - }); - }); - - c.bench_function("octree clear", |b| { - b.iter(|| { - tree.clear(&V3c::new( - rng.gen_range(0..tree_size), - rng.gen_range(0..tree_size), - rng.gen_range(0..tree_size), - )) - .ok() - .unwrap(); + )) + .ok() + .unwrap(); + }); }); - }); - c.bench_function("octree get", |b| { - b.iter(|| { - tree.get(&V3c::new( - rng.gen_range(0..tree_size), - rng.gen_range(0..tree_size), - rng.gen_range(0..tree_size), - )); + c.bench_function("octree get", |b| { + b.iter(|| { + tree.get(&V3c::new( + rng.gen_range(0..tree_size), + rng.gen_range(0..tree_size), + rng.gen_range(0..tree_size), + )); + }); }); - }); - c.bench_function("octree save", |b| { - b.iter(|| { - tree.save("test_junk_octree").ok().unwrap(); + c.bench_function("octree save", |b| { + b.iter(|| { + tree.save("test_junk_octree").ok().unwrap(); + }); }); - }); - c.bench_function("octree load", |b| { - b.iter(|| { - let _tree_copy = Octree::::load("test_junk_octree").ok().unwrap(); + c.bench_function("octree load", |b| { + b.iter(|| { + let _tree_copy = Octree::::load("test_junk_octree").ok().unwrap(); + }); }); - }); + } } criterion_group!(benches, criterion_benchmark); diff --git a/crash.txt b/crash.txt new file mode 100644 index 0000000..e327a94 --- /dev/null +++ b/crash.txt @@ -0,0 +1,7324 @@ +[Running: cargo run --example minecraft --message-format=json] + Compiling proc-macro2 v1.0.81 + Compiling unicode-ident v1.0.11 + Compiling cfg-if v1.0.0 + Compiling autocfg v1.1.0 + Compiling libc v0.2.153 + Compiling serde v1.0.198 + Compiling once_cell v1.19.0 + Compiling version_check v0.9.4 + Compiling thiserror v1.0.58 + Compiling pin-project-lite v0.2.12 + Compiling crossbeam-utils v0.8.16 + Compiling log v0.4.20 + Compiling rustc-hash v1.1.0 + Compiling memchr v2.5.0 + Compiling bitflags v1.3.2 + Compiling equivalent v1.0.1 + Compiling futures-core v0.3.28 + Compiling zerocopy v0.7.32 + Compiling ahash v0.7.6 + Compiling ahash v0.8.11 + Compiling tracing-core v0.1.32 + Compiling num-traits v0.2.16 + Compiling indexmap v1.9.3 + Compiling slab v0.4.8 + Compiling hashbrown v0.14.0 + Compiling parking v2.2.0 + Compiling concurrent-queue v2.4.0 + Compiling winnow v0.5.12 + Compiling futures-io v0.3.28 + Compiling toml_datetime v0.6.5 + Compiling allocator-api2 v0.2.18 + Compiling cfg_aliases v0.1.1 + Compiling fixedbitset v0.4.2 + Compiling downcast-rs v1.2.0 + Compiling scopeguard v1.2.0 + Compiling libloading v0.8.0 + Compiling quote v1.0.36 + Compiling indexmap v2.0.0 + Compiling lazy_static v1.4.0 + Compiling pkg-config v0.3.27 + Compiling fastrand v2.0.2 + Compiling event-listener v5.3.0 + Compiling arrayvec v0.7.4 + Compiling syn v2.0.60 + Compiling async-task v4.7.0 + Compiling futures-lite v2.3.0 + Compiling event-listener-strategy v0.5.1 + Compiling getrandom v0.2.10 + Compiling smol_str v0.2.1 + Compiling nonmax v0.5.5 + Compiling async-channel v2.2.1 + Compiling uuid v1.8.0 + Compiling web-time v0.2.4 + Compiling lock_api v0.4.10 + Compiling thread_local v1.1.8 + Compiling bevy_ptr v0.13.2 + Compiling simd-adler32 v0.3.7 + Compiling aho-corasick v1.1.3 + Compiling crossbeam-channel v0.5.8 + Compiling adler v1.0.2 + Compiling regex-syntax v0.7.5 + Compiling miniz_oxide v0.7.1 + Compiling parking_lot_core v0.9.8 + Compiling async-executor v1.11.0 + Compiling crc32fast v1.3.2 + Compiling hashbrown v0.12.3 + Compiling bevy_tasks v0.13.2 + Compiling unicode-width v0.1.10 + Compiling termcolor v1.4.1 + Compiling regex-syntax v0.6.29 + Compiling toml_edit v0.21.1 + Compiling bit-vec v0.6.3 + Compiling codespan-reporting v0.11.1 + Compiling bit-set v0.5.3 + Compiling hexf-parse v0.2.1 + Compiling overload v0.1.1 + Compiling unicode-xid v0.2.4 + Compiling nu-ansi-term v0.46.0 + Compiling sharded-slab v0.1.7 + Compiling cc v1.0.82 + Compiling tracing-log v0.2.0 + Compiling petgraph v0.6.3 + Compiling libloading v0.7.4 + Compiling ash v0.37.3+1.3.251 + Compiling syn v1.0.109 + Compiling flate2 v1.0.27 + Compiling tracing-log v0.1.4 + Compiling gpu-descriptor-types v0.1.1 + Compiling byteorder v1.5.0 + Compiling arrayref v0.3.7 + Compiling regex-automata v0.3.7 + Compiling gpu-descriptor v0.2.3 + Compiling regex-automata v0.1.10 + Compiling fdeflate v0.3.0 + Compiling bevy_macro_utils v0.13.2 + Compiling renderdoc-sys v1.1.0 + Compiling raw-window-handle v0.6.0 + Compiling matchers v0.1.0 + Compiling png v0.17.9 + Compiling event-listener v4.0.3 + Compiling event-listener-strategy v0.4.0 + Compiling khronos-egl v6.0.0 + Compiling atomic-waker v1.1.2 + Compiling static_assertions v1.1.0 + Compiling piper v0.2.1 + Compiling async-lock v3.3.0 + Compiling blake3 v1.5.1 + Compiling regex v1.9.4 + Compiling wgpu-hal v0.19.4 + Compiling accesskit v0.12.3 + Compiling encase_derive_impl v0.7.0 + Compiling dlib v0.5.2 + Compiling wgpu-core v0.19.4 + Compiling base64 v0.21.7 + Compiling constant_time_eq v0.3.0 + Compiling event-listener v2.5.3 + Compiling color_quant v1.1.0 + Compiling glow v0.13.1 + Compiling async-broadcast v0.5.1 + Compiling wgpu v0.19.4 + Compiling memoffset v0.6.5 + Compiling const_soft_float v0.1.4 + Compiling twox-hash v1.6.3 + Compiling const_panic v0.2.8 + Compiling data-encoding v2.5.0 + Compiling constgebra v0.1.4 + Compiling regex-syntax v0.8.3 + Compiling xml-rs v0.8.16 + Compiling ktx2 v0.3.0 + Compiling memoffset v0.9.0 + Compiling slotmap v1.0.6 + Compiling minimal-lexical v0.2.1 + Compiling crossbeam-epoch v0.9.15 + Compiling ttf-parser v0.20.0 + Compiling serde_derive v1.0.198 + Compiling thiserror-impl v1.0.58 + Compiling bytemuck_derive v1.6.0 + Compiling tracing-attributes v0.1.27 + Compiling bevy_utils_proc_macros v0.13.2 + Compiling bevy_reflect_derive v0.13.2 + Compiling bevy_ecs_macros v0.13.2 + Compiling bevy_derive v0.13.2 + Compiling bytemuck v1.13.1 + Compiling profiling-procmacros v1.0.15 + Compiling bevy_asset_macros v0.13.2 + Compiling encase_derive v0.7.0 + Compiling derive_more v0.99.17 + Compiling tracing v0.1.40 + Compiling profiling v1.0.9 + Compiling blocking v1.5.1 + Compiling image v0.24.9 + Compiling wayland-scanner v0.29.5 + Compiling async-fs v2.1.1 + Compiling bevy_encase_derive v0.13.2 + Compiling bevy_render_macros v0.13.2 + Compiling nom v7.1.3 + Compiling vec_map v0.8.2 + Compiling rustix v0.38.32 + Compiling owned_ttf_parser v0.20.0 + Compiling wayland-sys v0.29.5 + Compiling x11-dl v2.21.0 + Compiling ab_glyph_rasterizer v0.1.8 + Compiling radsort v0.1.0 + Compiling serde_json v1.0.109 + Compiling linux-raw-sys v0.4.13 + Compiling ab_glyph v0.2.25 + Compiling alsa-sys v0.3.1 + Compiling percent-encoding v2.3.0 + Compiling itoa v1.0.11 + Compiling either v1.9.0 + Compiling rayon-core v1.11.0 + Compiling ryu v1.0.17 + Compiling crossbeam-deque v0.8.3 + Compiling wayland-client v0.29.5 + Compiling ruzstd v0.5.0 + Compiling nix v0.24.3 + Compiling euclid v0.22.9 + Compiling num_cpus v1.16.0 + Compiling libudev-sys v0.1.4 + Compiling nix v0.28.0 + Compiling num-integer v0.1.45 + Compiling futures-sink v0.3.28 + Compiling svg_fmt v0.4.2 + Compiling guillotiere v0.6.2 + Compiling approx v0.5.1 + Compiling inotify-sys v0.1.5 + Compiling winit v0.29.15 + Compiling num-bigint v0.4.4 + Compiling x11rb-protocol v0.13.0 + Compiling xkeysym v0.2.0 + Compiling scoped-tls v1.0.1 + Compiling rectangle-pack v0.4.2 + Compiling tinyvec_macros v0.1.1 + Compiling as-raw-xcb-connection v1.0.1 + Compiling cpal v0.15.3 + Compiling inflections v1.1.1 + Compiling tinyvec v1.6.0 + Compiling gltf-derive v1.4.0 + Compiling inotify v0.10.2 + Compiling wayland-protocols v0.29.5 + Compiling ogg v0.8.0 + Compiling num-rational v0.4.1 + Compiling futures-channel v0.3.28 + Compiling gilrs v0.10.6 + Compiling smallvec v1.11.0 + Compiling bitflags v2.5.0 + Compiling glam v0.25.0 + Compiling erased-serde v0.4.4 + Compiling tracing-subscriber v0.3.18 + Compiling gpu-alloc-types v0.3.0 + Compiling spirv v0.3.0+sdk-1.3.268.0 + Compiling parking_lot v0.12.1 + Compiling gpu-alloc v0.6.0 + Compiling wgpu-types v0.19.2 + Compiling bevy_utils v0.13.2 + Compiling ron v0.8.1 + Compiling wayland-commons v0.29.5 + Compiling xkbcommon-dl v0.4.2 + Compiling alsa v0.9.0 + Compiling naga v0.19.2 + Compiling xi-unicode v0.3.0 + Compiling dasp_sample v0.11.0 + Compiling cursor-icon v1.1.0 + Compiling futures-task v0.3.28 + Compiling semver v1.0.18 + Compiling anyhow v1.0.82 + Compiling khronos-egl v4.1.0 + Compiling glyph_brush_layout v0.2.3 + Compiling gilrs-core v0.5.11 + Compiling gltf-json v1.4.0 + Compiling lewton v0.10.2 + Compiling bevy_math v0.13.2 + Compiling hexasphere v10.0.0 + Compiling encase v0.7.0 + Compiling bevy_mikktspace v0.13.2 + Compiling rayon v1.7.0 + Compiling xcursor v0.3.4 + Compiling nix v0.25.1 + Compiling bevy_reflect v0.13.2 + Compiling polling v3.6.0 + Compiling calloop v0.12.4 + Compiling spirv v0.2.0+1.5.4 + Compiling smithay-client-toolkit v0.16.0 + Compiling paste v1.0.14 + Compiling built v0.7.2 + Compiling grid v0.10.0 + Compiling fnv v1.0.7 + Compiling strict-num v0.1.1 + Compiling futures-util v0.3.28 + Compiling raw-window-handle v0.5.2 + Compiling half v2.2.1 + Compiling aligned-vec v0.5.0 + Compiling v_frame v0.3.8 + Compiling gltf v1.4.0 + Compiling rav1e v0.7.1 + Compiling naga v0.13.0 + Compiling tiny-skia-path v0.8.4 + Compiling calloop v0.10.6 + Compiling taffy v0.3.19 + Compiling wayland-cursor v0.29.5 + Compiling rodio v0.17.3 + Compiling naga_oil v0.13.0 + Compiling wgpu-types v0.17.0 + Compiling bevy_gizmos_macros v0.13.2 + Compiling pin-project-internal v1.1.3 + Compiling memmap2 v0.5.10 + Compiling sysinfo v0.30.11 + Compiling bevy_ecs v0.13.2 + Compiling x11rb v0.13.0 + Compiling const-fnv1a-hash v1.1.0 + Compiling doc-comment v0.3.3 + Compiling pin-utils v0.1.0 + Compiling glow v0.12.3 + Compiling accesskit_winit v0.17.0 + Compiling wgpu-hal v0.17.2 + Compiling bevy_app v0.13.2 + Compiling pin-project v1.1.3 + Compiling rustc_version v0.4.0 + Compiling bevy_log v0.13.2 + Compiling bevy_core v0.13.2 + Compiling bevy_hierarchy v0.13.2 + Compiling bevy_input v0.13.2 + Compiling bevy_time v0.13.2 + Compiling bevy_a11y v0.13.2 + Compiling bevy_transform v0.13.2 + Compiling bevy_asset v0.13.2 + Compiling bevy_diagnostic v0.13.2 + Compiling av1-grain v0.2.3 + Compiling bevy_window v0.13.2 + Compiling bevy_gilrs v0.13.2 + Compiling tiny-skia v0.8.4 + Compiling maybe-rayon v0.1.1 + Compiling itertools v0.12.1 + Compiling winit v0.28.7 + Compiling num-derive v0.4.2 + Compiling arg_enum_proc_macro v0.3.4 + Compiling spin v0.9.8 + Compiling nanorand v0.7.0 + Compiling simd_helpers v0.1.0 + Compiling bitstream-io v2.2.0 + Compiling rustversion v1.0.14 + Compiling bevy_winit v0.13.2 + Compiling heck v0.4.1 + Compiling bevy_audio v0.13.2 + Compiling noop_proc_macro v0.3.0 + Compiling new_debug_unreachable v1.0.6 + Compiling imgref v1.10.1 + Compiling weezl v0.1.8 + Compiling snafu-derive v0.7.5 + Compiling loop9 v0.1.5 + Compiling flume v0.10.14 + Compiling sctk-adwaita v0.5.4 + Compiling futures-executor v0.3.28 + Compiling wgpu-core v0.17.1 + Compiling show-image v0.14.0 + Compiling rgb v0.8.37 + Compiling backtrace v0.3.69 + Compiling zune-inflate v0.2.54 + Compiling mio v0.8.8 + Compiling avif-serialize v0.8.1 + Compiling instant v0.1.12 + Compiling os_str_bytes v6.6.1 + Compiling byteorder-lite v0.1.0 + Compiling lebe v0.5.2 + Compiling ciborium-io v0.2.2 + Compiling bit_field v0.10.2 + Compiling plotters-backend v0.3.5 + Compiling quick-error v2.0.1 + Compiling zune-core v0.4.12 + Compiling gimli v0.28.1 + Compiling jpeg-decoder v0.3.0 + Compiling zune-jpeg v0.4.11 + Compiling snafu v0.7.5 + Compiling plotters-svg v0.3.5 + Compiling tiff v0.9.0 + Compiling exr v1.7.0 + Compiling ciborium-ll v0.2.2 + Compiling image-webp v0.1.2 + Compiling clap_lex v0.2.4 + Compiling addr2line v0.21.0 + Compiling wgpu v0.17.2 + Compiling futures v0.3.28 + Compiling gif v0.13.1 + Compiling ravif v0.11.5 + Compiling serde_bytes v0.11.12 + Compiling itertools v0.10.5 + Compiling show-image-macros v0.12.3 + Compiling qoi v0.4.1 + Compiling rand_core v0.6.4 + Compiling object v0.32.2 + Compiling textwrap v0.16.1 + Compiling cast v0.3.0 + Compiling same-file v1.0.6 + Compiling rustc-demangle v0.1.23 + Compiling glam v0.24.2 + Compiling ppv-lite86 v0.2.17 + Compiling criterion-plot v0.5.0 + Compiling walkdir v2.5.0 + Compiling rand_chacha v0.3.1 + Compiling clap v3.2.25 + Compiling image v0.25.1 + Compiling bendy v0.4.0-beta.2 (https://github.com/davids91/bendy.git#f74d2af6) + Compiling ciborium v0.2.2 + Compiling plotters v0.3.5 + Compiling bevy_render v0.13.2 + Compiling tinytemplate v1.2.1 + Compiling dot_vox v5.1.1 + Compiling nix v0.23.2 + Compiling atty v0.2.14 + Compiling anes v0.1.6 + Compiling array-init v2.1.0 + Compiling oorandom v11.1.3 + Compiling criterion v0.4.0 + Compiling rand v0.8.5 + Compiling backtrace-on-stack-overflow v0.3.0 + Compiling bevy_core_pipeline v0.13.2 + Compiling bevy_scene v0.13.2 + Compiling bevy_animation v0.13.2 + Compiling bevy_sprite v0.13.2 + Compiling bevy_pbr v0.13.2 + Compiling bevy_text v0.13.2 + Compiling bevy_ui v0.13.2 + Compiling bevy_gltf v0.13.2 + Compiling bevy_gizmos v0.13.2 + Compiling bevy_internal v0.13.2 + Compiling bevy_dylib v0.13.2 + Compiling bevy v0.13.2 + Compiling shocovox-rs v0.3.1 (/drives/Work/shocovox-rs) +warning: examples/minecraft.rs:7: unused import: `V3c` +note: examples/minecraft.rs:7: `#[warn(unused_imports)]` on by default +help: examples/minecraft.rs:7: remove the unused import +warning: examples/minecraft.rs:34: unused import: `shocovox_rs::octree::Octree` +help: examples/minecraft.rs:34: remove the whole `use` item + Finished dev [unoptimized + debuginfo] target(s) in 1m 33s + Running `target/debug/examples/minecraft` +2024-06-25T12:33:01.876435Z  INFO bevy_winit::system: Creating new window "App" (0v1) +2024-06-25T12:33:01.876967Z  INFO log: Guessed window scale factor: 1 +2024-06-25T12:33:01.922744Z  INFO bevy_render::renderer: AdapterInfo { name: "AMD Radeon RX 6650 XT (RADV NAVI23)", vendor: 4098, device: 29679, device_type: DiscreteGpu, driver: "radv", driver_info: "Mesa 24.0.9-manjaro1.1", backend: Vulkan } +max_position: V3c { x: 140, y: 142, z: 168 } +min position: V3c { x: -72, y: -102, z: -32 } +octree size: 256 +Stack Overflow: + 0: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:94:40 + 1: + 2: array_init::try_array_init_impl + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/array-init-2.1.0/src/lib.rs:225 + 3: array_init::try_array_init + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/array-init-2.1.0/src/lib.rs:189:5 + 4: array_init::array_init + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/array-init-2.1.0/src/lib.rs:76:5 + 5: shocovox_rs::octree::detail::>::leaf_from + at src/octree/detail.rs:227:27 + 6: shocovox_rs::octree::update::>::insert_at_lod + at src/octree/update.rs:168:33 + 7: shocovox_rs::octree::update::>::insert + at src/octree/update.rs:17:9 + 8: shocovox_rs::octree::convert::magicavoxel::>::load_magica_voxel_file + at src/octree/convert/magicavoxel.rs:141:17 + 9: minecraft::setup + at examples/minecraft.rs:44:22 + 10: core::ops::function::FnMut::call_mut + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:166:5 + 11: core::ops::function::impls:: for &mut F>::call_mut + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:294:13 + 12: Out>>::run::call_inner + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/system/function_system.rs:656:21 + 13: Out>>::run + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/system/function_system.rs:659:17 + 14: as bevy_ecs::system::system::System>::run_unsafe + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/system/function_system.rs:499:19 + 15: bevy_ecs::schedule::executor::multi_threaded::MultiThreadedExecutor::spawn_system_task::{{closure}}::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/schedule/executor/multi_threaded.rs:534:26 + 16: core::ops::function::FnOnce::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:250:5 + 17: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 18: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 19: __rust_try + 20: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 21: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 22: bevy_ecs::schedule::executor::multi_threaded::MultiThreadedExecutor::spawn_system_task::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/schedule/executor/multi_threaded.rs:529:23 + 23: as core::future::future::Future>::poll + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:297:9 + 24: as core::future::future::Future>::poll::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:42 + 25: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 26: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 27: __rust_try + 28: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 29: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 30: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:9 + 31: async_executor::Executor::spawn_inner::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.11.0/src/lib.rs:243:20 + 32: async_task::raw::RawTask::run::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/raw.rs:550:21 + 33: core::ops::function::FnOnce::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:250:5 + 34: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 35: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 36: __rust_try + 37: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 38: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 39: async_task::raw::RawTask::run + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/raw.rs:549:23 + 40: async_task::runnable::Runnable::run + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/runnable.rs:781:18 + 41: async_executor::Executor::run::{{closure}}::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.11.0/src/lib.rs:358:21 + 42: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:449:33 + 43: async_executor::Executor::run::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.11.0/src/lib.rs:365:32 + 44: as core::future::future::Future>::poll + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:297:9 + 45: as core::future::future::Future>::poll::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:42 + 46: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 47: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 48: __rust_try + 49: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 50: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 51: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:9 + 52: bevy_tasks::task_pool::TaskPool::execute_global_scope::{{closure}}::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:502:22 + 53: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:446:33 + 54: bevy_tasks::task_pool::TaskPool::execute_global_scope::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:506:41 + 55: bevy_tasks::task_pool::TaskPool::scope_with_executor_inner::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:433:89 + 56: futures_lite::future::block_on::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:99:19 + 57: std::thread::local::LocalKey::try_with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:286:16 + 58: std::thread::local::LocalKey::with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:262:9 + 59: futures_lite::future::block_on + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:78:5 + 60: bevy_tasks::task_pool::TaskPool::scope_with_executor_inner + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:389:13 + 61: bevy_tasks::task_pool::TaskPool::scope::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:293:13 + 62: std::thread::local::LocalKey::try_with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:286:16 + 63: std::thread::local::LocalKey::with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:262:9 + 64: bevy_tasks::task_pool::TaskPool::scope + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:292:9 + 65: ::cleanup::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_render-0.13.2/src/pipelined_rendering.rs:150:32 + 66: std::sys_common::backtrace::__rust_begin_short_backtrace + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys_common/backtrace.rs:155:18 + 67: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}} + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/mod.rs:529:17 + 68: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 69: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 70: __rust_try + 71: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 72: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + std::thread::Builder::spawn_unchecked_::{{closure}} + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/mod.rs:528:30 + 73: core::ops::function::FnOnce::call_once{{vtable.shim}} + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:250:5 + 74: as core::ops::function::FnOnce>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/alloc/src/boxed.rs:2015:9 + as core::ops::function::FnOnce>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/alloc/src/boxed.rs:2015:9 + std::sys::pal::unix::thread::Thread::new::thread_start + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/thread.rs:108:17 + 75: + 76: + +Stack Overflow: + 0: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:94:40 + 1: + 2: + 3: gsignal + 4: abort + 5: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 6: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 7: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 8: + 9: array_init::try_array_init_impl + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/array-init-2.1.0/src/lib.rs:225 + 10: array_init::try_array_init + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/array-init-2.1.0/src/lib.rs:189:5 + 11: array_init::array_init + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/array-init-2.1.0/src/lib.rs:76:5 + 12: shocovox_rs::octree::detail::>::leaf_from + at src/octree/detail.rs:227:27 + 13: shocovox_rs::octree::update::>::insert_at_lod + at src/octree/update.rs:168:33 + 14: shocovox_rs::octree::update::>::insert + at src/octree/update.rs:17:9 + 15: shocovox_rs::octree::convert::magicavoxel::>::load_magica_voxel_file + at src/octree/convert/magicavoxel.rs:141:17 + 16: minecraft::setup + at examples/minecraft.rs:44:22 + 17: core::ops::function::FnMut::call_mut + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:166:5 + 18: core::ops::function::impls:: for &mut F>::call_mut + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:294:13 + 19: Out>>::run::call_inner + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/system/function_system.rs:656:21 + 20: Out>>::run + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/system/function_system.rs:659:17 + 21: as bevy_ecs::system::system::System>::run_unsafe + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/system/function_system.rs:499:19 + 22: bevy_ecs::schedule::executor::multi_threaded::MultiThreadedExecutor::spawn_system_task::{{closure}}::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/schedule/executor/multi_threaded.rs:534:26 + 23: core::ops::function::FnOnce::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:250:5 + 24: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 25: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 26: __rust_try + 27: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 28: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 29: bevy_ecs::schedule::executor::multi_threaded::MultiThreadedExecutor::spawn_system_task::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/schedule/executor/multi_threaded.rs:529:23 + 30: as core::future::future::Future>::poll + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:297:9 + 31: as core::future::future::Future>::poll::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:42 + 32: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 33: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 34: __rust_try + 35: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 36: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 37: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:9 + 38: async_executor::Executor::spawn_inner::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.11.0/src/lib.rs:243:20 + 39: async_task::raw::RawTask::run::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/raw.rs:550:21 + 40: core::ops::function::FnOnce::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:250:5 + 41: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 42: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 43: __rust_try + 44: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 45: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 46: async_task::raw::RawTask::run + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/raw.rs:549:23 + 47: async_task::runnable::Runnable::run + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/runnable.rs:781:18 + 48: async_executor::Executor::run::{{closure}}::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.11.0/src/lib.rs:358:21 + 49: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:449:33 + 50: async_executor::Executor::run::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.11.0/src/lib.rs:365:32 + 51: as core::future::future::Future>::poll + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:297:9 + 52: as core::future::future::Future>::poll::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:42 + 53: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 54: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 55: __rust_try + 56: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 57: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 58: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:9 + 59: bevy_tasks::task_pool::TaskPool::execute_global_scope::{{closure}}::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:502:22 + 60: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:446:33 + 61: bevy_tasks::task_pool::TaskPool::execute_global_scope::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:506:41 + 62: bevy_tasks::task_pool::TaskPool::scope_with_executor_inner::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:433:89 + 63: futures_lite::future::block_on::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:99:19 + 64: std::thread::local::LocalKey::try_with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:286:16 + 65: std::thread::local::LocalKey::with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:262:9 + 66: futures_lite::future::block_on + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:78:5 + 67: bevy_tasks::task_pool::TaskPool::scope_with_executor_inner + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:389:13 + 68: bevy_tasks::task_pool::TaskPool::scope::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:293:13 + 69: std::thread::local::LocalKey::try_with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:286:16 + 70: std::thread::local::LocalKey::with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:262:9 + 71: bevy_tasks::task_pool::TaskPool::scope + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:292:9 + 72: ::cleanup::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_render-0.13.2/src/pipelined_rendering.rs:150:32 + 73: std::sys_common::backtrace::__rust_begin_short_backtrace + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys_common/backtrace.rs:155:18 + 74: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}} + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/mod.rs:529:17 + 75: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 76: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 77: __rust_try + 78: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 79: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + std::thread::Builder::spawn_unchecked_::{{closure}} + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/mod.rs:528:30 + 80: core::ops::function::FnOnce::call_once{{vtable.shim}} + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:250:5 + 81: as core::ops::function::FnOnce>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/alloc/src/boxed.rs:2015:9 + as core::ops::function::FnOnce>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/alloc/src/boxed.rs:2015:9 + std::sys::pal::unix::thread::Thread::new::thread_start + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/thread.rs:108:17 + 82: + 83: + +Stack Overflow: + 0: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:94:40 + 1: + 2: + 3: gsignal + 4: abort + 5: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 6: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 7: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 8: + 9: + 10: gsignal + 11: abort + 12: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 13: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 14: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 15: + 16: array_init::try_array_init_impl + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/array-init-2.1.0/src/lib.rs:225 + 17: array_init::try_array_init + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/array-init-2.1.0/src/lib.rs:189:5 + 18: array_init::array_init + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/array-init-2.1.0/src/lib.rs:76:5 + 19: shocovox_rs::octree::detail::>::leaf_from + at src/octree/detail.rs:227:27 + 20: shocovox_rs::octree::update::>::insert_at_lod + at src/octree/update.rs:168:33 + 21: shocovox_rs::octree::update::>::insert + at src/octree/update.rs:17:9 + 22: shocovox_rs::octree::convert::magicavoxel::>::load_magica_voxel_file + at src/octree/convert/magicavoxel.rs:141:17 + 23: minecraft::setup + at examples/minecraft.rs:44:22 + 24: core::ops::function::FnMut::call_mut + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:166:5 + 25: core::ops::function::impls:: for &mut F>::call_mut + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:294:13 + 26: Out>>::run::call_inner + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/system/function_system.rs:656:21 + 27: Out>>::run + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/system/function_system.rs:659:17 + 28: as bevy_ecs::system::system::System>::run_unsafe + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/system/function_system.rs:499:19 + 29: bevy_ecs::schedule::executor::multi_threaded::MultiThreadedExecutor::spawn_system_task::{{closure}}::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/schedule/executor/multi_threaded.rs:534:26 + 30: core::ops::function::FnOnce::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:250:5 + 31: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 32: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 33: __rust_try + 34: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 35: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 36: bevy_ecs::schedule::executor::multi_threaded::MultiThreadedExecutor::spawn_system_task::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/schedule/executor/multi_threaded.rs:529:23 + 37: as core::future::future::Future>::poll + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:297:9 + 38: as core::future::future::Future>::poll::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:42 + 39: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 40: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 41: __rust_try + 42: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 43: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 44: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:9 + 45: async_executor::Executor::spawn_inner::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.11.0/src/lib.rs:243:20 + 46: async_task::raw::RawTask::run::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/raw.rs:550:21 + 47: core::ops::function::FnOnce::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:250:5 + 48: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 49: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 50: __rust_try + 51: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 52: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 53: async_task::raw::RawTask::run + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/raw.rs:549:23 + 54: async_task::runnable::Runnable::run + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/runnable.rs:781:18 + 55: async_executor::Executor::run::{{closure}}::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.11.0/src/lib.rs:358:21 + 56: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:449:33 + 57: async_executor::Executor::run::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.11.0/src/lib.rs:365:32 + 58: as core::future::future::Future>::poll + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:297:9 + 59: as core::future::future::Future>::poll::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:42 + 60: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 61: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 62: __rust_try + 63: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 64: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 65: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:9 + 66: bevy_tasks::task_pool::TaskPool::execute_global_scope::{{closure}}::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:502:22 + 67: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:446:33 + 68: bevy_tasks::task_pool::TaskPool::execute_global_scope::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:506:41 + 69: bevy_tasks::task_pool::TaskPool::scope_with_executor_inner::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:433:89 + 70: futures_lite::future::block_on::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:99:19 + 71: std::thread::local::LocalKey::try_with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:286:16 + 72: std::thread::local::LocalKey::with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:262:9 + 73: futures_lite::future::block_on + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:78:5 + 74: bevy_tasks::task_pool::TaskPool::scope_with_executor_inner + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:389:13 + 75: bevy_tasks::task_pool::TaskPool::scope::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:293:13 + 76: std::thread::local::LocalKey::try_with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:286:16 + 77: std::thread::local::LocalKey::with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:262:9 + 78: bevy_tasks::task_pool::TaskPool::scope + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:292:9 + 79: ::cleanup::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_render-0.13.2/src/pipelined_rendering.rs:150:32 + 80: std::sys_common::backtrace::__rust_begin_short_backtrace + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys_common/backtrace.rs:155:18 + 81: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}} + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/mod.rs:529:17 + 82: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 83: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 84: __rust_try + 85: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 86: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + std::thread::Builder::spawn_unchecked_::{{closure}} + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/mod.rs:528:30 + 87: core::ops::function::FnOnce::call_once{{vtable.shim}} + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:250:5 + 88: as core::ops::function::FnOnce>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/alloc/src/boxed.rs:2015:9 + as core::ops::function::FnOnce>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/alloc/src/boxed.rs:2015:9 + std::sys::pal::unix::thread::Thread::new::thread_start + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/thread.rs:108:17 + 89: + 90: + +Stack Overflow: + 0: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:94:40 + 1: + 2: + 3: gsignal + 4: abort + 5: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 6: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 7: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 8: + 9: + 10: gsignal + 11: abort + 12: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 13: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 14: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 15: + 16: + 17: gsignal + 18: abort + 19: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 20: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 21: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 22: + 23: array_init::try_array_init_impl + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/array-init-2.1.0/src/lib.rs:225 + 24: array_init::try_array_init + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/array-init-2.1.0/src/lib.rs:189:5 + 25: array_init::array_init + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/array-init-2.1.0/src/lib.rs:76:5 + 26: shocovox_rs::octree::detail::>::leaf_from + at src/octree/detail.rs:227:27 + 27: shocovox_rs::octree::update::>::insert_at_lod + at src/octree/update.rs:168:33 + 28: shocovox_rs::octree::update::>::insert + at src/octree/update.rs:17:9 + 29: shocovox_rs::octree::convert::magicavoxel::>::load_magica_voxel_file + at src/octree/convert/magicavoxel.rs:141:17 + 30: minecraft::setup + at examples/minecraft.rs:44:22 + 31: core::ops::function::FnMut::call_mut + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:166:5 + 32: core::ops::function::impls:: for &mut F>::call_mut + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:294:13 + 33: Out>>::run::call_inner + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/system/function_system.rs:656:21 + 34: Out>>::run + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/system/function_system.rs:659:17 + 35: as bevy_ecs::system::system::System>::run_unsafe + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/system/function_system.rs:499:19 + 36: bevy_ecs::schedule::executor::multi_threaded::MultiThreadedExecutor::spawn_system_task::{{closure}}::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/schedule/executor/multi_threaded.rs:534:26 + 37: core::ops::function::FnOnce::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:250:5 + 38: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 39: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 40: __rust_try + 41: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 42: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 43: bevy_ecs::schedule::executor::multi_threaded::MultiThreadedExecutor::spawn_system_task::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/schedule/executor/multi_threaded.rs:529:23 + 44: as core::future::future::Future>::poll + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:297:9 + 45: as core::future::future::Future>::poll::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:42 + 46: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 47: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 48: __rust_try + 49: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 50: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 51: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:9 + 52: async_executor::Executor::spawn_inner::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.11.0/src/lib.rs:243:20 + 53: async_task::raw::RawTask::run::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/raw.rs:550:21 + 54: core::ops::function::FnOnce::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:250:5 + 55: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 56: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 57: __rust_try + 58: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 59: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 60: async_task::raw::RawTask::run + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/raw.rs:549:23 + 61: async_task::runnable::Runnable::run + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/runnable.rs:781:18 + 62: async_executor::Executor::run::{{closure}}::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.11.0/src/lib.rs:358:21 + 63: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:449:33 + 64: async_executor::Executor::run::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.11.0/src/lib.rs:365:32 + 65: as core::future::future::Future>::poll + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:297:9 + 66: as core::future::future::Future>::poll::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:42 + 67: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 68: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 69: __rust_try + 70: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 71: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 72: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:9 + 73: bevy_tasks::task_pool::TaskPool::execute_global_scope::{{closure}}::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:502:22 + 74: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:446:33 + 75: bevy_tasks::task_pool::TaskPool::execute_global_scope::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:506:41 + 76: bevy_tasks::task_pool::TaskPool::scope_with_executor_inner::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:433:89 + 77: futures_lite::future::block_on::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:99:19 + 78: std::thread::local::LocalKey::try_with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:286:16 + 79: std::thread::local::LocalKey::with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:262:9 + 80: futures_lite::future::block_on + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:78:5 + 81: bevy_tasks::task_pool::TaskPool::scope_with_executor_inner + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:389:13 + 82: bevy_tasks::task_pool::TaskPool::scope::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:293:13 + 83: std::thread::local::LocalKey::try_with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:286:16 + 84: std::thread::local::LocalKey::with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:262:9 + 85: bevy_tasks::task_pool::TaskPool::scope + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:292:9 + 86: ::cleanup::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_render-0.13.2/src/pipelined_rendering.rs:150:32 + 87: std::sys_common::backtrace::__rust_begin_short_backtrace + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys_common/backtrace.rs:155:18 + 88: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}} + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/mod.rs:529:17 + 89: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 90: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 91: __rust_try + 92: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 93: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + std::thread::Builder::spawn_unchecked_::{{closure}} + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/mod.rs:528:30 + 94: core::ops::function::FnOnce::call_once{{vtable.shim}} + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:250:5 + 95: as core::ops::function::FnOnce>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/alloc/src/boxed.rs:2015:9 + as core::ops::function::FnOnce>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/alloc/src/boxed.rs:2015:9 + std::sys::pal::unix::thread::Thread::new::thread_start + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/thread.rs:108:17 + 96: + 97: + +Stack Overflow: + 0: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:94:40 + 1: + 2: + 3: gsignal + 4: abort + 5: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 6: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 7: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 8: + 9: + 10: gsignal + 11: abort + 12: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 13: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 14: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 15: + 16: + 17: gsignal + 18: abort + 19: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 20: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 21: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 22: + 23: + 24: gsignal + 25: abort + 26: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 27: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 28: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 29: + 30: array_init::try_array_init_impl + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/array-init-2.1.0/src/lib.rs:225 + 31: array_init::try_array_init + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/array-init-2.1.0/src/lib.rs:189:5 + 32: array_init::array_init + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/array-init-2.1.0/src/lib.rs:76:5 + 33: shocovox_rs::octree::detail::>::leaf_from + at src/octree/detail.rs:227:27 + 34: shocovox_rs::octree::update::>::insert_at_lod + at src/octree/update.rs:168:33 + 35: shocovox_rs::octree::update::>::insert + at src/octree/update.rs:17:9 + 36: shocovox_rs::octree::convert::magicavoxel::>::load_magica_voxel_file + at src/octree/convert/magicavoxel.rs:141:17 + 37: minecraft::setup + at examples/minecraft.rs:44:22 + 38: core::ops::function::FnMut::call_mut + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:166:5 + 39: core::ops::function::impls:: for &mut F>::call_mut + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:294:13 + 40: Out>>::run::call_inner + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/system/function_system.rs:656:21 + 41: Out>>::run + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/system/function_system.rs:659:17 + 42: as bevy_ecs::system::system::System>::run_unsafe + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/system/function_system.rs:499:19 + 43: bevy_ecs::schedule::executor::multi_threaded::MultiThreadedExecutor::spawn_system_task::{{closure}}::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/schedule/executor/multi_threaded.rs:534:26 + 44: core::ops::function::FnOnce::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:250:5 + 45: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 46: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 47: __rust_try + 48: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 49: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 50: bevy_ecs::schedule::executor::multi_threaded::MultiThreadedExecutor::spawn_system_task::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/schedule/executor/multi_threaded.rs:529:23 + 51: as core::future::future::Future>::poll + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:297:9 + 52: as core::future::future::Future>::poll::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:42 + 53: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 54: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 55: __rust_try + 56: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 57: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 58: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:9 + 59: async_executor::Executor::spawn_inner::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.11.0/src/lib.rs:243:20 + 60: async_task::raw::RawTask::run::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/raw.rs:550:21 + 61: core::ops::function::FnOnce::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:250:5 + 62: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 63: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 64: __rust_try + 65: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 66: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 67: async_task::raw::RawTask::run + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/raw.rs:549:23 + 68: async_task::runnable::Runnable::run + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/runnable.rs:781:18 + 69: async_executor::Executor::run::{{closure}}::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.11.0/src/lib.rs:358:21 + 70: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:449:33 + 71: async_executor::Executor::run::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.11.0/src/lib.rs:365:32 + 72: as core::future::future::Future>::poll + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:297:9 + 73: as core::future::future::Future>::poll::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:42 + 74: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 75: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 76: __rust_try + 77: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 78: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 79: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:9 + 80: bevy_tasks::task_pool::TaskPool::execute_global_scope::{{closure}}::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:502:22 + 81: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:446:33 + 82: bevy_tasks::task_pool::TaskPool::execute_global_scope::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:506:41 + 83: bevy_tasks::task_pool::TaskPool::scope_with_executor_inner::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:433:89 + 84: futures_lite::future::block_on::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:99:19 + 85: std::thread::local::LocalKey::try_with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:286:16 + 86: std::thread::local::LocalKey::with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:262:9 + 87: futures_lite::future::block_on + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:78:5 + 88: bevy_tasks::task_pool::TaskPool::scope_with_executor_inner + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:389:13 + 89: bevy_tasks::task_pool::TaskPool::scope::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:293:13 + 90: std::thread::local::LocalKey::try_with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:286:16 + 91: std::thread::local::LocalKey::with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:262:9 + 92: bevy_tasks::task_pool::TaskPool::scope + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:292:9 + 93: ::cleanup::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_render-0.13.2/src/pipelined_rendering.rs:150:32 + 94: std::sys_common::backtrace::__rust_begin_short_backtrace + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys_common/backtrace.rs:155:18 + 95: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}} + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/mod.rs:529:17 + 96: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 97: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 98: __rust_try + 99: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 100: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + std::thread::Builder::spawn_unchecked_::{{closure}} + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/mod.rs:528:30 + 101: core::ops::function::FnOnce::call_once{{vtable.shim}} + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:250:5 + 102: as core::ops::function::FnOnce>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/alloc/src/boxed.rs:2015:9 + as core::ops::function::FnOnce>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/alloc/src/boxed.rs:2015:9 + std::sys::pal::unix::thread::Thread::new::thread_start + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/thread.rs:108:17 + 103: + 104: + +Stack Overflow: + 0: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:94:40 + 1: + 2: + 3: gsignal + 4: abort + 5: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 6: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 7: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 8: + 9: + 10: gsignal + 11: abort + 12: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 13: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 14: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 15: + 16: + 17: gsignal + 18: abort + 19: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 20: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 21: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 22: + 23: + 24: gsignal + 25: abort + 26: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 27: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 28: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 29: + 30: + 31: gsignal + 32: abort + 33: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 34: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 35: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 36: + 37: array_init::try_array_init_impl + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/array-init-2.1.0/src/lib.rs:225 + 38: array_init::try_array_init + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/array-init-2.1.0/src/lib.rs:189:5 + 39: array_init::array_init + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/array-init-2.1.0/src/lib.rs:76:5 + 40: shocovox_rs::octree::detail::>::leaf_from + at src/octree/detail.rs:227:27 + 41: shocovox_rs::octree::update::>::insert_at_lod + at src/octree/update.rs:168:33 + 42: shocovox_rs::octree::update::>::insert + at src/octree/update.rs:17:9 + 43: shocovox_rs::octree::convert::magicavoxel::>::load_magica_voxel_file + at src/octree/convert/magicavoxel.rs:141:17 + 44: minecraft::setup + at examples/minecraft.rs:44:22 + 45: core::ops::function::FnMut::call_mut + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:166:5 + 46: core::ops::function::impls:: for &mut F>::call_mut + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:294:13 + 47: Out>>::run::call_inner + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/system/function_system.rs:656:21 + 48: Out>>::run + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/system/function_system.rs:659:17 + 49: as bevy_ecs::system::system::System>::run_unsafe + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/system/function_system.rs:499:19 + 50: bevy_ecs::schedule::executor::multi_threaded::MultiThreadedExecutor::spawn_system_task::{{closure}}::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/schedule/executor/multi_threaded.rs:534:26 + 51: core::ops::function::FnOnce::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:250:5 + 52: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 53: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 54: __rust_try + 55: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 56: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 57: bevy_ecs::schedule::executor::multi_threaded::MultiThreadedExecutor::spawn_system_task::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/schedule/executor/multi_threaded.rs:529:23 + 58: as core::future::future::Future>::poll + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:297:9 + 59: as core::future::future::Future>::poll::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:42 + 60: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 61: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 62: __rust_try + 63: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 64: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 65: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:9 + 66: async_executor::Executor::spawn_inner::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.11.0/src/lib.rs:243:20 + 67: async_task::raw::RawTask::run::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/raw.rs:550:21 + 68: core::ops::function::FnOnce::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:250:5 + 69: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 70: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 71: __rust_try + 72: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 73: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 74: async_task::raw::RawTask::run + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/raw.rs:549:23 + 75: async_task::runnable::Runnable::run + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/runnable.rs:781:18 + 76: async_executor::Executor::run::{{closure}}::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.11.0/src/lib.rs:358:21 + 77: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:449:33 + 78: async_executor::Executor::run::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.11.0/src/lib.rs:365:32 + 79: as core::future::future::Future>::poll + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:297:9 + 80: as core::future::future::Future>::poll::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:42 + 81: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 82: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 83: __rust_try + 84: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 85: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 86: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:9 + 87: bevy_tasks::task_pool::TaskPool::execute_global_scope::{{closure}}::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:502:22 + 88: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:446:33 + 89: bevy_tasks::task_pool::TaskPool::execute_global_scope::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:506:41 + 90: bevy_tasks::task_pool::TaskPool::scope_with_executor_inner::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:433:89 + 91: futures_lite::future::block_on::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:99:19 + 92: std::thread::local::LocalKey::try_with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:286:16 + 93: std::thread::local::LocalKey::with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:262:9 + 94: futures_lite::future::block_on + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:78:5 + 95: bevy_tasks::task_pool::TaskPool::scope_with_executor_inner + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:389:13 + 96: bevy_tasks::task_pool::TaskPool::scope::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:293:13 + 97: std::thread::local::LocalKey::try_with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:286:16 + 98: std::thread::local::LocalKey::with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:262:9 + 99: bevy_tasks::task_pool::TaskPool::scope + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:292:9 + 100: ::cleanup::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_render-0.13.2/src/pipelined_rendering.rs:150:32 + 101: std::sys_common::backtrace::__rust_begin_short_backtrace + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys_common/backtrace.rs:155:18 + 102: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}} + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/mod.rs:529:17 + 103: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 104: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 105: __rust_try + 106: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 107: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + std::thread::Builder::spawn_unchecked_::{{closure}} + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/mod.rs:528:30 + 108: core::ops::function::FnOnce::call_once{{vtable.shim}} + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:250:5 + 109: as core::ops::function::FnOnce>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/alloc/src/boxed.rs:2015:9 + as core::ops::function::FnOnce>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/alloc/src/boxed.rs:2015:9 + std::sys::pal::unix::thread::Thread::new::thread_start + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/thread.rs:108:17 + 110: + 111: + +Stack Overflow: + 0: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:94:40 + 1: + 2: + 3: gsignal + 4: abort + 5: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 6: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 7: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 8: + 9: + 10: gsignal + 11: abort + 12: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 13: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 14: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 15: + 16: + 17: gsignal + 18: abort + 19: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 20: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 21: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 22: + 23: + 24: gsignal + 25: abort + 26: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 27: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 28: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 29: + 30: + 31: gsignal + 32: abort + 33: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 34: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 35: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 36: + 37: + 38: gsignal + 39: abort + 40: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 41: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 42: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 43: + 44: array_init::try_array_init_impl + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/array-init-2.1.0/src/lib.rs:225 + 45: array_init::try_array_init + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/array-init-2.1.0/src/lib.rs:189:5 + 46: array_init::array_init + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/array-init-2.1.0/src/lib.rs:76:5 + 47: shocovox_rs::octree::detail::>::leaf_from + at src/octree/detail.rs:227:27 + 48: shocovox_rs::octree::update::>::insert_at_lod + at src/octree/update.rs:168:33 + 49: shocovox_rs::octree::update::>::insert + at src/octree/update.rs:17:9 + 50: shocovox_rs::octree::convert::magicavoxel::>::load_magica_voxel_file + at src/octree/convert/magicavoxel.rs:141:17 + 51: minecraft::setup + at examples/minecraft.rs:44:22 + 52: core::ops::function::FnMut::call_mut + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:166:5 + 53: core::ops::function::impls:: for &mut F>::call_mut + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:294:13 + 54: Out>>::run::call_inner + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/system/function_system.rs:656:21 + 55: Out>>::run + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/system/function_system.rs:659:17 + 56: as bevy_ecs::system::system::System>::run_unsafe + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/system/function_system.rs:499:19 + 57: bevy_ecs::schedule::executor::multi_threaded::MultiThreadedExecutor::spawn_system_task::{{closure}}::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/schedule/executor/multi_threaded.rs:534:26 + 58: core::ops::function::FnOnce::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:250:5 + 59: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 60: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 61: __rust_try + 62: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 63: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 64: bevy_ecs::schedule::executor::multi_threaded::MultiThreadedExecutor::spawn_system_task::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/schedule/executor/multi_threaded.rs:529:23 + 65: as core::future::future::Future>::poll + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:297:9 + 66: as core::future::future::Future>::poll::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:42 + 67: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 68: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 69: __rust_try + 70: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 71: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 72: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:9 + 73: async_executor::Executor::spawn_inner::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.11.0/src/lib.rs:243:20 + 74: async_task::raw::RawTask::run::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/raw.rs:550:21 + 75: core::ops::function::FnOnce::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:250:5 + 76: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 77: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 78: __rust_try + 79: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 80: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 81: async_task::raw::RawTask::run + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/raw.rs:549:23 + 82: async_task::runnable::Runnable::run + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/runnable.rs:781:18 + 83: async_executor::Executor::run::{{closure}}::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.11.0/src/lib.rs:358:21 + 84: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:449:33 + 85: async_executor::Executor::run::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.11.0/src/lib.rs:365:32 + 86: as core::future::future::Future>::poll + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:297:9 + 87: as core::future::future::Future>::poll::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:42 + 88: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 89: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 90: __rust_try + 91: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 92: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 93: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:9 + 94: bevy_tasks::task_pool::TaskPool::execute_global_scope::{{closure}}::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:502:22 + 95: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:446:33 + 96: bevy_tasks::task_pool::TaskPool::execute_global_scope::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:506:41 + 97: bevy_tasks::task_pool::TaskPool::scope_with_executor_inner::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:433:89 + 98: futures_lite::future::block_on::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:99:19 + 99: std::thread::local::LocalKey::try_with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:286:16 + 100: std::thread::local::LocalKey::with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:262:9 + 101: futures_lite::future::block_on + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:78:5 + 102: bevy_tasks::task_pool::TaskPool::scope_with_executor_inner + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:389:13 + 103: bevy_tasks::task_pool::TaskPool::scope::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:293:13 + 104: std::thread::local::LocalKey::try_with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:286:16 + 105: std::thread::local::LocalKey::with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:262:9 + 106: bevy_tasks::task_pool::TaskPool::scope + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:292:9 + 107: ::cleanup::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_render-0.13.2/src/pipelined_rendering.rs:150:32 + 108: std::sys_common::backtrace::__rust_begin_short_backtrace + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys_common/backtrace.rs:155:18 + 109: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}} + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/mod.rs:529:17 + 110: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 111: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 112: __rust_try + 113: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 114: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + std::thread::Builder::spawn_unchecked_::{{closure}} + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/mod.rs:528:30 + 115: core::ops::function::FnOnce::call_once{{vtable.shim}} + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:250:5 + 116: as core::ops::function::FnOnce>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/alloc/src/boxed.rs:2015:9 + as core::ops::function::FnOnce>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/alloc/src/boxed.rs:2015:9 + std::sys::pal::unix::thread::Thread::new::thread_start + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/thread.rs:108:17 + 117: + 118: + +Stack Overflow: + 0: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:94:40 + 1: + 2: + 3: gsignal + 4: abort + 5: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 6: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 7: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 8: + 9: + 10: gsignal + 11: abort + 12: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 13: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 14: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 15: + 16: + 17: gsignal + 18: abort + 19: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 20: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 21: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 22: + 23: + 24: gsignal + 25: abort + 26: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 27: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 28: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 29: + 30: + 31: gsignal + 32: abort + 33: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 34: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 35: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 36: + 37: + 38: gsignal + 39: abort + 40: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 41: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 42: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 43: + 44: + 45: gsignal + 46: abort + 47: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 48: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 49: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 50: + 51: array_init::try_array_init_impl + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/array-init-2.1.0/src/lib.rs:225 + 52: array_init::try_array_init + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/array-init-2.1.0/src/lib.rs:189:5 + 53: array_init::array_init + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/array-init-2.1.0/src/lib.rs:76:5 + 54: shocovox_rs::octree::detail::>::leaf_from + at src/octree/detail.rs:227:27 + 55: shocovox_rs::octree::update::>::insert_at_lod + at src/octree/update.rs:168:33 + 56: shocovox_rs::octree::update::>::insert + at src/octree/update.rs:17:9 + 57: shocovox_rs::octree::convert::magicavoxel::>::load_magica_voxel_file + at src/octree/convert/magicavoxel.rs:141:17 + 58: minecraft::setup + at examples/minecraft.rs:44:22 + 59: core::ops::function::FnMut::call_mut + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:166:5 + 60: core::ops::function::impls:: for &mut F>::call_mut + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:294:13 + 61: Out>>::run::call_inner + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/system/function_system.rs:656:21 + 62: Out>>::run + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/system/function_system.rs:659:17 + 63: as bevy_ecs::system::system::System>::run_unsafe + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/system/function_system.rs:499:19 + 64: bevy_ecs::schedule::executor::multi_threaded::MultiThreadedExecutor::spawn_system_task::{{closure}}::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/schedule/executor/multi_threaded.rs:534:26 + 65: core::ops::function::FnOnce::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:250:5 + 66: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 67: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 68: __rust_try + 69: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 70: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 71: bevy_ecs::schedule::executor::multi_threaded::MultiThreadedExecutor::spawn_system_task::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/schedule/executor/multi_threaded.rs:529:23 + 72: as core::future::future::Future>::poll + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:297:9 + 73: as core::future::future::Future>::poll::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:42 + 74: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 75: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 76: __rust_try + 77: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 78: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 79: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:9 + 80: async_executor::Executor::spawn_inner::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.11.0/src/lib.rs:243:20 + 81: async_task::raw::RawTask::run::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/raw.rs:550:21 + 82: core::ops::function::FnOnce::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:250:5 + 83: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 84: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 85: __rust_try + 86: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 87: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 88: async_task::raw::RawTask::run + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/raw.rs:549:23 + 89: async_task::runnable::Runnable::run + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/runnable.rs:781:18 + 90: async_executor::Executor::run::{{closure}}::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.11.0/src/lib.rs:358:21 + 91: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:449:33 + 92: async_executor::Executor::run::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.11.0/src/lib.rs:365:32 + 93: as core::future::future::Future>::poll + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:297:9 + 94: as core::future::future::Future>::poll::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:42 + 95: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 96: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 97: __rust_try + 98: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 99: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 100: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:9 + 101: bevy_tasks::task_pool::TaskPool::execute_global_scope::{{closure}}::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:502:22 + 102: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:446:33 + 103: bevy_tasks::task_pool::TaskPool::execute_global_scope::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:506:41 + 104: bevy_tasks::task_pool::TaskPool::scope_with_executor_inner::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:433:89 + 105: futures_lite::future::block_on::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:99:19 + 106: std::thread::local::LocalKey::try_with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:286:16 + 107: std::thread::local::LocalKey::with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:262:9 + 108: futures_lite::future::block_on + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:78:5 + 109: bevy_tasks::task_pool::TaskPool::scope_with_executor_inner + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:389:13 + 110: bevy_tasks::task_pool::TaskPool::scope::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:293:13 + 111: std::thread::local::LocalKey::try_with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:286:16 + 112: std::thread::local::LocalKey::with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:262:9 + 113: bevy_tasks::task_pool::TaskPool::scope + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:292:9 + 114: ::cleanup::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_render-0.13.2/src/pipelined_rendering.rs:150:32 + 115: std::sys_common::backtrace::__rust_begin_short_backtrace + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys_common/backtrace.rs:155:18 + 116: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}} + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/mod.rs:529:17 + 117: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 118: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 119: __rust_try + 120: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 121: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + std::thread::Builder::spawn_unchecked_::{{closure}} + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/mod.rs:528:30 + 122: core::ops::function::FnOnce::call_once{{vtable.shim}} + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:250:5 + 123: as core::ops::function::FnOnce>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/alloc/src/boxed.rs:2015:9 + as core::ops::function::FnOnce>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/alloc/src/boxed.rs:2015:9 + std::sys::pal::unix::thread::Thread::new::thread_start + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/thread.rs:108:17 + 124: + 125: + +Stack Overflow: + 0: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:94:40 + 1: + 2: + 3: gsignal + 4: abort + 5: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 6: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 7: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 8: + 9: + 10: gsignal + 11: abort + 12: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 13: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 14: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 15: + 16: + 17: gsignal + 18: abort + 19: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 20: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 21: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 22: + 23: + 24: gsignal + 25: abort + 26: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 27: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 28: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 29: + 30: + 31: gsignal + 32: abort + 33: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 34: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 35: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 36: + 37: + 38: gsignal + 39: abort + 40: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 41: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 42: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 43: + 44: + 45: gsignal + 46: abort + 47: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 48: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 49: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 50: + 51: + 52: gsignal + 53: abort + 54: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 55: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 56: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 57: + 58: array_init::try_array_init_impl + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/array-init-2.1.0/src/lib.rs:225 + 59: array_init::try_array_init + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/array-init-2.1.0/src/lib.rs:189:5 + 60: array_init::array_init + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/array-init-2.1.0/src/lib.rs:76:5 + 61: shocovox_rs::octree::detail::>::leaf_from + at src/octree/detail.rs:227:27 + 62: shocovox_rs::octree::update::>::insert_at_lod + at src/octree/update.rs:168:33 + 63: shocovox_rs::octree::update::>::insert + at src/octree/update.rs:17:9 + 64: shocovox_rs::octree::convert::magicavoxel::>::load_magica_voxel_file + at src/octree/convert/magicavoxel.rs:141:17 + 65: minecraft::setup + at examples/minecraft.rs:44:22 + 66: core::ops::function::FnMut::call_mut + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:166:5 + 67: core::ops::function::impls:: for &mut F>::call_mut + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:294:13 + 68: Out>>::run::call_inner + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/system/function_system.rs:656:21 + 69: Out>>::run + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/system/function_system.rs:659:17 + 70: as bevy_ecs::system::system::System>::run_unsafe + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/system/function_system.rs:499:19 + 71: bevy_ecs::schedule::executor::multi_threaded::MultiThreadedExecutor::spawn_system_task::{{closure}}::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/schedule/executor/multi_threaded.rs:534:26 + 72: core::ops::function::FnOnce::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:250:5 + 73: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 74: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 75: __rust_try + 76: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 77: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 78: bevy_ecs::schedule::executor::multi_threaded::MultiThreadedExecutor::spawn_system_task::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/schedule/executor/multi_threaded.rs:529:23 + 79: as core::future::future::Future>::poll + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:297:9 + 80: as core::future::future::Future>::poll::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:42 + 81: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 82: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 83: __rust_try + 84: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 85: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 86: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:9 + 87: async_executor::Executor::spawn_inner::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.11.0/src/lib.rs:243:20 + 88: async_task::raw::RawTask::run::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/raw.rs:550:21 + 89: core::ops::function::FnOnce::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:250:5 + 90: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 91: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 92: __rust_try + 93: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 94: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 95: async_task::raw::RawTask::run + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/raw.rs:549:23 + 96: async_task::runnable::Runnable::run + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/runnable.rs:781:18 + 97: async_executor::Executor::run::{{closure}}::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.11.0/src/lib.rs:358:21 + 98: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:449:33 + 99: async_executor::Executor::run::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.11.0/src/lib.rs:365:32 + 100: as core::future::future::Future>::poll + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:297:9 + 101: as core::future::future::Future>::poll::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:42 + 102: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 103: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 104: __rust_try + 105: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 106: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 107: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:9 + 108: bevy_tasks::task_pool::TaskPool::execute_global_scope::{{closure}}::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:502:22 + 109: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:446:33 + 110: bevy_tasks::task_pool::TaskPool::execute_global_scope::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:506:41 + 111: bevy_tasks::task_pool::TaskPool::scope_with_executor_inner::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:433:89 + 112: futures_lite::future::block_on::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:99:19 + 113: std::thread::local::LocalKey::try_with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:286:16 + 114: std::thread::local::LocalKey::with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:262:9 + 115: futures_lite::future::block_on + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:78:5 + 116: bevy_tasks::task_pool::TaskPool::scope_with_executor_inner + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:389:13 + 117: bevy_tasks::task_pool::TaskPool::scope::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:293:13 + 118: std::thread::local::LocalKey::try_with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:286:16 + 119: std::thread::local::LocalKey::with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:262:9 + 120: bevy_tasks::task_pool::TaskPool::scope + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:292:9 + 121: ::cleanup::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_render-0.13.2/src/pipelined_rendering.rs:150:32 + 122: std::sys_common::backtrace::__rust_begin_short_backtrace + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys_common/backtrace.rs:155:18 + 123: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}} + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/mod.rs:529:17 + 124: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 125: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 126: __rust_try + 127: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 128: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + std::thread::Builder::spawn_unchecked_::{{closure}} + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/mod.rs:528:30 + 129: core::ops::function::FnOnce::call_once{{vtable.shim}} + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:250:5 + 130: as core::ops::function::FnOnce>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/alloc/src/boxed.rs:2015:9 + as core::ops::function::FnOnce>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/alloc/src/boxed.rs:2015:9 + std::sys::pal::unix::thread::Thread::new::thread_start + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/thread.rs:108:17 + 131: + 132: + +Stack Overflow: + 0: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:94:40 + 1: + 2: + 3: gsignal + 4: abort + 5: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 6: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 7: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 8: + 9: + 10: gsignal + 11: abort + 12: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 13: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 14: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 15: + 16: + 17: gsignal + 18: abort + 19: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 20: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 21: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 22: + 23: + 24: gsignal + 25: abort + 26: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 27: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 28: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 29: + 30: + 31: gsignal + 32: abort + 33: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 34: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 35: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 36: + 37: + 38: gsignal + 39: abort + 40: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 41: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 42: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 43: + 44: + 45: gsignal + 46: abort + 47: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 48: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 49: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 50: + 51: + 52: gsignal + 53: abort + 54: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 55: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 56: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 57: + 58: + 59: gsignal + 60: abort + 61: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 62: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 63: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 64: + 65: array_init::try_array_init_impl + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/array-init-2.1.0/src/lib.rs:225 + 66: array_init::try_array_init + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/array-init-2.1.0/src/lib.rs:189:5 + 67: array_init::array_init + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/array-init-2.1.0/src/lib.rs:76:5 + 68: shocovox_rs::octree::detail::>::leaf_from + at src/octree/detail.rs:227:27 + 69: shocovox_rs::octree::update::>::insert_at_lod + at src/octree/update.rs:168:33 + 70: shocovox_rs::octree::update::>::insert + at src/octree/update.rs:17:9 + 71: shocovox_rs::octree::convert::magicavoxel::>::load_magica_voxel_file + at src/octree/convert/magicavoxel.rs:141:17 + 72: minecraft::setup + at examples/minecraft.rs:44:22 + 73: core::ops::function::FnMut::call_mut + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:166:5 + 74: core::ops::function::impls:: for &mut F>::call_mut + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:294:13 + 75: Out>>::run::call_inner + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/system/function_system.rs:656:21 + 76: Out>>::run + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/system/function_system.rs:659:17 + 77: as bevy_ecs::system::system::System>::run_unsafe + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/system/function_system.rs:499:19 + 78: bevy_ecs::schedule::executor::multi_threaded::MultiThreadedExecutor::spawn_system_task::{{closure}}::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/schedule/executor/multi_threaded.rs:534:26 + 79: core::ops::function::FnOnce::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:250:5 + 80: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 81: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 82: __rust_try + 83: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 84: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 85: bevy_ecs::schedule::executor::multi_threaded::MultiThreadedExecutor::spawn_system_task::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/schedule/executor/multi_threaded.rs:529:23 + 86: as core::future::future::Future>::poll + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:297:9 + 87: as core::future::future::Future>::poll::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:42 + 88: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 89: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 90: __rust_try + 91: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 92: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 93: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:9 + 94: async_executor::Executor::spawn_inner::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.11.0/src/lib.rs:243:20 + 95: async_task::raw::RawTask::run::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/raw.rs:550:21 + 96: core::ops::function::FnOnce::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:250:5 + 97: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 98: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 99: __rust_try + 100: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 101: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 102: async_task::raw::RawTask::run + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/raw.rs:549:23 + 103: async_task::runnable::Runnable::run + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/runnable.rs:781:18 + 104: async_executor::Executor::run::{{closure}}::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.11.0/src/lib.rs:358:21 + 105: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:449:33 + 106: async_executor::Executor::run::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.11.0/src/lib.rs:365:32 + 107: as core::future::future::Future>::poll + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:297:9 + 108: as core::future::future::Future>::poll::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:42 + 109: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 110: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 111: __rust_try + 112: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 113: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 114: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:9 + 115: bevy_tasks::task_pool::TaskPool::execute_global_scope::{{closure}}::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:502:22 + 116: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:446:33 + 117: bevy_tasks::task_pool::TaskPool::execute_global_scope::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:506:41 + 118: bevy_tasks::task_pool::TaskPool::scope_with_executor_inner::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:433:89 + 119: futures_lite::future::block_on::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:99:19 + 120: std::thread::local::LocalKey::try_with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:286:16 + 121: std::thread::local::LocalKey::with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:262:9 + 122: futures_lite::future::block_on + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:78:5 + 123: bevy_tasks::task_pool::TaskPool::scope_with_executor_inner + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:389:13 + 124: bevy_tasks::task_pool::TaskPool::scope::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:293:13 + 125: std::thread::local::LocalKey::try_with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:286:16 + 126: std::thread::local::LocalKey::with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:262:9 + 127: bevy_tasks::task_pool::TaskPool::scope + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:292:9 + 128: ::cleanup::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_render-0.13.2/src/pipelined_rendering.rs:150:32 + 129: std::sys_common::backtrace::__rust_begin_short_backtrace + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys_common/backtrace.rs:155:18 + 130: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}} + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/mod.rs:529:17 + 131: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 132: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 133: __rust_try + 134: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 135: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + std::thread::Builder::spawn_unchecked_::{{closure}} + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/mod.rs:528:30 + 136: core::ops::function::FnOnce::call_once{{vtable.shim}} + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:250:5 + 137: as core::ops::function::FnOnce>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/alloc/src/boxed.rs:2015:9 + as core::ops::function::FnOnce>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/alloc/src/boxed.rs:2015:9 + std::sys::pal::unix::thread::Thread::new::thread_start + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/thread.rs:108:17 + 138: + 139: + +Stack Overflow: + 0: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:94:40 + 1: + 2: + 3: gsignal + 4: abort + 5: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 6: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 7: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 8: + 9: + 10: gsignal + 11: abort + 12: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 13: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 14: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 15: + 16: + 17: gsignal + 18: abort + 19: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 20: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 21: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 22: + 23: + 24: gsignal + 25: abort + 26: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 27: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 28: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 29: + 30: + 31: gsignal + 32: abort + 33: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 34: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 35: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 36: + 37: + 38: gsignal + 39: abort + 40: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 41: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 42: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 43: + 44: + 45: gsignal + 46: abort + 47: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 48: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 49: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 50: + 51: + 52: gsignal + 53: abort + 54: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 55: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 56: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 57: + 58: + 59: gsignal + 60: abort + 61: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 62: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 63: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 64: + 65: + 66: gsignal + 67: abort + 68: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 69: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 70: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 71: + 72: array_init::try_array_init_impl + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/array-init-2.1.0/src/lib.rs:225 + 73: array_init::try_array_init + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/array-init-2.1.0/src/lib.rs:189:5 + 74: array_init::array_init + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/array-init-2.1.0/src/lib.rs:76:5 + 75: shocovox_rs::octree::detail::>::leaf_from + at src/octree/detail.rs:227:27 + 76: shocovox_rs::octree::update::>::insert_at_lod + at src/octree/update.rs:168:33 + 77: shocovox_rs::octree::update::>::insert + at src/octree/update.rs:17:9 + 78: shocovox_rs::octree::convert::magicavoxel::>::load_magica_voxel_file + at src/octree/convert/magicavoxel.rs:141:17 + 79: minecraft::setup + at examples/minecraft.rs:44:22 + 80: core::ops::function::FnMut::call_mut + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:166:5 + 81: core::ops::function::impls:: for &mut F>::call_mut + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:294:13 + 82: Out>>::run::call_inner + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/system/function_system.rs:656:21 + 83: Out>>::run + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/system/function_system.rs:659:17 + 84: as bevy_ecs::system::system::System>::run_unsafe + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/system/function_system.rs:499:19 + 85: bevy_ecs::schedule::executor::multi_threaded::MultiThreadedExecutor::spawn_system_task::{{closure}}::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/schedule/executor/multi_threaded.rs:534:26 + 86: core::ops::function::FnOnce::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:250:5 + 87: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 88: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 89: __rust_try + 90: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 91: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 92: bevy_ecs::schedule::executor::multi_threaded::MultiThreadedExecutor::spawn_system_task::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/schedule/executor/multi_threaded.rs:529:23 + 93: as core::future::future::Future>::poll + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:297:9 + 94: as core::future::future::Future>::poll::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:42 + 95: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 96: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 97: __rust_try + 98: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 99: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 100: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:9 + 101: async_executor::Executor::spawn_inner::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.11.0/src/lib.rs:243:20 + 102: async_task::raw::RawTask::run::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/raw.rs:550:21 + 103: core::ops::function::FnOnce::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:250:5 + 104: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 105: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 106: __rust_try + 107: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 108: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 109: async_task::raw::RawTask::run + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/raw.rs:549:23 + 110: async_task::runnable::Runnable::run + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/runnable.rs:781:18 + 111: async_executor::Executor::run::{{closure}}::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.11.0/src/lib.rs:358:21 + 112: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:449:33 + 113: async_executor::Executor::run::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.11.0/src/lib.rs:365:32 + 114: as core::future::future::Future>::poll + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:297:9 + 115: as core::future::future::Future>::poll::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:42 + 116: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 117: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 118: __rust_try + 119: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 120: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 121: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:9 + 122: bevy_tasks::task_pool::TaskPool::execute_global_scope::{{closure}}::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:502:22 + 123: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:446:33 + 124: bevy_tasks::task_pool::TaskPool::execute_global_scope::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:506:41 + 125: bevy_tasks::task_pool::TaskPool::scope_with_executor_inner::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:433:89 + 126: futures_lite::future::block_on::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:99:19 + 127: std::thread::local::LocalKey::try_with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:286:16 + 128: std::thread::local::LocalKey::with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:262:9 + 129: futures_lite::future::block_on + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:78:5 + 130: bevy_tasks::task_pool::TaskPool::scope_with_executor_inner + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:389:13 + 131: bevy_tasks::task_pool::TaskPool::scope::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:293:13 + 132: std::thread::local::LocalKey::try_with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:286:16 + 133: std::thread::local::LocalKey::with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:262:9 + 134: bevy_tasks::task_pool::TaskPool::scope + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:292:9 + 135: ::cleanup::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_render-0.13.2/src/pipelined_rendering.rs:150:32 + 136: std::sys_common::backtrace::__rust_begin_short_backtrace + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys_common/backtrace.rs:155:18 + 137: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}} + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/mod.rs:529:17 + 138: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 139: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 140: __rust_try + 141: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 142: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + std::thread::Builder::spawn_unchecked_::{{closure}} + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/mod.rs:528:30 + 143: core::ops::function::FnOnce::call_once{{vtable.shim}} + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:250:5 + 144: as core::ops::function::FnOnce>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/alloc/src/boxed.rs:2015:9 + as core::ops::function::FnOnce>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/alloc/src/boxed.rs:2015:9 + std::sys::pal::unix::thread::Thread::new::thread_start + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/thread.rs:108:17 + 145: + 146: + +Stack Overflow: + 0: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:94:40 + 1: + 2: + 3: gsignal + 4: abort + 5: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 6: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 7: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 8: + 9: + 10: gsignal + 11: abort + 12: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 13: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 14: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 15: + 16: + 17: gsignal + 18: abort + 19: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 20: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 21: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 22: + 23: + 24: gsignal + 25: abort + 26: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 27: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 28: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 29: + 30: + 31: gsignal + 32: abort + 33: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 34: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 35: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 36: + 37: + 38: gsignal + 39: abort + 40: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 41: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 42: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 43: + 44: + 45: gsignal + 46: abort + 47: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 48: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 49: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 50: + 51: + 52: gsignal + 53: abort + 54: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 55: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 56: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 57: + 58: + 59: gsignal + 60: abort + 61: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 62: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 63: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 64: + 65: + 66: gsignal + 67: abort + 68: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 69: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 70: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 71: + 72: + 73: gsignal + 74: abort + 75: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 76: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 77: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 78: + 79: array_init::try_array_init_impl + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/array-init-2.1.0/src/lib.rs:225 + 80: array_init::try_array_init + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/array-init-2.1.0/src/lib.rs:189:5 + 81: array_init::array_init + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/array-init-2.1.0/src/lib.rs:76:5 + 82: shocovox_rs::octree::detail::>::leaf_from + at src/octree/detail.rs:227:27 + 83: shocovox_rs::octree::update::>::insert_at_lod + at src/octree/update.rs:168:33 + 84: shocovox_rs::octree::update::>::insert + at src/octree/update.rs:17:9 + 85: shocovox_rs::octree::convert::magicavoxel::>::load_magica_voxel_file + at src/octree/convert/magicavoxel.rs:141:17 + 86: minecraft::setup + at examples/minecraft.rs:44:22 + 87: core::ops::function::FnMut::call_mut + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:166:5 + 88: core::ops::function::impls:: for &mut F>::call_mut + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:294:13 + 89: Out>>::run::call_inner + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/system/function_system.rs:656:21 + 90: Out>>::run + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/system/function_system.rs:659:17 + 91: as bevy_ecs::system::system::System>::run_unsafe + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/system/function_system.rs:499:19 + 92: bevy_ecs::schedule::executor::multi_threaded::MultiThreadedExecutor::spawn_system_task::{{closure}}::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/schedule/executor/multi_threaded.rs:534:26 + 93: core::ops::function::FnOnce::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:250:5 + 94: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 95: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 96: __rust_try + 97: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 98: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 99: bevy_ecs::schedule::executor::multi_threaded::MultiThreadedExecutor::spawn_system_task::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/schedule/executor/multi_threaded.rs:529:23 + 100: as core::future::future::Future>::poll + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:297:9 + 101: as core::future::future::Future>::poll::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:42 + 102: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 103: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 104: __rust_try + 105: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 106: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 107: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:9 + 108: async_executor::Executor::spawn_inner::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.11.0/src/lib.rs:243:20 + 109: async_task::raw::RawTask::run::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/raw.rs:550:21 + 110: core::ops::function::FnOnce::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:250:5 + 111: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 112: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 113: __rust_try + 114: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 115: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 116: async_task::raw::RawTask::run + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/raw.rs:549:23 + 117: async_task::runnable::Runnable::run + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/runnable.rs:781:18 + 118: async_executor::Executor::run::{{closure}}::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.11.0/src/lib.rs:358:21 + 119: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:449:33 + 120: async_executor::Executor::run::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.11.0/src/lib.rs:365:32 + 121: as core::future::future::Future>::poll + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:297:9 + 122: as core::future::future::Future>::poll::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:42 + 123: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 124: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 125: __rust_try + 126: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 127: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 128: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:9 + 129: bevy_tasks::task_pool::TaskPool::execute_global_scope::{{closure}}::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:502:22 + 130: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:446:33 + 131: bevy_tasks::task_pool::TaskPool::execute_global_scope::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:506:41 + 132: bevy_tasks::task_pool::TaskPool::scope_with_executor_inner::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:433:89 + 133: futures_lite::future::block_on::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:99:19 + 134: std::thread::local::LocalKey::try_with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:286:16 + 135: std::thread::local::LocalKey::with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:262:9 + 136: futures_lite::future::block_on + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:78:5 + 137: bevy_tasks::task_pool::TaskPool::scope_with_executor_inner + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:389:13 + 138: bevy_tasks::task_pool::TaskPool::scope::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:293:13 + 139: std::thread::local::LocalKey::try_with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:286:16 + 140: std::thread::local::LocalKey::with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:262:9 + 141: bevy_tasks::task_pool::TaskPool::scope + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:292:9 + 142: ::cleanup::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_render-0.13.2/src/pipelined_rendering.rs:150:32 + 143: std::sys_common::backtrace::__rust_begin_short_backtrace + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys_common/backtrace.rs:155:18 + 144: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}} + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/mod.rs:529:17 + 145: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 146: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 147: __rust_try + 148: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 149: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + std::thread::Builder::spawn_unchecked_::{{closure}} + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/mod.rs:528:30 + 150: core::ops::function::FnOnce::call_once{{vtable.shim}} + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:250:5 + 151: as core::ops::function::FnOnce>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/alloc/src/boxed.rs:2015:9 + as core::ops::function::FnOnce>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/alloc/src/boxed.rs:2015:9 + std::sys::pal::unix::thread::Thread::new::thread_start + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/thread.rs:108:17 + 152: + 153: + +Stack Overflow: + 0: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:94:40 + 1: + 2: + 3: gsignal + 4: abort + 5: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 6: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 7: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 8: + 9: + 10: gsignal + 11: abort + 12: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 13: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 14: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 15: + 16: + 17: gsignal + 18: abort + 19: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 20: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 21: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 22: + 23: + 24: gsignal + 25: abort + 26: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 27: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 28: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 29: + 30: + 31: gsignal + 32: abort + 33: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 34: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 35: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 36: + 37: + 38: gsignal + 39: abort + 40: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 41: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 42: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 43: + 44: + 45: gsignal + 46: abort + 47: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 48: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 49: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 50: + 51: + 52: gsignal + 53: abort + 54: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 55: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 56: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 57: + 58: + 59: gsignal + 60: abort + 61: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 62: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 63: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 64: + 65: + 66: gsignal + 67: abort + 68: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 69: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 70: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 71: + 72: + 73: gsignal + 74: abort + 75: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 76: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 77: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 78: + 79: + 80: gsignal + 81: abort + 82: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 83: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 84: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 85: + 86: array_init::try_array_init_impl + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/array-init-2.1.0/src/lib.rs:225 + 87: array_init::try_array_init + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/array-init-2.1.0/src/lib.rs:189:5 + 88: array_init::array_init + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/array-init-2.1.0/src/lib.rs:76:5 + 89: shocovox_rs::octree::detail::>::leaf_from + at src/octree/detail.rs:227:27 + 90: shocovox_rs::octree::update::>::insert_at_lod + at src/octree/update.rs:168:33 + 91: shocovox_rs::octree::update::>::insert + at src/octree/update.rs:17:9 + 92: shocovox_rs::octree::convert::magicavoxel::>::load_magica_voxel_file + at src/octree/convert/magicavoxel.rs:141:17 + 93: minecraft::setup + at examples/minecraft.rs:44:22 + 94: core::ops::function::FnMut::call_mut + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:166:5 + 95: core::ops::function::impls:: for &mut F>::call_mut + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:294:13 + 96: Out>>::run::call_inner + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/system/function_system.rs:656:21 + 97: Out>>::run + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/system/function_system.rs:659:17 + 98: as bevy_ecs::system::system::System>::run_unsafe + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/system/function_system.rs:499:19 + 99: bevy_ecs::schedule::executor::multi_threaded::MultiThreadedExecutor::spawn_system_task::{{closure}}::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/schedule/executor/multi_threaded.rs:534:26 + 100: core::ops::function::FnOnce::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:250:5 + 101: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 102: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 103: __rust_try + 104: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 105: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 106: bevy_ecs::schedule::executor::multi_threaded::MultiThreadedExecutor::spawn_system_task::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/schedule/executor/multi_threaded.rs:529:23 + 107: as core::future::future::Future>::poll + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:297:9 + 108: as core::future::future::Future>::poll::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:42 + 109: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 110: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 111: __rust_try + 112: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 113: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 114: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:9 + 115: async_executor::Executor::spawn_inner::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.11.0/src/lib.rs:243:20 + 116: async_task::raw::RawTask::run::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/raw.rs:550:21 + 117: core::ops::function::FnOnce::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:250:5 + 118: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 119: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 120: __rust_try + 121: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 122: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 123: async_task::raw::RawTask::run + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/raw.rs:549:23 + 124: async_task::runnable::Runnable::run + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/runnable.rs:781:18 + 125: async_executor::Executor::run::{{closure}}::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.11.0/src/lib.rs:358:21 + 126: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:449:33 + 127: async_executor::Executor::run::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.11.0/src/lib.rs:365:32 + 128: as core::future::future::Future>::poll + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:297:9 + 129: as core::future::future::Future>::poll::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:42 + 130: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 131: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 132: __rust_try + 133: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 134: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 135: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:9 + 136: bevy_tasks::task_pool::TaskPool::execute_global_scope::{{closure}}::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:502:22 + 137: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:446:33 + 138: bevy_tasks::task_pool::TaskPool::execute_global_scope::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:506:41 + 139: bevy_tasks::task_pool::TaskPool::scope_with_executor_inner::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:433:89 + 140: futures_lite::future::block_on::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:99:19 + 141: std::thread::local::LocalKey::try_with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:286:16 + 142: std::thread::local::LocalKey::with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:262:9 + 143: futures_lite::future::block_on + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:78:5 + 144: bevy_tasks::task_pool::TaskPool::scope_with_executor_inner + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:389:13 + 145: bevy_tasks::task_pool::TaskPool::scope::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:293:13 + 146: std::thread::local::LocalKey::try_with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:286:16 + 147: std::thread::local::LocalKey::with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:262:9 + 148: bevy_tasks::task_pool::TaskPool::scope + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:292:9 + 149: ::cleanup::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_render-0.13.2/src/pipelined_rendering.rs:150:32 + 150: std::sys_common::backtrace::__rust_begin_short_backtrace + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys_common/backtrace.rs:155:18 + 151: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}} + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/mod.rs:529:17 + 152: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 153: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 154: __rust_try + 155: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 156: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + std::thread::Builder::spawn_unchecked_::{{closure}} + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/mod.rs:528:30 + 157: core::ops::function::FnOnce::call_once{{vtable.shim}} + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:250:5 + 158: as core::ops::function::FnOnce>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/alloc/src/boxed.rs:2015:9 + as core::ops::function::FnOnce>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/alloc/src/boxed.rs:2015:9 + std::sys::pal::unix::thread::Thread::new::thread_start + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/thread.rs:108:17 + 159: + 160: + +Stack Overflow: + 0: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:94:40 + 1: + 2: + 3: gsignal + 4: abort + 5: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 6: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 7: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 8: + 9: + 10: gsignal + 11: abort + 12: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 13: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 14: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 15: + 16: + 17: gsignal + 18: abort + 19: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 20: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 21: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 22: + 23: + 24: gsignal + 25: abort + 26: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 27: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 28: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 29: + 30: + 31: gsignal + 32: abort + 33: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 34: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 35: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 36: + 37: + 38: gsignal + 39: abort + 40: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 41: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 42: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 43: + 44: + 45: gsignal + 46: abort + 47: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 48: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 49: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 50: + 51: + 52: gsignal + 53: abort + 54: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 55: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 56: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 57: + 58: + 59: gsignal + 60: abort + 61: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 62: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 63: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 64: + 65: + 66: gsignal + 67: abort + 68: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 69: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 70: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 71: + 72: + 73: gsignal + 74: abort + 75: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 76: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 77: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 78: + 79: + 80: gsignal + 81: abort + 82: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 83: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 84: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 85: + 86: + 87: gsignal + 88: abort + 89: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 90: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 91: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 92: + 93: array_init::try_array_init_impl + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/array-init-2.1.0/src/lib.rs:225 + 94: array_init::try_array_init + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/array-init-2.1.0/src/lib.rs:189:5 + 95: array_init::array_init + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/array-init-2.1.0/src/lib.rs:76:5 + 96: shocovox_rs::octree::detail::>::leaf_from + at src/octree/detail.rs:227:27 + 97: shocovox_rs::octree::update::>::insert_at_lod + at src/octree/update.rs:168:33 + 98: shocovox_rs::octree::update::>::insert + at src/octree/update.rs:17:9 + 99: shocovox_rs::octree::convert::magicavoxel::>::load_magica_voxel_file + at src/octree/convert/magicavoxel.rs:141:17 + 100: minecraft::setup + at examples/minecraft.rs:44:22 + 101: core::ops::function::FnMut::call_mut + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:166:5 + 102: core::ops::function::impls:: for &mut F>::call_mut + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:294:13 + 103: Out>>::run::call_inner + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/system/function_system.rs:656:21 + 104: Out>>::run + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/system/function_system.rs:659:17 + 105: as bevy_ecs::system::system::System>::run_unsafe + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/system/function_system.rs:499:19 + 106: bevy_ecs::schedule::executor::multi_threaded::MultiThreadedExecutor::spawn_system_task::{{closure}}::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/schedule/executor/multi_threaded.rs:534:26 + 107: core::ops::function::FnOnce::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:250:5 + 108: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 109: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 110: __rust_try + 111: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 112: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 113: bevy_ecs::schedule::executor::multi_threaded::MultiThreadedExecutor::spawn_system_task::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/schedule/executor/multi_threaded.rs:529:23 + 114: as core::future::future::Future>::poll + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:297:9 + 115: as core::future::future::Future>::poll::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:42 + 116: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 117: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 118: __rust_try + 119: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 120: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 121: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:9 + 122: async_executor::Executor::spawn_inner::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.11.0/src/lib.rs:243:20 + 123: async_task::raw::RawTask::run::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/raw.rs:550:21 + 124: core::ops::function::FnOnce::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:250:5 + 125: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 126: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 127: __rust_try + 128: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 129: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 130: async_task::raw::RawTask::run + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/raw.rs:549:23 + 131: async_task::runnable::Runnable::run + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/runnable.rs:781:18 + 132: async_executor::Executor::run::{{closure}}::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.11.0/src/lib.rs:358:21 + 133: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:449:33 + 134: async_executor::Executor::run::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.11.0/src/lib.rs:365:32 + 135: as core::future::future::Future>::poll + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:297:9 + 136: as core::future::future::Future>::poll::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:42 + 137: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 138: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 139: __rust_try + 140: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 141: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 142: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:9 + 143: bevy_tasks::task_pool::TaskPool::execute_global_scope::{{closure}}::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:502:22 + 144: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:446:33 + 145: bevy_tasks::task_pool::TaskPool::execute_global_scope::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:506:41 + 146: bevy_tasks::task_pool::TaskPool::scope_with_executor_inner::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:433:89 + 147: futures_lite::future::block_on::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:99:19 + 148: std::thread::local::LocalKey::try_with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:286:16 + 149: std::thread::local::LocalKey::with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:262:9 + 150: futures_lite::future::block_on + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:78:5 + 151: bevy_tasks::task_pool::TaskPool::scope_with_executor_inner + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:389:13 + 152: bevy_tasks::task_pool::TaskPool::scope::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:293:13 + 153: std::thread::local::LocalKey::try_with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:286:16 + 154: std::thread::local::LocalKey::with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:262:9 + 155: bevy_tasks::task_pool::TaskPool::scope + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:292:9 + 156: ::cleanup::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_render-0.13.2/src/pipelined_rendering.rs:150:32 + 157: std::sys_common::backtrace::__rust_begin_short_backtrace + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys_common/backtrace.rs:155:18 + 158: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}} + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/mod.rs:529:17 + 159: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 160: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 161: __rust_try + 162: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 163: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + std::thread::Builder::spawn_unchecked_::{{closure}} + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/mod.rs:528:30 + 164: core::ops::function::FnOnce::call_once{{vtable.shim}} + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:250:5 + 165: as core::ops::function::FnOnce>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/alloc/src/boxed.rs:2015:9 + as core::ops::function::FnOnce>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/alloc/src/boxed.rs:2015:9 + std::sys::pal::unix::thread::Thread::new::thread_start + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/thread.rs:108:17 + 166: + 167: + +Stack Overflow: + 0: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:94:40 + 1: + 2: + 3: gsignal + 4: abort + 5: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 6: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 7: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 8: + 9: + 10: gsignal + 11: abort + 12: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 13: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 14: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 15: + 16: + 17: gsignal + 18: abort + 19: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 20: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 21: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 22: + 23: + 24: gsignal + 25: abort + 26: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 27: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 28: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 29: + 30: + 31: gsignal + 32: abort + 33: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 34: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 35: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 36: + 37: + 38: gsignal + 39: abort + 40: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 41: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 42: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 43: + 44: + 45: gsignal + 46: abort + 47: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 48: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 49: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 50: + 51: + 52: gsignal + 53: abort + 54: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 55: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 56: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 57: + 58: + 59: gsignal + 60: abort + 61: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 62: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 63: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 64: + 65: + 66: gsignal + 67: abort + 68: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 69: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 70: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 71: + 72: + 73: gsignal + 74: abort + 75: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 76: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 77: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 78: + 79: + 80: gsignal + 81: abort + 82: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 83: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 84: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 85: + 86: + 87: gsignal + 88: abort + 89: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 90: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 91: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 92: + 93: + 94: gsignal + 95: abort + 96: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 97: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 98: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 99: + 100: array_init::try_array_init_impl + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/array-init-2.1.0/src/lib.rs:225 + 101: array_init::try_array_init + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/array-init-2.1.0/src/lib.rs:189:5 + 102: array_init::array_init + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/array-init-2.1.0/src/lib.rs:76:5 + 103: shocovox_rs::octree::detail::>::leaf_from + at src/octree/detail.rs:227:27 + 104: shocovox_rs::octree::update::>::insert_at_lod + at src/octree/update.rs:168:33 + 105: shocovox_rs::octree::update::>::insert + at src/octree/update.rs:17:9 + 106: shocovox_rs::octree::convert::magicavoxel::>::load_magica_voxel_file + at src/octree/convert/magicavoxel.rs:141:17 + 107: minecraft::setup + at examples/minecraft.rs:44:22 + 108: core::ops::function::FnMut::call_mut + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:166:5 + 109: core::ops::function::impls:: for &mut F>::call_mut + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:294:13 + 110: Out>>::run::call_inner + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/system/function_system.rs:656:21 + 111: Out>>::run + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/system/function_system.rs:659:17 + 112: as bevy_ecs::system::system::System>::run_unsafe + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/system/function_system.rs:499:19 + 113: bevy_ecs::schedule::executor::multi_threaded::MultiThreadedExecutor::spawn_system_task::{{closure}}::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/schedule/executor/multi_threaded.rs:534:26 + 114: core::ops::function::FnOnce::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:250:5 + 115: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 116: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 117: __rust_try + 118: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 119: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 120: bevy_ecs::schedule::executor::multi_threaded::MultiThreadedExecutor::spawn_system_task::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/schedule/executor/multi_threaded.rs:529:23 + 121: as core::future::future::Future>::poll + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:297:9 + 122: as core::future::future::Future>::poll::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:42 + 123: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 124: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 125: __rust_try + 126: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 127: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 128: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:9 + 129: async_executor::Executor::spawn_inner::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.11.0/src/lib.rs:243:20 + 130: async_task::raw::RawTask::run::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/raw.rs:550:21 + 131: core::ops::function::FnOnce::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:250:5 + 132: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 133: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 134: __rust_try + 135: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 136: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 137: async_task::raw::RawTask::run + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/raw.rs:549:23 + 138: async_task::runnable::Runnable::run + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/runnable.rs:781:18 + 139: async_executor::Executor::run::{{closure}}::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.11.0/src/lib.rs:358:21 + 140: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:449:33 + 141: async_executor::Executor::run::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.11.0/src/lib.rs:365:32 + 142: as core::future::future::Future>::poll + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:297:9 + 143: as core::future::future::Future>::poll::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:42 + 144: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 145: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 146: __rust_try + 147: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 148: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 149: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:9 + 150: bevy_tasks::task_pool::TaskPool::execute_global_scope::{{closure}}::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:502:22 + 151: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:446:33 + 152: bevy_tasks::task_pool::TaskPool::execute_global_scope::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:506:41 + 153: bevy_tasks::task_pool::TaskPool::scope_with_executor_inner::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:433:89 + 154: futures_lite::future::block_on::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:99:19 + 155: std::thread::local::LocalKey::try_with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:286:16 + 156: std::thread::local::LocalKey::with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:262:9 + 157: futures_lite::future::block_on + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:78:5 + 158: bevy_tasks::task_pool::TaskPool::scope_with_executor_inner + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:389:13 + 159: bevy_tasks::task_pool::TaskPool::scope::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:293:13 + 160: std::thread::local::LocalKey::try_with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:286:16 + 161: std::thread::local::LocalKey::with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:262:9 + 162: bevy_tasks::task_pool::TaskPool::scope + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:292:9 + 163: ::cleanup::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_render-0.13.2/src/pipelined_rendering.rs:150:32 + 164: std::sys_common::backtrace::__rust_begin_short_backtrace + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys_common/backtrace.rs:155:18 + 165: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}} + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/mod.rs:529:17 + 166: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 167: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 168: __rust_try + 169: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 170: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + std::thread::Builder::spawn_unchecked_::{{closure}} + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/mod.rs:528:30 + 171: core::ops::function::FnOnce::call_once{{vtable.shim}} + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:250:5 + 172: as core::ops::function::FnOnce>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/alloc/src/boxed.rs:2015:9 + as core::ops::function::FnOnce>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/alloc/src/boxed.rs:2015:9 + std::sys::pal::unix::thread::Thread::new::thread_start + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/thread.rs:108:17 + 173: + 174: + +Stack Overflow: + 0: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:94:40 + 1: + 2: + 3: gsignal + 4: abort + 5: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 6: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 7: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 8: + 9: + 10: gsignal + 11: abort + 12: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 13: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 14: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 15: + 16: + 17: gsignal + 18: abort + 19: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 20: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 21: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 22: + 23: + 24: gsignal + 25: abort + 26: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 27: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 28: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 29: + 30: + 31: gsignal + 32: abort + 33: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 34: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 35: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 36: + 37: + 38: gsignal + 39: abort + 40: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 41: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 42: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 43: + 44: + 45: gsignal + 46: abort + 47: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 48: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 49: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 50: + 51: + 52: gsignal + 53: abort + 54: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 55: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 56: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 57: + 58: + 59: gsignal + 60: abort + 61: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 62: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 63: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 64: + 65: + 66: gsignal + 67: abort + 68: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 69: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 70: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 71: + 72: + 73: gsignal + 74: abort + 75: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 76: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 77: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 78: + 79: + 80: gsignal + 81: abort + 82: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 83: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 84: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 85: + 86: + 87: gsignal + 88: abort + 89: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 90: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 91: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 92: + 93: + 94: gsignal + 95: abort + 96: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 97: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 98: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 99: + 100: + 101: gsignal + 102: abort + 103: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 104: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 105: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 106: + 107: array_init::try_array_init_impl + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/array-init-2.1.0/src/lib.rs:225 + 108: array_init::try_array_init + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/array-init-2.1.0/src/lib.rs:189:5 + 109: array_init::array_init + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/array-init-2.1.0/src/lib.rs:76:5 + 110: shocovox_rs::octree::detail::>::leaf_from + at src/octree/detail.rs:227:27 + 111: shocovox_rs::octree::update::>::insert_at_lod + at src/octree/update.rs:168:33 + 112: shocovox_rs::octree::update::>::insert + at src/octree/update.rs:17:9 + 113: shocovox_rs::octree::convert::magicavoxel::>::load_magica_voxel_file + at src/octree/convert/magicavoxel.rs:141:17 + 114: minecraft::setup + at examples/minecraft.rs:44:22 + 115: core::ops::function::FnMut::call_mut + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:166:5 + 116: core::ops::function::impls:: for &mut F>::call_mut + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:294:13 + 117: Out>>::run::call_inner + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/system/function_system.rs:656:21 + 118: Out>>::run + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/system/function_system.rs:659:17 + 119: as bevy_ecs::system::system::System>::run_unsafe + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/system/function_system.rs:499:19 + 120: bevy_ecs::schedule::executor::multi_threaded::MultiThreadedExecutor::spawn_system_task::{{closure}}::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/schedule/executor/multi_threaded.rs:534:26 + 121: core::ops::function::FnOnce::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:250:5 + 122: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 123: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 124: __rust_try + 125: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 126: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 127: bevy_ecs::schedule::executor::multi_threaded::MultiThreadedExecutor::spawn_system_task::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/schedule/executor/multi_threaded.rs:529:23 + 128: as core::future::future::Future>::poll + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:297:9 + 129: as core::future::future::Future>::poll::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:42 + 130: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 131: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 132: __rust_try + 133: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 134: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 135: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:9 + 136: async_executor::Executor::spawn_inner::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.11.0/src/lib.rs:243:20 + 137: async_task::raw::RawTask::run::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/raw.rs:550:21 + 138: core::ops::function::FnOnce::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:250:5 + 139: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 140: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 141: __rust_try + 142: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 143: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 144: async_task::raw::RawTask::run + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/raw.rs:549:23 + 145: async_task::runnable::Runnable::run + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/runnable.rs:781:18 + 146: async_executor::Executor::run::{{closure}}::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.11.0/src/lib.rs:358:21 + 147: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:449:33 + 148: async_executor::Executor::run::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.11.0/src/lib.rs:365:32 + 149: as core::future::future::Future>::poll + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:297:9 + 150: as core::future::future::Future>::poll::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:42 + 151: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 152: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 153: __rust_try + 154: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 155: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 156: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:9 + 157: bevy_tasks::task_pool::TaskPool::execute_global_scope::{{closure}}::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:502:22 + 158: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:446:33 + 159: bevy_tasks::task_pool::TaskPool::execute_global_scope::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:506:41 + 160: bevy_tasks::task_pool::TaskPool::scope_with_executor_inner::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:433:89 + 161: futures_lite::future::block_on::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:99:19 + 162: std::thread::local::LocalKey::try_with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:286:16 + 163: std::thread::local::LocalKey::with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:262:9 + 164: futures_lite::future::block_on + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:78:5 + 165: bevy_tasks::task_pool::TaskPool::scope_with_executor_inner + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:389:13 + 166: bevy_tasks::task_pool::TaskPool::scope::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:293:13 + 167: std::thread::local::LocalKey::try_with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:286:16 + 168: std::thread::local::LocalKey::with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:262:9 + 169: bevy_tasks::task_pool::TaskPool::scope + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:292:9 + 170: ::cleanup::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_render-0.13.2/src/pipelined_rendering.rs:150:32 + 171: std::sys_common::backtrace::__rust_begin_short_backtrace + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys_common/backtrace.rs:155:18 + 172: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}} + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/mod.rs:529:17 + 173: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 174: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 175: __rust_try + 176: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 177: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + std::thread::Builder::spawn_unchecked_::{{closure}} + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/mod.rs:528:30 + 178: core::ops::function::FnOnce::call_once{{vtable.shim}} + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:250:5 + 179: as core::ops::function::FnOnce>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/alloc/src/boxed.rs:2015:9 + as core::ops::function::FnOnce>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/alloc/src/boxed.rs:2015:9 + std::sys::pal::unix::thread::Thread::new::thread_start + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/thread.rs:108:17 + 180: + 181: + +Stack Overflow: + 0: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:94:40 + 1: + 2: + 3: gsignal + 4: abort + 5: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 6: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 7: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 8: + 9: + 10: gsignal + 11: abort + 12: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 13: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 14: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 15: + 16: + 17: gsignal + 18: abort + 19: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 20: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 21: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 22: + 23: + 24: gsignal + 25: abort + 26: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 27: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 28: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 29: + 30: + 31: gsignal + 32: abort + 33: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 34: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 35: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 36: + 37: + 38: gsignal + 39: abort + 40: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 41: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 42: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 43: + 44: + 45: gsignal + 46: abort + 47: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 48: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 49: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 50: + 51: + 52: gsignal + 53: abort + 54: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 55: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 56: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 57: + 58: + 59: gsignal + 60: abort + 61: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 62: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 63: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 64: + 65: + 66: gsignal + 67: abort + 68: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 69: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 70: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 71: + 72: + 73: gsignal + 74: abort + 75: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 76: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 77: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 78: + 79: + 80: gsignal + 81: abort + 82: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 83: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 84: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 85: + 86: + 87: gsignal + 88: abort + 89: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 90: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 91: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 92: + 93: + 94: gsignal + 95: abort + 96: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 97: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 98: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 99: + 100: + 101: gsignal + 102: abort + 103: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 104: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 105: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 106: + 107: + 108: gsignal + 109: abort + 110: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 111: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 112: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 113: + 114: array_init::try_array_init_impl + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/array-init-2.1.0/src/lib.rs:225 + 115: array_init::try_array_init + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/array-init-2.1.0/src/lib.rs:189:5 + 116: array_init::array_init + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/array-init-2.1.0/src/lib.rs:76:5 + 117: shocovox_rs::octree::detail::>::leaf_from + at src/octree/detail.rs:227:27 + 118: shocovox_rs::octree::update::>::insert_at_lod + at src/octree/update.rs:168:33 + 119: shocovox_rs::octree::update::>::insert + at src/octree/update.rs:17:9 + 120: shocovox_rs::octree::convert::magicavoxel::>::load_magica_voxel_file + at src/octree/convert/magicavoxel.rs:141:17 + 121: minecraft::setup + at examples/minecraft.rs:44:22 + 122: core::ops::function::FnMut::call_mut + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:166:5 + 123: core::ops::function::impls:: for &mut F>::call_mut + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:294:13 + 124: Out>>::run::call_inner + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/system/function_system.rs:656:21 + 125: Out>>::run + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/system/function_system.rs:659:17 + 126: as bevy_ecs::system::system::System>::run_unsafe + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/system/function_system.rs:499:19 + 127: bevy_ecs::schedule::executor::multi_threaded::MultiThreadedExecutor::spawn_system_task::{{closure}}::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/schedule/executor/multi_threaded.rs:534:26 + 128: core::ops::function::FnOnce::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:250:5 + 129: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 130: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 131: __rust_try + 132: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 133: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 134: bevy_ecs::schedule::executor::multi_threaded::MultiThreadedExecutor::spawn_system_task::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/schedule/executor/multi_threaded.rs:529:23 + 135: as core::future::future::Future>::poll + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:297:9 + 136: as core::future::future::Future>::poll::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:42 + 137: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 138: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 139: __rust_try + 140: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 141: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 142: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:9 + 143: async_executor::Executor::spawn_inner::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.11.0/src/lib.rs:243:20 + 144: async_task::raw::RawTask::run::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/raw.rs:550:21 + 145: core::ops::function::FnOnce::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:250:5 + 146: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 147: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 148: __rust_try + 149: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 150: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 151: async_task::raw::RawTask::run + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/raw.rs:549:23 + 152: async_task::runnable::Runnable::run + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/runnable.rs:781:18 + 153: async_executor::Executor::run::{{closure}}::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.11.0/src/lib.rs:358:21 + 154: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:449:33 + 155: async_executor::Executor::run::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.11.0/src/lib.rs:365:32 + 156: as core::future::future::Future>::poll + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:297:9 + 157: as core::future::future::Future>::poll::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:42 + 158: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 159: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 160: __rust_try + 161: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 162: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 163: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:9 + 164: bevy_tasks::task_pool::TaskPool::execute_global_scope::{{closure}}::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:502:22 + 165: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:446:33 + 166: bevy_tasks::task_pool::TaskPool::execute_global_scope::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:506:41 + 167: bevy_tasks::task_pool::TaskPool::scope_with_executor_inner::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:433:89 + 168: futures_lite::future::block_on::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:99:19 + 169: std::thread::local::LocalKey::try_with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:286:16 + 170: std::thread::local::LocalKey::with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:262:9 + 171: futures_lite::future::block_on + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:78:5 + 172: bevy_tasks::task_pool::TaskPool::scope_with_executor_inner + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:389:13 + 173: bevy_tasks::task_pool::TaskPool::scope::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:293:13 + 174: std::thread::local::LocalKey::try_with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:286:16 + 175: std::thread::local::LocalKey::with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:262:9 + 176: bevy_tasks::task_pool::TaskPool::scope + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:292:9 + 177: ::cleanup::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_render-0.13.2/src/pipelined_rendering.rs:150:32 + 178: std::sys_common::backtrace::__rust_begin_short_backtrace + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys_common/backtrace.rs:155:18 + 179: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}} + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/mod.rs:529:17 + 180: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 181: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 182: __rust_try + 183: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 184: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + std::thread::Builder::spawn_unchecked_::{{closure}} + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/mod.rs:528:30 + 185: core::ops::function::FnOnce::call_once{{vtable.shim}} + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:250:5 + 186: as core::ops::function::FnOnce>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/alloc/src/boxed.rs:2015:9 + as core::ops::function::FnOnce>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/alloc/src/boxed.rs:2015:9 + std::sys::pal::unix::thread::Thread::new::thread_start + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/thread.rs:108:17 + 187: + 188: + +Stack Overflow: + 0: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:94:40 + 1: + 2: + 3: gsignal + 4: abort + 5: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 6: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 7: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 8: + 9: + 10: gsignal + 11: abort + 12: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 13: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 14: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 15: + 16: + 17: gsignal + 18: abort + 19: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 20: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 21: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 22: + 23: + 24: gsignal + 25: abort + 26: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 27: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 28: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 29: + 30: + 31: gsignal + 32: abort + 33: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 34: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 35: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 36: + 37: + 38: gsignal + 39: abort + 40: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 41: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 42: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 43: + 44: + 45: gsignal + 46: abort + 47: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 48: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 49: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 50: + 51: + 52: gsignal + 53: abort + 54: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 55: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 56: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 57: + 58: + 59: gsignal + 60: abort + 61: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 62: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 63: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 64: + 65: + 66: gsignal + 67: abort + 68: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 69: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 70: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 71: + 72: + 73: gsignal + 74: abort + 75: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 76: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 77: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 78: + 79: + 80: gsignal + 81: abort + 82: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 83: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 84: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 85: + 86: + 87: gsignal + 88: abort + 89: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 90: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 91: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 92: + 93: + 94: gsignal + 95: abort + 96: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 97: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 98: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 99: + 100: + 101: gsignal + 102: abort + 103: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 104: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 105: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 106: + 107: + 108: gsignal + 109: abort + 110: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 111: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 112: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 113: + 114: + 115: gsignal + 116: abort + 117: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 118: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 119: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 120: + 121: array_init::try_array_init_impl + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/array-init-2.1.0/src/lib.rs:225 + 122: array_init::try_array_init + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/array-init-2.1.0/src/lib.rs:189:5 + 123: array_init::array_init + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/array-init-2.1.0/src/lib.rs:76:5 + 124: shocovox_rs::octree::detail::>::leaf_from + at src/octree/detail.rs:227:27 + 125: shocovox_rs::octree::update::>::insert_at_lod + at src/octree/update.rs:168:33 + 126: shocovox_rs::octree::update::>::insert + at src/octree/update.rs:17:9 + 127: shocovox_rs::octree::convert::magicavoxel::>::load_magica_voxel_file + at src/octree/convert/magicavoxel.rs:141:17 + 128: minecraft::setup + at examples/minecraft.rs:44:22 + 129: core::ops::function::FnMut::call_mut + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:166:5 + 130: core::ops::function::impls:: for &mut F>::call_mut + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:294:13 + 131: Out>>::run::call_inner + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/system/function_system.rs:656:21 + 132: Out>>::run + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/system/function_system.rs:659:17 + 133: as bevy_ecs::system::system::System>::run_unsafe + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/system/function_system.rs:499:19 + 134: bevy_ecs::schedule::executor::multi_threaded::MultiThreadedExecutor::spawn_system_task::{{closure}}::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/schedule/executor/multi_threaded.rs:534:26 + 135: core::ops::function::FnOnce::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:250:5 + 136: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 137: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 138: __rust_try + 139: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 140: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 141: bevy_ecs::schedule::executor::multi_threaded::MultiThreadedExecutor::spawn_system_task::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/schedule/executor/multi_threaded.rs:529:23 + 142: as core::future::future::Future>::poll + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:297:9 + 143: as core::future::future::Future>::poll::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:42 + 144: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 145: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 146: __rust_try + 147: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 148: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 149: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:9 + 150: async_executor::Executor::spawn_inner::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.11.0/src/lib.rs:243:20 + 151: async_task::raw::RawTask::run::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/raw.rs:550:21 + 152: core::ops::function::FnOnce::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:250:5 + 153: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 154: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 155: __rust_try + 156: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 157: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 158: async_task::raw::RawTask::run + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/raw.rs:549:23 + 159: async_task::runnable::Runnable::run + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/runnable.rs:781:18 + 160: async_executor::Executor::run::{{closure}}::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.11.0/src/lib.rs:358:21 + 161: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:449:33 + 162: async_executor::Executor::run::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.11.0/src/lib.rs:365:32 + 163: as core::future::future::Future>::poll + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:297:9 + 164: as core::future::future::Future>::poll::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:42 + 165: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 166: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 167: __rust_try + 168: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 169: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 170: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:9 + 171: bevy_tasks::task_pool::TaskPool::execute_global_scope::{{closure}}::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:502:22 + 172: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:446:33 + 173: bevy_tasks::task_pool::TaskPool::execute_global_scope::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:506:41 + 174: bevy_tasks::task_pool::TaskPool::scope_with_executor_inner::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:433:89 + 175: futures_lite::future::block_on::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:99:19 + 176: std::thread::local::LocalKey::try_with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:286:16 + 177: std::thread::local::LocalKey::with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:262:9 + 178: futures_lite::future::block_on + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:78:5 + 179: bevy_tasks::task_pool::TaskPool::scope_with_executor_inner + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:389:13 + 180: bevy_tasks::task_pool::TaskPool::scope::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:293:13 + 181: std::thread::local::LocalKey::try_with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:286:16 + 182: std::thread::local::LocalKey::with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:262:9 + 183: bevy_tasks::task_pool::TaskPool::scope + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:292:9 + 184: ::cleanup::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_render-0.13.2/src/pipelined_rendering.rs:150:32 + 185: std::sys_common::backtrace::__rust_begin_short_backtrace + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys_common/backtrace.rs:155:18 + 186: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}} + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/mod.rs:529:17 + 187: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 188: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 189: __rust_try + 190: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 191: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + std::thread::Builder::spawn_unchecked_::{{closure}} + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/mod.rs:528:30 + 192: core::ops::function::FnOnce::call_once{{vtable.shim}} + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:250:5 + 193: as core::ops::function::FnOnce>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/alloc/src/boxed.rs:2015:9 + as core::ops::function::FnOnce>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/alloc/src/boxed.rs:2015:9 + std::sys::pal::unix::thread::Thread::new::thread_start + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/thread.rs:108:17 + 194: + 195: + +Stack Overflow: + 0: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:94:40 + 1: + 2: + 3: gsignal + 4: abort + 5: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 6: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 7: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 8: + 9: + 10: gsignal + 11: abort + 12: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 13: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 14: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 15: + 16: + 17: gsignal + 18: abort + 19: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 20: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 21: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 22: + 23: + 24: gsignal + 25: abort + 26: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 27: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 28: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 29: + 30: + 31: gsignal + 32: abort + 33: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 34: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 35: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 36: + 37: + 38: gsignal + 39: abort + 40: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 41: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 42: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 43: + 44: + 45: gsignal + 46: abort + 47: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 48: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 49: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 50: + 51: + 52: gsignal + 53: abort + 54: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 55: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 56: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 57: + 58: + 59: gsignal + 60: abort + 61: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 62: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 63: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 64: + 65: + 66: gsignal + 67: abort + 68: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 69: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 70: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 71: + 72: + 73: gsignal + 74: abort + 75: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 76: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 77: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 78: + 79: + 80: gsignal + 81: abort + 82: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 83: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 84: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 85: + 86: + 87: gsignal + 88: abort + 89: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 90: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 91: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 92: + 93: + 94: gsignal + 95: abort + 96: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 97: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 98: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 99: + 100: + 101: gsignal + 102: abort + 103: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 104: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 105: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 106: + 107: + 108: gsignal + 109: abort + 110: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 111: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 112: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 113: + 114: + 115: gsignal + 116: abort + 117: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 118: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 119: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 120: + 121: + 122: gsignal + 123: abort + 124: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 125: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 126: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 127: + 128: array_init::try_array_init_impl + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/array-init-2.1.0/src/lib.rs:225 + 129: array_init::try_array_init + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/array-init-2.1.0/src/lib.rs:189:5 + 130: array_init::array_init + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/array-init-2.1.0/src/lib.rs:76:5 + 131: shocovox_rs::octree::detail::>::leaf_from + at src/octree/detail.rs:227:27 + 132: shocovox_rs::octree::update::>::insert_at_lod + at src/octree/update.rs:168:33 + 133: shocovox_rs::octree::update::>::insert + at src/octree/update.rs:17:9 + 134: shocovox_rs::octree::convert::magicavoxel::>::load_magica_voxel_file + at src/octree/convert/magicavoxel.rs:141:17 + 135: minecraft::setup + at examples/minecraft.rs:44:22 + 136: core::ops::function::FnMut::call_mut + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:166:5 + 137: core::ops::function::impls:: for &mut F>::call_mut + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:294:13 + 138: Out>>::run::call_inner + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/system/function_system.rs:656:21 + 139: Out>>::run + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/system/function_system.rs:659:17 + 140: as bevy_ecs::system::system::System>::run_unsafe + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/system/function_system.rs:499:19 + 141: bevy_ecs::schedule::executor::multi_threaded::MultiThreadedExecutor::spawn_system_task::{{closure}}::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/schedule/executor/multi_threaded.rs:534:26 + 142: core::ops::function::FnOnce::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:250:5 + 143: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 144: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 145: __rust_try + 146: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 147: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 148: bevy_ecs::schedule::executor::multi_threaded::MultiThreadedExecutor::spawn_system_task::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/schedule/executor/multi_threaded.rs:529:23 + 149: as core::future::future::Future>::poll + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:297:9 + 150: as core::future::future::Future>::poll::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:42 + 151: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 152: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 153: __rust_try + 154: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 155: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 156: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:9 + 157: async_executor::Executor::spawn_inner::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.11.0/src/lib.rs:243:20 + 158: async_task::raw::RawTask::run::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/raw.rs:550:21 + 159: core::ops::function::FnOnce::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:250:5 + 160: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 161: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 162: __rust_try + 163: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 164: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 165: async_task::raw::RawTask::run + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/raw.rs:549:23 + 166: async_task::runnable::Runnable::run + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/runnable.rs:781:18 + 167: async_executor::Executor::run::{{closure}}::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.11.0/src/lib.rs:358:21 + 168: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:449:33 + 169: async_executor::Executor::run::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.11.0/src/lib.rs:365:32 + 170: as core::future::future::Future>::poll + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:297:9 + 171: as core::future::future::Future>::poll::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:42 + 172: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 173: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 174: __rust_try + 175: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 176: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 177: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:9 + 178: bevy_tasks::task_pool::TaskPool::execute_global_scope::{{closure}}::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:502:22 + 179: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:446:33 + 180: bevy_tasks::task_pool::TaskPool::execute_global_scope::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:506:41 + 181: bevy_tasks::task_pool::TaskPool::scope_with_executor_inner::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:433:89 + 182: futures_lite::future::block_on::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:99:19 + 183: std::thread::local::LocalKey::try_with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:286:16 + 184: std::thread::local::LocalKey::with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:262:9 + 185: futures_lite::future::block_on + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:78:5 + 186: bevy_tasks::task_pool::TaskPool::scope_with_executor_inner + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:389:13 + 187: bevy_tasks::task_pool::TaskPool::scope::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:293:13 + 188: std::thread::local::LocalKey::try_with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:286:16 + 189: std::thread::local::LocalKey::with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:262:9 + 190: bevy_tasks::task_pool::TaskPool::scope + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:292:9 + 191: ::cleanup::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_render-0.13.2/src/pipelined_rendering.rs:150:32 + 192: std::sys_common::backtrace::__rust_begin_short_backtrace + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys_common/backtrace.rs:155:18 + 193: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}} + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/mod.rs:529:17 + 194: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 195: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 196: __rust_try + 197: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 198: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + std::thread::Builder::spawn_unchecked_::{{closure}} + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/mod.rs:528:30 + 199: core::ops::function::FnOnce::call_once{{vtable.shim}} + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:250:5 + 200: as core::ops::function::FnOnce>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/alloc/src/boxed.rs:2015:9 + as core::ops::function::FnOnce>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/alloc/src/boxed.rs:2015:9 + std::sys::pal::unix::thread::Thread::new::thread_start + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/thread.rs:108:17 + 201: + 202: + +Stack Overflow: + 0: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:94:40 + 1: + 2: + 3: gsignal + 4: abort + 5: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 6: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 7: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 8: + 9: + 10: gsignal + 11: abort + 12: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 13: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 14: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 15: + 16: + 17: gsignal + 18: abort + 19: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 20: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 21: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 22: + 23: + 24: gsignal + 25: abort + 26: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 27: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 28: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 29: + 30: + 31: gsignal + 32: abort + 33: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 34: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 35: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 36: + 37: + 38: gsignal + 39: abort + 40: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 41: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 42: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 43: + 44: + 45: gsignal + 46: abort + 47: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 48: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 49: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 50: + 51: + 52: gsignal + 53: abort + 54: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 55: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 56: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 57: + 58: + 59: gsignal + 60: abort + 61: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 62: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 63: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 64: + 65: + 66: gsignal + 67: abort + 68: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 69: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 70: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 71: + 72: + 73: gsignal + 74: abort + 75: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 76: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 77: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 78: + 79: + 80: gsignal + 81: abort + 82: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 83: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 84: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 85: + 86: + 87: gsignal + 88: abort + 89: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 90: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 91: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 92: + 93: + 94: gsignal + 95: abort + 96: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 97: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 98: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 99: + 100: + 101: gsignal + 102: abort + 103: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 104: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 105: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 106: + 107: + 108: gsignal + 109: abort + 110: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 111: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 112: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 113: + 114: + 115: gsignal + 116: abort + 117: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 118: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 119: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 120: + 121: + 122: gsignal + 123: abort + 124: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 125: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 126: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 127: + 128: + 129: gsignal + 130: abort + 131: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 132: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 133: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 134: + 135: array_init::try_array_init_impl + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/array-init-2.1.0/src/lib.rs:225 + 136: array_init::try_array_init + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/array-init-2.1.0/src/lib.rs:189:5 + 137: array_init::array_init + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/array-init-2.1.0/src/lib.rs:76:5 + 138: shocovox_rs::octree::detail::>::leaf_from + at src/octree/detail.rs:227:27 + 139: shocovox_rs::octree::update::>::insert_at_lod + at src/octree/update.rs:168:33 + 140: shocovox_rs::octree::update::>::insert + at src/octree/update.rs:17:9 + 141: shocovox_rs::octree::convert::magicavoxel::>::load_magica_voxel_file + at src/octree/convert/magicavoxel.rs:141:17 + 142: minecraft::setup + at examples/minecraft.rs:44:22 + 143: core::ops::function::FnMut::call_mut + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:166:5 + 144: core::ops::function::impls:: for &mut F>::call_mut + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:294:13 + 145: Out>>::run::call_inner + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/system/function_system.rs:656:21 + 146: Out>>::run + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/system/function_system.rs:659:17 + 147: as bevy_ecs::system::system::System>::run_unsafe + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/system/function_system.rs:499:19 + 148: bevy_ecs::schedule::executor::multi_threaded::MultiThreadedExecutor::spawn_system_task::{{closure}}::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/schedule/executor/multi_threaded.rs:534:26 + 149: core::ops::function::FnOnce::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:250:5 + 150: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 151: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 152: __rust_try + 153: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 154: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 155: bevy_ecs::schedule::executor::multi_threaded::MultiThreadedExecutor::spawn_system_task::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/schedule/executor/multi_threaded.rs:529:23 + 156: as core::future::future::Future>::poll + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:297:9 + 157: as core::future::future::Future>::poll::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:42 + 158: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 159: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 160: __rust_try + 161: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 162: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 163: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:9 + 164: async_executor::Executor::spawn_inner::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.11.0/src/lib.rs:243:20 + 165: async_task::raw::RawTask::run::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/raw.rs:550:21 + 166: core::ops::function::FnOnce::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:250:5 + 167: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 168: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 169: __rust_try + 170: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 171: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 172: async_task::raw::RawTask::run + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/raw.rs:549:23 + 173: async_task::runnable::Runnable::run + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/runnable.rs:781:18 + 174: async_executor::Executor::run::{{closure}}::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.11.0/src/lib.rs:358:21 + 175: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:449:33 + 176: async_executor::Executor::run::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.11.0/src/lib.rs:365:32 + 177: as core::future::future::Future>::poll + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:297:9 + 178: as core::future::future::Future>::poll::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:42 + 179: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 180: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 181: __rust_try + 182: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 183: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 184: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:9 + 185: bevy_tasks::task_pool::TaskPool::execute_global_scope::{{closure}}::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:502:22 + 186: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:446:33 + 187: bevy_tasks::task_pool::TaskPool::execute_global_scope::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:506:41 + 188: bevy_tasks::task_pool::TaskPool::scope_with_executor_inner::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:433:89 + 189: futures_lite::future::block_on::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:99:19 + 190: std::thread::local::LocalKey::try_with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:286:16 + 191: std::thread::local::LocalKey::with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:262:9 + 192: futures_lite::future::block_on + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:78:5 + 193: bevy_tasks::task_pool::TaskPool::scope_with_executor_inner + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:389:13 + 194: bevy_tasks::task_pool::TaskPool::scope::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:293:13 + 195: std::thread::local::LocalKey::try_with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:286:16 + 196: std::thread::local::LocalKey::with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:262:9 + 197: bevy_tasks::task_pool::TaskPool::scope + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:292:9 + 198: ::cleanup::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_render-0.13.2/src/pipelined_rendering.rs:150:32 + 199: std::sys_common::backtrace::__rust_begin_short_backtrace + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys_common/backtrace.rs:155:18 + 200: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}} + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/mod.rs:529:17 + 201: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 202: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 203: __rust_try + 204: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 205: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + std::thread::Builder::spawn_unchecked_::{{closure}} + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/mod.rs:528:30 + 206: core::ops::function::FnOnce::call_once{{vtable.shim}} + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:250:5 + 207: as core::ops::function::FnOnce>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/alloc/src/boxed.rs:2015:9 + as core::ops::function::FnOnce>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/alloc/src/boxed.rs:2015:9 + std::sys::pal::unix::thread::Thread::new::thread_start + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/thread.rs:108:17 + 208: + 209: + +Stack Overflow: + 0: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:94:40 + 1: + 2: + 3: gsignal + 4: abort + 5: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 6: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 7: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 8: + 9: + 10: gsignal + 11: abort + 12: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 13: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 14: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 15: + 16: + 17: gsignal + 18: abort + 19: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 20: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 21: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 22: + 23: + 24: gsignal + 25: abort + 26: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 27: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 28: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 29: + 30: + 31: gsignal + 32: abort + 33: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 34: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 35: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 36: + 37: + 38: gsignal + 39: abort + 40: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 41: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 42: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 43: + 44: + 45: gsignal + 46: abort + 47: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 48: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 49: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 50: + 51: + 52: gsignal + 53: abort + 54: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 55: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 56: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 57: + 58: + 59: gsignal + 60: abort + 61: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 62: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 63: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 64: + 65: + 66: gsignal + 67: abort + 68: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 69: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 70: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 71: + 72: + 73: gsignal + 74: abort + 75: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 76: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 77: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 78: + 79: + 80: gsignal + 81: abort + 82: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 83: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 84: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 85: + 86: + 87: gsignal + 88: abort + 89: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 90: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 91: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 92: + 93: + 94: gsignal + 95: abort + 96: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 97: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 98: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 99: + 100: + 101: gsignal + 102: abort + 103: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 104: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 105: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 106: + 107: + 108: gsignal + 109: abort + 110: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 111: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 112: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 113: + 114: + 115: gsignal + 116: abort + 117: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 118: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 119: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 120: + 121: + 122: gsignal + 123: abort + 124: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 125: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 126: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 127: + 128: + 129: gsignal + 130: abort + 131: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 132: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 133: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 134: + 135: + 136: gsignal + 137: abort + 138: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 139: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 140: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 141: + 142: array_init::try_array_init_impl + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/array-init-2.1.0/src/lib.rs:225 + 143: array_init::try_array_init + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/array-init-2.1.0/src/lib.rs:189:5 + 144: array_init::array_init + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/array-init-2.1.0/src/lib.rs:76:5 + 145: shocovox_rs::octree::detail::>::leaf_from + at src/octree/detail.rs:227:27 + 146: shocovox_rs::octree::update::>::insert_at_lod + at src/octree/update.rs:168:33 + 147: shocovox_rs::octree::update::>::insert + at src/octree/update.rs:17:9 + 148: shocovox_rs::octree::convert::magicavoxel::>::load_magica_voxel_file + at src/octree/convert/magicavoxel.rs:141:17 + 149: minecraft::setup + at examples/minecraft.rs:44:22 + 150: core::ops::function::FnMut::call_mut + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:166:5 + 151: core::ops::function::impls:: for &mut F>::call_mut + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:294:13 + 152: Out>>::run::call_inner + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/system/function_system.rs:656:21 + 153: Out>>::run + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/system/function_system.rs:659:17 + 154: as bevy_ecs::system::system::System>::run_unsafe + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/system/function_system.rs:499:19 + 155: bevy_ecs::schedule::executor::multi_threaded::MultiThreadedExecutor::spawn_system_task::{{closure}}::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/schedule/executor/multi_threaded.rs:534:26 + 156: core::ops::function::FnOnce::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:250:5 + 157: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 158: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 159: __rust_try + 160: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 161: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 162: bevy_ecs::schedule::executor::multi_threaded::MultiThreadedExecutor::spawn_system_task::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/schedule/executor/multi_threaded.rs:529:23 + 163: as core::future::future::Future>::poll + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:297:9 + 164: as core::future::future::Future>::poll::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:42 + 165: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 166: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 167: __rust_try + 168: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 169: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 170: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:9 + 171: async_executor::Executor::spawn_inner::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.11.0/src/lib.rs:243:20 + 172: async_task::raw::RawTask::run::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/raw.rs:550:21 + 173: core::ops::function::FnOnce::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:250:5 + 174: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 175: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 176: __rust_try + 177: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 178: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 179: async_task::raw::RawTask::run + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/raw.rs:549:23 + 180: async_task::runnable::Runnable::run + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/runnable.rs:781:18 + 181: async_executor::Executor::run::{{closure}}::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.11.0/src/lib.rs:358:21 + 182: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:449:33 + 183: async_executor::Executor::run::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.11.0/src/lib.rs:365:32 + 184: as core::future::future::Future>::poll + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:297:9 + 185: as core::future::future::Future>::poll::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:42 + 186: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 187: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 188: __rust_try + 189: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 190: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 191: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:9 + 192: bevy_tasks::task_pool::TaskPool::execute_global_scope::{{closure}}::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:502:22 + 193: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:446:33 + 194: bevy_tasks::task_pool::TaskPool::execute_global_scope::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:506:41 + 195: bevy_tasks::task_pool::TaskPool::scope_with_executor_inner::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:433:89 + 196: futures_lite::future::block_on::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:99:19 + 197: std::thread::local::LocalKey::try_with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:286:16 + 198: std::thread::local::LocalKey::with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:262:9 + 199: futures_lite::future::block_on + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:78:5 + 200: bevy_tasks::task_pool::TaskPool::scope_with_executor_inner + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:389:13 + 201: bevy_tasks::task_pool::TaskPool::scope::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:293:13 + 202: std::thread::local::LocalKey::try_with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:286:16 + 203: std::thread::local::LocalKey::with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:262:9 + 204: bevy_tasks::task_pool::TaskPool::scope + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:292:9 + 205: ::cleanup::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_render-0.13.2/src/pipelined_rendering.rs:150:32 + 206: std::sys_common::backtrace::__rust_begin_short_backtrace + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys_common/backtrace.rs:155:18 + 207: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}} + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/mod.rs:529:17 + 208: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 209: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 210: __rust_try + 211: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 212: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + std::thread::Builder::spawn_unchecked_::{{closure}} + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/mod.rs:528:30 + 213: core::ops::function::FnOnce::call_once{{vtable.shim}} + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:250:5 + 214: as core::ops::function::FnOnce>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/alloc/src/boxed.rs:2015:9 + as core::ops::function::FnOnce>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/alloc/src/boxed.rs:2015:9 + std::sys::pal::unix::thread::Thread::new::thread_start + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/thread.rs:108:17 + 215: + 216: + +Stack Overflow: + 0: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:94:40 + 1: + 2: + 3: gsignal + 4: abort + 5: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 6: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 7: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 8: + 9: + 10: gsignal + 11: abort + 12: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 13: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 14: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 15: + 16: + 17: gsignal + 18: abort + 19: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 20: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 21: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 22: + 23: + 24: gsignal + 25: abort + 26: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 27: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 28: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 29: + 30: + 31: gsignal + 32: abort + 33: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 34: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 35: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 36: + 37: + 38: gsignal + 39: abort + 40: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 41: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 42: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 43: + 44: + 45: gsignal + 46: abort + 47: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 48: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 49: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 50: + 51: + 52: gsignal + 53: abort + 54: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 55: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 56: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 57: + 58: + 59: gsignal + 60: abort + 61: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 62: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 63: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 64: + 65: + 66: gsignal + 67: abort + 68: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 69: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 70: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 71: + 72: + 73: gsignal + 74: abort + 75: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 76: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 77: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 78: + 79: + 80: gsignal + 81: abort + 82: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 83: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 84: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 85: + 86: + 87: gsignal + 88: abort + 89: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 90: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 91: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 92: + 93: + 94: gsignal + 95: abort + 96: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 97: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 98: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 99: + 100: + 101: gsignal + 102: abort + 103: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 104: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 105: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 106: + 107: + 108: gsignal + 109: abort + 110: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 111: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 112: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 113: + 114: + 115: gsignal + 116: abort + 117: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 118: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 119: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 120: + 121: + 122: gsignal + 123: abort + 124: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 125: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 126: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 127: + 128: + 129: gsignal + 130: abort + 131: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 132: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 133: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 134: + 135: + 136: gsignal + 137: abort + 138: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 139: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 140: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 141: + 142: + 143: gsignal + 144: abort + 145: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 146: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 147: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 148: + 149: array_init::try_array_init_impl + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/array-init-2.1.0/src/lib.rs:225 + 150: array_init::try_array_init + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/array-init-2.1.0/src/lib.rs:189:5 + 151: array_init::array_init + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/array-init-2.1.0/src/lib.rs:76:5 + 152: shocovox_rs::octree::detail::>::leaf_from + at src/octree/detail.rs:227:27 + 153: shocovox_rs::octree::update::>::insert_at_lod + at src/octree/update.rs:168:33 + 154: shocovox_rs::octree::update::>::insert + at src/octree/update.rs:17:9 + 155: shocovox_rs::octree::convert::magicavoxel::>::load_magica_voxel_file + at src/octree/convert/magicavoxel.rs:141:17 + 156: minecraft::setup + at examples/minecraft.rs:44:22 + 157: core::ops::function::FnMut::call_mut + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:166:5 + 158: core::ops::function::impls:: for &mut F>::call_mut + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:294:13 + 159: Out>>::run::call_inner + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/system/function_system.rs:656:21 + 160: Out>>::run + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/system/function_system.rs:659:17 + 161: as bevy_ecs::system::system::System>::run_unsafe + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/system/function_system.rs:499:19 + 162: bevy_ecs::schedule::executor::multi_threaded::MultiThreadedExecutor::spawn_system_task::{{closure}}::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/schedule/executor/multi_threaded.rs:534:26 + 163: core::ops::function::FnOnce::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:250:5 + 164: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 165: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 166: __rust_try + 167: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 168: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 169: bevy_ecs::schedule::executor::multi_threaded::MultiThreadedExecutor::spawn_system_task::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/schedule/executor/multi_threaded.rs:529:23 + 170: as core::future::future::Future>::poll + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:297:9 + 171: as core::future::future::Future>::poll::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:42 + 172: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 173: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 174: __rust_try + 175: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 176: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 177: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:9 + 178: async_executor::Executor::spawn_inner::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.11.0/src/lib.rs:243:20 + 179: async_task::raw::RawTask::run::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/raw.rs:550:21 + 180: core::ops::function::FnOnce::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:250:5 + 181: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 182: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 183: __rust_try + 184: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 185: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 186: async_task::raw::RawTask::run + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/raw.rs:549:23 + 187: async_task::runnable::Runnable::run + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/runnable.rs:781:18 + 188: async_executor::Executor::run::{{closure}}::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.11.0/src/lib.rs:358:21 + 189: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:449:33 + 190: async_executor::Executor::run::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.11.0/src/lib.rs:365:32 + 191: as core::future::future::Future>::poll + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:297:9 + 192: as core::future::future::Future>::poll::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:42 + 193: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 194: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 195: __rust_try + 196: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 197: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 198: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:9 + 199: bevy_tasks::task_pool::TaskPool::execute_global_scope::{{closure}}::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:502:22 + 200: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:446:33 + 201: bevy_tasks::task_pool::TaskPool::execute_global_scope::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:506:41 + 202: bevy_tasks::task_pool::TaskPool::scope_with_executor_inner::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:433:89 + 203: futures_lite::future::block_on::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:99:19 + 204: std::thread::local::LocalKey::try_with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:286:16 + 205: std::thread::local::LocalKey::with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:262:9 + 206: futures_lite::future::block_on + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:78:5 + 207: bevy_tasks::task_pool::TaskPool::scope_with_executor_inner + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:389:13 + 208: bevy_tasks::task_pool::TaskPool::scope::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:293:13 + 209: std::thread::local::LocalKey::try_with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:286:16 + 210: std::thread::local::LocalKey::with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:262:9 + 211: bevy_tasks::task_pool::TaskPool::scope + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:292:9 + 212: ::cleanup::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_render-0.13.2/src/pipelined_rendering.rs:150:32 + 213: std::sys_common::backtrace::__rust_begin_short_backtrace + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys_common/backtrace.rs:155:18 + 214: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}} + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/mod.rs:529:17 + 215: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 216: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 217: __rust_try + 218: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 219: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + std::thread::Builder::spawn_unchecked_::{{closure}} + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/mod.rs:528:30 + 220: core::ops::function::FnOnce::call_once{{vtable.shim}} + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:250:5 + 221: as core::ops::function::FnOnce>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/alloc/src/boxed.rs:2015:9 + as core::ops::function::FnOnce>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/alloc/src/boxed.rs:2015:9 + std::sys::pal::unix::thread::Thread::new::thread_start + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/thread.rs:108:17 + 222: + 223: + +Stack Overflow: + 0: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:94:40 + 1: + 2: + 3: gsignal + 4: abort + 5: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 6: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 7: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 8: + 9: + 10: gsignal + 11: abort + 12: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 13: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 14: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 15: + 16: + 17: gsignal + 18: abort + 19: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 20: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 21: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 22: + 23: + 24: gsignal + 25: abort + 26: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 27: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 28: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 29: + 30: + 31: gsignal + 32: abort + 33: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 34: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 35: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 36: + 37: + 38: gsignal + 39: abort + 40: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 41: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 42: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 43: + 44: + 45: gsignal + 46: abort + 47: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 48: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 49: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 50: + 51: + 52: gsignal + 53: abort + 54: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 55: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 56: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 57: + 58: + 59: gsignal + 60: abort + 61: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 62: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 63: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 64: + 65: + 66: gsignal + 67: abort + 68: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 69: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 70: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 71: + 72: + 73: gsignal + 74: abort + 75: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 76: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 77: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 78: + 79: + 80: gsignal + 81: abort + 82: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 83: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 84: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 85: + 86: + 87: gsignal + 88: abort + 89: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 90: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 91: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 92: + 93: + 94: gsignal + 95: abort + 96: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 97: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 98: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 99: + 100: + 101: gsignal + 102: abort + 103: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 104: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 105: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 106: + 107: + 108: gsignal + 109: abort + 110: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 111: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 112: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 113: + 114: + 115: gsignal + 116: abort + 117: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 118: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 119: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 120: + 121: + 122: gsignal + 123: abort + 124: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 125: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 126: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 127: + 128: + 129: gsignal + 130: abort + 131: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 132: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 133: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 134: + 135: + 136: gsignal + 137: abort + 138: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 139: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 140: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 141: + 142: + 143: gsignal + 144: abort + 145: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 146: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 147: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 148: + 149: + 150: gsignal + 151: abort + 152: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 153: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 154: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 155: + 156: array_init::try_array_init_impl + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/array-init-2.1.0/src/lib.rs:225 + 157: array_init::try_array_init + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/array-init-2.1.0/src/lib.rs:189:5 + 158: array_init::array_init + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/array-init-2.1.0/src/lib.rs:76:5 + 159: shocovox_rs::octree::detail::>::leaf_from + at src/octree/detail.rs:227:27 + 160: shocovox_rs::octree::update::>::insert_at_lod + at src/octree/update.rs:168:33 + 161: shocovox_rs::octree::update::>::insert + at src/octree/update.rs:17:9 + 162: shocovox_rs::octree::convert::magicavoxel::>::load_magica_voxel_file + at src/octree/convert/magicavoxel.rs:141:17 + 163: minecraft::setup + at examples/minecraft.rs:44:22 + 164: core::ops::function::FnMut::call_mut + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:166:5 + 165: core::ops::function::impls:: for &mut F>::call_mut + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:294:13 + 166: Out>>::run::call_inner + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/system/function_system.rs:656:21 + 167: Out>>::run + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/system/function_system.rs:659:17 + 168: as bevy_ecs::system::system::System>::run_unsafe + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/system/function_system.rs:499:19 + 169: bevy_ecs::schedule::executor::multi_threaded::MultiThreadedExecutor::spawn_system_task::{{closure}}::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/schedule/executor/multi_threaded.rs:534:26 + 170: core::ops::function::FnOnce::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:250:5 + 171: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 172: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 173: __rust_try + 174: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 175: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 176: bevy_ecs::schedule::executor::multi_threaded::MultiThreadedExecutor::spawn_system_task::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/schedule/executor/multi_threaded.rs:529:23 + 177: as core::future::future::Future>::poll + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:297:9 + 178: as core::future::future::Future>::poll::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:42 + 179: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 180: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 181: __rust_try + 182: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 183: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 184: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:9 + 185: async_executor::Executor::spawn_inner::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.11.0/src/lib.rs:243:20 + 186: async_task::raw::RawTask::run::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/raw.rs:550:21 + 187: core::ops::function::FnOnce::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:250:5 + 188: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 189: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 190: __rust_try + 191: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 192: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 193: async_task::raw::RawTask::run + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/raw.rs:549:23 + 194: async_task::runnable::Runnable::run + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/runnable.rs:781:18 + 195: async_executor::Executor::run::{{closure}}::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.11.0/src/lib.rs:358:21 + 196: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:449:33 + 197: async_executor::Executor::run::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.11.0/src/lib.rs:365:32 + 198: as core::future::future::Future>::poll + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:297:9 + 199: as core::future::future::Future>::poll::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:42 + 200: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 201: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 202: __rust_try + 203: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 204: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 205: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:9 + 206: bevy_tasks::task_pool::TaskPool::execute_global_scope::{{closure}}::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:502:22 + 207: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:446:33 + 208: bevy_tasks::task_pool::TaskPool::execute_global_scope::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:506:41 + 209: bevy_tasks::task_pool::TaskPool::scope_with_executor_inner::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:433:89 + 210: futures_lite::future::block_on::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:99:19 + 211: std::thread::local::LocalKey::try_with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:286:16 + 212: std::thread::local::LocalKey::with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:262:9 + 213: futures_lite::future::block_on + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:78:5 + 214: bevy_tasks::task_pool::TaskPool::scope_with_executor_inner + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:389:13 + 215: bevy_tasks::task_pool::TaskPool::scope::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:293:13 + 216: std::thread::local::LocalKey::try_with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:286:16 + 217: std::thread::local::LocalKey::with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:262:9 + 218: bevy_tasks::task_pool::TaskPool::scope + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:292:9 + 219: ::cleanup::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_render-0.13.2/src/pipelined_rendering.rs:150:32 + 220: std::sys_common::backtrace::__rust_begin_short_backtrace + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys_common/backtrace.rs:155:18 + 221: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}} + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/mod.rs:529:17 + 222: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 223: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 224: __rust_try + 225: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 226: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + std::thread::Builder::spawn_unchecked_::{{closure}} + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/mod.rs:528:30 + 227: core::ops::function::FnOnce::call_once{{vtable.shim}} + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:250:5 + 228: as core::ops::function::FnOnce>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/alloc/src/boxed.rs:2015:9 + as core::ops::function::FnOnce>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/alloc/src/boxed.rs:2015:9 + std::sys::pal::unix::thread::Thread::new::thread_start + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/thread.rs:108:17 + 229: + 230: + +Stack Overflow: + 0: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:94:40 + 1: + 2: + 3: gsignal + 4: abort + 5: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 6: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 7: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 8: + 9: + 10: gsignal + 11: abort + 12: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 13: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 14: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 15: + 16: + 17: gsignal + 18: abort + 19: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 20: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 21: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 22: + 23: + 24: gsignal + 25: abort + 26: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 27: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 28: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 29: + 30: + 31: gsignal + 32: abort + 33: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 34: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 35: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 36: + 37: + 38: gsignal + 39: abort + 40: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 41: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 42: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 43: + 44: + 45: gsignal + 46: abort + 47: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 48: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 49: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 50: + 51: + 52: gsignal + 53: abort + 54: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 55: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 56: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 57: + 58: + 59: gsignal + 60: abort + 61: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 62: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 63: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 64: + 65: + 66: gsignal + 67: abort + 68: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 69: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 70: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 71: + 72: + 73: gsignal + 74: abort + 75: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 76: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 77: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 78: + 79: + 80: gsignal + 81: abort + 82: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 83: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 84: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 85: + 86: + 87: gsignal + 88: abort + 89: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 90: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 91: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 92: + 93: + 94: gsignal + 95: abort + 96: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 97: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 98: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 99: + 100: + 101: gsignal + 102: abort + 103: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 104: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 105: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 106: + 107: + 108: gsignal + 109: abort + 110: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 111: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 112: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 113: + 114: + 115: gsignal + 116: abort + 117: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 118: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 119: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 120: + 121: + 122: gsignal + 123: abort + 124: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 125: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 126: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 127: + 128: + 129: gsignal + 130: abort + 131: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 132: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 133: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 134: + 135: + 136: gsignal + 137: abort + 138: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 139: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 140: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 141: + 142: + 143: gsignal + 144: abort + 145: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 146: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 147: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 148: + 149: + 150: gsignal + 151: abort + 152: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 153: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 154: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 155: + 156: + 157: gsignal + 158: abort + 159: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 160: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 161: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 162: + 163: array_init::try_array_init_impl + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/array-init-2.1.0/src/lib.rs:225 + 164: array_init::try_array_init + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/array-init-2.1.0/src/lib.rs:189:5 + 165: array_init::array_init + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/array-init-2.1.0/src/lib.rs:76:5 + 166: shocovox_rs::octree::detail::>::leaf_from + at src/octree/detail.rs:227:27 + 167: shocovox_rs::octree::update::>::insert_at_lod + at src/octree/update.rs:168:33 + 168: shocovox_rs::octree::update::>::insert + at src/octree/update.rs:17:9 + 169: shocovox_rs::octree::convert::magicavoxel::>::load_magica_voxel_file + at src/octree/convert/magicavoxel.rs:141:17 + 170: minecraft::setup + at examples/minecraft.rs:44:22 + 171: core::ops::function::FnMut::call_mut + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:166:5 + 172: core::ops::function::impls:: for &mut F>::call_mut + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:294:13 + 173: Out>>::run::call_inner + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/system/function_system.rs:656:21 + 174: Out>>::run + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/system/function_system.rs:659:17 + 175: as bevy_ecs::system::system::System>::run_unsafe + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/system/function_system.rs:499:19 + 176: bevy_ecs::schedule::executor::multi_threaded::MultiThreadedExecutor::spawn_system_task::{{closure}}::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/schedule/executor/multi_threaded.rs:534:26 + 177: core::ops::function::FnOnce::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:250:5 + 178: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 179: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 180: __rust_try + 181: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 182: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 183: bevy_ecs::schedule::executor::multi_threaded::MultiThreadedExecutor::spawn_system_task::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/schedule/executor/multi_threaded.rs:529:23 + 184: as core::future::future::Future>::poll + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:297:9 + 185: as core::future::future::Future>::poll::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:42 + 186: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 187: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 188: __rust_try + 189: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 190: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 191: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:9 + 192: async_executor::Executor::spawn_inner::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.11.0/src/lib.rs:243:20 + 193: async_task::raw::RawTask::run::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/raw.rs:550:21 + 194: core::ops::function::FnOnce::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:250:5 + 195: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 196: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 197: __rust_try + 198: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 199: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 200: async_task::raw::RawTask::run + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/raw.rs:549:23 + 201: async_task::runnable::Runnable::run + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/runnable.rs:781:18 + 202: async_executor::Executor::run::{{closure}}::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.11.0/src/lib.rs:358:21 + 203: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:449:33 + 204: async_executor::Executor::run::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.11.0/src/lib.rs:365:32 + 205: as core::future::future::Future>::poll + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:297:9 + 206: as core::future::future::Future>::poll::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:42 + 207: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 208: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 209: __rust_try + 210: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 211: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 212: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:9 + 213: bevy_tasks::task_pool::TaskPool::execute_global_scope::{{closure}}::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:502:22 + 214: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:446:33 + 215: bevy_tasks::task_pool::TaskPool::execute_global_scope::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:506:41 + 216: bevy_tasks::task_pool::TaskPool::scope_with_executor_inner::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:433:89 + 217: futures_lite::future::block_on::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:99:19 + 218: std::thread::local::LocalKey::try_with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:286:16 + 219: std::thread::local::LocalKey::with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:262:9 + 220: futures_lite::future::block_on + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:78:5 + 221: bevy_tasks::task_pool::TaskPool::scope_with_executor_inner + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:389:13 + 222: bevy_tasks::task_pool::TaskPool::scope::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:293:13 + 223: std::thread::local::LocalKey::try_with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:286:16 + 224: std::thread::local::LocalKey::with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:262:9 + 225: bevy_tasks::task_pool::TaskPool::scope + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:292:9 + 226: ::cleanup::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_render-0.13.2/src/pipelined_rendering.rs:150:32 + 227: std::sys_common::backtrace::__rust_begin_short_backtrace + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys_common/backtrace.rs:155:18 + 228: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}} + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/mod.rs:529:17 + 229: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 230: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 231: __rust_try + 232: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 233: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + std::thread::Builder::spawn_unchecked_::{{closure}} + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/mod.rs:528:30 + 234: core::ops::function::FnOnce::call_once{{vtable.shim}} + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:250:5 + 235: as core::ops::function::FnOnce>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/alloc/src/boxed.rs:2015:9 + as core::ops::function::FnOnce>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/alloc/src/boxed.rs:2015:9 + std::sys::pal::unix::thread::Thread::new::thread_start + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/thread.rs:108:17 + 236: + 237: + +Stack Overflow: + 0: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:94:40 + 1: + 2: + 3: gsignal + 4: abort + 5: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 6: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 7: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 8: + 9: + 10: gsignal + 11: abort + 12: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 13: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 14: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 15: + 16: + 17: gsignal + 18: abort + 19: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 20: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 21: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 22: + 23: + 24: gsignal + 25: abort + 26: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 27: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 28: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 29: + 30: + 31: gsignal + 32: abort + 33: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 34: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 35: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 36: + 37: + 38: gsignal + 39: abort + 40: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 41: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 42: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 43: + 44: + 45: gsignal + 46: abort + 47: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 48: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 49: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 50: + 51: + 52: gsignal + 53: abort + 54: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 55: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 56: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 57: + 58: + 59: gsignal + 60: abort + 61: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 62: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 63: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 64: + 65: + 66: gsignal + 67: abort + 68: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 69: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 70: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 71: + 72: + 73: gsignal + 74: abort + 75: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 76: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 77: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 78: + 79: + 80: gsignal + 81: abort + 82: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 83: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 84: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 85: + 86: + 87: gsignal + 88: abort + 89: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 90: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 91: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 92: + 93: + 94: gsignal + 95: abort + 96: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 97: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 98: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 99: + 100: + 101: gsignal + 102: abort + 103: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 104: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 105: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 106: + 107: + 108: gsignal + 109: abort + 110: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 111: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 112: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 113: + 114: + 115: gsignal + 116: abort + 117: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 118: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 119: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 120: + 121: + 122: gsignal + 123: abort + 124: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 125: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 126: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 127: + 128: + 129: gsignal + 130: abort + 131: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 132: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 133: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 134: + 135: + 136: gsignal + 137: abort + 138: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 139: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 140: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 141: + 142: + 143: gsignal + 144: abort + 145: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 146: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 147: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 148: + 149: + 150: gsignal + 151: abort + 152: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 153: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 154: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 155: + 156: + 157: gsignal + 158: abort + 159: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 160: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 161: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 162: + 163: + 164: gsignal + 165: abort + 166: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 167: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 168: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 169: + 170: array_init::try_array_init_impl + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/array-init-2.1.0/src/lib.rs:225 + 171: array_init::try_array_init + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/array-init-2.1.0/src/lib.rs:189:5 + 172: array_init::array_init + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/array-init-2.1.0/src/lib.rs:76:5 + 173: shocovox_rs::octree::detail::>::leaf_from + at src/octree/detail.rs:227:27 + 174: shocovox_rs::octree::update::>::insert_at_lod + at src/octree/update.rs:168:33 + 175: shocovox_rs::octree::update::>::insert + at src/octree/update.rs:17:9 + 176: shocovox_rs::octree::convert::magicavoxel::>::load_magica_voxel_file + at src/octree/convert/magicavoxel.rs:141:17 + 177: minecraft::setup + at examples/minecraft.rs:44:22 + 178: core::ops::function::FnMut::call_mut + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:166:5 + 179: core::ops::function::impls:: for &mut F>::call_mut + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:294:13 + 180: Out>>::run::call_inner + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/system/function_system.rs:656:21 + 181: Out>>::run + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/system/function_system.rs:659:17 + 182: as bevy_ecs::system::system::System>::run_unsafe + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/system/function_system.rs:499:19 + 183: bevy_ecs::schedule::executor::multi_threaded::MultiThreadedExecutor::spawn_system_task::{{closure}}::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/schedule/executor/multi_threaded.rs:534:26 + 184: core::ops::function::FnOnce::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:250:5 + 185: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 186: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 187: __rust_try + 188: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 189: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 190: bevy_ecs::schedule::executor::multi_threaded::MultiThreadedExecutor::spawn_system_task::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/schedule/executor/multi_threaded.rs:529:23 + 191: as core::future::future::Future>::poll + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:297:9 + 192: as core::future::future::Future>::poll::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:42 + 193: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 194: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 195: __rust_try + 196: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 197: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 198: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:9 + 199: async_executor::Executor::spawn_inner::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.11.0/src/lib.rs:243:20 + 200: async_task::raw::RawTask::run::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/raw.rs:550:21 + 201: core::ops::function::FnOnce::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:250:5 + 202: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 203: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 204: __rust_try + 205: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 206: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 207: async_task::raw::RawTask::run + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/raw.rs:549:23 + 208: async_task::runnable::Runnable::run + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/runnable.rs:781:18 + 209: async_executor::Executor::run::{{closure}}::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.11.0/src/lib.rs:358:21 + 210: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:449:33 + 211: async_executor::Executor::run::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.11.0/src/lib.rs:365:32 + 212: as core::future::future::Future>::poll + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:297:9 + 213: as core::future::future::Future>::poll::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:42 + 214: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 215: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 216: __rust_try + 217: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 218: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + 219: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:9 + 220: bevy_tasks::task_pool::TaskPool::execute_global_scope::{{closure}}::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:502:22 + 221: as core::future::future::Future>::poll + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:446:33 + 222: bevy_tasks::task_pool::TaskPool::execute_global_scope::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:506:41 + 223: bevy_tasks::task_pool::TaskPool::scope_with_executor_inner::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:433:89 + 224: futures_lite::future::block_on::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:99:19 + 225: std::thread::local::LocalKey::try_with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:286:16 + 226: std::thread::local::LocalKey::with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:262:9 + 227: futures_lite::future::block_on + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:78:5 + 228: bevy_tasks::task_pool::TaskPool::scope_with_executor_inner + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:389:13 + 229: bevy_tasks::task_pool::TaskPool::scope::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:293:13 + 230: std::thread::local::LocalKey::try_with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:286:16 + 231: std::thread::local::LocalKey::with + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/local.rs:262:9 + 232: bevy_tasks::task_pool::TaskPool::scope + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:292:9 + 233: ::cleanup::{{closure}} + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_render-0.13.2/src/pipelined_rendering.rs:150:32 + 234: std::sys_common::backtrace::__rust_begin_short_backtrace + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys_common/backtrace.rs:155:18 + 235: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}} + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/mod.rs:529:17 + 236: as core::ops::function::FnOnce<()>>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/panic/unwind_safe.rs:272:9 + 237: std::panicking::try::do_call + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:554:40 + 238: __rust_try + 239: std::panicking::try + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panicking.rs:518:19 + 240: std::panic::catch_unwind + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/panic.rs:142:14 + std::thread::Builder::spawn_unchecked_::{{closure}} + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/thread/mod.rs:528:30 + 241: core::ops::function::FnOnce::call_once{{vtable.shim}} + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/core/src/ops/function.rs:250:5 + 242: as core::ops::function::FnOnce>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/alloc/src/boxed.rs:2015:9 + as core::ops::function::FnOnce>::call_once + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/alloc/src/boxed.rs:2015:9 + std::sys::pal::unix::thread::Thread::new::thread_start + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/thread.rs:108:17 + 243: + 244: + +Stack Overflow: + 0: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:94:40 + 1: + 2: + 3: gsignal + 4: abort + 5: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 6: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 7: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 8: + 9: + 10: gsignal + 11: abort + 12: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 13: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 14: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 15: + 16: + 17: gsignal + 18: abort + 19: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 20: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 21: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 22: + 23: + 24: gsignal + 25: abort + 26: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 27: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 28: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 29: + 30: + 31: gsignal + 32: abort + 33: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 34: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 35: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 36: + 37: + 38: gsignal + 39: abort + 40: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 41: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 42: backtrace_on_stack_overflow::handle_sigsegv + at /home/davids91/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-on-stack-overflow-0.3.0/src/lib.rs:95:5 + 43: + 44: + 45: gsignal + 46: abort + 47: std::sys::pal::unix::abort_internal + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/sys/pal/unix/mod.rs:372:14 + 48: std::process::abort + at /rustc/25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04/library/std/src/process.rs:2358:5 + 49: [Finished in 117.4s with exit code -9] diff --git a/examples/bevy_wgpu_render.rs b/examples/bevy_wgpu_render.rs index dcfb64f..c1df140 100644 --- a/examples/bevy_wgpu_render.rs +++ b/examples/bevy_wgpu_render.rs @@ -11,7 +11,7 @@ use shocovox_rs::octree::{ const DISPLAY_RESOLUTION: [u32; 2] = [1024, 768]; #[cfg(feature = "bevy_wgpu")] -const ARRAY_DIMENSION: u32 = 64; +const ARRAY_DIMENSION: u32 = 128; #[cfg(feature = "bevy_wgpu")] fn main() { diff --git a/examples/cpu_render.rs b/examples/cpu_render.rs index 6929920..e90ab48 100644 --- a/examples/cpu_render.rs +++ b/examples/cpu_render.rs @@ -12,8 +12,8 @@ fn main() { // fill octree with data const BRICK_DIMENSION: usize = 8; const TREE_SIZE: u32 = 64; - let viewport_size_width = 128; - let viewport_size_height = 128; + let viewport_size_width = 150; + let viewport_size_height = 150; let mut tree = shocovox_rs::octree::Octree::::new(TREE_SIZE) .ok() .unwrap(); diff --git a/src/octree/detail.rs b/src/octree/detail.rs index dadc8a8..3ce3392 100644 --- a/src/octree/detail.rs +++ b/src/octree/detail.rs @@ -241,7 +241,7 @@ where pub(crate) const ROOT_NODE_KEY: u32 = 0; } -impl Octree { +impl Octree { pub(in crate::octree) fn mat_index(bounds: &Cube, position: &V3c) -> V3c { // --> In case the smallest possible node the contained matrix of voxels // starts at bounds min_position and ends in min_position + (DIM,DIM,DIM) @@ -257,7 +257,7 @@ impl Octree u64 { + pub(in crate::octree) fn bruteforce_occupancy_bitmask(brick: &[[[T; DIM]; DIM]; DIM]) -> u64 { let mut bitmask = 0u64; for x in 0..DIM { for y in 0..DIM { @@ -281,7 +281,7 @@ impl Octree [u32; 8] { // Create new children leaf nodes based on the provided content - let occupancy_bitmap = Self::occupancy_bitmask(&content); + let occupancy_bitmap = Self::bruteforce_occupancy_bitmask(&content); let children = [ self.nodes.push(NodeContent::Leaf(content.clone())) as u32, self.nodes.push(NodeContent::Leaf(content.clone())) as u32, @@ -324,9 +324,25 @@ impl Octree u8 { + pub(in crate::octree) fn occupied_8bit(&self, node: u32) -> u8 { match self.nodes.get(node as usize) { - NodeContent::Leaf(_) => 0xFF, + NodeContent::Leaf(_) => { + let leaf_occupied_bits = match self.node_children[node as usize].content { + NodeChildrenArray::OccupancyBitmap(occupied_bits) => occupied_bits, + _ => { + debug_assert!(false); + 0 + } + }; + (((leaf_occupied_bits & 0x0000000000330033) > 0) as u8) << 0 + | (((leaf_occupied_bits & 0x0000000000cc00cc) > 0) as u8) << 1 + | (((leaf_occupied_bits & 0x0033003300000000) > 0) as u8) << 2 + | (((leaf_occupied_bits & 0x00cc00cc00000000) > 0) as u8) << 3 + | (((leaf_occupied_bits & 0x0000000033003300) > 0) as u8) << 4 + | (((leaf_occupied_bits & 0x00000000cc00cc00) > 0) as u8) << 5 + | (((leaf_occupied_bits & 0x3300330000000000) > 0) as u8) << 6 + | (((leaf_occupied_bits & 0xcc00cc0000000000) > 0) as u8) << 7 + } _ => self.node_children[node as usize].occupied_bits(), } } diff --git a/src/octree/raytracing/bevy/data.rs b/src/octree/raytracing/bevy/data.rs index 825433c..8c7f445 100644 --- a/src/octree/raytracing/bevy/data.rs +++ b/src/octree/raytracing/bevy/data.rs @@ -26,21 +26,16 @@ where *sized_node_meta = (*sized_node_meta & 0xFFFFFF00) | bitmap as u32; } - pub(in crate::octree) fn meta_set_leaf_occupancy_bitmap( - bitmap_target: &mut [u32; 8], - source: u64, - ) { - bitmap_target[0] = (source & 0x00000000FFFFFFFF) as u32; - bitmap_target[1] = ((source & 0xFFFFFFFF00000000) >> 32) as u32; - } - fn create_meta(&self, node_key: usize) -> u32 { let node = self.nodes.get(node_key); let mut meta = 0; match node { NodeContent::Leaf(_) => { Self::meta_set_is_leaf(&mut meta, true); - Self::meta_set_node_occupancy_bitmap(&mut meta, 0xFF); + Self::meta_set_node_occupancy_bitmap( + &mut meta, + self.occupied_8bit(node_key as u32), + ); } NodeContent::Internal(occupied_bits) => { Self::meta_set_is_leaf(&mut meta, false); @@ -71,6 +66,7 @@ where ), }; let mut nodes = Vec::new(); + let mut children_buffer = Vec::new(); let mut voxels = Vec::new(); for i in 0..self.nodes.len() { if !self.nodes.key_is_valid(i) { @@ -78,7 +74,7 @@ where } let mut sized_node = SizedNode { sized_node_meta: self.create_meta(i), - children: self.node_children[i].get_full(), + children_start_at: children_buffer.len() as u32, voxels_start_at: empty_marker(), }; if let NodeContent::Leaf(data) = self.nodes.get(i) { @@ -86,13 +82,14 @@ where self.node_children[i].content, NodeChildrenArray::OccupancyBitmap(_) )); - Self::meta_set_leaf_occupancy_bitmap( - &mut sized_node.children, - match self.node_children[i].content { - NodeChildrenArray::OccupancyBitmap(bitmap) => bitmap, - _ => panic!("Found Leaf Node without occupancy bitmap!"), - }, - ); + let occupied_bits = match self.node_children[i].content { + NodeChildrenArray::OccupancyBitmap(bitmap) => bitmap, + _ => panic!("Found Leaf Node without occupancy bitmap!"), + }; + children_buffer.extend_from_slice(&[ + (occupied_bits & 0x00000000FFFFFFFF) as u32, + ((occupied_bits & 0xFFFFFFFF00000000) >> 32) as u32, + ]); sized_node.voxels_start_at = voxels.len() as u32; for z in 0..DIM { for y in 0..DIM { @@ -101,16 +98,19 @@ where let content = data[x][y][z].user_data(); voxels.push(Voxelement { albedo: Color::rgba( - albedo.r as f32 / 255., - albedo.g as f32 / 255., - albedo.b as f32 / 255., - albedo.a as f32 / 255., + albedo.r as f32 / 255., + albedo.g as f32 / 255., + albedo.b as f32 / 255., + albedo.a as f32 / 255., ), content, }) } } } + } else { + //Internal nodes + children_buffer.extend_from_slice(&self.node_children[i].get_full()); } nodes.push(sized_node); } @@ -120,6 +120,7 @@ where viewport: *viewport, meta, nodes, + children_buffer, voxels, } } diff --git a/src/octree/raytracing/bevy/types.rs b/src/octree/raytracing/bevy/types.rs index 0f8922a..4c6f3c0 100644 --- a/src/octree/raytracing/bevy/types.rs +++ b/src/octree/raytracing/bevy/types.rs @@ -1,6 +1,5 @@ use bevy::{ asset::Handle, - ecs::component::Component, ecs::system::Resource, math::{Vec2, Vec3}, reflect::TypePath, @@ -35,8 +34,9 @@ pub(crate) struct SizedNode { /// - Byte 4: TBD pub(crate) sized_node_meta: u32, + /// index of where the data about this node is found in children_buffer /// - In case of internal nodes: - /// - Index values of node children + /// - 8 Index value of node children /// - In case of leaf nodes: /// - Byte 1-4: Occupancy bitmap MSB /// - Byte 5-8: Occupancy bitmap LSB @@ -46,7 +46,7 @@ pub(crate) struct SizedNode { /// - Byte 21-24: TBD /// - Byte 25-28: TBD /// - Byte 29-32: TBD - pub(crate) children: [u32; 8], + pub(crate) children_start_at: u32, /// index of where the voxel values contained in the node start inside the voxels buffer, /// or a "none_value". Should the field contain an index, the next voxel_brick_dim^3 elements @@ -90,6 +90,9 @@ pub struct ShocoVoxViewingGlass { pub(crate) nodes: Vec, #[storage(5, visibility(compute))] + pub(crate) children_buffer: Vec, + + #[storage(6, visibility(compute))] pub(crate) voxels: Vec, } diff --git a/src/octree/raytracing/mod.rs b/src/octree/raytracing/mod.rs index 95bb7bf..f54d278 100644 --- a/src/octree/raytracing/mod.rs +++ b/src/octree/raytracing/mod.rs @@ -1,6 +1,5 @@ pub mod raytracing_on_cpu; mod tests; -mod types; #[cfg(feature = "bevy_wgpu")] pub mod bevy; diff --git a/src/octree/raytracing/raytracing_on_cpu.rs b/src/octree/raytracing/raytracing_on_cpu.rs index 17d6180..900031d 100644 --- a/src/octree/raytracing/raytracing_on_cpu.rs +++ b/src/octree/raytracing/raytracing_on_cpu.rs @@ -1,57 +1,38 @@ -use crate::octree::{ - raytracing::types::NodeStackItem, types::NodeChildrenArray, Cube, Octree, V3c, VoxelData, +use crate::{ + octree::{ + types::{NodeChildrenArray, NodeContent}, + Cube, Octree, V3c, VoxelData, + }, + spatial::raytracing::step_octant, }; use crate::spatial::{ math::{ - flat_projection, hash_direction, hash_region, is_bitmap_occupied_at_octant, offset_region, - position_in_bitmap_64bits, + flat_projection, hash_direction, hash_region, octant_bitmask, position_in_bitmap_64bits, }, raytracing::{ - lut::RAY_TO_LEAF_OCCUPANCY_BITMASK_LUT, lut::RAY_TO_NODE_OCCUPANCY_BITMASK_LUT, - CubeRayIntersection, Ray, + cube_impact_normal, + lut::{OOB_OCTANT, RAY_TO_LEAF_OCCUPANCY_BITMASK_LUT, RAY_TO_NODE_OCCUPANCY_BITMASK_LUT}, + Ray, }, FLOAT_ERROR_TOLERANCE, }; +#[derive(Debug)] +struct NodeStackItem { + pub(crate) bounds: Cube, + node: u32, + target_octant: u8, +} + impl NodeStackItem { - pub(crate) fn new( - bounds: Cube, - bounds_intersection: CubeRayIntersection, - node: u32, - occupied_bits: u8, - target_octant: u8, - ) -> Self { - let child_center = Into::>::into(bounds.min_position) - + V3c::unit(bounds.size as f32 / 4.) - + Into::>::into(offset_region(target_octant)) * (bounds.size as f32 / 2.); + pub(crate) fn new(bounds: Cube, node: u32, target_octant: u8) -> Self { Self { - bounds_intersection, bounds, node, - occupied_bits, target_octant, - child_center, } } - - pub(crate) fn add_point(&mut self, p: V3c) { - self.child_center = self.child_center + p; - self.target_octant = hash_region( - &(self.child_center - self.bounds.min_position.into()), - self.bounds.size as f32, - ); - } - - pub(crate) fn contains_target_center(&self) -> bool { - self.bounds.contains_point(&self.child_center) - } - - /// Returns true if the Node represented by this item is empty - /// Occupancy bitmap being 0 essentially means the node is empty - pub(crate) fn is_empty(&self) -> bool { - self.occupied_bits == 0 - } } impl @@ -126,20 +107,15 @@ impl, direction_lut_index: usize, ) -> Option> { let mut current_index = { - let pos = ray.point_at( - intersection - .impact_distance - .unwrap_or(*ray_current_distance), - ) - V3c::::from(bounds.min_position); + let pos = ray.point_at(*ray_current_distance) - bounds.min_position; V3c::new( (pos.x as i32).clamp(0, (DIM - 1) as i32), (pos.y as i32).clamp(0, (DIM - 1) as i32), @@ -272,44 +248,24 @@ impl::ROOT_NODE_KEY, - self.occupied_bits_not_leaf(Octree::::ROOT_NODE_KEY), target_octant, )); } while !node_stack.is_empty() { let node_stack_top = node_stack.last().unwrap(); - let current_bounds = node_stack_top.bounds; - let current_bounds_ray_intersection = node_stack_top.bounds_intersection; + let mut current_bounds = node_stack_top.bounds; let current_node_key = node_stack_top.node as usize; let current_node = self.nodes.get(current_node_key); let mut target_octant = node_stack_top.target_octant; + let current_node_occupied_bits = self.occupied_8bit(node_stack_top.node); debug_assert!(self .nodes .key_is_valid(node_stack.last().unwrap().node as usize)); - if !node_stack_top.contains_target_center() // If current target is OOB - // In case there is no overlap between the node occupancy and the potential slots the ray would hit - || 0 == (node_stack.last().unwrap().occupied_bits & RAY_TO_NODE_OCCUPANCY_BITMASK_LUT[target_octant as usize][direction_lut_index as usize]) - || node_stack_top.is_empty() - { - // POP - let popped_target = node_stack.pop().unwrap(); - if let Some(parent) = node_stack.last_mut() { - let step_vec = Self::dda_step_to_next_sibling( - &ray, - &mut ray_current_distance, - &popped_target.bounds, - &ray_scale_factors, - ); - parent.add_point(step_vec); - } - ray_current_distance = current_bounds_ray_intersection.exit_distance; - continue; // Re-calculate current_bounds and ray intersection - } + let mut leaf_miss = false; if current_node.is_leaf() { debug_assert!(matches!( self.node_children[current_node_key].content, @@ -317,6 +273,7 @@ impl bitmap, @@ -326,69 +283,58 @@ impl::from(leaf_brick_hit) * current_bounds.size; + let impact_point = ray.point_at(ray_current_distance); + let impact_normal = cube_impact_normal(¤t_bounds, &impact_point); return Some(( ¤t_node.leaf_data()[leaf_brick_hit.x][leaf_brick_hit.y] [leaf_brick_hit.z], - ray.point_at( - result_raycast - .impact_distance - .unwrap_or(ray_current_distance), - ), - result_raycast.impact_normal, + impact_point, + impact_normal, )); - } else { - // POP - let popped_target = node_stack.pop().unwrap(); - if let Some(parent) = node_stack.last_mut() { - let step_vec = Self::dda_step_to_next_sibling( - &ray, - &mut ray_current_distance, - &popped_target.bounds, - &ray_scale_factors, - ); - parent.add_point(step_vec); - } - ray_current_distance = current_bounds_ray_intersection.exit_distance; - continue; // Re-calculate current_bounds and ray intersection } + leaf_miss = true; + } + + if leaf_miss + || node_stack_top.target_octant == OOB_OCTANT + // In case the current Node is empty + || 0 == current_node_occupied_bits + // In case there is no overlap between the node occupancy and the potential slots the ray would hit + || 0 == (current_node_occupied_bits & RAY_TO_NODE_OCCUPANCY_BITMASK_LUT[target_octant as usize][direction_lut_index as usize]) + { + // POP + let popped_target = node_stack.pop().unwrap(); + if let Some(parent) = node_stack.last_mut() { + let step_vec = Self::dda_step_to_next_sibling( + &ray, + &mut ray_current_distance, + &popped_target.bounds, + &ray_scale_factors, + ); + parent.target_octant = step_octant(parent.target_octant, step_vec); + } + continue; // Re-calculate current_bounds } - ray_current_distance = current_bounds_ray_intersection - .impact_distance - .unwrap_or(ray_current_distance); let mut target_bounds = current_bounds.child_bounds_for(target_octant); let mut target_child_key = self.node_children[current_node_key][target_octant as u32]; let target_is_empty = !self.nodes.key_is_valid(target_child_key as usize) - || !is_bitmap_occupied_at_octant(node_stack_top.occupied_bits, target_octant); - let target_hit = target_bounds.intersect_ray(&ray); - if !target_is_empty && target_hit.is_some() { + || 0 == current_node_occupied_bits & octant_bitmask(target_octant); + if !target_is_empty { // PUSH - ray_current_distance = target_hit - .unwrap() - .impact_distance - .unwrap_or(ray_current_distance); let child_target_octant = hash_region( - &(ray.point_at(ray_current_distance) - target_bounds.min_position.into()), - target_bounds.size as f32, + &(ray.point_at(ray_current_distance) - target_bounds.min_position), + target_bounds.size, ); node_stack.push(NodeStackItem::new( target_bounds, - target_hit.unwrap(), target_child_key, - self.occupied_bits_not_leaf(target_child_key), child_target_octant, )); } else { @@ -403,22 +349,32 @@ impl 0, + NodeContent::Internal(_) | NodeContent::Leaf(_)=> self.occupied_8bit(target_child_key) + & RAY_TO_NODE_OCCUPANCY_BITMASK_LUT[hash_region( + &(ray.point_at(ray_current_distance) - target_bounds.min_position), + target_bounds.size, + ) as usize] + [direction_lut_index as usize], + }) { - // stop advancing because current target is OOB or not empty while inside bounds + // stop advancing because current target is either + // - OOB + // - or (not empty while inside bounds AND collides with the ray based on its occupancy bitmap) + node_stack.last_mut().unwrap().target_octant = target_octant; break; } } diff --git a/src/octree/raytracing/tests.rs b/src/octree/raytracing/tests.rs index 056e132..a0b942f 100644 --- a/src/octree/raytracing/tests.rs +++ b/src/octree/raytracing/tests.rs @@ -1,3 +1,63 @@ +use crate::octree::{Cube, V3c}; +use crate::spatial::raytracing::Ray; +use crate::spatial::{raytracing::plane_line_intersection, FLOAT_ERROR_TOLERANCE}; + +/// Reference implementation to decide step to sibling boundary +#[allow(dead_code)] +pub(crate) fn get_step_to_next_sibling(current: &Cube, ray: &Ray) -> V3c { + //Find the point furthest from the ray + let midpoint = V3c::unit((current.size / 2.0) as f32) + current.min_position.into(); + let ref_point = midpoint + + V3c::new( + (current.size as f32 / 2.).copysign(ray.direction.x), + (current.size as f32 / 2.).copysign(ray.direction.y), + (current.size as f32 / 2.).copysign(ray.direction.z), + ); + + // Find the min of the 3 plane intersections + let x_plane_distance = plane_line_intersection( + &ref_point, + &V3c::new(1., 0., 0.), + &ray.origin, + &ray.direction, + ) + .unwrap_or(f32::MAX); + let y_plane_distance = plane_line_intersection( + &ref_point, + &V3c::new(0., 1., 0.), + &ray.origin, + &ray.direction, + ) + .unwrap_or(f32::MAX); + let z_plane_distance = plane_line_intersection( + &ref_point, + &V3c::new(0., 0., 1.), + &ray.origin, + &ray.direction, + ) + .unwrap_or(f32::MAX); + let min_d = x_plane_distance.min(y_plane_distance).min(z_plane_distance); + + // Step along the axes with the minimum distances + V3c::new( + if (min_d - x_plane_distance).abs() < FLOAT_ERROR_TOLERANCE { + (current.size as f32).copysign(ray.direction.x) + } else { + 0. + }, + if (min_d - y_plane_distance).abs() < FLOAT_ERROR_TOLERANCE { + (current.size as f32).copysign(ray.direction.y) + } else { + 0. + }, + if (min_d - z_plane_distance).abs() < FLOAT_ERROR_TOLERANCE { + (current.size as f32).copysign(ray.direction.z) + } else { + 0. + }, + ) +} + #[cfg(test)] mod wgpu_tests { #[test] @@ -9,67 +69,12 @@ mod wgpu_tests { #[cfg(test)] mod octree_raytracing_tests { - use crate::octree::{Albedo, Cube, Octree, V3c}; + use crate::octree::{raytracing::tests::get_step_to_next_sibling, Albedo, Cube, Octree, V3c}; use crate::spatial::raytracing::Ray; - use crate::spatial::{math::plane_line_intersection, FLOAT_ERROR_TOLERANCE}; + use crate::spatial::FLOAT_ERROR_TOLERANCE; use rand::{rngs::ThreadRng, Rng}; - /// Reference implementation to decide step to sibling boundary - fn get_step_to_next_sibling(current: &Cube, ray: &Ray) -> V3c { - //Find the point furthest from the ray - let midpoint = V3c::unit((current.size / 2.0) as f32) + current.min_position.into(); - let ref_point = midpoint - + V3c::new( - (current.size as f32 / 2.).copysign(ray.direction.x), - (current.size as f32 / 2.).copysign(ray.direction.y), - (current.size as f32 / 2.).copysign(ray.direction.z), - ); - - // Find the min of the 3 plane intersections - let x_plane_distance = plane_line_intersection( - &ref_point, - &V3c::new(1., 0., 0.), - &ray.origin, - &ray.direction, - ) - .unwrap_or(f32::MAX); - let y_plane_distance = plane_line_intersection( - &ref_point, - &V3c::new(0., 1., 0.), - &ray.origin, - &ray.direction, - ) - .unwrap_or(f32::MAX); - let z_plane_distance = plane_line_intersection( - &ref_point, - &V3c::new(0., 0., 1.), - &ray.origin, - &ray.direction, - ) - .unwrap_or(f32::MAX); - let min_d = x_plane_distance.min(y_plane_distance).min(z_plane_distance); - - // Step along the axes with the minimum distances - V3c::new( - if (min_d - x_plane_distance).abs() < FLOAT_ERROR_TOLERANCE { - (current.size as f32).copysign(ray.direction.x) - } else { - 0. - }, - if (min_d - y_plane_distance).abs() < FLOAT_ERROR_TOLERANCE { - (current.size as f32).copysign(ray.direction.y) - } else { - 0. - }, - if (min_d - z_plane_distance).abs() < FLOAT_ERROR_TOLERANCE { - (current.size as f32).copysign(ray.direction.z) - } else { - 0. - }, - ) - } - #[test] #[ignore = "May fail in edge cases"] fn compare_sibling_step_functions() { @@ -232,16 +237,6 @@ mod octree_raytracing_tests { } } - #[cfg(feature = "bevy_wgpu")] - #[test] - fn test_lvl1_occupancy_bitmap() { - let original_bitmap: u64 = 0xFA17EDBEEF15DEAD; - let mut bitmap_target = [0; 8]; - Octree::::meta_set_leaf_occupancy_bitmap(&mut bitmap_target, original_bitmap); - let reconstructed_bitmap: u64 = bitmap_target[0] as u64 | (bitmap_target[1] as u64) << 32; - assert!(reconstructed_bitmap == original_bitmap); - } - #[test] fn test_edge_case_unreachable() { let mut tree = Octree::::new(4).ok().unwrap(); @@ -494,7 +489,9 @@ mod octree_raytracing_tests { fn test_edge_case_detailed_brick_undetected() { let tree_size = 8; const BRICK_DIMENSION: usize = 2; - let mut tree = Octree::::new(tree_size).ok().unwrap(); + let mut tree = Octree::::new(tree_size) + .ok() + .unwrap(); for x in 0..tree_size { for y in 0..tree_size { @@ -524,7 +521,9 @@ mod octree_raytracing_tests { fn test_edge_case_detailed_brick_z_edge_error() { let tree_size = 8; const BRICK_DIMENSION: usize = 2; - let mut tree = Octree::::new(tree_size).ok().unwrap(); + let mut tree = Octree::::new(tree_size) + .ok() + .unwrap(); for x in 1..tree_size { for y in 1..tree_size { @@ -546,16 +545,19 @@ mod octree_raytracing_tests { z: 0.7105529, }, }; - assert!(tree - .get_by_ray(&ray) - .is_some_and(|v| *v.0 == 1.into() && v.2 == V3c::::new(0., 0., -1.))); + assert!(tree.get_by_ray(&ray).is_some_and(|v| { + println!("v: {:?}", v); + *v.0 == 1.into() && v.2 == V3c::::new(0., 0., -1.) + })); } #[test] fn test_edge_case_brick_traversal_error() { let tree_size = 8; const BRICK_DIMENSION: usize = 2; - let mut tree = Octree::::new(tree_size).ok().unwrap(); + let mut tree = Octree::::new(tree_size) + .ok() + .unwrap(); tree.insert(&V3c::new(0, 0, 0), 0x000000FF.into()) .ok() diff --git a/src/octree/raytracing/types.rs b/src/octree/raytracing/types.rs deleted file mode 100644 index c5a38e8..0000000 --- a/src/octree/raytracing/types.rs +++ /dev/null @@ -1,11 +0,0 @@ -use crate::octree::{Cube, V3c}; -use crate::spatial::raytracing::CubeRayIntersection; - -pub(crate) struct NodeStackItem { - pub(crate) bounds_intersection: CubeRayIntersection, - pub(crate) bounds: Cube, - pub(crate) node: u32, - pub(crate) occupied_bits: u8, - pub(crate) target_octant: u8, - pub(crate) child_center: V3c, -} diff --git a/src/octree/update.rs b/src/octree/update.rs index e3cc715..ff07eff 100644 --- a/src/octree/update.rs +++ b/src/octree/update.rs @@ -188,13 +188,13 @@ impl Octree Octree Octree Octree u8 { 0x01 << octant } - -/// Queries a bitmask for a single octant position in an 8bit bitmask -pub(crate) fn is_bitmap_occupied_at_octant(bitmap: u8, octant: u8) -> bool { - 0 < bitmap & octant_bitmask(octant) -} - -#[allow(dead_code)] // Could be useful either for debugging or new implementations -#[cfg(feature = "raytracing")] -/// calculates the distance between the line, and the plane both described by a ray -/// plane: normal, and a point on plane, line: origin and direction -/// return the distance from the line origin to the direction of it, if they have an intersection -pub fn plane_line_intersection( - plane_point: &V3c, - plane_normal: &V3c, - line_origin: &V3c, - line_direction: &V3c, -) -> Option { - let origins_diff = *plane_point - *line_origin; - let plane_line_dot_to_plane = origins_diff.dot(plane_normal); - let directions_dot = line_direction.dot(plane_normal); - if 0. == directions_dot { - // line and plane is paralell - if 0. == origins_diff.dot(plane_normal) { - // The distance is zero because the origin is already on the plane - return Some(0.); - } - return None; - } - Some(plane_line_dot_to_plane / directions_dot) -} - -#[cfg(test)] -mod bitmask_tests { - - use std::collections::HashSet; - - use super::flat_projection; - use super::octant_bitmask; - use super::position_in_bitmap_64bits; - - #[test] - fn test_lvl2_flat_projection() { - for octant in 0..8 { - let bitmask = octant_bitmask(octant); - for compare_octant in 0..8 { - assert!(compare_octant == octant || 0 == bitmask & octant_bitmask(compare_octant)); - } - } - } - - #[test] - fn test_flat_projection() { - const DIMENSION: usize = 10; - assert!(0 == flat_projection(0, 0, 0, DIMENSION)); - assert!(DIMENSION == flat_projection(10, 0, 0, DIMENSION)); - assert!(DIMENSION == flat_projection(0, 1, 0, DIMENSION)); - assert!(DIMENSION * DIMENSION == flat_projection(0, 0, 1, DIMENSION)); - assert!(DIMENSION * DIMENSION * 4 == flat_projection(0, 0, 4, DIMENSION)); - assert!((DIMENSION * DIMENSION * 4) + 3 == flat_projection(3, 0, 4, DIMENSION)); - assert!( - (DIMENSION * DIMENSION * 4) + (DIMENSION * 2) + 3 - == flat_projection(3, 2, 4, DIMENSION) - ); - - let mut number_coverage = HashSet::new(); - for x in 0..DIMENSION { - for y in 0..DIMENSION { - for z in 0..DIMENSION { - let address = flat_projection(x, y, z, DIMENSION); - assert!(!number_coverage.contains(&address)); - number_coverage.insert(address); - } - } - } - } - - #[test] - fn test_lvl1_flat_projection_exact_size_match() { - assert!(0 == position_in_bitmap_64bits(0, 0, 0, 4)); - assert!(32 == position_in_bitmap_64bits(0, 0, 2, 4)); - assert!(63 == position_in_bitmap_64bits(3, 3, 3, 4)); - } - - #[test] - fn test_lvl1_flat_projection_greater_dimension() { - assert!(0 == position_in_bitmap_64bits(0, 0, 0, 10)); - assert!(32 == position_in_bitmap_64bits(0, 0, 5, 10)); - assert!(42 == position_in_bitmap_64bits(5, 5, 5, 10)); - assert!(63 == position_in_bitmap_64bits(9, 9, 9, 10)); - } - #[test] - fn test_lvl1_flat_projection_smaller_dimension() { - assert!(0 == position_in_bitmap_64bits(0, 0, 0, 2)); - assert!(2 == position_in_bitmap_64bits(1, 0, 0, 2)); - assert!(8 == position_in_bitmap_64bits(0, 1, 0, 2)); - assert!(10 == position_in_bitmap_64bits(1, 1, 0, 2)); - assert!(32 == position_in_bitmap_64bits(0, 0, 1, 2)); - assert!(34 == position_in_bitmap_64bits(1, 0, 1, 2)); - assert!(40 == position_in_bitmap_64bits(0, 1, 1, 2)); - assert!(42 == position_in_bitmap_64bits(1, 1, 1, 2)); - } -} diff --git a/src/spatial/math/tests.rs b/src/spatial/math/tests.rs new file mode 100644 index 0000000..bfdc68c --- /dev/null +++ b/src/spatial/math/tests.rs @@ -0,0 +1,67 @@ +#[cfg(feature = "raytracing")] +#[cfg(test)] +mod intersection_tests { + + use crate::spatial::{ + raytracing::Ray, + raytracing::{cube_impact_normal, plane_line_intersection}, + Cube, V3c, + }; + + #[test] + fn test_negative_intersection() { + let plane_point = V3c::new(0., 0., 0.); + let plane_normal = V3c::new(0., 1., 0.); + let line_origin = V3c::new(0., 1., 0.); + let line_direction = V3c::new(0., 1., 0.); + assert!(plane_line_intersection( + &plane_point, + &plane_normal, + &line_origin, + &line_direction + ) + .is_some_and(|v| v == -1.)); + } + + #[test] + fn test_edge_case_cube_top_hit() { + let ray = Ray { + origin: V3c { + x: 8.965594, + y: 10.0, + z: -4.4292345, + }, + direction: V3c { + x: -0.5082971, + y: -0.72216684, + z: 0.46915793, + }, + }; + let t_hit = (Cube { + min_position: V3c::new(2.0, 0.0, 0.0), + size: 2.0, + }) + .intersect_ray(&ray) + .unwrap(); + + assert!(t_hit + .impact_distance + .is_some_and(|v| (v - 11.077772).abs() < 0.001)); + assert!((ray.point_at(t_hit.impact_distance.unwrap()).y - 2.).abs() < 0.001); + } + + #[test] + fn test_impact_normal() { + let cube = Cube { + min_position: V3c::unit(0.), + size: 2., + }; + + assert!(V3c::new(0., 0., 1.) == cube_impact_normal(&cube, &V3c::new(1., 1., 2.))); + assert!(V3c::new(0., 1., 0.) == cube_impact_normal(&cube, &V3c::new(1., 2., 1.))); + assert!(V3c::new(1., 0., 0.) == cube_impact_normal(&cube, &V3c::new(2., 1., 1.))); + assert!(V3c::new(0., 0., -1.) == cube_impact_normal(&cube, &V3c::new(1., 1., 0.))); + assert!(V3c::new(0., -1., 0.) == cube_impact_normal(&cube, &V3c::new(1., 0., 1.))); + assert!(V3c::new(-1., 0., 0.) == cube_impact_normal(&cube, &V3c::new(0., 1., 1.))); + } +} diff --git a/src/spatial/math/vector.rs b/src/spatial/math/vector.rs index 03f7942..448572e 100644 --- a/src/spatial/math/vector.rs +++ b/src/spatial/math/vector.rs @@ -29,6 +29,13 @@ impl V3c { pub fn normalized(self) -> V3c { self / self.length() } + pub fn signum(&self) -> V3c { + V3c { + x: self.x.signum(), + y: self.y.signum(), + z: self.z.signum(), + } + } } impl V3c { diff --git a/src/spatial/mod.rs b/src/spatial/mod.rs index 0d9be4a..2730c22 100644 --- a/src/spatial/mod.rs +++ b/src/spatial/mod.rs @@ -34,15 +34,4 @@ impl Cube { size: child_size, } } - - /// True if the given point is inside the cube, with coordinates in inclusive, exclusive range - /// Edges included - pub(crate) fn contains_point(&self, point: &V3c) -> bool { - (point.x >= self.min_position.x as f32 - FLOAT_ERROR_TOLERANCE) - && (point.x < (self.min_position.x + self.size) as f32 + FLOAT_ERROR_TOLERANCE) - && (point.y >= self.min_position.y as f32 - FLOAT_ERROR_TOLERANCE) - && (point.y < (self.min_position.y + self.size) as f32 + FLOAT_ERROR_TOLERANCE) - && (point.z >= self.min_position.z as f32 - FLOAT_ERROR_TOLERANCE) - && (point.z < (self.min_position.z + self.size) as f32 + FLOAT_ERROR_TOLERANCE) - } } diff --git a/src/spatial/raytracing/lut.rs b/src/spatial/raytracing/lut.rs index 935ee13..268dbda 100644 --- a/src/spatial/raytracing/lut.rs +++ b/src/spatial/raytracing/lut.rs @@ -1,9 +1,32 @@ use crate::octree::V3c; -use crate::spatial::math::{ - hash_direction, hash_region, octant_bitmask, position_in_bitmap_64bits, - set_occupancy_in_bitmap_64bits, +use crate::spatial::{ + math::{ + hash_direction, hash_region, octant_bitmask, position_in_bitmap_64bits, + set_occupancy_in_bitmap_64bits, + }, + offset_region, }; +#[allow(dead_code)] +fn convert_8bit_bitmap_to_64bit() { + for octant in 0..8 { + let min_pos = offset_region(octant); + let min_pos = V3c::new( + min_pos.x as usize * 2, + min_pos.y as usize * 2, + min_pos.z as usize * 2, + ); + let mut result_bitmap = 0; + for x in min_pos.x..(min_pos.x + 2) { + for y in min_pos.y..(min_pos.y + 2) { + for z in min_pos.z..(min_pos.z + 2) { + set_occupancy_in_bitmap_64bits(x, y, z, 4, true, &mut result_bitmap); + } + } + } + } +} + #[allow(dead_code)] fn generate_lut_64_bits() -> [[u64; 8]; 64] { // 64 poisitions, 8 directions @@ -113,6 +136,78 @@ fn generate_lut_8_bits() -> [[u8; 8]; 8] { bitmap_lut } +#[allow(dead_code)] +fn generate_octant_step_result_lut() { + let octant_after_step = |step_vector: &V3c, octant: u8| { + const SPACE_SIZE: f32 = 12.; + let octant_offset = offset_region(octant); + let octant_center = ( + SPACE_SIZE / 4. + octant_offset.x * (SPACE_SIZE / 2.), + SPACE_SIZE / 4. + octant_offset.y * (SPACE_SIZE / 2.), + SPACE_SIZE / 4. + octant_offset.z * (SPACE_SIZE / 2.), + ); + let step_signum = ( + step_vector.x.signum() as f32, + step_vector.y.signum() as f32, + step_vector.z.signum() as f32, + ); + let center_after_step = V3c::new( + octant_center.0 + step_signum.0 * (SPACE_SIZE / 2.), + octant_center.1 + step_signum.1 * (SPACE_SIZE / 2.), + octant_center.2 + step_signum.2 * (SPACE_SIZE / 2.), + ); + + if center_after_step.x < 0. + || center_after_step.x > SPACE_SIZE + || center_after_step.y < 0. + || center_after_step.z > SPACE_SIZE + || center_after_step.z < 0. + || center_after_step.z > SPACE_SIZE + { + OOB_OCTANT + } else { + hash_region(¢er_after_step, SPACE_SIZE) + } + }; + + let mut lut = [[[0; 3]; 3]; 3]; + for octant in 0..8 { + let octant_pos_in_32bits = 4 * octant; + for z in -1i32..=1 { + for y in -1i32..=1 { + for x in -1i32..=1 { + let result_octant = octant_after_step(&V3c::new(x, y, z), octant as u8); + lut[(x + 1) as usize][(y + 1) as usize][(z + 1) as usize] |= + (result_octant as u32 & 0x0F) << octant_pos_in_32bits; + let octant_in_lut = (lut[(x + 1) as usize][(y + 1) as usize][(z + 1) as usize] + & (0x0F << octant_pos_in_32bits)) + >> octant_pos_in_32bits; + assert!(octant_in_lut == result_octant as u32); + } + } + } + } +} + +pub const OOB_OCTANT: u8 = 8; +pub const OCTANT_STEP_RESULT_LUT: [[[u32; 3]; 3]; 3] = [ + [ + [143165576, 671647880, 2284357768], + [1216874632, 1749559304, 2288551976], + [2290632840, 2290640968, 2290649192], + ], + [ + [277383304, 839944328, 2285013128], + [1418203272, 1985229328, 2289469490], + [2290635912, 2290644564, 2290649206], + ], + [ + [2173208712, 2206304392, 2290321544], + [2240315784, 2273674113, 2290583683], + [2290648456, 2290648965, 2290649223], + ], +]; + pub const RAY_TO_NODE_OCCUPANCY_BITMASK_LUT: [[u8; 8]; 8] = [ [1, 3, 5, 15, 17, 51, 85, 255], [3, 2, 15, 10, 51, 34, 255, 170], diff --git a/src/spatial/raytracing/mod.rs b/src/spatial/raytracing/mod.rs index 970382e..e7653fe 100644 --- a/src/spatial/raytracing/mod.rs +++ b/src/spatial/raytracing/mod.rs @@ -1,6 +1,7 @@ -use crate::spatial::{math::vector::V3c, Cube, FLOAT_ERROR_TOLERANCE}; +use crate::spatial::{math::vector::V3c, raytracing::lut::OCTANT_STEP_RESULT_LUT, Cube}; pub mod lut; +mod tests; #[derive(Debug)] pub struct Ray { @@ -21,8 +22,6 @@ impl Ray { #[derive(Debug, Copy, Clone, Default)] pub struct CubeRayIntersection { pub(crate) impact_distance: Option, - pub(crate) exit_distance: f32, - pub(crate) impact_normal: V3c, } impl Cube { @@ -50,34 +49,81 @@ impl Cube { return None; } - let p = ray.point_at(tmin); - let mut impact_normal = V3c::unit(0.); - if (p.x - self.min_position.x as f32).abs() < FLOAT_ERROR_TOLERANCE { - impact_normal.x = -1.; - } else if (p.x - (self.min_position.x + self.size) as f32).abs() < FLOAT_ERROR_TOLERANCE { - impact_normal.x = 1.; - } else if (p.y - self.min_position.y as f32).abs() < FLOAT_ERROR_TOLERANCE { - impact_normal.y = -1.; - } else if (p.y - (self.min_position.y + self.size) as f32).abs() < FLOAT_ERROR_TOLERANCE { - impact_normal.y = 1.; - } else if (p.z - self.min_position.z as f32).abs() < FLOAT_ERROR_TOLERANCE { - impact_normal.z = -1.; - } else if (p.z - (self.min_position.z + self.size) as f32).abs() < FLOAT_ERROR_TOLERANCE { - impact_normal.z = 1.; - } - if tmin < 0.0 { return Some(CubeRayIntersection { impact_distance: None, - exit_distance: tmax, - impact_normal, }); } Some(CubeRayIntersection { impact_distance: Some(tmin), - exit_distance: tmax, - impact_normal, }) } } + +/// Provides the resulting octant based on the given octant and a direction it is stepping to +/// It returns with 8 if the resulting octant is out of bounds. +/// Important note: the specs of `signum` behvaes differently for f32 and i32 +/// So the conversion to i32 is absolutely required +pub(crate) fn step_octant(octant: u8, step: V3c) -> u8 { + let octant_pos_in_32bits = 4 * octant; + ((OCTANT_STEP_RESULT_LUT[((step.x as i32).signum() + 1) as usize] + [((step.y as i32).signum() + 1) as usize][((step.z as i32).signum() + 1) as usize] + & (0x0F << octant_pos_in_32bits)) + >> octant_pos_in_32bits) as u8 +} + +/// calculates the distance between the line, and the plane both described by a ray +/// plane: normal, and a point on plane, line: origin and direction +/// return the distance from the line origin to the direction of it, if they have an intersection +#[allow(dead_code)] // Could be useful either for debugging or new implementations +pub fn plane_line_intersection( + plane_point: &V3c, + plane_normal: &V3c, + line_origin: &V3c, + line_direction: &V3c, +) -> Option { + let origins_diff = *plane_point - *line_origin; + let plane_line_dot_to_plane = origins_diff.dot(plane_normal); + let directions_dot = line_direction.dot(plane_normal); + if 0. == directions_dot { + // line and plane is paralell + if 0. == origins_diff.dot(plane_normal) { + // The distance is zero because the origin is already on the plane + return Some(0.); + } + return None; + } + Some(plane_line_dot_to_plane / directions_dot) +} + +pub fn cube_impact_normal(cube: &Cube, impact_point: &V3c) -> V3c { + let mid_to_impact = + V3c::from(cube.min_position) + V3c::unit(cube.size as f32 / 2.) - *impact_point; + let max_component = mid_to_impact + .x + .abs() + .max(mid_to_impact.y.abs()) + .max(mid_to_impact.z.abs()); + + let impact_normal = V3c::new( + if mid_to_impact.x.abs() == max_component { + -mid_to_impact.x + } else { + 0. + }, + if mid_to_impact.y.abs() == max_component { + -mid_to_impact.y + } else { + 0. + }, + if mid_to_impact.z.abs() == max_component { + -mid_to_impact.z + } else { + 0. + }, + ); + + debug_assert!(0. < impact_normal.length()); + impact_normal.normalized() +} diff --git a/src/spatial/raytracing/tests.rs b/src/spatial/raytracing/tests.rs new file mode 100644 index 0000000..9ad2513 --- /dev/null +++ b/src/spatial/raytracing/tests.rs @@ -0,0 +1,279 @@ +#[cfg(test)] +mod raytracing_tests { + use crate::spatial::{raytracing::plane_line_intersection, raytracing::Ray, Cube, V3c}; + + #[test] + fn test_plane_line_intersection() { + assert!( + plane_line_intersection( + // plane + &V3c::new(0., 0., 0.), + &V3c::new(0., 1., 0.), + // line + &V3c::new(0., 1., 0.), + &V3c::new(1., 0., 0.), + ) == None + ); + + assert!( + plane_line_intersection( + // plane + &V3c::new(0., 0., 0.), + &V3c::new(0., 1., 0.), + // line + &V3c::new(0., 1., 0.), + &V3c::new(0., -1., 0.), + ) == Some(1.) + ); + + assert!( + plane_line_intersection( + // plane + &V3c::new(0., 0., 0.), + &V3c::new(0., 1., 0.), + // line + &V3c::new(0., 0., 0.), + &V3c::new(1., 0., 0.), + ) == Some(0.) + ); + } + + #[test] + fn test_cube_bounds() { + let cube = Cube { + min_position: V3c::default(), + size: 10.0, + }; + + // Test front bottom left + let bound_fbl = Cube::child_bounds_for(&cube, 0); + assert!(bound_fbl.min_position == V3c::unit(0.0)); + assert!(bound_fbl.size == 5.0); + + // Test front bottom right + let bound_fbl = Cube::child_bounds_for(&cube, 1); + assert!(bound_fbl.min_position == V3c::new(5.0, 0.0, 0.0)); + assert!(bound_fbl.size == 5.0); + + // Test back bottom left + let bound_fbl = Cube::child_bounds_for(&cube, 2); + assert!(bound_fbl.min_position == V3c::new(0.0, 0.0, 5.0)); + assert!(bound_fbl.size == 5.0); + + // Test back bottom right + let bound_fbl = Cube::child_bounds_for(&cube, 3); + assert!(bound_fbl.min_position == V3c::new(5.0, 0.0, 5.0)); + assert!(bound_fbl.size == 5.0); + + // Test front top left + let bound_fbl = Cube::child_bounds_for(&cube, 4); + assert!(bound_fbl.min_position == V3c::new(0.0, 5.0, 0.0)); + assert!(bound_fbl.size == 5.0); + + // Test front top right + let bound_fbl = Cube::child_bounds_for(&cube, 5); + assert!(bound_fbl.min_position == V3c::new(5.0, 5.0, 0.0)); + assert!(bound_fbl.size == 5.0); + + // Test back top left + let bound_fbl = Cube::child_bounds_for(&cube, 6); + assert!(bound_fbl.min_position == V3c::new(0.0, 5.0, 5.0)); + assert!(bound_fbl.size == 5.0); + + // Test back top right + let bound_fbl = Cube::child_bounds_for(&cube, 7); + assert!(bound_fbl.min_position == V3c::new(5.0, 5.0, 5.0)); + assert!(bound_fbl.size == 5.0); + } + + #[test] + fn test_cube_contains_ray() { + let cube = Cube { + min_position: V3c::unit(0.0), + size: 4.0, + }; + + let ray_above = Ray { + origin: V3c { + x: 2., + y: 5., + z: 2., + }, + direction: V3c { + x: 0., + y: -1., + z: 0., + }, + }; + assert!(cube.intersect_ray(&ray_above).is_some()); + + let ray_below = Ray { + origin: V3c { + x: 2., + y: -5., + z: 2., + }, + direction: V3c { + x: 0., + y: 1., + z: 0., + }, + }; + assert!(cube.intersect_ray(&ray_below).is_some()); + + let ray_miss = Ray { + origin: V3c { + x: 2., + y: 5., + z: 2., + }, + direction: V3c { + x: 0., + y: 1., + z: 0., + }, + }; + assert!(cube.intersect_ray(&ray_miss).is_none()); + + let ray_hit = Ray { + origin: V3c { + x: -1., + y: -1., + z: -1., + }, + direction: V3c { + x: 1., + y: 1., + z: 1., + } + .normalized(), + }; + + assert!(cube.intersect_ray(&ray_hit).is_some()); + + let corner_hit = Ray { + origin: V3c { + x: -1., + y: -1., + z: -1., + }, + direction: V3c { + x: 1., + y: 1., + z: 1., + } + .normalized(), + }; + + assert!(cube.intersect_ray(&corner_hit).is_some()); + + let origin = V3c { + x: 4., + y: -1., + z: 4., + }; + let corner_miss = Ray { + direction: (V3c { + x: 4.055, + y: 4.055, + z: 4.055, + } - origin) + .normalized(), + origin, + }; + assert!(!cube.intersect_ray(&corner_miss).is_some()); + + let ray_still_miss = Ray { + origin: V3c { + x: -1., + y: -1., + z: -1., + }, + direction: V3c { + x: 1., + y: 100., + z: 1., + } + .normalized(), + }; + assert!(cube.intersect_ray(&ray_still_miss).is_none()); + } + + #[test] + fn test_edge_case_cube_intersect_inwards_pointing_vector() { + let ray = Ray { + origin: V3c { + x: 8.0, + y: 4.0, + z: 5.0, + }, + direction: V3c { + x: -0.842701, + y: -0.24077171, + z: -0.48154342, + }, + }; + let cube = Cube { + min_position: V3c { + x: 0.0, + y: 0.0, + z: 0.0, + }, + size: 8.0, + }; + let hit = cube.intersect_ray(&ray).unwrap(); + assert!(hit.impact_distance.is_some() && hit.impact_distance.unwrap() == 0.); + } + + #[test] + fn test_edge_case_cube_internal_ray_targeting_corners() { + let ray = Ray { + origin: V3c { + x: 5.0, + y: 8.0, + z: 5.0, + }, + direction: V3c { + x: -0.48507127, + y: -0.7276069, + z: -0.48507127, + }, + }; + let cube = Cube { + min_position: V3c { + x: 0.0, + y: 0.0, + z: 0.0, + }, + size: 16.0, + }; + let hit = cube.intersect_ray(&ray).unwrap(); + assert!(hit.impact_distance.is_none()); + } + + #[test] + fn test_edge_case_cube_bottom_edge() { + let ray = Ray { + origin: V3c { + x: 6.0, + y: 7.0, + z: 6.0, + }, + direction: V3c { + x: -0.6154574, + y: -0.49236596, + z: -0.6154574, + }, + }; + let cube = Cube { + min_position: V3c { + x: 0.0, + y: 2.0, + z: 0.0, + }, + size: 2.0, + }; + let hit = cube.intersect_ray(&ray).unwrap(); + assert!(hit.impact_distance.is_some_and(|d| (d > 0.0))); + } +} diff --git a/src/spatial/tests.rs b/src/spatial/tests.rs index 365d740..010c57a 100644 --- a/src/spatial/tests.rs +++ b/src/spatial/tests.rs @@ -16,7 +16,6 @@ mod vector_tests { #[cfg(test)] mod octant_tests { - use crate::spatial::math::hash_region; use crate::spatial::math::offset_region; use crate::spatial::V3c; @@ -46,340 +45,71 @@ mod octant_tests { } } -#[cfg(feature = "raytracing")] #[cfg(test)] -mod intersection_tests { +mod bitmask_tests { - use crate::spatial::{math::plane_line_intersection, raytracing::Ray, Cube, V3c}; + use crate::spatial::math::{flat_projection, octant_bitmask, position_in_bitmap_64bits}; + use std::collections::HashSet; #[test] - fn test_negative_intersection() { - let plane_point = V3c::new(0., 0., 0.); - let plane_normal = V3c::new(0., 1., 0.); - let line_origin = V3c::new(0., 1., 0.); - let line_direction = V3c::new(0., 1., 0.); - assert!(plane_line_intersection( - &plane_point, - &plane_normal, - &line_origin, - &line_direction - ) - .is_some_and(|v| v == -1.)); - } - - #[test] - fn test_edge_case_cube_top_hit() { - let ray = Ray { - origin: V3c { - x: 8.965594, - y: 10.0, - z: -4.4292345, - }, - direction: V3c { - x: -0.5082971, - y: -0.72216684, - z: 0.46915793, - }, - }; - let t_hit = (Cube { - min_position: V3c::new(2.0, 0.0, 0.0), - size: 2.0, - }) - .intersect_ray(&ray) - .unwrap(); - - assert!(t_hit - .impact_distance - .is_some_and(|v| (v - 11.077772).abs() < 0.001)); - assert!((ray.point_at(t_hit.impact_distance.unwrap()).y - 2.).abs() < 0.001); + fn test_lvl2_flat_projection() { + for octant in 0..8 { + let bitmask = octant_bitmask(octant); + for compare_octant in 0..8 { + assert!(compare_octant == octant || 0 == bitmask & octant_bitmask(compare_octant)); + } + } } -} - -#[cfg(feature = "raytracing")] -#[cfg(test)] -mod raytracing_tests { - use crate::spatial::{math::plane_line_intersection, raytracing::Ray, Cube, V3c}; #[test] - fn test_plane_line_intersection() { - assert!( - plane_line_intersection( - // plane - &V3c::new(0., 0., 0.), - &V3c::new(0., 1., 0.), - // line - &V3c::new(0., 1., 0.), - &V3c::new(1., 0., 0.), - ) == None - ); - - assert!( - plane_line_intersection( - // plane - &V3c::new(0., 0., 0.), - &V3c::new(0., 1., 0.), - // line - &V3c::new(0., 1., 0.), - &V3c::new(0., -1., 0.), - ) == Some(1.) - ); - + fn test_flat_projection() { + const DIMENSION: usize = 10; + assert!(0 == flat_projection(0, 0, 0, DIMENSION)); + assert!(DIMENSION == flat_projection(10, 0, 0, DIMENSION)); + assert!(DIMENSION == flat_projection(0, 1, 0, DIMENSION)); + assert!(DIMENSION * DIMENSION == flat_projection(0, 0, 1, DIMENSION)); + assert!(DIMENSION * DIMENSION * 4 == flat_projection(0, 0, 4, DIMENSION)); + assert!((DIMENSION * DIMENSION * 4) + 3 == flat_projection(3, 0, 4, DIMENSION)); assert!( - plane_line_intersection( - // plane - &V3c::new(0., 0., 0.), - &V3c::new(0., 1., 0.), - // line - &V3c::new(0., 0., 0.), - &V3c::new(1., 0., 0.), - ) == Some(0.) + (DIMENSION * DIMENSION * 4) + (DIMENSION * 2) + 3 + == flat_projection(3, 2, 4, DIMENSION) ); - } - - #[test] - fn test_cube_bounds() { - let cube = Cube { - min_position: V3c::default(), - size: 10.0, - }; - - // Test front bottom left - let bound_fbl = Cube::child_bounds_for(&cube, 0); - assert!(bound_fbl.min_position == V3c::unit(0.0)); - assert!(bound_fbl.size == 5.0); - - // Test front bottom right - let bound_fbl = Cube::child_bounds_for(&cube, 1); - assert!(bound_fbl.min_position == V3c::new(5.0, 0.0, 0.0)); - assert!(bound_fbl.size == 5.0); - // Test back bottom left - let bound_fbl = Cube::child_bounds_for(&cube, 2); - assert!(bound_fbl.min_position == V3c::new(0.0, 0.0, 5.0)); - assert!(bound_fbl.size == 5.0); - - // Test back bottom right - let bound_fbl = Cube::child_bounds_for(&cube, 3); - assert!(bound_fbl.min_position == V3c::new(5.0, 0.0, 5.0)); - assert!(bound_fbl.size == 5.0); - - // Test front top left - let bound_fbl = Cube::child_bounds_for(&cube, 4); - assert!(bound_fbl.min_position == V3c::new(0.0, 5.0, 0.0)); - assert!(bound_fbl.size == 5.0); - - // Test front top right - let bound_fbl = Cube::child_bounds_for(&cube, 5); - assert!(bound_fbl.min_position == V3c::new(5.0, 5.0, 0.0)); - assert!(bound_fbl.size == 5.0); - - // Test back top left - let bound_fbl = Cube::child_bounds_for(&cube, 6); - assert!(bound_fbl.min_position == V3c::new(0.0, 5.0, 5.0)); - assert!(bound_fbl.size == 5.0); - - // Test back top right - let bound_fbl = Cube::child_bounds_for(&cube, 7); - assert!(bound_fbl.min_position == V3c::new(5.0, 5.0, 5.0)); - assert!(bound_fbl.size == 5.0); - } - - #[cfg(feature = "raytracing")] - #[test] - fn test_cube_contains_ray() { - let cube = Cube { - min_position: V3c::unit(0.0), - size: 4.0, - }; - - let ray_above = Ray { - origin: V3c { - x: 2., - y: 5., - z: 2., - }, - direction: V3c { - x: 0., - y: -1., - z: 0., - }, - }; - assert!(cube.intersect_ray(&ray_above).is_some()); - - let ray_below = Ray { - origin: V3c { - x: 2., - y: -5., - z: 2., - }, - direction: V3c { - x: 0., - y: 1., - z: 0., - }, - }; - assert!(cube.intersect_ray(&ray_below).is_some()); - - let ray_miss = Ray { - origin: V3c { - x: 2., - y: 5., - z: 2., - }, - direction: V3c { - x: 0., - y: 1., - z: 0., - }, - }; - assert!(cube.intersect_ray(&ray_miss).is_none()); - - let ray_hit = Ray { - origin: V3c { - x: -1., - y: -1., - z: -1., - }, - direction: V3c { - x: 1., - y: 1., - z: 1., - } - .normalized(), - }; - - assert!(cube.intersect_ray(&ray_hit).is_some()); - - let corner_hit = Ray { - origin: V3c { - x: -1., - y: -1., - z: -1., - }, - direction: V3c { - x: 1., - y: 1., - z: 1., + let mut number_coverage = HashSet::new(); + for x in 0..DIMENSION { + for y in 0..DIMENSION { + for z in 0..DIMENSION { + let address = flat_projection(x, y, z, DIMENSION); + assert!(!number_coverage.contains(&address)); + number_coverage.insert(address); + } } - .normalized(), - }; - - assert!(cube.intersect_ray(&corner_hit).is_some()); - - let origin = V3c { - x: 4., - y: -1., - z: 4., - }; - let corner_miss = Ray { - direction: (V3c { - x: 4.055, - y: 4.055, - z: 4.055, - } - origin) - .normalized(), - origin, - }; - assert!(!cube.intersect_ray(&corner_miss).is_some()); - - let ray_still_miss = Ray { - origin: V3c { - x: -1., - y: -1., - z: -1., - }, - direction: V3c { - x: 1., - y: 100., - z: 1., - } - .normalized(), - }; - assert!(cube.intersect_ray(&ray_still_miss).is_none()); + } } - #[cfg(feature = "raytracing")] #[test] - fn test_edge_case_cube_intersect_inwards_pointing_vector() { - let ray = Ray { - origin: V3c { - x: 8.0, - y: 4.0, - z: 5.0, - }, - direction: V3c { - x: -0.842701, - y: -0.24077171, - z: -0.48154342, - }, - }; - let cube = Cube { - min_position: V3c { - x: 0.0, - y: 0.0, - z: 0.0, - }, - size: 8.0, - }; - let hit = cube.intersect_ray(&ray).unwrap(); - assert!(hit.impact_distance.is_some() && hit.impact_distance.unwrap() == 0.); - assert!(hit.exit_distance > 0.); + fn test_lvl1_flat_projection_exact_size_match() { + assert!(0 == position_in_bitmap_64bits(0, 0, 0, 4)); + assert!(32 == position_in_bitmap_64bits(0, 0, 2, 4)); + assert!(63 == position_in_bitmap_64bits(3, 3, 3, 4)); } - #[cfg(feature = "raytracing")] #[test] - fn test_edge_case_cube_internal_ray_targeting_corners() { - let ray = Ray { - origin: V3c { - x: 5.0, - y: 8.0, - z: 5.0, - }, - direction: V3c { - x: -0.48507127, - y: -0.7276069, - z: -0.48507127, - }, - }; - let cube = Cube { - min_position: V3c { - x: 0.0, - y: 0.0, - z: 0.0, - }, - size: 16.0, - }; - let hit = cube.intersect_ray(&ray).unwrap(); - assert!(hit.impact_distance.is_none()); - assert!(hit.exit_distance > 0.); + fn test_lvl1_flat_projection_greater_dimension() { + assert!(0 == position_in_bitmap_64bits(0, 0, 0, 10)); + assert!(32 == position_in_bitmap_64bits(0, 0, 5, 10)); + assert!(42 == position_in_bitmap_64bits(5, 5, 5, 10)); + assert!(63 == position_in_bitmap_64bits(9, 9, 9, 10)); } - - #[cfg(feature = "raytracing")] #[test] - fn test_edge_case_cube_bottom_edge() { - let ray = Ray { - origin: V3c { - x: 6.0, - y: 7.0, - z: 6.0, - }, - direction: V3c { - x: -0.6154574, - y: -0.49236596, - z: -0.6154574, - }, - }; - let cube = Cube { - min_position: V3c { - x: 0.0, - y: 2.0, - z: 0.0, - }, - size: 2.0, - }; - let hit = cube.intersect_ray(&ray).unwrap(); - assert!(hit - .impact_distance - .is_some_and(|d| (d > 0.0) && d < hit.exit_distance)); + fn test_lvl1_flat_projection_smaller_dimension() { + assert!(0 == position_in_bitmap_64bits(0, 0, 0, 2)); + assert!(2 == position_in_bitmap_64bits(1, 0, 0, 2)); + assert!(8 == position_in_bitmap_64bits(0, 1, 0, 2)); + assert!(10 == position_in_bitmap_64bits(1, 1, 0, 2)); + assert!(32 == position_in_bitmap_64bits(0, 0, 1, 2)); + assert!(34 == position_in_bitmap_64bits(1, 0, 1, 2)); + assert!(40 == position_in_bitmap_64bits(0, 1, 1, 2)); + assert!(42 == position_in_bitmap_64bits(1, 1, 1, 2)); } }