[INFO] fetching crate rgl 0.2.0... [INFO] testing rgl-0.2.0 against try#eafdee2dfae8c2233b74f98b123308be7ccefcc6 for pr-79296 [INFO] extracting crate rgl 0.2.0 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate rgl 0.2.0 on toolchain eafdee2dfae8c2233b74f98b123308be7ccefcc6 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate rgl 0.2.0 [INFO] finished tweaking crates.io crate rgl 0.2.0 [INFO] tweaked toml for crates.io crate rgl 0.2.0 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 15c60436b2604e392c7bc80efcc6008e309df7354136201e188463ed3936d98a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "15c60436b2604e392c7bc80efcc6008e309df7354136201e188463ed3936d98a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "15c60436b2604e392c7bc80efcc6008e309df7354136201e188463ed3936d98a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15c60436b2604e392c7bc80efcc6008e309df7354136201e188463ed3936d98a", kill_on_drop: false }` [INFO] [stdout] 15c60436b2604e392c7bc80efcc6008e309df7354136201e188463ed3936d98a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "-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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 76337c4378b057a10ceb03e585c113e680aeb77c0e4bcc8abb9b3aa47eff27c8 [INFO] running `Command { std: "docker" "start" "-a" "76337c4378b057a10ceb03e585c113e680aeb77c0e4bcc8abb9b3aa47eff27c8", kill_on_drop: false }` [INFO] [stderr] Compiling khronos_api v2.2.0 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling gl_generator v0.6.1 [INFO] [stderr] Compiling gl v0.6.5 [INFO] [stderr] Compiling rgl v0.2.0 (/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: `#[warn(temporary_cstring_as_ptr)]` on by default [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: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/shaders.rs:101:87 [INFO] [stdout] | [INFO] [stdout] 101 | UniformLocation(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 16.73s [INFO] running `Command { std: "docker" "inspect" "76337c4378b057a10ceb03e585c113e680aeb77c0e4bcc8abb9b3aa47eff27c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76337c4378b057a10ceb03e585c113e680aeb77c0e4bcc8abb9b3aa47eff27c8", kill_on_drop: false }` [INFO] [stdout] 76337c4378b057a10ceb03e585c113e680aeb77c0e4bcc8abb9b3aa47eff27c8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "-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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b666c1c3438f2d4f42fa840818748558461aca638124a35836853f549545173d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b666c1c3438f2d4f42fa840818748558461aca638124a35836853f549545173d", kill_on_drop: false }` [INFO] [stderr] Compiling rgl v0.2.0 (/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: `#[warn(temporary_cstring_as_ptr)]` on by default [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: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/shaders.rs:101:87 [INFO] [stdout] | [INFO] [stdout] 101 | UniformLocation(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: `#[warn(temporary_cstring_as_ptr)]` on by default [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: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/shaders.rs:101:87 [INFO] [stdout] | [INFO] [stdout] 101 | UniformLocation(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.79s [INFO] running `Command { std: "docker" "inspect" "b666c1c3438f2d4f42fa840818748558461aca638124a35836853f549545173d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b666c1c3438f2d4f42fa840818748558461aca638124a35836853f549545173d", kill_on_drop: false }` [INFO] [stdout] b666c1c3438f2d4f42fa840818748558461aca638124a35836853f549545173d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "-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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 049828d575f6b0ae2aeb4186a8c8293a88157abc2b72092917e97cec8c88ceb8 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "049828d575f6b0ae2aeb4186a8c8293a88157abc2b72092917e97cec8c88ceb8", kill_on_drop: false }` [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] 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: `#[warn(temporary_cstring_as_ptr)]` on by default [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: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/shaders.rs:101:87 [INFO] [stderr] | [INFO] [stderr] 101 | UniformLocation(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: 2 warnings emitted [INFO] [stderr] [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: `#[warn(temporary_cstring_as_ptr)]` on by default [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: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/shaders.rs:101:87 [INFO] [stderr] | [INFO] [stderr] 101 | UniformLocation(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: 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/rgl-e1ec75af48ca7b62 [INFO] [stderr] Doc-tests rgl [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test src/buffers.rs - buffers::buffer_data (line 148) ... FAILED [INFO] [stdout] test src/buffers.rs - buffers::gen_buffer (line 62) ... FAILED [INFO] [stdout] test src/drawing.rs - drawing::draw_elements (line 48) ... FAILED [INFO] [stdout] test src/drawing.rs - drawing::draw_elements_instanced (line 64) ... FAILED [INFO] [stdout] test src/drawing.rs - drawing::draw_arrays (line 33) ... FAILED [INFO] [stdout] test src/buffers.rs - buffers::vertex_attrib_pointer (line 120) ... FAILED [INFO] [stdout] test src/buffers.rs - buffers::gen_vertex_array (line 34) ... FAILED [INFO] [stdout] test src/buffers.rs - buffers::gen_buffers (line 46) ... FAILED [INFO] [stdout] test src/buffers.rs - buffers::bind_vertex_array (line 74) ... FAILED [INFO] [stdout] test src/buffers.rs - buffers::enable_vertex_attrib_array (line 106) ... FAILED [INFO] [stdout] test src/buffers.rs - buffers::bind_buffer (line 90) ... FAILED [INFO] [stdout] test src/buffers.rs - buffers::gen_vertex_arrays (line 17) ... FAILED [INFO] [stdout] test src/drawing.rs - drawing::clear_color (line 11) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/buffers.rs - buffers::buffer_data (line 148) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `GLUsage` in `rgl` [INFO] [stdout] --> src/buffers.rs:151:63 [INFO] [stdout] | [INFO] [stdout] 6 | rgl::buffer_data(rgl::Target::ArrayBuffer, &vertex_data, rgl::GLUsage::StaticDraw); [INFO] [stdout] | ^^^^^^^ could not find `GLUsage` in `rgl` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GLfloat` in this scope [INFO] [stdout] --> src/buffers.rs:149:19 [INFO] [stdout] | [INFO] [stdout] 4 | 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: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, 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::gen_buffer (line 62) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `gen_vertex_buffer` in crate `rgl` [INFO] [stdout] --> src/buffers.rs:63:20 [INFO] [stdout] | [INFO] [stdout] 4 | let mut vbo = rgl::gen_vertex_buffer(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in `rgl` [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::draw_elements (line 48) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `vao` in this scope [INFO] [stdout] --> src/drawing.rs:49:50 [INFO] [stdout] | [INFO] [stdout] 4 | rgl::bind_vertex_array(rgl::Target::ArrayBuffer, vao); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/drawing.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 4 | rgl::bind_vertex_array(rgl::Target::ArrayBuffer, vao); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ------------------------ --- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/drawing.rs - drawing::draw_elements_instanced (line 64) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `vao` in this scope [INFO] [stdout] --> src/drawing.rs:65:50 [INFO] [stdout] | [INFO] [stdout] 4 | rgl::bind_vertex_array(rgl::Target::ArrayBuffer, vao); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/drawing.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 4 | rgl::bind_vertex_array(rgl::Target::ArrayBuffer, vao); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ------------------------ --- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/drawing.rs - drawing::draw_arrays (line 33) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `vbo` in this scope [INFO] [stdout] --> src/drawing.rs:34:44 [INFO] [stdout] | [INFO] [stdout] 4 | rgl::bind_buffer(rgl::Target::ArrayBuffer, 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::vertex_attrib_pointer (line 120) stdout ---- [INFO] [stdout] Test executable failed (exit code 101). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] thread 'main' panicked at 'gl function was not loaded', /opt/rustwide/target/debug/build/gl-093f544bb5d75640/out/bindings.rs:20624:13 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55f4c546d2a0 - std::backtrace_rs::backtrace::libunwind::trace::h95fc93571932622e [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x55f4c546d2a0 - std::backtrace_rs::backtrace::trace_unsynchronized::h4d0b90afc33151fd [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55f4c546d2a0 - std::sys_common::backtrace::_print_fmt::h93d302d001a3bf01 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x55f4c546d2a0 - ::fmt::h7881e3a580134f9a [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x55f4c5487adc - core::fmt::write::h1857a60b204f1b6a [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/core/src/fmt/mod.rs:1078:17 [INFO] [stdout] 5: 0x55f4c546b512 - std::io::Write::write_fmt::h24485de26f355188 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/io/mod.rs:1519:15 [INFO] [stdout] 6: 0x55f4c546f565 - std::sys_common::backtrace::_print::h3e3f9fed81bc11e9 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x55f4c546f565 - std::sys_common::backtrace::print::hd22ac23fed5071c8 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x55f4c546f565 - std::panicking::default_hook::{{closure}}::h1647bdcf68060e17 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x55f4c546f0ba - std::panicking::default_hook::hb08853b392b9404b [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panicking.rs:225:9 [INFO] [stdout] 10: 0x55f4c546fd01 - std::panicking::rust_panic_with_hook::h3624ee29da369ede [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panicking.rs:591:17 [INFO] [stdout] 11: 0x55f4c545bbce - std::panicking::begin_panic::{{closure}}::h97a0b53b19dcbeca [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panicking.rs:520:9 [INFO] [stdout] 12: 0x55f4c545c929 - std::sys_common::backtrace::__rust_end_short_backtrace::h95e0b2d444ff5a39 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x55f4c545bafb - std::panicking::begin_panic::h4efadaafc7d730d1 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panicking.rs:519:12 [INFO] [stdout] 14: 0x55f4c545ba8d - gl::missing_fn_panic::h0a9a7a86719a5faa [INFO] [stdout] at /opt/rustwide/target/debug/build/gl-093f544bb5d75640/out/bindings.rs:20624:13 [INFO] [stdout] 15: 0x55f4c545b456 - gl::VertexAttribPointer::hfdd12265e35bcf3d [INFO] [stdout] at /opt/rustwide/target/debug/build/gl-093f544bb5d75640/out/bindings.rs:3192:216 [INFO] [stdout] 16: 0x55f4c545b3d7 - rgl::buffers::vertex_attrib_pointer::hea1b6a473afac608 [INFO] [stdout] at /opt/rustwide/workdir/src/buffers.rs:134:9 [INFO] [stdout] 17: 0x55f4c545b301 - rust_out::main::h405f65324f7b53be [INFO] [stdout] 18: 0x55f4c545b283 - core::ops::function::FnOnce::call_once::ha451af22024e1864 [INFO] [stdout] 19: 0x55f4c545b169 - std::sys_common::backtrace::__rust_begin_short_backtrace::hefd8e56bf97a4afd [INFO] [stdout] 20: 0x55f4c545b1f9 - std::rt::lang_start::{{closure}}::hee13be5f96bd7848 [INFO] [stdout] 21: 0x55f4c5470127 - core::ops::function::impls:: for &F>::call_once::h194d6aa01fb6b594 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/core/src/ops/function.rs:259:13 [INFO] [stdout] 22: 0x55f4c5470127 - std::panicking::try::do_call::h4ef477456776cccb [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panicking.rs:379:40 [INFO] [stdout] 23: 0x55f4c5470127 - std::panicking::try::h7f2121b6bb3bbca4 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panicking.rs:343:19 [INFO] [stdout] 24: 0x55f4c5470127 - std::panic::catch_unwind::he974d0ca04309948 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panic.rs:396:14 [INFO] [stdout] 25: 0x55f4c5470127 - std::rt::lang_start_internal::h36e9e78490120b9f [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/rt.rs:51:25 [INFO] [stdout] 26: 0x55f4c545b1d8 - std::rt::lang_start::h290408a3f91c6d5a [INFO] [stdout] 27: 0x55f4c545b32b - main [INFO] [stdout] 28: 0x7fc928bb90b3 - __libc_start_main [INFO] [stdout] 29: 0x55f4c545b09e - _start [INFO] [stdout] 30: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- src/buffers.rs - buffers::gen_vertex_array (line 34) stdout ---- [INFO] [stdout] Test executable failed (exit code 101). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] thread 'main' panicked at 'gl function was not loaded', /opt/rustwide/target/debug/build/gl-093f544bb5d75640/out/bindings.rs:20624:13 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x56227e48a230 - std::backtrace_rs::backtrace::libunwind::trace::h95fc93571932622e [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x56227e48a230 - std::backtrace_rs::backtrace::trace_unsynchronized::h4d0b90afc33151fd [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x56227e48a230 - std::sys_common::backtrace::_print_fmt::h93d302d001a3bf01 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x56227e48a230 - ::fmt::h7881e3a580134f9a [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x56227e4a4a6c - core::fmt::write::h1857a60b204f1b6a [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/core/src/fmt/mod.rs:1078:17 [INFO] [stdout] 5: 0x56227e4884a2 - std::io::Write::write_fmt::h24485de26f355188 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/io/mod.rs:1519:15 [INFO] [stdout] 6: 0x56227e48c4f5 - std::sys_common::backtrace::_print::h3e3f9fed81bc11e9 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x56227e48c4f5 - std::sys_common::backtrace::print::hd22ac23fed5071c8 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x56227e48c4f5 - std::panicking::default_hook::{{closure}}::h1647bdcf68060e17 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x56227e48c04a - std::panicking::default_hook::hb08853b392b9404b [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panicking.rs:225:9 [INFO] [stdout] 10: 0x56227e48cc91 - std::panicking::rust_panic_with_hook::h3624ee29da369ede [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panicking.rs:591:17 [INFO] [stdout] 11: 0x56227e478b5e - std::panicking::begin_panic::{{closure}}::h97a0b53b19dcbeca [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panicking.rs:520:9 [INFO] [stdout] 12: 0x56227e4798b9 - std::sys_common::backtrace::__rust_end_short_backtrace::h95e0b2d444ff5a39 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x56227e478a8b - std::panicking::begin_panic::h4efadaafc7d730d1 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panicking.rs:519:12 [INFO] [stdout] 14: 0x56227e478a1d - gl::missing_fn_panic::h0a9a7a86719a5faa [INFO] [stdout] at /opt/rustwide/target/debug/build/gl-093f544bb5d75640/out/bindings.rs:20624:13 [INFO] [stdout] 15: 0x56227e4783dd - gl::GenVertexArrays::ha56f02a30a922b47 [INFO] [stdout] at /opt/rustwide/target/debug/build/gl-093f544bb5d75640/out/bindings.rs:1946:98 [INFO] [stdout] 16: 0x56227e478372 - rgl::buffers::gen_vertex_arrays::h1f9405cc0aa68b84 [INFO] [stdout] at /opt/rustwide/workdir/src/buffers.rs:25:9 [INFO] [stdout] 17: 0x56227e478399 - rgl::buffers::gen_vertex_array::hbb2970a0a35edef7 [INFO] [stdout] at /opt/rustwide/workdir/src/buffers.rs:39:5 [INFO] [stdout] 18: 0x56227e4782e7 - rust_out::main::h405f65324f7b53be [INFO] [stdout] 19: 0x56227e478283 - core::ops::function::FnOnce::call_once::ha451af22024e1864 [INFO] [stdout] 20: 0x56227e478169 - std::sys_common::backtrace::__rust_begin_short_backtrace::hefd8e56bf97a4afd [INFO] [stdout] 21: 0x56227e4781f9 - std::rt::lang_start::{{closure}}::hee13be5f96bd7848 [INFO] [stdout] 22: 0x56227e48d0b7 - core::ops::function::impls:: for &F>::call_once::h194d6aa01fb6b594 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/core/src/ops/function.rs:259:13 [INFO] [stdout] 23: 0x56227e48d0b7 - std::panicking::try::do_call::h4ef477456776cccb [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panicking.rs:379:40 [INFO] [stdout] 24: 0x56227e48d0b7 - std::panicking::try::h7f2121b6bb3bbca4 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panicking.rs:343:19 [INFO] [stdout] 25: 0x56227e48d0b7 - std::panic::catch_unwind::he974d0ca04309948 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panic.rs:396:14 [INFO] [stdout] 26: 0x56227e48d0b7 - std::rt::lang_start_internal::h36e9e78490120b9f [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/rt.rs:51:25 [INFO] [stdout] 27: 0x56227e4781d8 - std::rt::lang_start::h290408a3f91c6d5a [INFO] [stdout] 28: 0x56227e47830b - main [INFO] [stdout] 29: 0x7f9cc134c0b3 - __libc_start_main [INFO] [stdout] 30: 0x56227e47809e - _start [INFO] [stdout] 31: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- src/buffers.rs - buffers::gen_buffers (line 46) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/buffers.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 5 | rgl::gen_buffers(1, &mut vbo); [INFO] [stdout] | ^^^^^^^^ expected struct `VBO`, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected raw pointer `*mut VBO` [INFO] [stdout] found mutable reference `&mut {integer}` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/buffers.rs - buffers::bind_vertex_array (line 74) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/buffers.rs:76:27 [INFO] [stdout] | [INFO] [stdout] 5 | rgl::gen_vertex_arrays(1, &mut vao); [INFO] [stdout] | ^^^^^^^^ expected struct `VAO`, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected raw pointer `*mut VAO` [INFO] [stdout] found mutable reference `&mut {integer}` [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/buffers.rs:77:24 [INFO] [stdout] | [INFO] [stdout] 6 | rgl::bind_vertex_array(vao); [INFO] [stdout] | ^^^ expected struct `VAO`, found integer [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/buffers.rs - buffers::enable_vertex_attrib_array (line 106) stdout ---- [INFO] [stdout] Test executable failed (exit code 101). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] thread 'main' panicked at 'gl function was not loaded', /opt/rustwide/target/debug/build/gl-093f544bb5d75640/out/bindings.rs:20624:13 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5635752451f0 - std::backtrace_rs::backtrace::libunwind::trace::h95fc93571932622e [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x5635752451f0 - std::backtrace_rs::backtrace::trace_unsynchronized::h4d0b90afc33151fd [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5635752451f0 - std::sys_common::backtrace::_print_fmt::h93d302d001a3bf01 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x5635752451f0 - ::fmt::h7881e3a580134f9a [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x56357525fa2c - core::fmt::write::h1857a60b204f1b6a [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/core/src/fmt/mod.rs:1078:17 [INFO] [stdout] 5: 0x563575243462 - std::io::Write::write_fmt::h24485de26f355188 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/io/mod.rs:1519:15 [INFO] [stdout] 6: 0x5635752474b5 - std::sys_common::backtrace::_print::h3e3f9fed81bc11e9 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x5635752474b5 - std::sys_common::backtrace::print::hd22ac23fed5071c8 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x5635752474b5 - std::panicking::default_hook::{{closure}}::h1647bdcf68060e17 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x56357524700a - std::panicking::default_hook::hb08853b392b9404b [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panicking.rs:225:9 [INFO] [stdout] 10: 0x563575247c51 - std::panicking::rust_panic_with_hook::h3624ee29da369ede [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panicking.rs:591:17 [INFO] [stdout] 11: 0x563575233b1e - std::panicking::begin_panic::{{closure}}::h97a0b53b19dcbeca [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panicking.rs:520:9 [INFO] [stdout] 12: 0x563575234879 - std::sys_common::backtrace::__rust_end_short_backtrace::h95e0b2d444ff5a39 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x563575233a4b - std::panicking::begin_panic::h4efadaafc7d730d1 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panicking.rs:519:12 [INFO] [stdout] 14: 0x5635752339dd - gl::missing_fn_panic::h0a9a7a86719a5faa [INFO] [stdout] at /opt/rustwide/target/debug/build/gl-093f544bb5d75640/out/bindings.rs:20624:13 [INFO] [stdout] 15: 0x56357523339e - gl::EnableVertexAttribArray::h323bb0aed331376b [INFO] [stdout] at /opt/rustwide/target/debug/build/gl-093f544bb5d75640/out/bindings.rs:1874:81 [INFO] [stdout] 16: 0x56357523336a - rgl::buffers::enable_vertex_attrib_array::h3fa4d4f2848ff1b5 [INFO] [stdout] at /opt/rustwide/workdir/src/buffers.rs:113:9 [INFO] [stdout] 17: 0x5635752332e9 - rust_out::main::h405f65324f7b53be [INFO] [stdout] 18: 0x563575233283 - core::ops::function::FnOnce::call_once::ha451af22024e1864 [INFO] [stdout] 19: 0x563575233169 - std::sys_common::backtrace::__rust_begin_short_backtrace::hefd8e56bf97a4afd [INFO] [stdout] 20: 0x5635752331f9 - std::rt::lang_start::{{closure}}::hee13be5f96bd7848 [INFO] [stdout] 21: 0x563575248077 - core::ops::function::impls:: for &F>::call_once::h194d6aa01fb6b594 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/core/src/ops/function.rs:259:13 [INFO] [stdout] 22: 0x563575248077 - std::panicking::try::do_call::h4ef477456776cccb [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panicking.rs:379:40 [INFO] [stdout] 23: 0x563575248077 - std::panicking::try::h7f2121b6bb3bbca4 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panicking.rs:343:19 [INFO] [stdout] 24: 0x563575248077 - std::panic::catch_unwind::he974d0ca04309948 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panic.rs:396:14 [INFO] [stdout] 25: 0x563575248077 - std::rt::lang_start_internal::h36e9e78490120b9f [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/rt.rs:51:25 [INFO] [stdout] 26: 0x5635752331d8 - std::rt::lang_start::h290408a3f91c6d5a [INFO] [stdout] 27: 0x56357523330b - main [INFO] [stdout] 28: 0x7f626fece0b3 - __libc_start_main [INFO] [stdout] 29: 0x56357523309e - _start [INFO] [stdout] 30: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- src/buffers.rs - buffers::bind_buffer (line 90) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `vao` in this scope [INFO] [stdout] --> src/buffers.rs:93:24 [INFO] [stdout] | [INFO] [stdout] 6 | rgl::bind_vertex_array(vao); [INFO] [stdout] | ^^^ help: a local variable with a similar name exists: `vbo` [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/buffers.rs:92:21 [INFO] [stdout] | [INFO] [stdout] 5 | rgl::gen_buffers(1, &mut vbo); [INFO] [stdout] | ^^^^^^^^ expected struct `VBO`, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected raw pointer `*mut VBO` [INFO] [stdout] found mutable reference `&mut {integer}` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/buffers.rs - buffers::gen_vertex_arrays (line 17) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/buffers.rs:19:27 [INFO] [stdout] | [INFO] [stdout] 5 | rgl::gen_vertex_arrays(1, &mut vao); [INFO] [stdout] | ^^^^^^^^ expected struct `VAO`, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected raw pointer `*mut VAO` [INFO] [stdout] found mutable reference `&mut {integer}` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/drawing.rs - drawing::clear_color (line 11) stdout ---- [INFO] [stdout] Test executable failed (exit code 101). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] thread 'main' panicked at 'gl function was not loaded', /opt/rustwide/target/debug/build/gl-093f544bb5d75640/out/bindings.rs:20624:13 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55becd63d270 - std::backtrace_rs::backtrace::libunwind::trace::h95fc93571932622e [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x55becd63d270 - std::backtrace_rs::backtrace::trace_unsynchronized::h4d0b90afc33151fd [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55becd63d270 - std::sys_common::backtrace::_print_fmt::h93d302d001a3bf01 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x55becd63d270 - ::fmt::h7881e3a580134f9a [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x55becd657aac - core::fmt::write::h1857a60b204f1b6a [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/core/src/fmt/mod.rs:1078:17 [INFO] [stdout] 5: 0x55becd63b4e2 - std::io::Write::write_fmt::h24485de26f355188 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/io/mod.rs:1519:15 [INFO] [stdout] 6: 0x55becd63f535 - std::sys_common::backtrace::_print::h3e3f9fed81bc11e9 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x55becd63f535 - std::sys_common::backtrace::print::hd22ac23fed5071c8 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x55becd63f535 - std::panicking::default_hook::{{closure}}::h1647bdcf68060e17 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x55becd63f08a - std::panicking::default_hook::hb08853b392b9404b [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panicking.rs:225:9 [INFO] [stdout] 10: 0x55becd63fcd1 - std::panicking::rust_panic_with_hook::h3624ee29da369ede [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panicking.rs:591:17 [INFO] [stdout] 11: 0x55becd62bb9e - std::panicking::begin_panic::{{closure}}::h97a0b53b19dcbeca [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panicking.rs:520:9 [INFO] [stdout] 12: 0x55becd62c8f9 - std::sys_common::backtrace::__rust_end_short_backtrace::h95e0b2d444ff5a39 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x55becd62bacb - std::panicking::begin_panic::h4efadaafc7d730d1 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panicking.rs:519:12 [INFO] [stdout] 14: 0x55becd62ba5d - gl::missing_fn_panic::h0a9a7a86719a5faa [INFO] [stdout] at /opt/rustwide/target/debug/build/gl-093f544bb5d75640/out/bindings.rs:20624:13 [INFO] [stdout] 15: 0x55becd62b41c - gl::ClearColor::hb9f9c07199ee32e9 [INFO] [stdout] at /opt/rustwide/target/debug/build/gl-093f544bb5d75640/out/bindings.rs:1619:135 [INFO] [stdout] 16: 0x55becd62b3a1 - rgl::drawing::clear_color::he3b3d773d781751c [INFO] [stdout] at /opt/rustwide/workdir/src/drawing.rs:18:9 [INFO] [stdout] 17: 0x55becd62b30b - rust_out::main::h405f65324f7b53be [INFO] [stdout] 18: 0x55becd62b283 - core::ops::function::FnOnce::call_once::ha451af22024e1864 [INFO] [stdout] 19: 0x55becd62b169 - std::sys_common::backtrace::__rust_begin_short_backtrace::hefd8e56bf97a4afd [INFO] [stdout] 20: 0x55becd62b1f9 - std::rt::lang_start::{{closure}}::hee13be5f96bd7848 [INFO] [stdout] 21: 0x55becd6400f7 - core::ops::function::impls:: for &F>::call_once::h194d6aa01fb6b594 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/core/src/ops/function.rs:259:13 [INFO] [stdout] 22: 0x55becd6400f7 - std::panicking::try::do_call::h4ef477456776cccb [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panicking.rs:379:40 [INFO] [stdout] 23: 0x55becd6400f7 - std::panicking::try::h7f2121b6bb3bbca4 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panicking.rs:343:19 [INFO] [stdout] 24: 0x55becd6400f7 - std::panic::catch_unwind::he974d0ca04309948 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panic.rs:396:14 [INFO] [stdout] 25: 0x55becd6400f7 - std::rt::lang_start_internal::h36e9e78490120b9f [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/rt.rs:51:25 [INFO] [stdout] 26: 0x55becd62b1d8 - std::rt::lang_start::h290408a3f91c6d5a [INFO] [stdout] 27: 0x55becd62b32b - main [INFO] [stdout] 28: 0x7facf12740b3 - __libc_start_main [INFO] [stdout] 29: 0x55becd62b09e - _start [INFO] [stdout] 30: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/buffers.rs - buffers::bind_buffer (line 90) [INFO] [stdout] src/buffers.rs - buffers::bind_vertex_array (line 74) [INFO] [stdout] src/buffers.rs - buffers::buffer_data (line 148) [INFO] [stdout] src/buffers.rs - buffers::enable_vertex_attrib_array (line 106) [INFO] [stdout] src/buffers.rs - buffers::gen_buffer (line 62) [INFO] [stdout] src/buffers.rs - buffers::gen_buffers (line 46) [INFO] [stdout] src/buffers.rs - buffers::gen_vertex_array (line 34) [INFO] [stdout] src/buffers.rs - buffers::gen_vertex_arrays (line 17) [INFO] [stdout] src/buffers.rs - buffers::vertex_attrib_pointer (line 120) [INFO] [stdout] src/drawing.rs - drawing::clear_color (line 11) [INFO] [stdout] src/drawing.rs - drawing::draw_arrays (line 33) [INFO] [stdout] src/drawing.rs - drawing::draw_elements (line 48) [INFO] [stdout] src/drawing.rs - drawing::draw_elements_instanced (line 64) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 13 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "049828d575f6b0ae2aeb4186a8c8293a88157abc2b72092917e97cec8c88ceb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "049828d575f6b0ae2aeb4186a8c8293a88157abc2b72092917e97cec8c88ceb8", kill_on_drop: false }` [INFO] [stdout] 049828d575f6b0ae2aeb4186a8c8293a88157abc2b72092917e97cec8c88ceb8