[INFO] fetching crate rusty_gl 0.1.7...
[INFO] testing rusty_gl-0.1.7 against 1.75.0 for beta-1.76-1
[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 1.75.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "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" "/workspace/cargo-home/bin/cargo" "+1.75.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e04e5b92a6681cd9f4178676c19bbf068b545bb38c475735516622282848e0c6
[INFO] running `Command { std: "docker" "start" "-a" "e04e5b92a6681cd9f4178676c19bbf068b545bb38c475735516622282848e0c6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e04e5b92a6681cd9f4178676c19bbf068b545bb38c475735516622282848e0c6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e04e5b92a6681cd9f4178676c19bbf068b545bb38c475735516622282848e0c6", kill_on_drop: false }`
[INFO] [stdout] e04e5b92a6681cd9f4178676c19bbf068b545bb38c475735516622282848e0c6
[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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 775a3d9c13d1de1b06545969c9f637b1fb060f6f511d5d32e4284510faa57516
[INFO] running `Command { std: "docker" "start" "-a" "775a3d9c13d1de1b06545969c9f637b1fb060f6f511d5d32e4284510faa57516", kill_on_drop: false }`
[INFO] [stderr]    Compiling khronos_api v2.2.0
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling log v0.4.20
[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] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 2.82s
[INFO] running `Command { std: "docker" "inspect" "775a3d9c13d1de1b06545969c9f637b1fb060f6f511d5d32e4284510faa57516", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "775a3d9c13d1de1b06545969c9f637b1fb060f6f511d5d32e4284510faa57516", kill_on_drop: false }`
[INFO] [stdout] 775a3d9c13d1de1b06545969c9f637b1fb060f6f511d5d32e4284510faa57516
[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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e31be738dfd55548a4866a3714f556cee85df5326647b418a3feb696722bb465
[INFO] running `Command { std: "docker" "start" "-a" "e31be738dfd55548a4866a3714f556cee85df5326647b418a3feb696722bb465", kill_on_drop: false }`
[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] [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: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.21s
[INFO] running `Command { std: "docker" "inspect" "e31be738dfd55548a4866a3714f556cee85df5326647b418a3feb696722bb465", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e31be738dfd55548a4866a3714f556cee85df5326647b418a3feb696722bb465", kill_on_drop: false }`
[INFO] [stdout] e31be738dfd55548a4866a3714f556cee85df5326647b418a3feb696722bb465
[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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 7e816df521f9d27dc5ccaeddbda7fa0f2f0792a6c3ce4163b7d5ace921af740c
[INFO] running `Command { std: "docker" "start" "-a" "7e816df521f9d27dc5ccaeddbda7fa0f2f0792a6c3ce4163b7d5ace921af740c", kill_on_drop: false }`
[INFO] [stderr] warning: getting the inner pointer of a temporary `CString`
[INFO] [stderr]   --> src/shaders.rs:31:44
[INFO] [stderr]    |
[INFO] [stderr] 31 |             &CString::new(source).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]    = 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.00s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rusty_gl-5e58026d8e76322c)
[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; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests rusty_gl
[INFO] [stdout] 
[INFO] [stdout] running 13 tests
[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/buffers.rs - buffers::gl_bind_buffer (line 90) ... FAILED
[INFO] [stdout] test src/drawing.rs - drawing::gl_draw_elements (line 48) ... 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_arrays (line 33) ... 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/drawing.rs - drawing::gl_clear_color (line 11) ... FAILED
[INFO] [stdout] test src/buffers.rs - buffers::gl_gen_buffers (line 46) ... FAILED
[INFO] [stdout] test src/buffers.rs - buffers::gl_buffer_data (line 148) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[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 `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/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/drawing.rs - drawing::gl_draw_elements (line 48) 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[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[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[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 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_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[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[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[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[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 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_arrays (line 33) 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[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[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[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 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_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/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_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_buffer_data (line 148) 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[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[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] 
[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.07s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "7e816df521f9d27dc5ccaeddbda7fa0f2f0792a6c3ce4163b7d5ace921af740c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7e816df521f9d27dc5ccaeddbda7fa0f2f0792a6c3ce4163b7d5ace921af740c", kill_on_drop: false }`
[INFO] [stdout] 7e816df521f9d27dc5ccaeddbda7fa0f2f0792a6c3ce4163b7d5ace921af740c
[INFO] testing rusty_gl-0.1.7 against beta-2023-12-22 for beta-1.76-1
[INFO] extracting crate rusty_gl 0.1.7 into /workspace/builds/worker-1-tc2/source
[INFO] validating manifest of crates.io crate rusty_gl 0.1.7 on toolchain beta-2023-12-22
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-12-22" "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-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-12-22" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-12-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4ce44f02f98b7f3eaf4fe1df6f223a7a20cea10f09dc4385633ed6f77f079397
[INFO] running `Command { std: "docker" "start" "-a" "4ce44f02f98b7f3eaf4fe1df6f223a7a20cea10f09dc4385633ed6f77f079397", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4ce44f02f98b7f3eaf4fe1df6f223a7a20cea10f09dc4385633ed6f77f079397", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4ce44f02f98b7f3eaf4fe1df6f223a7a20cea10f09dc4385633ed6f77f079397", kill_on_drop: false }`
[INFO] [stdout] 4ce44f02f98b7f3eaf4fe1df6f223a7a20cea10f09dc4385633ed6f77f079397
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 378f009b490f2ee27bbf72c16fb21925b2705000438abe3d026c77d46845bd41
[INFO] running `Command { std: "docker" "start" "-a" "378f009b490f2ee27bbf72c16fb21925b2705000438abe3d026c77d46845bd41", kill_on_drop: false }`
[INFO] [stderr]    Compiling khronos_api v2.2.0
[INFO] [stderr]    Compiling log v0.4.20
[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] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 2.95s
[INFO] running `Command { std: "docker" "inspect" "378f009b490f2ee27bbf72c16fb21925b2705000438abe3d026c77d46845bd41", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "378f009b490f2ee27bbf72c16fb21925b2705000438abe3d026c77d46845bd41", kill_on_drop: false }`
[INFO] [stdout] 378f009b490f2ee27bbf72c16fb21925b2705000438abe3d026c77d46845bd41
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7ce05a2f77e0c36a1ffb2385631635a23d8168ab516dcf78304bdec633d9b46d
[INFO] running `Command { std: "docker" "start" "-a" "7ce05a2f77e0c36a1ffb2385631635a23d8168ab516dcf78304bdec633d9b46d", kill_on_drop: false }`
[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]    Compiling rusty_gl v0.1.7 (/opt/rustwide/workdir)
[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.20s
[INFO] running `Command { std: "docker" "inspect" "7ce05a2f77e0c36a1ffb2385631635a23d8168ab516dcf78304bdec633d9b46d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7ce05a2f77e0c36a1ffb2385631635a23d8168ab516dcf78304bdec633d9b46d", kill_on_drop: false }`
[INFO] [stdout] 7ce05a2f77e0c36a1ffb2385631635a23d8168ab516dcf78304bdec633d9b46d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 819e6b9226a41cede81e5b83a98f897e153f6773d18faa45bd4d94db346825df
[INFO] running `Command { std: "docker" "start" "-a" "819e6b9226a41cede81e5b83a98f897e153f6773d18faa45bd4d94db346825df", kill_on_drop: false }`
[INFO] [stderr] warning: getting the inner pointer of a temporary `CString`
[INFO] [stderr]   --> src/shaders.rs:31:44
[INFO] [stderr]    |
[INFO] [stderr] 31 |             &CString::new(source).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]    = 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.01s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rusty_gl-8e80ddd21622a118)
[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; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests rusty_gl
[INFO] [stdout] 
[INFO] [stdout] running 13 tests
[INFO] [stdout] test src/buffers.rs - buffers::gl_gen_vertex_array (line 34) ... 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/drawing.rs - drawing::gl_clear_color (line 11) ... FAILED
[INFO] [stdout] test src/buffers.rs - buffers::gl_gen_vertex_arrays (line 17) ... FAILED
[INFO] [stdout] test src/buffers.rs - buffers::gl_bind_buffer (line 90) ... FAILED
[INFO] [stdout] test src/buffers.rs - buffers::gl_vertex_attrib_pointer (line 120) ... FAILED
[INFO] [stdout] test src/buffers.rs - buffers::gl_buffer_data (line 148) ... 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/drawing.rs - drawing::gl_draw_elements_instanced (line 64) ... FAILED
[INFO] [stdout] test src/drawing.rs - drawing::gl_draw_arrays (line 33) ... 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_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 1 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 1 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 1 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 1 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 1 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 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_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/buffers.rs - buffers::gl_buffer_data (line 148) 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[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[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_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 1 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[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[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[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[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 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_arrays (line 33) 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[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[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[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 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_draw_elements (line 48) 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[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[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[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 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.07s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "819e6b9226a41cede81e5b83a98f897e153f6773d18faa45bd4d94db346825df", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "819e6b9226a41cede81e5b83a98f897e153f6773d18faa45bd4d94db346825df", kill_on_drop: false }`
[INFO] [stdout] 819e6b9226a41cede81e5b83a98f897e153f6773d18faa45bd4d94db346825df
