[INFO] fetching crate cuboid 0.1.0... [INFO] testing cuboid-0.1.0 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate cuboid 0.1.0 into /workspace/builds/worker-48/source [INFO] validating manifest of crates.io crate cuboid 0.1.0 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cuboid 0.1.0 [INFO] finished tweaking crates.io crate cuboid 0.1.0 [INFO] tweaked toml for crates.io crate cuboid 0.1.0 written to /workspace/builds/worker-48/source/Cargo.toml [INFO] crate crates.io crate cuboid 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-48/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-48/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1512fa1cb2391975bf10ca594e46fa111bed70d7e1f90622522e8edf8c8e2cb9 [INFO] running `Command { std: "docker" "start" "-a" "1512fa1cb2391975bf10ca594e46fa111bed70d7e1f90622522e8edf8c8e2cb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1512fa1cb2391975bf10ca594e46fa111bed70d7e1f90622522e8edf8c8e2cb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1512fa1cb2391975bf10ca594e46fa111bed70d7e1f90622522e8edf8c8e2cb9", kill_on_drop: false }` [INFO] [stdout] 1512fa1cb2391975bf10ca594e46fa111bed70d7e1f90622522e8edf8c8e2cb9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-48/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-48/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 256cc4f64cb56f3087b6bd693fadd82847b04a1fe1a85615abe6a1e8904e9217 [INFO] running `Command { std: "docker" "start" "-a" "256cc4f64cb56f3087b6bd693fadd82847b04a1fe1a85615abe6a1e8904e9217", kill_on_drop: false }` [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling raw-window-handle v0.4.2 [INFO] [stderr] Compiling cmake v0.1.48 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling glfw-sys v3.3.5 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Compiling glfw v0.43.0 [INFO] [stderr] Compiling cuboid v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/io/cam_controller.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | key: glfw::Key, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scancode` [INFO] [stdout] --> src/io/cam_controller.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | scancode: glfw::Scancode, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scancode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `action` [INFO] [stdout] --> src/io/cam_controller.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | action: glfw::Action, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_action` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `modifiers` [INFO] [stdout] --> src/io/cam_controller.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | modifiers: glfw::Modifiers, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_modifiers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mouse_button` [INFO] [stdout] --> src/io/cam_controller.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | mouse_button: glfw::MouseButton, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mouse_button` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `action` [INFO] [stdout] --> src/io/cam_controller.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | action: glfw::Action, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_action` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `modifiers` [INFO] [stdout] --> src/io/cam_controller.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | modifiers: glfw::Modifiers, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_modifiers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/io/cam_controller.rs:43:43 [INFO] [stdout] | [INFO] [stdout] 43 | fn handle_cursor_pos_event(&mut self, x: f64, y: f64) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/io/cam_controller.rs:43:51 [INFO] [stdout] | [INFO] [stdout] 43 | fn handle_cursor_pos_event(&mut self, x: f64, y: f64) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enter` [INFO] [stdout] --> src/io/cam_controller.rs:44:45 [INFO] [stdout] | [INFO] [stdout] 44 | fn handle_cursor_enter_event(&mut self, enter: bool) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_enter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 15.58s [INFO] running `Command { std: "docker" "inspect" "256cc4f64cb56f3087b6bd693fadd82847b04a1fe1a85615abe6a1e8904e9217", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "256cc4f64cb56f3087b6bd693fadd82847b04a1fe1a85615abe6a1e8904e9217", kill_on_drop: false }` [INFO] [stdout] 256cc4f64cb56f3087b6bd693fadd82847b04a1fe1a85615abe6a1e8904e9217 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-48/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-48/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c74cb21776ff0e9c4877910a67451c900372180587741967e0bde64a0c4fec3c [INFO] running `Command { std: "docker" "start" "-a" "c74cb21776ff0e9c4877910a67451c900372180587741967e0bde64a0c4fec3c", kill_on_drop: false }` [INFO] [stderr] Compiling cuboid v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/io/cam_controller.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | key: glfw::Key, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scancode` [INFO] [stdout] --> src/io/cam_controller.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | scancode: glfw::Scancode, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scancode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `action` [INFO] [stdout] --> src/io/cam_controller.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | action: glfw::Action, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_action` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `modifiers` [INFO] [stdout] --> src/io/cam_controller.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | modifiers: glfw::Modifiers, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_modifiers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mouse_button` [INFO] [stdout] --> src/io/cam_controller.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | mouse_button: glfw::MouseButton, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mouse_button` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `action` [INFO] [stdout] --> src/io/cam_controller.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | action: glfw::Action, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_action` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `modifiers` [INFO] [stdout] --> src/io/cam_controller.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | modifiers: glfw::Modifiers, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_modifiers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/io/cam_controller.rs:43:43 [INFO] [stdout] | [INFO] [stdout] 43 | fn handle_cursor_pos_event(&mut self, x: f64, y: f64) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/io/cam_controller.rs:43:51 [INFO] [stdout] | [INFO] [stdout] 43 | fn handle_cursor_pos_event(&mut self, x: f64, y: f64) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enter` [INFO] [stdout] --> src/io/cam_controller.rs:44:45 [INFO] [stdout] | [INFO] [stdout] 44 | fn handle_cursor_enter_event(&mut self, enter: bool) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_enter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `shiny` [INFO] [stdout] --> examples/basic_example/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use shiny::components::{ [INFO] [stdout] | ^^^^^ use of undeclared crate or module `shiny` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `shiny` [INFO] [stdout] --> examples/basic_example/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use shiny::core::shader::Shader; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `shiny` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `shiny` [INFO] [stdout] --> examples/basic_example/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use shiny::io::cam_controller::CameraController; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `shiny` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `shiny` [INFO] [stdout] --> examples/basic_example/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use shiny::utils::{conversions, init, math::linalg, types}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `shiny` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `types` [INFO] [stdout] --> examples/basic_example/main.rs:117:29 [INFO] [stdout] | [INFO] [stdout] 117 | let mut triangle_v: Vec = vec![ [INFO] [stdout] | ^^^^^ use of undeclared crate or module `types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `types` [INFO] [stdout] --> examples/basic_example/main.rs:125:25 [INFO] [stdout] | [INFO] [stdout] 125 | let mut cube_v: Vec = vec![ [INFO] [stdout] | ^^^^^ use of undeclared crate or module `types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `init` [INFO] [stdout] --> examples/basic_example/main.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | init::init_glfw(1000, 1000, WINDOW_TITLE, glfw::WindowMode::Windowed); [INFO] [stdout] | ^^^^ use of undeclared crate or module `init` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `init` [INFO] [stdout] --> examples/basic_example/main.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 148 | init::init_gl(&mut window); [INFO] [stdout] | ^^^^ use of undeclared crate or module `init` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `linalg` [INFO] [stdout] --> examples/basic_example/main.rs:187:24 [INFO] [stdout] | [INFO] [stdout] 187 | camera_right = linalg::normalize_v3(&linalg::cross_v3(&camera_dir, &camera_up)); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `linalg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `linalg` [INFO] [stdout] --> examples/basic_example/main.rs:187:46 [INFO] [stdout] | [INFO] [stdout] 187 | camera_right = linalg::normalize_v3(&linalg::cross_v3(&camera_dir, &camera_up)); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `linalg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `linalg` [INFO] [stdout] --> examples/basic_example/main.rs:224:26 [INFO] [stdout] | [INFO] [stdout] 224 | camera_dir = linalg::mat3_mul_v3(&linalg::rot_mat_x(cam_rot_speed), &camera_dir); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `linalg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `linalg` [INFO] [stdout] --> examples/basic_example/main.rs:224:47 [INFO] [stdout] | [INFO] [stdout] 224 | camera_dir = linalg::mat3_mul_v3(&linalg::rot_mat_x(cam_rot_speed), &camera_dir); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `linalg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `linalg` [INFO] [stdout] --> examples/basic_example/main.rs:225:25 [INFO] [stdout] | [INFO] [stdout] 225 | camera_up = linalg::mat3_mul_v3(&linalg::rot_mat_x(cam_rot_speed), &camera_up); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `linalg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `linalg` [INFO] [stdout] --> examples/basic_example/main.rs:225:46 [INFO] [stdout] | [INFO] [stdout] 225 | camera_up = linalg::mat3_mul_v3(&linalg::rot_mat_x(cam_rot_speed), &camera_up); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `linalg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `linalg` [INFO] [stdout] --> examples/basic_example/main.rs:228:26 [INFO] [stdout] | [INFO] [stdout] 228 | camera_dir = linalg::mat3_mul_v3(&linalg::rot_mat_x(-cam_rot_speed), &camera_dir); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `linalg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `linalg` [INFO] [stdout] --> examples/basic_example/main.rs:228:47 [INFO] [stdout] | [INFO] [stdout] 228 | camera_dir = linalg::mat3_mul_v3(&linalg::rot_mat_x(-cam_rot_speed), &camera_dir); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `linalg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `linalg` [INFO] [stdout] --> examples/basic_example/main.rs:229:25 [INFO] [stdout] | [INFO] [stdout] 229 | camera_up = linalg::mat3_mul_v3(&linalg::rot_mat_x(-cam_rot_speed), &camera_up); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `linalg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `linalg` [INFO] [stdout] --> examples/basic_example/main.rs:229:46 [INFO] [stdout] | [INFO] [stdout] 229 | camera_up = linalg::mat3_mul_v3(&linalg::rot_mat_x(-cam_rot_speed), &camera_up); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `linalg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `linalg` [INFO] [stdout] --> examples/basic_example/main.rs:232:26 [INFO] [stdout] | [INFO] [stdout] 232 | camera_dir = linalg::mat3_mul_v3(&linalg::rot_mat_y(-cam_rot_speed), &camera_dir); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `linalg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `linalg` [INFO] [stdout] --> examples/basic_example/main.rs:232:47 [INFO] [stdout] | [INFO] [stdout] 232 | camera_dir = linalg::mat3_mul_v3(&linalg::rot_mat_y(-cam_rot_speed), &camera_dir); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `linalg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `linalg` [INFO] [stdout] --> examples/basic_example/main.rs:233:25 [INFO] [stdout] | [INFO] [stdout] 233 | camera_up = linalg::mat3_mul_v3(&linalg::rot_mat_y(-cam_rot_speed), &camera_up); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `linalg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `linalg` [INFO] [stdout] --> examples/basic_example/main.rs:233:46 [INFO] [stdout] | [INFO] [stdout] 233 | camera_up = linalg::mat3_mul_v3(&linalg::rot_mat_y(-cam_rot_speed), &camera_up); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `linalg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `linalg` [INFO] [stdout] --> examples/basic_example/main.rs:236:26 [INFO] [stdout] | [INFO] [stdout] 236 | camera_dir = linalg::mat3_mul_v3(&linalg::rot_mat_y(cam_rot_speed), &camera_dir); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `linalg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `linalg` [INFO] [stdout] --> examples/basic_example/main.rs:236:47 [INFO] [stdout] | [INFO] [stdout] 236 | camera_dir = linalg::mat3_mul_v3(&linalg::rot_mat_y(cam_rot_speed), &camera_dir); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `linalg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `linalg` [INFO] [stdout] --> examples/basic_example/main.rs:237:25 [INFO] [stdout] | [INFO] [stdout] 237 | camera_up = linalg::mat3_mul_v3(&linalg::rot_mat_y(cam_rot_speed), &camera_up); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `linalg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `linalg` [INFO] [stdout] --> examples/basic_example/main.rs:237:46 [INFO] [stdout] | [INFO] [stdout] 237 | camera_up = linalg::mat3_mul_v3(&linalg::rot_mat_y(cam_rot_speed), &camera_up); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `linalg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `conversions` [INFO] [stdout] --> examples/basic_example/main.rs:284:37 [INFO] [stdout] | [INFO] [stdout] 284 | .set_matrix4fv("view", &conversions::vec4_to_v4(&camera.look_at())); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `conversions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `CameraController` in this scope [INFO] [stdout] --> examples/basic_example/main.rs:44:6 [INFO] [stdout] | [INFO] [stdout] 44 | impl CameraController for Controller { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 8 | use cuboid::io::cam_controller::CameraController; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Renderer3D` [INFO] [stdout] --> examples/basic_example/main.rs:149:24 [INFO] [stdout] | [INFO] [stdout] 149 | let mut renderer = Renderer3D::new(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use cuboid::components::renderer3d::Renderer3D; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Shader` [INFO] [stdout] --> examples/basic_example/main.rs:151:18 [INFO] [stdout] | [INFO] [stdout] 151 | let shader = Shader::new( [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use cuboid::core::shader::Shader; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Material` [INFO] [stdout] --> examples/basic_example/main.rs:155:20 [INFO] [stdout] | [INFO] [stdout] 155 | let material = Material::new(&shader); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use cuboid::components::material::Material; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Shape` [INFO] [stdout] --> examples/basic_example/main.rs:157:20 [INFO] [stdout] | [INFO] [stdout] 157 | let triangle = Shape::new_with_usage( [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use cuboid::components::shape::Shape; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Shape` [INFO] [stdout] --> examples/basic_example/main.rs:164:16 [INFO] [stdout] | [INFO] [stdout] 164 | let cube = Shape::new_with_usage(&cube_v, &cube_i, &material, &[0, 1], gl::DYNAMIC_DRAW); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use cuboid::components::shape::Shape; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OrthoCamera` [INFO] [stdout] --> examples/basic_example/main.rs:268:22 [INFO] [stdout] | [INFO] [stdout] 268 | let camera = OrthoCamera::new( [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use cuboid::components::camera::OrthoCamera; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Action`, `Key` [INFO] [stdout] --> examples/basic_example/main.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | use glfw::{Action, Context, Key}; [INFO] [stdout] | ^^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/io/cam_controller.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | key: glfw::Key, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scancode` [INFO] [stdout] --> src/io/cam_controller.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | scancode: glfw::Scancode, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scancode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `action` [INFO] [stdout] --> src/io/cam_controller.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | action: glfw::Action, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_action` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `modifiers` [INFO] [stdout] --> src/io/cam_controller.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | modifiers: glfw::Modifiers, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_modifiers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mouse_button` [INFO] [stdout] --> src/io/cam_controller.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | mouse_button: glfw::MouseButton, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mouse_button` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `action` [INFO] [stdout] --> src/io/cam_controller.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | action: glfw::Action, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_action` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `modifiers` [INFO] [stdout] --> src/io/cam_controller.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | modifiers: glfw::Modifiers, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_modifiers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/io/cam_controller.rs:43:43 [INFO] [stdout] | [INFO] [stdout] 43 | fn handle_cursor_pos_event(&mut self, x: f64, y: f64) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/io/cam_controller.rs:43:51 [INFO] [stdout] | [INFO] [stdout] 43 | fn handle_cursor_pos_event(&mut self, x: f64, y: f64) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enter` [INFO] [stdout] --> src/io/cam_controller.rs:44:45 [INFO] [stdout] | [INFO] [stdout] 44 | fn handle_cursor_enter_event(&mut self, enter: bool) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_enter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 34 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cuboid` due to 35 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c74cb21776ff0e9c4877910a67451c900372180587741967e0bde64a0c4fec3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c74cb21776ff0e9c4877910a67451c900372180587741967e0bde64a0c4fec3c", kill_on_drop: false }` [INFO] [stdout] c74cb21776ff0e9c4877910a67451c900372180587741967e0bde64a0c4fec3c