[INFO] fetching crate rusty_gl 0.1.7... [INFO] testing rusty_gl-0.1.7 against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] extracting crate rusty_gl 0.1.7 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate rusty_gl 0.1.7 on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "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-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 058fd3222314d25694b4149400d824757f60ad45c5fcdeac1292fa443d0658f9 [INFO] running `Command { std: "docker" "start" "-a" "058fd3222314d25694b4149400d824757f60ad45c5fcdeac1292fa443d0658f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "058fd3222314d25694b4149400d824757f60ad45c5fcdeac1292fa443d0658f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "058fd3222314d25694b4149400d824757f60ad45c5fcdeac1292fa443d0658f9", kill_on_drop: false }` [INFO] [stdout] 058fd3222314d25694b4149400d824757f60ad45c5fcdeac1292fa443d0658f9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=forbid" "-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:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d58a6c9a44bbced00f37f0eaff5884f890774af2b5bbaa71e49d4a8641fbff0f [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" "d58a6c9a44bbced00f37f0eaff5884f890774af2b5bbaa71e49d4a8641fbff0f", 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 13.62s [INFO] running `Command { std: "docker" "inspect" "d58a6c9a44bbced00f37f0eaff5884f890774af2b5bbaa71e49d4a8641fbff0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d58a6c9a44bbced00f37f0eaff5884f890774af2b5bbaa71e49d4a8641fbff0f", kill_on_drop: false }` [INFO] [stdout] d58a6c9a44bbced00f37f0eaff5884f890774af2b5bbaa71e49d4a8641fbff0f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=forbid" "-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:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 61b076253eae659de0291b61656fb808b16128a9c12e15e8d84d0ff44927dfdb [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" "61b076253eae659de0291b61656fb808b16128a9c12e15e8d84d0ff44927dfdb", 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.81s [INFO] running `Command { std: "docker" "inspect" "61b076253eae659de0291b61656fb808b16128a9c12e15e8d84d0ff44927dfdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61b076253eae659de0291b61656fb808b16128a9c12e15e8d84d0ff44927dfdb", kill_on_drop: false }` [INFO] [stdout] 61b076253eae659de0291b61656fb808b16128a9c12e15e8d84d0ff44927dfdb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=forbid" "-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:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 7f7256a383cd08deeac1e04cef941662a39f591b556757e51d615d56d5ce7844 [INFO] running `Command { std: "docker" "start" "-a" "7f7256a383cd08deeac1e04cef941662a39f591b556757e51d615d56d5ce7844", 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-455ce4712ef37c5a [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/drawing.rs - drawing::gl_draw_elements (line 48) ... FAILED [INFO] [stdout] test src/buffers.rs - buffers::gl_bind_vertex_array (line 74) ... FAILED [INFO] [stdout] test src/buffers.rs - buffers::gl_enable_vertex_attrib_array (line 106) ... FAILED [INFO] [stdout] test src/buffers.rs - buffers::gl_gen_buffers (line 46) ... FAILED [INFO] [stdout] test src/drawing.rs - drawing::gl_draw_arrays (line 33) ... FAILED [INFO] [stdout] test src/buffers.rs - buffers::gl_bind_buffer (line 90) ... FAILED [INFO] [stdout] test src/buffers.rs - buffers::gl_buffer_data (line 148) ... FAILED [INFO] [stdout] test src/drawing.rs - drawing::gl_clear_color (line 11) ... FAILED [INFO] [stdout] test src/buffers.rs - buffers::gl_gen_buffer (line 62) ... FAILED [INFO] [stdout] test src/buffers.rs - buffers::gl_gen_vertex_array (line 34) ... 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_instanced (line 64) ... FAILED [INFO] [stdout] test src/buffers.rs - buffers::gl_gen_vertex_arrays (line 17) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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_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_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/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/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_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_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_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_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_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_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_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_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] [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" "7f7256a383cd08deeac1e04cef941662a39f591b556757e51d615d56d5ce7844", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f7256a383cd08deeac1e04cef941662a39f591b556757e51d615d56d5ce7844", kill_on_drop: false }` [INFO] [stdout] 7f7256a383cd08deeac1e04cef941662a39f591b556757e51d615d56d5ce7844