[INFO] crate rusty_gl 0.1.7 is already in cache [INFO] testing rusty_gl-0.1.7 against beta-2020-06-03 for beta-1.45-1 [INFO] extracting crate rusty_gl 0.1.7 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate rusty_gl 0.1.7 on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate rusty_gl 0.1.7 [INFO] finished tweaking crates.io crate rusty_gl 0.1.7 [INFO] tweaked toml for crates.io crate rusty_gl 0.1.7 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d38c99593b95029093e6e20ffd652c0baf13de6fda007744b6a3ff61d0ee5d03 [INFO] running `"docker" "start" "-a" "d38c99593b95029093e6e20ffd652c0baf13de6fda007744b6a3ff61d0ee5d03"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling khronos_api v2.2.0 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling gl_generator v0.6.1 [INFO] [stderr] Compiling gl v0.6.5 [INFO] [stderr] Compiling rusty_gl v0.1.7 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 16.63s [INFO] running `"docker" "inspect" "d38c99593b95029093e6e20ffd652c0baf13de6fda007744b6a3ff61d0ee5d03"` [INFO] running `"docker" "rm" "-f" "d38c99593b95029093e6e20ffd652c0baf13de6fda007744b6a3ff61d0ee5d03"` [INFO] [stdout] d38c99593b95029093e6e20ffd652c0baf13de6fda007744b6a3ff61d0ee5d03 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "test" "--frozen" "--no-run"` [INFO] [stdout] 5128480840a5362f1644d29a521b8091a86782d29f4d91dc174df70be0e5a125 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "5128480840a5362f1644d29a521b8091a86782d29f4d91dc174df70be0e5a125"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling rusty_gl v0.1.7 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.85s [INFO] running `"docker" "inspect" "5128480840a5362f1644d29a521b8091a86782d29f4d91dc174df70be0e5a125"` [INFO] running `"docker" "rm" "-f" "5128480840a5362f1644d29a521b8091a86782d29f4d91dc174df70be0e5a125"` [INFO] [stdout] 5128480840a5362f1644d29a521b8091a86782d29f4d91dc174df70be0e5a125 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "test" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 0b4b43bcb1281d92be32d311b5d224c6516ea1fe28e027a6e07a8994e0252a0b [INFO] running `"docker" "start" "-a" "0b4b43bcb1281d92be32d311b5d224c6516ea1fe28e027a6e07a8994e0252a0b"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/rusty_gl-3e77e7cadf59adab [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Doc-tests rusty_gl [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test src/buffers.rs - buffers::gl_bind_buffer (line 90) ... FAILED [INFO] [stdout] test src/buffers.rs - buffers::gl_bind_vertex_array (line 74) ... FAILED [INFO] [stdout] test src/buffers.rs - buffers::gl_gen_buffer (line 62) ... FAILED [INFO] [stdout] test src/buffers.rs - buffers::gl_gen_buffers (line 46) ... FAILED [INFO] [stdout] test src/buffers.rs - buffers::gl_gen_vertex_arrays (line 17) ... FAILED [INFO] [stdout] test src/buffers.rs - buffers::gl_enable_vertex_attrib_array (line 106) ... FAILED [INFO] [stdout] test src/drawing.rs - drawing::gl_draw_arrays (line 33) ... FAILED [INFO] [stdout] test src/buffers.rs - buffers::gl_vertex_attrib_pointer (line 120) ... FAILED [INFO] [stdout] test src/drawing.rs - drawing::gl_draw_elements (line 48) ... FAILED [INFO] [stdout] test src/buffers.rs - buffers::gl_buffer_data (line 148) ... FAILED [INFO] [stdout] test src/drawing.rs - drawing::gl_draw_elements_instanced (line 64) ... FAILED [INFO] [stdout] test src/buffers.rs - buffers::gl_gen_vertex_array (line 34) ... FAILED [INFO] [stdout] test src/drawing.rs - drawing::gl_clear_color (line 11) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/buffers.rs - buffers::gl_bind_buffer (line 90) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `gl_gen_buffers` in this scope [INFO] [stdout] --> src/buffers.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 4 | gl_gen_buffers(1, &mut vbo); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `gl_bind_vertex_array` in this scope [INFO] [stdout] --> src/buffers.rs:93:1 [INFO] [stdout] | [INFO] [stdout] 5 | gl_bind_vertex_array(vao); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `vao` in this scope [INFO] [stdout] --> src/buffers.rs:93:22 [INFO] [stdout] | [INFO] [stdout] 5 | gl_bind_vertex_array(vao); [INFO] [stdout] | ^^^ help: a local variable with a similar name exists: `vbo` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/buffers.rs - buffers::gl_bind_vertex_array (line 74) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `gl_gen_vertex_arrays` in this scope [INFO] [stdout] --> src/buffers.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 4 | gl_gen_vertex_arrays(1, &mut vao); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `gl_bind_vertex_array` in this scope [INFO] [stdout] --> src/buffers.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 5 | gl_bind_vertex_array(vao); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/buffers.rs - buffers::gl_gen_buffer (line 62) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `gl_gen_vertex_buffer` in this scope [INFO] [stdout] --> src/buffers.rs:63:15 [INFO] [stdout] | [INFO] [stdout] 3 | let mut vbo = gl_gen_vertex_buffer(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/buffers.rs - buffers::gl_gen_buffers (line 46) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `gl_gen_buffers` in this scope [INFO] [stdout] --> src/buffers.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 4 | gl_gen_buffers(1, &mut vbo); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/buffers.rs - buffers::gl_gen_vertex_arrays (line 17) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `gl_gen_vertex_arrays` in this scope [INFO] [stdout] --> src/buffers.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 4 | gl_gen_vertex_arrays(1, &mut vao); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/buffers.rs - buffers::gl_enable_vertex_attrib_array (line 106) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `gl_enable_vertex_attrib_array` in this scope [INFO] [stdout] --> src/buffers.rs:107:1 [INFO] [stdout] | [INFO] [stdout] 3 | gl_enable_vertex_attrib_array(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/drawing.rs - drawing::gl_draw_arrays (line 33) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `GLTarget` [INFO] [stdout] --> src/drawing.rs:34:16 [INFO] [stdout] | [INFO] [stdout] 3 | gl_bind_buffer(GLTarget::ArrayBuffer, vbo); [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `GLTarget` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `GLPrimitive` [INFO] [stdout] --> src/drawing.rs:35:16 [INFO] [stdout] | [INFO] [stdout] 4 | gl_draw_arrays(GLPrimitive::Triangles, 0, 3); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `GLPrimitive` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `gl_bind_buffer` in this scope [INFO] [stdout] --> src/drawing.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 3 | gl_bind_buffer(GLTarget::ArrayBuffer, vbo); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `vbo` in this scope [INFO] [stdout] --> src/drawing.rs:34:39 [INFO] [stdout] | [INFO] [stdout] 3 | gl_bind_buffer(GLTarget::ArrayBuffer, vbo); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `gl_draw_arrays` in this scope [INFO] [stdout] --> src/drawing.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 4 | gl_draw_arrays(GLPrimitive::Triangles, 0, 3); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/buffers.rs - buffers::gl_vertex_attrib_pointer (line 120) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `GLType` [INFO] [stdout] --> src/buffers.rs:121:32 [INFO] [stdout] | [INFO] [stdout] 3 | gl_vertex_attrib_pointer(0, 2, GLType::Float, false, 0); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `GLType` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `gl_vertex_attrib_pointer` in this scope [INFO] [stdout] --> src/buffers.rs:121:1 [INFO] [stdout] | [INFO] [stdout] 3 | gl_vertex_attrib_pointer(0, 2, GLType::Float, false, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/drawing.rs - drawing::gl_draw_elements (line 48) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `GLTarget` [INFO] [stdout] --> src/drawing.rs:49:22 [INFO] [stdout] | [INFO] [stdout] 3 | gl_bind_vertex_array(GLTarget::ArrayBuffer, vao); [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `GLTarget` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `GLPrimitive` [INFO] [stdout] --> src/drawing.rs:50:18 [INFO] [stdout] | [INFO] [stdout] 4 | gl_draw_elements(GLPrimitive::Triangles, 36, GLType::UInt); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `GLPrimitive` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `GLType` [INFO] [stdout] --> src/drawing.rs:50:46 [INFO] [stdout] | [INFO] [stdout] 4 | gl_draw_elements(GLPrimitive::Triangles, 36, GLType::UInt); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `GLType` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `gl_bind_vertex_array` in this scope [INFO] [stdout] --> src/drawing.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 3 | gl_bind_vertex_array(GLTarget::ArrayBuffer, vao); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `vao` in this scope [INFO] [stdout] --> src/drawing.rs:49:45 [INFO] [stdout] | [INFO] [stdout] 3 | gl_bind_vertex_array(GLTarget::ArrayBuffer, vao); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `gl_draw_elements` in this scope [INFO] [stdout] --> src/drawing.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 4 | gl_draw_elements(GLPrimitive::Triangles, 36, GLType::UInt); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/buffers.rs - buffers::gl_buffer_data (line 148) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `GLTarget` [INFO] [stdout] --> src/buffers.rs:151:16 [INFO] [stdout] | [INFO] [stdout] 5 | gl_buffer_data(GLTarget::ArrayBuffer, &vertex_data, GLUsage::StaticDraw); [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `GLTarget` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `GLUsage` [INFO] [stdout] --> src/buffers.rs:151:53 [INFO] [stdout] | [INFO] [stdout] 5 | gl_buffer_data(GLTarget::ArrayBuffer, &vertex_data, GLUsage::StaticDraw); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `GLUsage` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GLfloat` in this scope [INFO] [stdout] --> src/buffers.rs:149:19 [INFO] [stdout] | [INFO] [stdout] 3 | let vertex_data: [GLfloat; 6] = [0.0, 0.5, 0.5, -0.5, -0.5, -0.5]; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `gl_buffer_data` in this scope [INFO] [stdout] --> src/buffers.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 5 | gl_buffer_data(GLTarget::ArrayBuffer, &vertex_data, GLUsage::StaticDraw); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/drawing.rs - drawing::gl_draw_elements_instanced (line 64) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `GLTarget` [INFO] [stdout] --> src/drawing.rs:65:22 [INFO] [stdout] | [INFO] [stdout] 3 | gl_bind_vertex_array(GLTarget::ArrayBuffer, vao); [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `GLTarget` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `GLPrimitive` [INFO] [stdout] --> src/drawing.rs:66:28 [INFO] [stdout] | [INFO] [stdout] 4 | gl_draw_elements_instanced(GLPrimitive::Triangles, 36, GLType::UInt, 8); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `GLPrimitive` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `GLType` [INFO] [stdout] --> src/drawing.rs:66:56 [INFO] [stdout] | [INFO] [stdout] 4 | gl_draw_elements_instanced(GLPrimitive::Triangles, 36, GLType::UInt, 8); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `GLType` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `gl_bind_vertex_array` in this scope [INFO] [stdout] --> src/drawing.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 3 | gl_bind_vertex_array(GLTarget::ArrayBuffer, vao); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `vao` in this scope [INFO] [stdout] --> src/drawing.rs:65:45 [INFO] [stdout] | [INFO] [stdout] 3 | gl_bind_vertex_array(GLTarget::ArrayBuffer, vao); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `gl_draw_elements_instanced` in this scope [INFO] [stdout] --> src/drawing.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 4 | gl_draw_elements_instanced(GLPrimitive::Triangles, 36, GLType::UInt, 8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/buffers.rs - buffers::gl_gen_vertex_array (line 34) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `gl_gen_vertex_array` in this scope [INFO] [stdout] --> src/buffers.rs:35:15 [INFO] [stdout] | [INFO] [stdout] 3 | let mut vao = gl_gen_vertex_array(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/drawing.rs - drawing::gl_clear_color (line 11) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `gl_clear_color` in this scope [INFO] [stdout] --> src/drawing.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 3 | gl_clear_color(0.5, 0.5, 0.2, 1.0); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/buffers.rs - buffers::gl_bind_buffer (line 90) [INFO] [stdout] src/buffers.rs - buffers::gl_bind_vertex_array (line 74) [INFO] [stdout] src/buffers.rs - buffers::gl_buffer_data (line 148) [INFO] [stdout] src/buffers.rs - buffers::gl_enable_vertex_attrib_array (line 106) [INFO] [stdout] src/buffers.rs - buffers::gl_gen_buffer (line 62) [INFO] [stdout] src/buffers.rs - buffers::gl_gen_buffers (line 46) [INFO] [stdout] src/buffers.rs - buffers::gl_gen_vertex_array (line 34) [INFO] [stdout] src/buffers.rs - buffers::gl_gen_vertex_arrays (line 17) [INFO] [stdout] src/buffers.rs - buffers::gl_vertex_attrib_pointer (line 120) [INFO] [stdout] src/drawing.rs - drawing::gl_clear_color (line 11) [INFO] [stdout] src/drawing.rs - drawing::gl_draw_arrays (line 33) [INFO] [stdout] src/drawing.rs - drawing::gl_draw_elements (line 48) [INFO] [stdout] src/drawing.rs - drawing::gl_draw_elements_instanced (line 64) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 13 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `"docker" "inspect" "0b4b43bcb1281d92be32d311b5d224c6516ea1fe28e027a6e07a8994e0252a0b"` [INFO] running `"docker" "rm" "-f" "0b4b43bcb1281d92be32d311b5d224c6516ea1fe28e027a6e07a8994e0252a0b"` [INFO] [stdout] 0b4b43bcb1281d92be32d311b5d224c6516ea1fe28e027a6e07a8994e0252a0b