[INFO] cloning repository https://github.com/jaytroy/gravity [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jaytroy/gravity" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjaytroy%2Fgravity", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjaytroy%2Fgravity'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 69b175310f0072e424d1eb7addf2a748b4c3349a [INFO] checking jaytroy/gravity against f10db292a3733b5c67c8da8c7661195ff4b05774 for pr-158914 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjaytroy%2Fgravity" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jaytroy/gravity [INFO] finished tweaking git repo https://github.com/jaytroy/gravity [INFO] tweaked toml for git repo https://github.com/jaytroy/gravity written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jaytroy/gravity on toolchain f10db292a3733b5c67c8da8c7661195ff4b05774 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f10db292a3733b5c67c8da8c7661195ff4b05774" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jaytroy/gravity already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f10db292a3733b5c67c8da8c7661195ff4b05774" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded peniko v0.6.1 [INFO] [stderr] Downloaded gl v0.14.0 [INFO] [stderr] Downloaded accesskit v0.24.1 [INFO] [stderr] Downloaded polycool v0.4.0 [INFO] [stderr] Downloaded ecolor v0.34.3 [INFO] [stderr] Downloaded emath v0.34.3 [INFO] [stderr] Downloaded color v0.3.3 [INFO] [stderr] Downloaded epaint v0.34.3 [INFO] [stderr] Downloaded kurbo v0.13.1 [INFO] [stderr] Downloaded egui v0.34.3 [INFO] [stderr] Downloaded epaint_default_fonts v0.34.3 [INFO] [stderr] Downloaded egui_sdl2_gl v0.33.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] eac8c1cc2e9aeff899b9a3d1ae5568838527ad07fd2447473f669455979e4f25 [INFO] running `Command { std: "docker" "start" "eac8c1cc2e9aeff899b9a3d1ae5568838527ad07fd2447473f669455979e4f25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eac8c1cc2e9aeff899b9a3d1ae5568838527ad07fd2447473f669455979e4f25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "eac8c1cc2e9aeff899b9a3d1ae5568838527ad07fd2447473f669455979e4f25" "/opt/rustwide/cargo-home/bin/cargo" "+f10db292a3733b5c67c8da8c7661195ff4b05774" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eac8c1cc2e9aeff899b9a3d1ae5568838527ad07fd2447473f669455979e4f25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "eac8c1cc2e9aeff899b9a3d1ae5568838527ad07fd2447473f669455979e4f25" "/opt/rustwide/cargo-home/bin/cargo" "+f10db292a3733b5c67c8da8c7661195ff4b05774" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Checking smallvec v1.15.2 [INFO] [stderr] Compiling shlex v2.0.1 [INFO] [stderr] Compiling zerocopy v0.8.52 [INFO] [stderr] Checking log v0.4.32 [INFO] [stderr] Checking polycool v0.4.0 [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Checking profiling v1.0.18 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Checking linebender_resource_handle v0.1.1 [INFO] [stderr] Checking hashbrown v0.16.1 [INFO] [stderr] Checking emath v0.33.3 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Checking emath v0.34.3 [INFO] [stderr] Checking rand_core v0.10.1 [INFO] [stderr] Checking bitflags v2.13.0 [INFO] [stderr] Compiling sdl2 v0.38.0 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking epaint_default_fonts v0.33.3 [INFO] [stderr] Checking unicode-segmentation v1.13.3 [INFO] [stderr] Checking self_cell v1.2.2 [INFO] [stderr] Checking uuid v1.23.3 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking epaint_default_fonts v0.34.3 [INFO] [stderr] Compiling cc v1.2.63 [INFO] [stderr] Checking ecolor v0.34.3 [INFO] [stderr] Checking chacha20 v0.10.0 [INFO] [stderr] Checking getrandom v0.4.2 [INFO] [stderr] Checking kurbo v0.13.1 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking rand v0.10.1 [INFO] [stderr] Checking ecolor v0.33.3 [INFO] [stderr] Checking accesskit v0.24.1 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Compiling cmake v0.1.58 [INFO] [stderr] Compiling sdl2-sys v0.38.0 [INFO] [stderr] Compiling bytemuck_derive v1.10.2 [INFO] [stderr] Checking bytemuck v1.25.0 [INFO] [stderr] Checking color v0.3.3 [INFO] [stderr] Checking font-types v0.11.3 [INFO] [stderr] Checking fearless_simd v0.3.0 [INFO] [stderr] Checking read-fonts v0.37.0 [INFO] [stderr] Checking peniko v0.6.1 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Checking epaint v0.33.3 [INFO] [stderr] Checking vello_common v0.0.6 [INFO] [stderr] Checking egui v0.33.3 [INFO] [stderr] Checking vello_cpu v0.0.6 [INFO] [stderr] Checking skrifa v0.40.0 [INFO] [stderr] Checking epaint v0.34.3 [INFO] [stderr] Checking egui v0.34.3 [INFO] [stderr] Checking egui_sdl2_gl v0.33.2 [INFO] [stderr] Checking gravity v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `create_triangle_vertices` [INFO] [stdout] --> src/app.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::triangle::{Triangle, create_triangle_vertices, setup_triangle}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `create_triangle_vertices` [INFO] [stdout] --> src/app.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::triangle::{Triangle, create_triangle_vertices, setup_triangle}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `glow::HasContext::create_shader` is unsafe and requires unsafe block [INFO] [stdout] --> src/triangle.rs:118:26 [INFO] [stdout] | [INFO] [stdout] 118 | let shader = gl.create_shader(shader_type).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/triangle.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | / pub unsafe fn setup_triangle( [INFO] [stdout] 93 | | gl: &glow::Context, [INFO] [stdout] 94 | | program: glow::NativeProgram, [INFO] [stdout] 95 | | ) -> ( [INFO] [stdout] ... | [INFO] [stdout] 98 | | glow::NativeBuffer, [INFO] [stdout] 99 | | ) { [INFO] [stdout] | |_____^ [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `glow::HasContext::create_shader` is unsafe and requires unsafe block [INFO] [stdout] --> src/triangle.rs:118:26 [INFO] [stdout] | [INFO] [stdout] 118 | let shader = gl.create_shader(shader_type).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/triangle.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | / pub unsafe fn setup_triangle( [INFO] [stdout] 93 | | gl: &glow::Context, [INFO] [stdout] 94 | | program: glow::NativeProgram, [INFO] [stdout] 95 | | ) -> ( [INFO] [stdout] ... | [INFO] [stdout] 98 | | glow::NativeBuffer, [INFO] [stdout] 99 | | ) { [INFO] [stdout] | |_____^ [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `glow::HasContext::shader_source` is unsafe and requires unsafe block [INFO] [stdout] --> src/triangle.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | gl.shader_source(shader, src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `glow::HasContext::compile_shader` is unsafe and requires unsafe block [INFO] [stdout] --> src/triangle.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | gl.compile_shader(shader); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `glow::HasContext::get_shader_compile_status` is unsafe and requires unsafe block [INFO] [stdout] --> src/triangle.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 122 | gl.get_shader_compile_status(shader), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `glow::HasContext::get_shader_info_log` is unsafe and requires unsafe block [INFO] [stdout] --> src/triangle.rs:124:17 [INFO] [stdout] | [INFO] [stdout] 124 | gl.get_shader_info_log(shader) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `glow::HasContext::attach_shader` is unsafe and requires unsafe block [INFO] [stdout] --> src/triangle.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | gl.attach_shader(program, shader); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `glow::HasContext::delete_shader` is unsafe and requires unsafe block [INFO] [stdout] --> src/triangle.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | gl.delete_shader(shader); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `glow::HasContext::link_program` is unsafe and requires unsafe block [INFO] [stdout] --> src/triangle.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | gl.link_program(program); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `glow::HasContext::get_program_link_status` is unsafe and requires unsafe block [INFO] [stdout] --> src/triangle.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | gl.get_program_link_status(program), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `glow::HasContext::get_program_info_log` is unsafe and requires unsafe block [INFO] [stdout] --> src/triangle.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | gl.get_program_info_log(program) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `glow::HasContext::create_vertex_array` is unsafe and requires unsafe block [INFO] [stdout] --> src/triangle.rs:136:19 [INFO] [stdout] | [INFO] [stdout] 136 | let vao = gl.create_vertex_array().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `glow::HasContext::shader_source` is unsafe and requires unsafe block [INFO] [stdout] --> src/triangle.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | gl.shader_source(shader, src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `glow::HasContext::compile_shader` is unsafe and requires unsafe block [INFO] [stdout] --> src/triangle.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | gl.compile_shader(shader); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `glow::HasContext::get_shader_compile_status` is unsafe and requires unsafe block [INFO] [stdout] --> src/triangle.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 122 | gl.get_shader_compile_status(shader), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `glow::HasContext::get_shader_info_log` is unsafe and requires unsafe block [INFO] [stdout] --> src/triangle.rs:124:17 [INFO] [stdout] | [INFO] [stdout] 124 | gl.get_shader_info_log(shader) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `glow::HasContext::attach_shader` is unsafe and requires unsafe block [INFO] [stdout] --> src/triangle.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | gl.attach_shader(program, shader); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `glow::HasContext::delete_shader` is unsafe and requires unsafe block [INFO] [stdout] --> src/triangle.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | gl.delete_shader(shader); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `glow::HasContext::link_program` is unsafe and requires unsafe block [INFO] [stdout] --> src/triangle.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | gl.link_program(program); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `glow::HasContext::get_program_link_status` is unsafe and requires unsafe block [INFO] [stdout] --> src/triangle.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | gl.get_program_link_status(program), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `glow::HasContext::get_program_info_log` is unsafe and requires unsafe block [INFO] [stdout] --> src/triangle.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | gl.get_program_info_log(program) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `glow::HasContext::create_vertex_array` is unsafe and requires unsafe block [INFO] [stdout] --> src/triangle.rs:136:19 [INFO] [stdout] | [INFO] [stdout] 136 | let vao = gl.create_vertex_array().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `glow::HasContext::bind_vertex_array` is unsafe and requires unsafe block [INFO] [stdout] --> src/triangle.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | gl.bind_vertex_array(Some(vao)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `glow::HasContext::create_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/triangle.rs:139:19 [INFO] [stdout] | [INFO] [stdout] 139 | let vbo = gl.create_buffer().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `glow::HasContext::bind_vertex_array` is unsafe and requires unsafe block [INFO] [stdout] --> src/triangle.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | gl.bind_vertex_array(Some(vao)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `glow::HasContext::create_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/triangle.rs:139:19 [INFO] [stdout] | [INFO] [stdout] 139 | let vbo = gl.create_buffer().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `glow::HasContext::bind_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/triangle.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | gl.bind_buffer(glow::ARRAY_BUFFER, Some(vbo)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `glow::HasContext::vertex_attrib_pointer_f32` is unsafe and requires unsafe block [INFO] [stdout] --> src/triangle.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | gl.vertex_attrib_pointer_f32(0, 2, glow::FLOAT, false, 8, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `glow::HasContext::enable_vertex_attrib_array` is unsafe and requires unsafe block [INFO] [stdout] --> src/triangle.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | gl.enable_vertex_attrib_array(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `glow::HasContext::bind_buffer` is unsafe and requires unsafe block [INFO] [stdout] --> src/triangle.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | gl.bind_buffer(glow::ARRAY_BUFFER, Some(vbo)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `glow::HasContext::vertex_attrib_pointer_f32` is unsafe and requires unsafe block [INFO] [stdout] --> src/triangle.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | gl.vertex_attrib_pointer_f32(0, 2, glow::FLOAT, false, 8, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `glow::HasContext::enable_vertex_attrib_array` is unsafe and requires unsafe block [INFO] [stdout] --> src/triangle.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | gl.enable_vertex_attrib_array(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/app.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | let mut triangle1: Triangle = Triangle::new(v1, v2, v3); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/app.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | let mut triangle2: Triangle = Triangle::new(v3, v1, v2); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/app.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | let mut entity1: Entity = Entity::new(triangle1, transform1); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/app.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | let mut entity2: Entity = Entity::new(triangle2, transform2); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/app.rs:144:21 [INFO] [stdout] | [INFO] [stdout] 144 | let mut entity = self.entities.get_mut(0).unwrap(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/app.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | let mut triangle1: Triangle = Triangle::new(v1, v2, v3); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/app.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | let mut triangle2: Triangle = Triangle::new(v3, v1, v2); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/app.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | let mut entity1: Entity = Entity::new(triangle1, transform1); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/app.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | let mut entity2: Entity = Entity::new(triangle2, transform2); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/app.rs:144:21 [INFO] [stdout] | [INFO] [stdout] 144 | let mut entity = self.entities.get_mut(0).unwrap(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `is_selected` are never read [INFO] [stdout] --> src/triangle.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Triangle { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 6 | id: i8, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 10 | pub is_selected: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/transform.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Transform { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 8 | pub fn new(offset_x: f32, offset_y: f32, rotation: f32) -> Transform { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `is_selected` are never read [INFO] [stdout] --> src/triangle.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Triangle { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 6 | id: i8, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 10 | pub is_selected: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/transform.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Transform { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 8 | pub fn new(offset_x: f32, offset_y: f32, rotation: f32) -> Transform { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 39s [INFO] running `Command { std: "docker" "inspect" "eac8c1cc2e9aeff899b9a3d1ae5568838527ad07fd2447473f669455979e4f25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eac8c1cc2e9aeff899b9a3d1ae5568838527ad07fd2447473f669455979e4f25", kill_on_drop: false }` [INFO] [stdout] eac8c1cc2e9aeff899b9a3d1ae5568838527ad07fd2447473f669455979e4f25