[INFO] cloning repository https://github.com/zestyasuo/rustgldrawer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zestyasuo/rustgldrawer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzestyasuo%2Frustgldrawer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzestyasuo%2Frustgldrawer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] afdb402fb9decf8483cd714dd54d7750a3ee04c1 [INFO] testing zestyasuo/rustgldrawer against try#a7ce54db9b096bd1098d07c645b489195a667c9f for pr-137940 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzestyasuo%2Frustgldrawer" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zestyasuo/rustgldrawer on toolchain a7ce54db9b096bd1098d07c645b489195a667c9f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/zestyasuo/rustgldrawer [INFO] finished tweaking git repo https://github.com/zestyasuo/rustgldrawer [INFO] tweaked toml for git repo https://github.com/zestyasuo/rustgldrawer written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/zestyasuo/rustgldrawer already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2843a90a0ec8a81ba827f4fef20c3af3f5dbf4fdbfee16f378cb87401170ea93 [INFO] running `Command { std: "docker" "start" "-a" "2843a90a0ec8a81ba827f4fef20c3af3f5dbf4fdbfee16f378cb87401170ea93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2843a90a0ec8a81ba827f4fef20c3af3f5dbf4fdbfee16f378cb87401170ea93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2843a90a0ec8a81ba827f4fef20c3af3f5dbf4fdbfee16f378cb87401170ea93", kill_on_drop: false }` [INFO] [stdout] 2843a90a0ec8a81ba827f4fef20c3af3f5dbf4fdbfee16f378cb87401170ea93 [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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4e17873204929d95aa64d3b2a12208b080be4ed497bd19b556a25a3745fd396b [INFO] running `Command { std: "docker" "start" "-a" "4e17873204929d95aa64d3b2a12208b080be4ed497bd19b556a25a3745fd396b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.74 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling xml-rs v0.8.19 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Compiling linux-raw-sys v0.4.12 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Compiling syn v2.0.46 [INFO] [stderr] Compiling is-terminal v0.4.10 [INFO] [stderr] Compiling approx v0.4.0 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling raw-window-handle v0.5.2 [INFO] [stderr] Compiling termcolor v1.4.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling glfw-sys v4.0.0+3.3.5 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling env_logger v0.10.1 [INFO] [stderr] Compiling glfw v0.54.0 [INFO] [stderr] Compiling rustgldrawer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lint `temporary_cstring_as_ptr` has been renamed to `dangling_pointers_from_temporaries` [INFO] [stdout] --> src/graphics/glwrapper.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | #[allow(temporary_cstring_as_ptr)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `dangling_pointers_from_temporaries` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.27s [INFO] running `Command { std: "docker" "inspect" "4e17873204929d95aa64d3b2a12208b080be4ed497bd19b556a25a3745fd396b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e17873204929d95aa64d3b2a12208b080be4ed497bd19b556a25a3745fd396b", kill_on_drop: false }` [INFO] [stdout] 4e17873204929d95aa64d3b2a12208b080be4ed497bd19b556a25a3745fd396b [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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 21901661d380680489ad6c64b21d6e18a0d4346680fd416e1eaef45b628907bc [INFO] running `Command { std: "docker" "start" "-a" "21901661d380680489ad6c64b21d6e18a0d4346680fd416e1eaef45b628907bc", kill_on_drop: false }` [INFO] [stderr] Compiling rustgldrawer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lint `temporary_cstring_as_ptr` has been renamed to `dangling_pointers_from_temporaries` [INFO] [stdout] --> src/graphics/glwrapper.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | #[allow(temporary_cstring_as_ptr)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `dangling_pointers_from_temporaries` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `temporary_cstring_as_ptr` has been renamed to `dangling_pointers_from_temporaries` [INFO] [stdout] --> src/graphics/glwrapper.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | #[allow(temporary_cstring_as_ptr)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `dangling_pointers_from_temporaries` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.45s [INFO] running `Command { std: "docker" "inspect" "21901661d380680489ad6c64b21d6e18a0d4346680fd416e1eaef45b628907bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21901661d380680489ad6c64b21d6e18a0d4346680fd416e1eaef45b628907bc", kill_on_drop: false }` [INFO] [stdout] 21901661d380680489ad6c64b21d6e18a0d4346680fd416e1eaef45b628907bc [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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 406e9539e4f433271ac6df36859967602fca9e7b1475009244076ff32bf0d43a [INFO] running `Command { std: "docker" "start" "-a" "406e9539e4f433271ac6df36859967602fca9e7b1475009244076ff32bf0d43a", kill_on_drop: false }` [INFO] [stderr] warning: lint `temporary_cstring_as_ptr` has been renamed to `dangling_pointers_from_temporaries` [INFO] [stderr] --> src/graphics/glwrapper.rs:165:9 [INFO] [stderr] | [INFO] [stderr] 165 | #[allow(temporary_cstring_as_ptr)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `dangling_pointers_from_temporaries` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `rustgldrawer` (lib) generated 1 warning (run `cargo fix --lib -p rustgldrawer` to apply 1 suggestion) [INFO] [stderr] warning: `rustgldrawer` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rustgldrawer-9aab005ed640db56) [INFO] [stderr] Doc-tests rustgldrawer [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] warning: lint `temporary_cstring_as_ptr` has been renamed to `dangling_pointers_from_temporaries` [INFO] [stderr] --> src/graphics/glwrapper.rs:165:9 [INFO] [stderr] | [INFO] [stderr] 165 | #[allow(temporary_cstring_as_ptr)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `dangling_pointers_from_temporaries` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/graphics/glwrapper.rs - graphics::glwrapper::BufferObject (line 53) ... FAILED [INFO] [stdout] test src/graphics/glwrapper.rs - graphics::glwrapper::Vao (line 18) ... FAILED [INFO] [stdout] test src/graphics/glwrapper.rs - graphics::glwrapper::ShaderProgram (line 152) ... FAILED [INFO] [stdout] test src/graphics/glwrapper.rs - graphics::glwrapper::VertexAttribute (line 113) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/graphics/glwrapper.rs - graphics::glwrapper::BufferObject (line 53) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BufferObject` [INFO] [stdout] --> src/graphics/glwrapper.rs:54:11 [INFO] [stdout] | [INFO] [stdout] 3 | let vbo = BufferObject::new(gl::ARRAY_BUFFER, gl::STATIC_DRAW); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `BufferObject` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rustgldrawer::graphics::glwrapper::BufferObject; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `float32_array` in this scope [INFO] [stdout] --> src/graphics/glwrapper.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 6 | vbo.store_f32_data(&float32_array); [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/graphics/glwrapper.rs - graphics::glwrapper::Vao (line 18) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vao` [INFO] [stdout] --> src/graphics/glwrapper.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 3 | let vao = Vao::new(); [INFO] [stdout] | ^^^ use of undeclared type `Vao` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rustgldrawer::graphics::glwrapper::Vao; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/graphics/glwrapper.rs - graphics::glwrapper::ShaderProgram (line 152) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ShaderProgram` [INFO] [stdout] --> src/graphics/glwrapper.rs:153:15 [INFO] [stdout] | [INFO] [stdout] 3 | let program = ShaderProgram::new("/path/to/vertexShader.glsl", "/path/to/fragmentShader.glsl"); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `ShaderProgram` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rustgldrawer::graphics::glwrapper::ShaderProgram; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `some_matrix` in this scope [INFO] [stdout] --> src/graphics/glwrapper.rs:158:44 [INFO] [stdout] | [INFO] [stdout] 8 | program.set_matrix4fv_uniform("transform", some_matrix); [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/graphics/glwrapper.rs - graphics::glwrapper::VertexAttribute (line 113) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VertexAttribute` [INFO] [stdout] --> src/graphics/glwrapper.rs:114:26 [INFO] [stdout] | [INFO] [stdout] 3 | let position_attribute = VertexAttribute::new(0, 3, gl::FLOAT, gl::FALSE, 3 * mem::size_of::() as GLsizei, ptr::null()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `VertexAttribute` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rustgldrawer::graphics::glwrapper::VertexAttribute; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mem` [INFO] [stdout] --> src/graphics/glwrapper.rs:114:79 [INFO] [stdout] | [INFO] [stdout] 3 | let position_attribute = VertexAttribute::new(0, 3, gl::FLOAT, gl::FALSE, 3 * mem::size_of::() as GLsizei, ptr::null()); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `mem` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mem`, use `cargo add mem` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + use std::mem; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GLfloat` in this scope [INFO] [stdout] --> src/graphics/glwrapper.rs:114:94 [INFO] [stdout] | [INFO] [stdout] 3 | let position_attribute = VertexAttribute::new(0, 3, gl::FLOAT, gl::FALSE, 3 * mem::size_of::() as GLsizei, ptr::null()); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 2 + use gl::types::GLfloat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GLsizei` in this scope [INFO] [stdout] --> src/graphics/glwrapper.rs:114:108 [INFO] [stdout] | [INFO] [stdout] 3 | let position_attribute = VertexAttribute::new(0, 3, gl::FLOAT, gl::FALSE, 3 * mem::size_of::() as GLsizei, ptr::null()); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 2 + use gl::types::GLsizei; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ptr` [INFO] [stdout] --> src/graphics/glwrapper.rs:114:117 [INFO] [stdout] | [INFO] [stdout] 3 | let position_attribute = VertexAttribute::new(0, 3, gl::FLOAT, gl::FALSE, 3 * mem::size_of::() as GLsizei, ptr::null()); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `ptr` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ptr`, use `cargo add ptr` to add it to your `Cargo.toml` [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 - let position_attribute = VertexAttribute::new(0, 3, gl::FLOAT, gl::FALSE, 3 * mem::size_of::() as GLsizei, ptr::null()); [INFO] [stdout] 3 + let position_attribute = VertexAttribute::new(0, 3, gl::FLOAT, gl::FALSE, 3 * mem::size_of::() as GLsizei, str::null()); [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + use std::ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 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] [INFO] [stdout] failures: [INFO] [stdout] src/graphics/glwrapper.rs - graphics::glwrapper::BufferObject (line 53) [INFO] [stdout] src/graphics/glwrapper.rs - graphics::glwrapper::ShaderProgram (line 152) [INFO] [stdout] src/graphics/glwrapper.rs - graphics::glwrapper::Vao (line 18) [INFO] [stdout] src/graphics/glwrapper.rs - graphics::glwrapper::VertexAttribute (line 113) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.29s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "406e9539e4f433271ac6df36859967602fca9e7b1475009244076ff32bf0d43a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "406e9539e4f433271ac6df36859967602fca9e7b1475009244076ff32bf0d43a", kill_on_drop: false }` [INFO] [stdout] 406e9539e4f433271ac6df36859967602fca9e7b1475009244076ff32bf0d43a