An issue exists in the glsl-layout crate prior to 0.4.0 for Rust. When a panic occurs, map_array can perform a double drop.
glsl-layout project glsl-layout