[INFO] updating cached repository https://github.com/peerhenry/rust_hello_triangle [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 776cd13d326da862c3062e7752d0289af0adcc50 [INFO] testing peerhenry/rust_hello_triangle against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpeerhenry%2Frust_hello_triangle" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/peerhenry/rust_hello_triangle on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/peerhenry/rust_hello_triangle [INFO] removed path dependency engine from git repo https://github.com/peerhenry/rust_hello_triangle [INFO] finished tweaking git repo https://github.com/peerhenry/rust_hello_triangle [INFO] tweaked toml for git repo https://github.com/peerhenry/rust_hello_triangle written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/peerhenry/rust_hello_triangle already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (engine) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-1/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (engine) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f1025eef54e8f4a3f7bc90f8892a8527160e1126b1f687922a644afe021de10f [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" "f1025eef54e8f4a3f7bc90f8892a8527160e1126b1f687922a644afe021de10f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f1025eef54e8f4a3f7bc90f8892a8527160e1126b1f687922a644afe021de10f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1025eef54e8f4a3f7bc90f8892a8527160e1126b1f687922a644afe021de10f", kill_on_drop: false }` [INFO] [stdout] f1025eef54e8f4a3f7bc90f8892a8527160e1126b1f687922a644afe021de10f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3bf702c3d2794f138880bb32f6003e627cf7db5dcfc03e9c9d53fa4b64446477 [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" "3bf702c3d2794f138880bb32f6003e627cf7db5dcfc03e9c9d53fa4b64446477", kill_on_drop: false }` [INFO] [stderr] warning: dependency (engine) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Compiling bytepack v0.1.1 [INFO] [stderr] Compiling if_chain v0.1.3 [INFO] [stderr] Compiling miniz-sys v0.1.12 [INFO] [stderr] Compiling wayland-scanner v0.9.10 [INFO] [stderr] Compiling serde_json v0.9.10 [INFO] [stderr] Compiling fs2 v0.2.5 [INFO] [stderr] Compiling gl_generator v0.5.5 [INFO] [stderr] Compiling engine v0.0.0 [INFO] [stderr] Compiling tempfile v2.2.0 [INFO] [stderr] Compiling cgmath v0.15.0 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling memmap v0.4.0 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling target_build_utils v0.3.1 [INFO] [stderr] Compiling wayland-client v0.9.10 [INFO] [stderr] Compiling wayland-protocols v0.9.10 [INFO] [stderr] Compiling flate2 v0.2.20 [INFO] [stderr] Compiling glutin v0.9.2 [INFO] [stderr] Compiling fbx3d v0.1.0 [INFO] [stderr] Compiling libloading v0.3.4 [INFO] [stderr] Compiling dlib v0.3.1 [INFO] [stderr] Compiling wayland-sys v0.9.10 [INFO] [stderr] Compiling wayland-kbd v0.9.1 [INFO] [stderr] Compiling wayland-window v0.7.0 [INFO] [stderr] Compiling winit v0.7.6 [INFO] [stderr] Compiling rust_hello_triangle v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `engine::camera` [INFO] [stdout] --> src/teapot.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use engine::camera; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `camera` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `vao_builder` in `engine` [INFO] [stdout] --> src/model_creator.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use engine::vao_builder::buffer_component::BufferComponent; [INFO] [stdout] | ^^^^^^^^^^^ could not find `vao_builder` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `engine::shader_program` [INFO] [stdout] --> src/teapot.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use engine::shader_program; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `shader_program` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `vao_builder` in `engine` [INFO] [stdout] --> src/model_creator.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use engine::vao_builder::attrib_parameters::AttribParameters; [INFO] [stdout] | ^^^^^^^^^^^ could not find `vao_builder` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ecs` in `engine` [INFO] [stdout] --> src/game_state.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use engine::ecs::generational_index::*; [INFO] [stdout] | ^^^ could not find `ecs` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ecs` in `engine` [INFO] [stdout] --> src/game_state.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use engine::ecs::generational_entries::*; [INFO] [stdout] | ^^^ could not find `ecs` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `engine::vao_builder` [INFO] [stdout] --> src/model_creator.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use engine::vao_builder::VaoBuilder; [INFO] [stdout] | ^^^^^^^^^^^ could not find `vao_builder` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `engine::camera` [INFO] [stdout] --> src/game_builder.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use engine::camera; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `camera` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ecs` in `engine` [INFO] [stdout] --> src/game_state_renderer.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use engine::ecs::generational_index::*; [INFO] [stdout] | ^^^ could not find `ecs` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `engine::shader_program` [INFO] [stdout] --> src/game_builder.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use engine::shader_program; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `shader_program` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `engine::camera` [INFO] [stdout] --> src/point.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use engine::camera; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `camera` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `vao_builder` in `engine` [INFO] [stdout] --> src/model_creator.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use engine::vao_builder::buffer_component::BufferComponent; [INFO] [stdout] | ^^^^^^^^^^^ could not find `vao_builder` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `engine::shader_program` [INFO] [stdout] --> src/point.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use engine::shader_program; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `shader_program` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `vao_builder` in `engine` [INFO] [stdout] --> src/model_creator.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use engine::vao_builder::attrib_parameters::AttribParameters; [INFO] [stdout] | ^^^^^^^^^^^ could not find `vao_builder` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ecs` in `engine` [INFO] [stdout] --> src/game_state.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use engine::ecs::generational_index::*; [INFO] [stdout] | ^^^ could not find `ecs` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ecs` in `engine` [INFO] [stdout] --> src/game_state.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use engine::ecs::generational_entries::*; [INFO] [stdout] | ^^^ could not find `ecs` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `engine::vao_builder` [INFO] [stdout] --> src/model_creator.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use engine::vao_builder::VaoBuilder; [INFO] [stdout] | ^^^^^^^^^^^ could not find `vao_builder` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `engine::camera` [INFO] [stdout] --> src/game_builder.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use engine::camera; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `camera` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ecs` in `engine` [INFO] [stdout] --> src/game_state_renderer.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use engine::ecs::generational_index::*; [INFO] [stdout] | ^^^ could not find `ecs` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `engine::shader_program` [INFO] [stdout] --> src/game_builder.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use engine::shader_program; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `shader_program` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `engine::camera` [INFO] [stdout] --> src/dummy.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use engine::camera; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `camera` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `vao_builder` in `engine` [INFO] [stdout] --> src/model_creator.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use engine::vao_builder::buffer_component::BufferComponent; [INFO] [stdout] | ^^^^^^^^^^^ could not find `vao_builder` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `engine::shader_program` [INFO] [stdout] --> src/dummy.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use engine::shader_program; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `shader_program` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `vao_builder` in `engine` [INFO] [stdout] --> src/model_creator.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use engine::vao_builder::attrib_parameters::AttribParameters; [INFO] [stdout] | ^^^^^^^^^^^ could not find `vao_builder` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ecs` in `engine` [INFO] [stdout] --> src/game_state.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use engine::ecs::generational_index::*; [INFO] [stdout] | ^^^ could not find `ecs` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ecs` in `engine` [INFO] [stdout] --> src/game_state.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use engine::ecs::generational_entries::*; [INFO] [stdout] | ^^^ could not find `ecs` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `engine::vao_builder` [INFO] [stdout] --> src/model_creator.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use engine::vao_builder::VaoBuilder; [INFO] [stdout] | ^^^^^^^^^^^ could not find `vao_builder` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `engine::camera` [INFO] [stdout] --> src/game_builder.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use engine::camera; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `camera` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ecs` in `engine` [INFO] [stdout] --> src/game_state_renderer.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use engine::ecs::generational_index::*; [INFO] [stdout] | ^^^ could not find `ecs` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `engine::shader_program` [INFO] [stdout] --> src/game_builder.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use engine::shader_program; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `shader_program` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `engine::camera` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use engine::camera; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `camera` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `vao_builder` in `engine` [INFO] [stdout] --> src/model_creator.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use engine::vao_builder::buffer_component::BufferComponent; [INFO] [stdout] | ^^^^^^^^^^^ could not find `vao_builder` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `engine::shader_program` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use engine::shader_program; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `shader_program` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `vao_builder` in `engine` [INFO] [stdout] --> src/model_creator.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use engine::vao_builder::attrib_parameters::AttribParameters; [INFO] [stdout] | ^^^^^^^^^^^ could not find `vao_builder` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ecs` in `engine` [INFO] [stdout] --> src/game_state.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use engine::ecs::generational_index::*; [INFO] [stdout] | ^^^ could not find `ecs` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ecs` in `engine` [INFO] [stdout] --> src/game_state.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use engine::ecs::generational_entries::*; [INFO] [stdout] | ^^^ could not find `ecs` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `engine::vao_builder` [INFO] [stdout] --> src/model_creator.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use engine::vao_builder::VaoBuilder; [INFO] [stdout] | ^^^^^^^^^^^ could not find `vao_builder` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `engine::camera` [INFO] [stdout] --> src/game_builder.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use engine::camera; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `camera` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ecs` in `engine` [INFO] [stdout] --> src/game_state_renderer.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use engine::ecs::generational_index::*; [INFO] [stdout] | ^^^ could not find `ecs` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `engine::shader_program` [INFO] [stdout] --> src/game_builder.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use engine::shader_program; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `shader_program` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ShaderProgramBuilder` [INFO] [stdout] --> src/game_builder.rs:112:25 [INFO] [stdout] | [INFO] [stdout] 112 | let mut builder = ShaderProgramBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ShaderProgramBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `CameraBuilder` [INFO] [stdout] --> src/game_builder.rs:133:10 [INFO] [stdout] | [INFO] [stdout] 133 | return CameraBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type or module `CameraBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ShaderProgramBuilder` [INFO] [stdout] --> src/game_builder.rs:112:25 [INFO] [stdout] | [INFO] [stdout] 112 | let mut builder = ShaderProgramBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ShaderProgramBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `CameraBuilder` [INFO] [stdout] --> src/game_builder.rs:133:10 [INFO] [stdout] | [INFO] [stdout] 133 | return CameraBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type or module `CameraBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BufferComponent` in this scope [INFO] [stdout] --> src/model_creator.rs:16:46 [INFO] [stdout] | [INFO] [stdout] 16 | fn build_buffers(game_state: &GameState) -> (BufferComponent, usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `AttribParameters` in this scope [INFO] [stdout] --> src/model_creator.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | .with_attribute(AttribParameters{ // position [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `AttribParameters` in this scope [INFO] [stdout] --> src/model_creator.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 26 | .with_attribute(AttribParameters{ // color [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BufferComponent` in this scope [INFO] [stdout] --> src/model_creator.rs:48:25 [INFO] [stdout] | [INFO] [stdout] 48 | fn add_to_game(buffers: BufferComponent, game_state: &mut GameState, vertex_count: GLsizei) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ShaderProgram` in this scope [INFO] [stdout] --> src/game_state.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct GameState { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 12 | pub running: bool, [INFO] [stdout] 13 | pub shader_program: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ShaderProgramBuilder` [INFO] [stdout] --> src/game_builder.rs:112:25 [INFO] [stdout] | [INFO] [stdout] 112 | let mut builder = ShaderProgramBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ShaderProgramBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Camera` in this scope [INFO] [stdout] --> src/game_state.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct GameState { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 14 | pub camera: Option, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GenerationalIndexAllocator` in this scope [INFO] [stdout] --> src/game_state.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 16 | pub entity_allocator: GenerationalIndexAllocator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GenerationalEntries` in this scope [INFO] [stdout] --> src/game_state.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | pub vaos: GenerationalEntries, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BufferComponent` in this scope [INFO] [stdout] --> src/model_creator.rs:16:46 [INFO] [stdout] | [INFO] [stdout] 16 | fn build_buffers(game_state: &GameState) -> (BufferComponent, usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GenerationalEntries` in this scope [INFO] [stdout] --> src/game_state.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | pub model_matrices: GenerationalEntries>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `AttribParameters` in this scope [INFO] [stdout] --> src/model_creator.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | .with_attribute(AttribParameters{ // position [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GenerationalEntries` in this scope [INFO] [stdout] --> src/game_state.rs:19:22 [INFO] [stdout] | [INFO] [stdout] 19 | pub vertex_counts: GenerationalEntries, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `AttribParameters` in this scope [INFO] [stdout] --> src/model_creator.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 26 | .with_attribute(AttribParameters{ // color [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BufferComponent` in this scope [INFO] [stdout] --> src/model_creator.rs:48:25 [INFO] [stdout] | [INFO] [stdout] 48 | fn add_to_game(buffers: BufferComponent, game_state: &mut GameState, vertex_count: GLsizei) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GenerationalIndex` in this scope [INFO] [stdout] --> src/game_state.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct GameState { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 20 | pub entities: Vec [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ShaderProgram` in this scope [INFO] [stdout] --> src/game_state.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct GameState { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 12 | pub running: bool, [INFO] [stdout] 13 | pub shader_program: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ShaderProgram` in this scope [INFO] [stdout] --> src/game_state.rs:24:37 [INFO] [stdout] | [INFO] [stdout] 23 | impl GameState { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 24 | pub fn new(shader_program: Option) -> GameState { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Camera` in this scope [INFO] [stdout] --> src/game_state.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct GameState { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 14 | pub camera: Option, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GenerationalIndexAllocator` in this scope [INFO] [stdout] --> src/game_state.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 16 | pub entity_allocator: GenerationalIndexAllocator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GenerationalEntries` in this scope [INFO] [stdout] --> src/game_state.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | pub vaos: GenerationalEntries, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GenerationalEntries` in this scope [INFO] [stdout] --> src/game_state.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | pub model_matrices: GenerationalEntries>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GenerationalEntries` in this scope [INFO] [stdout] --> src/game_state.rs:19:22 [INFO] [stdout] | [INFO] [stdout] 19 | pub vertex_counts: GenerationalEntries, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GenerationalIndex` in this scope [INFO] [stdout] --> src/game_state.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct GameState { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 20 | pub entities: Vec [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ShaderProgram` in this scope [INFO] [stdout] --> src/game_state.rs:24:37 [INFO] [stdout] | [INFO] [stdout] 23 | impl GameState { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 24 | pub fn new(shader_program: Option) -> GameState { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ShaderProgram` in this scope [INFO] [stdout] --> src/game_state.rs:36:30 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct GameStateBuilder { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 36 | pub shader_program: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Camera` in this scope [INFO] [stdout] --> src/game_state.rs:37:22 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct GameStateBuilder { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 36 | pub shader_program: Option, [INFO] [stdout] 37 | pub camera: Option, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ShaderProgram` in this scope [INFO] [stdout] --> src/game_state.rs:47:63 [INFO] [stdout] | [INFO] [stdout] 40 | impl GameStateBuilder { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn with_shader_program(mut self, shader_program: Option) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Camera` in this scope [INFO] [stdout] --> src/game_state.rs:53:47 [INFO] [stdout] | [INFO] [stdout] 40 | impl GameStateBuilder { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn with_camera(mut self, camera: Option) -> Self { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Camera` in this scope [INFO] [stdout] --> src/game_builder.rs:132:22 [INFO] [stdout] | [INFO] [stdout] 132 | fn build_camera() -> Camera { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ShaderProgram` in this scope [INFO] [stdout] --> src/game_state.rs:36:30 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct GameStateBuilder { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 36 | pub shader_program: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ShaderProgram` in this scope [INFO] [stdout] --> src/game_state_renderer.rs:35:59 [INFO] [stdout] | [INFO] [stdout] 35 | fn draw_entity(&self, game_state: &GameState, program: &ShaderProgram, entity_index: GenerationalIndex) -> Option<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Camera` in this scope [INFO] [stdout] --> src/game_state.rs:37:22 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct GameStateBuilder { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 36 | pub shader_program: Option, [INFO] [stdout] 37 | pub camera: Option, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GenerationalIndex` in this scope [INFO] [stdout] --> src/game_state_renderer.rs:35:88 [INFO] [stdout] | [INFO] [stdout] 35 | fn draw_entity(&self, game_state: &GameState, program: &ShaderProgram, entity_index: GenerationalIndex) -> Option<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ShaderProgram` in this scope [INFO] [stdout] --> src/game_state.rs:47:63 [INFO] [stdout] | [INFO] [stdout] 40 | impl GameStateBuilder { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn with_shader_program(mut self, shader_program: Option) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Camera` in this scope [INFO] [stdout] --> src/game_state.rs:53:47 [INFO] [stdout] | [INFO] [stdout] 40 | impl GameStateBuilder { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn with_camera(mut self, camera: Option) -> Self { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Camera` in this scope [INFO] [stdout] --> src/game_builder.rs:132:22 [INFO] [stdout] | [INFO] [stdout] 132 | fn build_camera() -> Camera { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ShaderProgram` in this scope [INFO] [stdout] --> src/game_state_renderer.rs:35:59 [INFO] [stdout] | [INFO] [stdout] 35 | fn draw_entity(&self, game_state: &GameState, program: &ShaderProgram, entity_index: GenerationalIndex) -> Option<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GenerationalIndex` in this scope [INFO] [stdout] --> src/game_state_renderer.rs:35:88 [INFO] [stdout] | [INFO] [stdout] 35 | fn draw_entity(&self, game_state: &GameState, program: &ShaderProgram, entity_index: GenerationalIndex) -> Option<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gl::types::GLfloat` [INFO] [stdout] --> src/point.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use gl::types::GLfloat; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `CameraBuilder` [INFO] [stdout] --> src/game_builder.rs:133:10 [INFO] [stdout] | [INFO] [stdout] 133 | return CameraBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type or module `CameraBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gl::types::GLfloat` [INFO] [stdout] --> src/teapot.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use gl::types::GLfloat; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ShaderProgramBuilder` [INFO] [stdout] --> src/game_builder.rs:112:25 [INFO] [stdout] | [INFO] [stdout] 112 | let mut builder = ShaderProgramBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `ShaderProgramBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `CameraBuilder` [INFO] [stdout] --> src/game_builder.rs:133:10 [INFO] [stdout] | [INFO] [stdout] 133 | return CameraBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type or module `CameraBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BufferComponent` in this scope [INFO] [stdout] --> src/model_creator.rs:16:46 [INFO] [stdout] | [INFO] [stdout] 16 | fn build_buffers(game_state: &GameState) -> (BufferComponent, usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `AttribParameters` in this scope [INFO] [stdout] --> src/model_creator.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | .with_attribute(AttribParameters{ // position [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `AttribParameters` in this scope [INFO] [stdout] --> src/model_creator.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 26 | .with_attribute(AttribParameters{ // color [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BufferComponent` in this scope [INFO] [stdout] --> src/model_creator.rs:48:25 [INFO] [stdout] | [INFO] [stdout] 48 | fn add_to_game(buffers: BufferComponent, game_state: &mut GameState, vertex_count: GLsizei) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ShaderProgram` in this scope [INFO] [stdout] --> src/game_state.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct GameState { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 12 | pub running: bool, [INFO] [stdout] 13 | pub shader_program: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Camera` in this scope [INFO] [stdout] --> src/game_state.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct GameState { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 14 | pub camera: Option, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GenerationalIndexAllocator` in this scope [INFO] [stdout] --> src/game_state.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 16 | pub entity_allocator: GenerationalIndexAllocator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GenerationalEntries` in this scope [INFO] [stdout] --> src/game_state.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | pub vaos: GenerationalEntries, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GenerationalEntries` in this scope [INFO] [stdout] --> src/game_state.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | pub model_matrices: GenerationalEntries>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GenerationalEntries` in this scope [INFO] [stdout] --> src/game_state.rs:19:22 [INFO] [stdout] | [INFO] [stdout] 19 | pub vertex_counts: GenerationalEntries, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GenerationalIndex` in this scope [INFO] [stdout] --> src/game_state.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct GameState { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 20 | pub entities: Vec [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ShaderProgram` in this scope [INFO] [stdout] --> src/game_state.rs:24:37 [INFO] [stdout] | [INFO] [stdout] 23 | impl GameState { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 24 | pub fn new(shader_program: Option) -> GameState { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ShaderProgram` in this scope [INFO] [stdout] --> src/game_state.rs:36:30 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct GameStateBuilder { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 36 | pub shader_program: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Camera` in this scope [INFO] [stdout] --> src/game_state.rs:37:22 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct GameStateBuilder { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 36 | pub shader_program: Option, [INFO] [stdout] 37 | pub camera: Option, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BufferComponent` in this scope [INFO] [stdout] --> src/model_creator.rs:16:46 [INFO] [stdout] | [INFO] [stdout] 16 | fn build_buffers(game_state: &GameState) -> (BufferComponent, usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `AttribParameters` in this scope [INFO] [stdout] --> src/model_creator.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | .with_attribute(AttribParameters{ // position [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ShaderProgram` in this scope [INFO] [stdout] --> src/game_state.rs:47:63 [INFO] [stdout] | [INFO] [stdout] 40 | impl GameStateBuilder { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn with_shader_program(mut self, shader_program: Option) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `AttribParameters` in this scope [INFO] [stdout] --> src/model_creator.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 26 | .with_attribute(AttribParameters{ // color [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BufferComponent` in this scope [INFO] [stdout] --> src/model_creator.rs:48:25 [INFO] [stdout] | [INFO] [stdout] 48 | fn add_to_game(buffers: BufferComponent, game_state: &mut GameState, vertex_count: GLsizei) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ShaderProgram` in this scope [INFO] [stdout] --> src/game_state.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct GameState { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 12 | pub running: bool, [INFO] [stdout] 13 | pub shader_program: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Camera` in this scope [INFO] [stdout] --> src/game_state.rs:53:47 [INFO] [stdout] | [INFO] [stdout] 40 | impl GameStateBuilder { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn with_camera(mut self, camera: Option) -> Self { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Camera` in this scope [INFO] [stdout] --> src/game_state.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct GameState { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 14 | pub camera: Option, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GenerationalIndexAllocator` in this scope [INFO] [stdout] --> src/game_state.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 16 | pub entity_allocator: GenerationalIndexAllocator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Camera` in this scope [INFO] [stdout] --> src/game_builder.rs:132:22 [INFO] [stdout] | [INFO] [stdout] 132 | fn build_camera() -> Camera { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GenerationalEntries` in this scope [INFO] [stdout] --> src/game_state.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | pub vaos: GenerationalEntries, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GenerationalEntries` in this scope [INFO] [stdout] --> src/game_state.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | pub model_matrices: GenerationalEntries>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GenerationalEntries` in this scope [INFO] [stdout] --> src/game_state.rs:19:22 [INFO] [stdout] | [INFO] [stdout] 19 | pub vertex_counts: GenerationalEntries, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ShaderProgram` in this scope [INFO] [stdout] --> src/game_state_renderer.rs:35:59 [INFO] [stdout] | [INFO] [stdout] 35 | fn draw_entity(&self, game_state: &GameState, program: &ShaderProgram, entity_index: GenerationalIndex) -> Option<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GenerationalIndex` in this scope [INFO] [stdout] --> src/game_state.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct GameState { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 20 | pub entities: Vec [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GenerationalIndex` in this scope [INFO] [stdout] --> src/game_state_renderer.rs:35:88 [INFO] [stdout] | [INFO] [stdout] 35 | fn draw_entity(&self, game_state: &GameState, program: &ShaderProgram, entity_index: GenerationalIndex) -> Option<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ShaderProgram` in this scope [INFO] [stdout] --> src/game_state.rs:24:37 [INFO] [stdout] | [INFO] [stdout] 23 | impl GameState { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 24 | pub fn new(shader_program: Option) -> GameState { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ShaderProgram` in this scope [INFO] [stdout] --> src/game_state.rs:36:30 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct GameStateBuilder { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 36 | pub shader_program: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Camera` in this scope [INFO] [stdout] --> src/game_state.rs:37:22 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct GameStateBuilder { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 36 | pub shader_program: Option, [INFO] [stdout] 37 | pub camera: Option, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ShaderProgram` in this scope [INFO] [stdout] --> src/game_state.rs:47:63 [INFO] [stdout] | [INFO] [stdout] 40 | impl GameStateBuilder { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn with_shader_program(mut self, shader_program: Option) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Camera` in this scope [INFO] [stdout] --> src/game_state.rs:53:47 [INFO] [stdout] | [INFO] [stdout] 40 | impl GameStateBuilder { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn with_camera(mut self, camera: Option) -> Self { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Camera` in this scope [INFO] [stdout] --> src/game_builder.rs:132:22 [INFO] [stdout] | [INFO] [stdout] 132 | fn build_camera() -> Camera { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ShaderProgram` in this scope [INFO] [stdout] --> src/game_state_renderer.rs:35:59 [INFO] [stdout] | [INFO] [stdout] 35 | fn draw_entity(&self, game_state: &GameState, program: &ShaderProgram, entity_index: GenerationalIndex) -> Option<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GenerationalIndex` in this scope [INFO] [stdout] --> src/game_state_renderer.rs:35:88 [INFO] [stdout] | [INFO] [stdout] 35 | fn draw_entity(&self, game_state: &GameState, program: &ShaderProgram, entity_index: GenerationalIndex) -> Option<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gl::types::GLfloat` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use gl::types::GLfloat; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/game_state.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 13 | pub shader_program: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: std::default::Default` [INFO] [stdout] = note: required by `std::default::Default::default` [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/game_state.rs:36:3 [INFO] [stdout] | [INFO] [stdout] 36 | pub shader_program: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: std::default::Default` [INFO] [stdout] = note: required by `std::default::Default::default` [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/game_state.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 13 | pub shader_program: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: std::default::Default` [INFO] [stdout] = note: required by `std::default::Default::default` [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/game_state.rs:36:3 [INFO] [stdout] | [INFO] [stdout] 36 | pub shader_program: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: std::default::Default` [INFO] [stdout] = note: required by `std::default::Default::default` [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/game_state.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 13 | pub shader_program: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: std::default::Default` [INFO] [stdout] = note: required by `std::default::Default::default` [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/game_state.rs:36:3 [INFO] [stdout] | [INFO] [stdout] 36 | pub shader_program: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: std::default::Default` [INFO] [stdout] = note: required by `std::default::Default::default` [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/game_state.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 13 | pub shader_program: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: std::default::Default` [INFO] [stdout] = note: required by `std::default::Default::default` [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/game_state.rs:36:3 [INFO] [stdout] | [INFO] [stdout] 36 | pub shader_program: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: std::default::Default` [INFO] [stdout] = note: required by `std::default::Default::default` [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 33 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0283, E0412, E0422, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_hello_triangle`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 33 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0283, E0412, E0422, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 33 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0283, E0412, E0422, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 33 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0283, E0412, E0422, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "3bf702c3d2794f138880bb32f6003e627cf7db5dcfc03e9c9d53fa4b64446477", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3bf702c3d2794f138880bb32f6003e627cf7db5dcfc03e9c9d53fa4b64446477", kill_on_drop: false }` [INFO] [stdout] 3bf702c3d2794f138880bb32f6003e627cf7db5dcfc03e9c9d53fa4b64446477