[INFO] crate rusty_gl 0.1.7 is already in cache [INFO] testing rusty_gl-0.1.7 against 1.45.2 for beta-1.46-1 [INFO] extracting crate rusty_gl 0.1.7 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate rusty_gl 0.1.7 on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8dcef568bf4c086f2a0ec88ef78a38e45445f33ac30ce0aafaab52e27a6cc3c9 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8dcef568bf4c086f2a0ec88ef78a38e45445f33ac30ce0aafaab52e27a6cc3c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8dcef568bf4c086f2a0ec88ef78a38e45445f33ac30ce0aafaab52e27a6cc3c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8dcef568bf4c086f2a0ec88ef78a38e45445f33ac30ce0aafaab52e27a6cc3c9", kill_on_drop: false }` [INFO] [stdout] 8dcef568bf4c086f2a0ec88ef78a38e45445f33ac30ce0aafaab52e27a6cc3c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5fe987e29dea8913fe613f6dc9d9636616d9ecd320b84b9643dd6cc9267d209d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "5fe987e29dea8913fe613f6dc9d9636616d9ecd320b84b9643dd6cc9267d209d", kill_on_drop: false }` [INFO] [stderr] Compiling khronos_api v2.2.0 [INFO] [stderr] Compiling xml-rs v0.7.0 [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.55s [INFO] running `Command { std: "docker" "inspect" "5fe987e29dea8913fe613f6dc9d9636616d9ecd320b84b9643dd6cc9267d209d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5fe987e29dea8913fe613f6dc9d9636616d9ecd320b84b9643dd6cc9267d209d", kill_on_drop: false }` [INFO] [stdout] 5fe987e29dea8913fe613f6dc9d9636616d9ecd320b84b9643dd6cc9267d209d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 138c84140e921e87034e0dab6a9c5b4ba792023906f7b7a9f96fd0bb53e299e0 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "138c84140e921e87034e0dab6a9c5b4ba792023906f7b7a9f96fd0bb53e299e0", kill_on_drop: false }` [INFO] [stderr] Compiling rusty_gl v0.1.7 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.87s [INFO] running `Command { std: "docker" "inspect" "138c84140e921e87034e0dab6a9c5b4ba792023906f7b7a9f96fd0bb53e299e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "138c84140e921e87034e0dab6a9c5b4ba792023906f7b7a9f96fd0bb53e299e0", kill_on_drop: false }` [INFO] [stdout] 138c84140e921e87034e0dab6a9c5b4ba792023906f7b7a9f96fd0bb53e299e0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fea78b033e301124fba0667ae2b88a7712da7f43a89c00cdccd5a547d0d81bca [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "fea78b033e301124fba0667ae2b88a7712da7f43a89c00cdccd5a547d0d81bca", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/rusty_gl-80137a7e9f7cbacd [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_vertex_array (line 74) ... FAILED [INFO] [stdout] test src/buffers.rs - buffers::gl_gen_buffer (line 62) ... FAILED [INFO] [stdout] test src/drawing.rs - drawing::gl_clear_color (line 11) ... FAILED [INFO] [stdout] test src/buffers.rs - buffers::gl_bind_buffer (line 90) ... 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_buffer_data (line 148) ... FAILED [INFO] [stdout] test src/buffers.rs - buffers::gl_vertex_attrib_pointer (line 120) ... FAILED [INFO] [stdout] test src/buffers.rs - buffers::gl_gen_vertex_array (line 34) ... 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_elements_instanced (line 64) ... FAILED [INFO] [stdout] test src/drawing.rs - drawing::gl_draw_elements (line 48) ... FAILED [INFO] [stdout] test src/drawing.rs - drawing::gl_draw_arrays (line 33) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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/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] ---- 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_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_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/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/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/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_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/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/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] [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 `Command { std: "docker" "inspect" "fea78b033e301124fba0667ae2b88a7712da7f43a89c00cdccd5a547d0d81bca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fea78b033e301124fba0667ae2b88a7712da7f43a89c00cdccd5a547d0d81bca", kill_on_drop: false }` [INFO] [stdout] fea78b033e301124fba0667ae2b88a7712da7f43a89c00cdccd5a547d0d81bca