[INFO] fetching crate rusty_gl 0.1.7... [INFO] testing rusty_gl-0.1.7 against master#159ba8a92c9e2fa4121f106176309521f4af87e9+rustflags=-Copt-level=3 for pr-107051 [INFO] extracting crate rusty_gl 0.1.7 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate rusty_gl 0.1.7 on toolchain 159ba8a92c9e2fa4121f106176309521f4af87e9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-1-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" __CARGO_TEST_CHANNEL_OVERRIDE_DO_NOT_USE_THIS="nightly" "/workspace/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gl v0.6.5 [INFO] [stderr] Downloaded gl_generator v0.6.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a06f6248e1162d9cdc58863f4d98f8ed6a7026423ac92ba67f0eacfe8b3f9ed1 [INFO] running `Command { std: "docker" "start" "-a" "a06f6248e1162d9cdc58863f4d98f8ed6a7026423ac92ba67f0eacfe8b3f9ed1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a06f6248e1162d9cdc58863f4d98f8ed6a7026423ac92ba67f0eacfe8b3f9ed1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a06f6248e1162d9cdc58863f4d98f8ed6a7026423ac92ba67f0eacfe8b3f9ed1", kill_on_drop: false }` [INFO] [stdout] a06f6248e1162d9cdc58863f4d98f8ed6a7026423ac92ba67f0eacfe8b3f9ed1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 26777a421540d61bfb527954095fab15e451a095d5488f6bde346c3b06e4e9f3 [INFO] running `Command { std: "docker" "start" "-a" "26777a421540d61bfb527954095fab15e451a095d5488f6bde346c3b06e4e9f3", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling khronos_api v2.2.0 [INFO] [stderr] Compiling bitflags v1.3.2 [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] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/shaders.rs:31:44 [INFO] [stdout] | [INFO] [stdout] 31 | &CString::new(source).unwrap().as_ptr(), [INFO] [stdout] | ----------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/shaders.rs:101:89 [INFO] [stdout] | [INFO] [stdout] 101 | GLUniformLocation(gl::GetUniformLocation(program.0, CString::new(name).unwrap().as_ptr())) [INFO] [stdout] | --------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 12.55s [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "26777a421540d61bfb527954095fab15e451a095d5488f6bde346c3b06e4e9f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26777a421540d61bfb527954095fab15e451a095d5488f6bde346c3b06e4e9f3", kill_on_drop: false }` [INFO] [stdout] 26777a421540d61bfb527954095fab15e451a095d5488f6bde346c3b06e4e9f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3977df9ee0ca47e2ac13042cc94cb0e19c55b20b671f4fb92a8dde36f3087ba2 [INFO] running `Command { std: "docker" "start" "-a" "3977df9ee0ca47e2ac13042cc94cb0e19c55b20b671f4fb92a8dde36f3087ba2", kill_on_drop: false }` [INFO] [stderr] Compiling rusty_gl v0.1.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/shaders.rs:31:44 [INFO] [stdout] | [INFO] [stdout] 31 | &CString::new(source).unwrap().as_ptr(), [INFO] [stdout] | ----------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/shaders.rs:101:89 [INFO] [stdout] | [INFO] [stdout] 101 | GLUniformLocation(gl::GetUniformLocation(program.0, CString::new(name).unwrap().as_ptr())) [INFO] [stdout] | --------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/shaders.rs:31:44 [INFO] [stdout] | [INFO] [stdout] 31 | &CString::new(source).unwrap().as_ptr(), [INFO] [stdout] | ----------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/shaders.rs:101:89 [INFO] [stdout] | [INFO] [stdout] 101 | GLUniformLocation(gl::GetUniformLocation(program.0, CString::new(name).unwrap().as_ptr())) [INFO] [stdout] | --------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.46s [INFO] running `Command { std: "docker" "inspect" "3977df9ee0ca47e2ac13042cc94cb0e19c55b20b671f4fb92a8dde36f3087ba2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3977df9ee0ca47e2ac13042cc94cb0e19c55b20b671f4fb92a8dde36f3087ba2", kill_on_drop: false }` [INFO] [stdout] 3977df9ee0ca47e2ac13042cc94cb0e19c55b20b671f4fb92a8dde36f3087ba2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 80d5e3d050119a40123bd96cbea47ff6bc64740febaab09e57e96807c4643234 [INFO] running `Command { std: "docker" "start" "-a" "80d5e3d050119a40123bd96cbea47ff6bc64740febaab09e57e96807c4643234", kill_on_drop: false }` [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] [INFO] [stderr] --> src/shaders.rs:31:44 [INFO] [stdout] running 0 tests [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] 31 | &CString::new(source).unwrap().as_ptr(), [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] | ----------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] [INFO] [stderr] | | [INFO] [stderr] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stderr] | [INFO] [stderr] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stderr] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stderr] [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/shaders.rs:101:89 [INFO] [stderr] | [INFO] [stderr] 101 | GLUniformLocation(gl::GetUniformLocation(program.0, CString::new(name).unwrap().as_ptr())) [INFO] [stderr] | --------------------------- ^^^^^^ this pointer will be invalid [INFO] [stderr] | | [INFO] [stderr] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stderr] | [INFO] [stderr] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stderr] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] [INFO] [stderr] warning: `rusty_gl` (lib) generated 2 warnings [INFO] [stderr] warning: `rusty_gl` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rusty_gl-7ce958ea0bf92c93) [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_vertex_attrib_pointer (line 120) ... FAILED [INFO] [stdout] test src/drawing.rs - drawing::gl_draw_arrays (line 33) ... 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_buffer_data (line 148) ... 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/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/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] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/buffers.rs - buffers::gl_bind_buffer (line 90) 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[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: 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_vertex_attrib_pointer (line 120) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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 `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_arrays (line 33) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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 `GLTarget` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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 `GLPrimitive` [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_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 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/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_buffer_data (line 148) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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 `GLTarget` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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 `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_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/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/drawing.rs - drawing::gl_draw_elements_instanced (line 64) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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 `GLTarget` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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 `GLPrimitive` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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 `GLType` [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_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 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 `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 `GLTarget` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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 `GLPrimitive` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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 `GLType` [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_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 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] [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; finished in 0.26s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "80d5e3d050119a40123bd96cbea47ff6bc64740febaab09e57e96807c4643234", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80d5e3d050119a40123bd96cbea47ff6bc64740febaab09e57e96807c4643234", kill_on_drop: false }` [INFO] [stdout] 80d5e3d050119a40123bd96cbea47ff6bc64740febaab09e57e96807c4643234