[INFO] updating cached repository https://github.com/ozkriff/nergal [INFO] running `"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"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 3b442a289fd682acf0d9142023603bd54b68992d [INFO] checking ozkriff/nergal against try#13f916f63bc6575d5ff1f989237dfabe88981368 for pr-69880 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fozkriff%2Fnergal" "/workspace/builds/worker-3/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ozkriff/nergal on toolchain 13f916f63bc6575d5ff1f989237dfabe88981368 [INFO] running `"/workspace/cargo-home/bin/cargo" "+13f916f63bc6575d5ff1f989237dfabe88981368" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/ozkriff/nergal [INFO] finished tweaking git repo https://github.com/ozkriff/nergal [INFO] tweaked toml for git repo https://github.com/ozkriff/nergal written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/ozkriff/nergal already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+13f916f63bc6575d5ff1f989237dfabe88981368" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /workspace/builds/worker-3/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 `"/workspace/cargo-home/bin/cargo" "+13f916f63bc6575d5ff1f989237dfabe88981368" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+13f916f63bc6575d5ff1f989237dfabe88981368" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=forbid" "-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" "/opt/rustwide/cargo-home/bin/cargo" "+13f916f63bc6575d5ff1f989237dfabe88981368" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8a6fea8a3bf03f87106193b1b589b147fe0d6e4a8ea80127001b64bd3078d94d [INFO] running `"docker" "start" "-a" "8a6fea8a3bf03f87106193b1b589b147fe0d6e4a8ea80127001b64bd3078d94d"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking instant v0.1.2 [INFO] [stderr] Checking takeable-option v0.5.0 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Compiling glium v0.26.0 [INFO] [stderr] Checking wayland-sys v0.23.6 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking image v0.22.5 [INFO] [stderr] Checking glutin_glx_sys v0.1.6 [INFO] [stderr] Checking cgmath v0.17.0 [INFO] [stderr] Checking wayland-commons v0.23.6 [INFO] [stderr] Checking calloop v0.4.4 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Checking smithay-client-toolkit v0.6.6 [INFO] [stderr] Checking winit v0.21.0 [INFO] [stderr] Checking glutin v0.23.0 [INFO] [stderr] Checking nergal v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `glium::DisplayBuild` [INFO] [stderr] --> src/main.rs:19:32 [INFO] [stderr] | [INFO] [stderr] 19 | use glium::{glutin, Texture2d, DisplayBuild, Surface}; [INFO] [stderr] | ^^^^^^^^^^^^ no `DisplayBuild` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `glium::glutin::ElementState` [INFO] [stderr] --> src/main.rs:21:20 [INFO] [stderr] | [INFO] [stderr] 21 | use glium::glutin::ElementState::{Pressed, Released}; [INFO] [stderr] | ^^^^^^^^^^^^ could not find `ElementState` in `glutin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `WindowBuilder` in `glutin` [INFO] [stderr] --> src/main.rs:78:13 [INFO] [stderr] | [INFO] [stderr] 78 | glutin::WindowBuilder::new() [INFO] [stderr] | ^^^^^^^^^^^^^ could not find `WindowBuilder` in `glutin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Event` in `glutin` [INFO] [stderr] --> src/main.rs:150:25 [INFO] [stderr] | [INFO] [stderr] 150 | glutin::Event::Resized(x, y) => { [INFO] [stderr] | ^^^^^ could not find `Event` in `glutin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Event` in `glutin` [INFO] [stderr] --> src/main.rs:153:25 [INFO] [stderr] | [INFO] [stderr] 153 | glutin::Event::Closed => { [INFO] [stderr] | ^^^^^ could not find `Event` in `glutin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Event` in `glutin` [INFO] [stderr] --> src/main.rs:156:25 [INFO] [stderr] | [INFO] [stderr] 156 | glutin::Event::KeyboardInput(Released, _, Some(key)) => { [INFO] [stderr] | ^^^^^ could not find `Event` in `glutin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `VirtualKeyCode` in `glutin` [INFO] [stderr] --> src/main.rs:158:33 [INFO] [stderr] | [INFO] [stderr] 158 | glutin::VirtualKeyCode::Q [INFO] [stderr] | ^^^^^^^^^^^^^^ could not find `VirtualKeyCode` in `glutin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `VirtualKeyCode` in `glutin` [INFO] [stderr] --> src/main.rs:159:39 [INFO] [stderr] | [INFO] [stderr] 159 | ... | glutin::VirtualKeyCode::Escape => [INFO] [stderr] | ^^^^^^^^^^^^^^ could not find `VirtualKeyCode` in `glutin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `VirtualKeyCode` in `glutin` [INFO] [stderr] --> src/main.rs:163:33 [INFO] [stderr] | [INFO] [stderr] 163 | glutin::VirtualKeyCode::Right => self.camera_angle_x.s += rotate_step, [INFO] [stderr] | ^^^^^^^^^^^^^^ could not find `VirtualKeyCode` in `glutin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `VirtualKeyCode` in `glutin` [INFO] [stderr] --> src/main.rs:164:33 [INFO] [stderr] | [INFO] [stderr] 164 | glutin::VirtualKeyCode::Left => self.camera_angle_x.s -= rotate_step, [INFO] [stderr] | ^^^^^^^^^^^^^^ could not find `VirtualKeyCode` in `glutin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `VirtualKeyCode` in `glutin` [INFO] [stderr] --> src/main.rs:165:33 [INFO] [stderr] | [INFO] [stderr] 165 | glutin::VirtualKeyCode::Down => self.camera_angle_y.s += rotate_step, [INFO] [stderr] | ^^^^^^^^^^^^^^ could not find `VirtualKeyCode` in `glutin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `VirtualKeyCode` in `glutin` [INFO] [stderr] --> src/main.rs:166:33 [INFO] [stderr] | [INFO] [stderr] 166 | glutin::VirtualKeyCode::Up => self.camera_angle_y.s -= rotate_step, [INFO] [stderr] | ^^^^^^^^^^^^^^ could not find `VirtualKeyCode` in `glutin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `VirtualKeyCode` in `glutin` [INFO] [stderr] --> src/main.rs:167:33 [INFO] [stderr] | [INFO] [stderr] 167 | glutin::VirtualKeyCode::Equals => self.zoom *= 0.75, [INFO] [stderr] | ^^^^^^^^^^^^^^ could not find `VirtualKeyCode` in `glutin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `VirtualKeyCode` in `glutin` [INFO] [stderr] --> src/main.rs:168:33 [INFO] [stderr] | [INFO] [stderr] 168 | glutin::VirtualKeyCode::Subtract => self.zoom *= 1.25, [INFO] [stderr] | ^^^^^^^^^^^^^^ could not find `VirtualKeyCode` in `glutin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Event` in `glutin` [INFO] [stderr] --> src/main.rs:172:25 [INFO] [stderr] | [INFO] [stderr] 172 | glutin::Event::MouseMoved(x, y) => { [INFO] [stderr] | ^^^^^ could not find `Event` in `glutin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Event` in `glutin` [INFO] [stderr] --> src/main.rs:175:25 [INFO] [stderr] | [INFO] [stderr] 175 | glutin::Event::MouseInput(Pressed, glutin::MouseButton::Left) => { [INFO] [stderr] | ^^^^^ could not find `Event` in `glutin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `MouseButton` in `glutin` [INFO] [stderr] --> src/main.rs:175:60 [INFO] [stderr] | [INFO] [stderr] 175 | glutin::Event::MouseInput(Pressed, glutin::MouseButton::Left) => { [INFO] [stderr] | ^^^^^^^^^^^ could not find `MouseButton` in `glutin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Event` in `glutin` [INFO] [stderr] --> src/main.rs:178:25 [INFO] [stderr] | [INFO] [stderr] 178 | glutin::Event::MouseInput(Released, glutin::MouseButton::Left) => { [INFO] [stderr] | ^^^^^ could not find `Event` in `glutin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `MouseButton` in `glutin` [INFO] [stderr] --> src/main.rs:178:61 [INFO] [stderr] | [INFO] [stderr] 178 | glutin::Event::MouseInput(Released, glutin::MouseButton::Left) => { [INFO] [stderr] | ^^^^^^^^^^^ could not find `MouseButton` in `glutin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Event` in `glutin` [INFO] [stderr] --> src/main.rs:181:25 [INFO] [stderr] | [INFO] [stderr] 181 | glutin::Event::Touch(glutin::Touch{location: (x, y), phase, ..}) => { [INFO] [stderr] | ^^^^^ could not find `Event` in `glutin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `TouchPhase` in `glutin` [INFO] [stderr] --> src/main.rs:184:33 [INFO] [stderr] | [INFO] [stderr] 184 | glutin::TouchPhase::Moved => { [INFO] [stderr] | ^^^^^^^^^^ could not find `TouchPhase` in `glutin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `TouchPhase` in `glutin` [INFO] [stderr] --> src/main.rs:187:33 [INFO] [stderr] | [INFO] [stderr] 187 | glutin::TouchPhase::Started => { [INFO] [stderr] | ^^^^^^^^^^ could not find `TouchPhase` in `glutin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `TouchPhase` in `glutin` [INFO] [stderr] --> src/main.rs:191:33 [INFO] [stderr] | [INFO] [stderr] 191 | glutin::TouchPhase::Ended => { [INFO] [stderr] | ^^^^^^^^^^ could not find `TouchPhase` in `glutin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `TouchPhase` in `glutin` [INFO] [stderr] --> src/main.rs:195:33 [INFO] [stderr] | [INFO] [stderr] 195 | glutin::TouchPhase::Cancelled => unimplemented!(), [INFO] [stderr] | ^^^^^^^^^^ could not find `TouchPhase` in `glutin` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `precise_time_ns` in crate `time` [INFO] [stderr] --> src/main.rs:121:36 [INFO] [stderr] | [INFO] [stderr] 121 | let previous_clock = time::precise_time_ns(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in `time` [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `Touch` in crate `glutin` [INFO] [stderr] --> src/main.rs:181:46 [INFO] [stderr] | [INFO] [stderr] 181 | glutin::Event::Touch(glutin::Touch{location: (x, y), phase, ..}) => { [INFO] [stderr] | ^^^^^ not found in `glutin` [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 15 | use glium::glutin::event::Touch; [INFO] [stderr] | [INFO] [stderr] 15 | use glium::glutin::event::WindowEvent::Touch; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `precise_time_ns` in crate `time` [INFO] [stderr] --> src/main.rs:237:25 [INFO] [stderr] | [INFO] [stderr] 237 | let now = time::precise_time_ns(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in `time` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `get_window` found for reference `&glium::Display` in the current scope [INFO] [stderr] --> src/main.rs:44:23 [INFO] [stderr] | [INFO] [stderr] 44 | let api = display.get_window().unwrap().get_api(); [INFO] [stderr] | ^^^^^^^^^^ help: there is a method with a similar name: `gl_window` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `new` found for struct `cgmath::Rad<_>` in the current scope [INFO] [stderr] --> src/main.rs:56:52 [INFO] [stderr] | [INFO] [stderr] 56 | let perspective_mat = cgmath::perspective(Rad::new(PI / 4.0), aspect, 0.1, 100.0); [INFO] [stderr] | ^^^ function or associated item not found in `cgmath::Rad<_>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `get_window` found for reference `&glium::Display` in the current scope [INFO] [stderr] --> src/main.rs:64:26 [INFO] [stderr] | [INFO] [stderr] 64 | let window = display.get_window().unwrap(); [INFO] [stderr] | ^^^^^^^^^^ help: there is a method with a similar name: `gl_window` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `new` found for struct `cgmath::Rad<_>` in the current scope [INFO] [stderr] --> src/main.rs:131:34 [INFO] [stderr] | [INFO] [stderr] 131 | camera_angle_x: Rad::new(0.0), [INFO] [stderr] | ^^^ function or associated item not found in `cgmath::Rad<_>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `new` found for struct `cgmath::Rad<_>` in the current scope [INFO] [stderr] --> src/main.rs:132:34 [INFO] [stderr] | [INFO] [stderr] 132 | camera_angle_y: Rad::new(0.0), [INFO] [stderr] | ^^^ function or associated item not found in `cgmath::Rad<_>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `poll_events` found for struct `glium::Display` in the current scope [INFO] [stderr] --> src/main.rs:147:43 [INFO] [stderr] | [INFO] [stderr] 147 | let events: Vec<_> = self.display.poll_events().collect(); [INFO] [stderr] | ^^^^^^^^^^^ method not found in `glium::Display` [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `s` on type `cgmath::Rad` [INFO] [stderr] --> src/main.rs:163:78 [INFO] [stderr] | [INFO] [stderr] 163 | glutin::VirtualKeyCode::Right => self.camera_angle_x.s += rotate_step, [INFO] [stderr] | ^ help: a field with a similar name exists: `0` [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `s` on type `cgmath::Rad` [INFO] [stderr] --> src/main.rs:164:77 [INFO] [stderr] | [INFO] [stderr] 164 | glutin::VirtualKeyCode::Left => self.camera_angle_x.s -= rotate_step, [INFO] [stderr] | ^ help: a field with a similar name exists: `0` [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `s` on type `cgmath::Rad` [INFO] [stderr] --> src/main.rs:165:77 [INFO] [stderr] | [INFO] [stderr] 165 | glutin::VirtualKeyCode::Down => self.camera_angle_y.s += rotate_step, [INFO] [stderr] | ^ help: a field with a similar name exists: `0` [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `s` on type `cgmath::Rad` [INFO] [stderr] --> src/main.rs:166:75 [INFO] [stderr] | [INFO] [stderr] 166 | glutin::VirtualKeyCode::Up => self.camera_angle_y.s -= rotate_step, [INFO] [stderr] | ^ help: a field with a similar name exists: `0` [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `s` on type `cgmath::Rad` [INFO] [stderr] --> src/main.rs:208:33 [INFO] [stderr] | [INFO] [stderr] 208 | self.camera_angle_x.s += PI * (diff.x as f32 / w as f32); [INFO] [stderr] | ^ help: a field with a similar name exists: `0` [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `s` on type `cgmath::Rad` [INFO] [stderr] --> src/main.rs:209:33 [INFO] [stderr] | [INFO] [stderr] 209 | self.camera_angle_y.s += PI * (diff.y as f32 / h as f32); [INFO] [stderr] | ^ help: a field with a similar name exists: `0` [INFO] [stderr] [INFO] [stderr] error: aborting due to 39 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0422, E0425, E0432, E0433, E0599, E0609. [INFO] [stderr] For more information about an error, try `rustc --explain E0422`. [INFO] [stderr] error[E0432]: unresolved import `glium::DisplayBuild` [INFO] [stderr] --> src/main.rs:19:32 [INFO] [stderr] | [INFO] [stderr] 19 | use glium::{glutin, Texture2d, DisplayBuild, Surface}; [INFO] [stderr] | ^^^^^^^^^^^^ no `DisplayBuild` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `glium::glutin::ElementState` [INFO] [stderr] --> src/main.rs:21:20 [INFO] [stderr] | [INFO] [stderr] 21 | use glium::glutin::ElementState::{Pressed, Released}; [INFO] [stderr] | ^^^^^^^^^^^^ could not find `ElementState` in `glutin` [INFO] [stderr] [INFO] [stderr] error: could not compile `nergal`. [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] [stderr] error[E0433]: failed to resolve: could not find `WindowBuilder` in `glutin` [INFO] [stderr] --> src/main.rs:78:13 [INFO] [stderr] | [INFO] [stderr] 78 | glutin::WindowBuilder::new() [INFO] [stderr] | ^^^^^^^^^^^^^ could not find `WindowBuilder` in `glutin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Event` in `glutin` [INFO] [stderr] --> src/main.rs:150:25 [INFO] [stderr] | [INFO] [stderr] 150 | glutin::Event::Resized(x, y) => { [INFO] [stderr] | ^^^^^ could not find `Event` in `glutin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Event` in `glutin` [INFO] [stderr] --> src/main.rs:153:25 [INFO] [stderr] | [INFO] [stderr] 153 | glutin::Event::Closed => { [INFO] [stderr] | ^^^^^ could not find `Event` in `glutin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Event` in `glutin` [INFO] [stderr] --> src/main.rs:156:25 [INFO] [stderr] | [INFO] [stderr] 156 | glutin::Event::KeyboardInput(Released, _, Some(key)) => { [INFO] [stderr] | ^^^^^ could not find `Event` in `glutin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `VirtualKeyCode` in `glutin` [INFO] [stderr] --> src/main.rs:158:33 [INFO] [stderr] | [INFO] [stderr] 158 | glutin::VirtualKeyCode::Q [INFO] [stderr] | ^^^^^^^^^^^^^^ could not find `VirtualKeyCode` in `glutin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `VirtualKeyCode` in `glutin` [INFO] [stderr] --> src/main.rs:159:39 [INFO] [stderr] | [INFO] [stderr] 159 | ... | glutin::VirtualKeyCode::Escape => [INFO] [stderr] | ^^^^^^^^^^^^^^ could not find `VirtualKeyCode` in `glutin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `VirtualKeyCode` in `glutin` [INFO] [stderr] --> src/main.rs:163:33 [INFO] [stderr] | [INFO] [stderr] 163 | glutin::VirtualKeyCode::Right => self.camera_angle_x.s += rotate_step, [INFO] [stderr] | ^^^^^^^^^^^^^^ could not find `VirtualKeyCode` in `glutin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `VirtualKeyCode` in `glutin` [INFO] [stderr] --> src/main.rs:164:33 [INFO] [stderr] | [INFO] [stderr] 164 | glutin::VirtualKeyCode::Left => self.camera_angle_x.s -= rotate_step, [INFO] [stderr] | ^^^^^^^^^^^^^^ could not find `VirtualKeyCode` in `glutin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `VirtualKeyCode` in `glutin` [INFO] [stderr] --> src/main.rs:165:33 [INFO] [stderr] | [INFO] [stderr] 165 | glutin::VirtualKeyCode::Down => self.camera_angle_y.s += rotate_step, [INFO] [stderr] | ^^^^^^^^^^^^^^ could not find `VirtualKeyCode` in `glutin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `VirtualKeyCode` in `glutin` [INFO] [stderr] --> src/main.rs:166:33 [INFO] [stderr] | [INFO] [stderr] 166 | glutin::VirtualKeyCode::Up => self.camera_angle_y.s -= rotate_step, [INFO] [stderr] | ^^^^^^^^^^^^^^ could not find `VirtualKeyCode` in `glutin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `VirtualKeyCode` in `glutin` [INFO] [stderr] --> src/main.rs:167:33 [INFO] [stderr] | [INFO] [stderr] 167 | glutin::VirtualKeyCode::Equals => self.zoom *= 0.75, [INFO] [stderr] | ^^^^^^^^^^^^^^ could not find `VirtualKeyCode` in `glutin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `VirtualKeyCode` in `glutin` [INFO] [stderr] --> src/main.rs:168:33 [INFO] [stderr] | [INFO] [stderr] 168 | glutin::VirtualKeyCode::Subtract => self.zoom *= 1.25, [INFO] [stderr] | ^^^^^^^^^^^^^^ could not find `VirtualKeyCode` in `glutin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Event` in `glutin` [INFO] [stderr] --> src/main.rs:172:25 [INFO] [stderr] | [INFO] [stderr] 172 | glutin::Event::MouseMoved(x, y) => { [INFO] [stderr] | ^^^^^ could not find `Event` in `glutin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Event` in `glutin` [INFO] [stderr] --> src/main.rs:175:25 [INFO] [stderr] | [INFO] [stderr] 175 | glutin::Event::MouseInput(Pressed, glutin::MouseButton::Left) => { [INFO] [stderr] | ^^^^^ could not find `Event` in `glutin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `MouseButton` in `glutin` [INFO] [stderr] --> src/main.rs:175:60 [INFO] [stderr] | [INFO] [stderr] 175 | glutin::Event::MouseInput(Pressed, glutin::MouseButton::Left) => { [INFO] [stderr] | ^^^^^^^^^^^ could not find `MouseButton` in `glutin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Event` in `glutin` [INFO] [stderr] --> src/main.rs:178:25 [INFO] [stderr] | [INFO] [stderr] 178 | glutin::Event::MouseInput(Released, glutin::MouseButton::Left) => { [INFO] [stderr] | ^^^^^ could not find `Event` in `glutin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `MouseButton` in `glutin` [INFO] [stderr] --> src/main.rs:178:61 [INFO] [stderr] | [INFO] [stderr] 178 | glutin::Event::MouseInput(Released, glutin::MouseButton::Left) => { [INFO] [stderr] | ^^^^^^^^^^^ could not find `MouseButton` in `glutin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Event` in `glutin` [INFO] [stderr] --> src/main.rs:181:25 [INFO] [stderr] | [INFO] [stderr] 181 | glutin::Event::Touch(glutin::Touch{location: (x, y), phase, ..}) => { [INFO] [stderr] | ^^^^^ could not find `Event` in `glutin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `TouchPhase` in `glutin` [INFO] [stderr] --> src/main.rs:184:33 [INFO] [stderr] | [INFO] [stderr] 184 | glutin::TouchPhase::Moved => { [INFO] [stderr] | ^^^^^^^^^^ could not find `TouchPhase` in `glutin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `TouchPhase` in `glutin` [INFO] [stderr] --> src/main.rs:187:33 [INFO] [stderr] | [INFO] [stderr] 187 | glutin::TouchPhase::Started => { [INFO] [stderr] | ^^^^^^^^^^ could not find `TouchPhase` in `glutin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `TouchPhase` in `glutin` [INFO] [stderr] --> src/main.rs:191:33 [INFO] [stderr] | [INFO] [stderr] 191 | glutin::TouchPhase::Ended => { [INFO] [stderr] | ^^^^^^^^^^ could not find `TouchPhase` in `glutin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `TouchPhase` in `glutin` [INFO] [stderr] --> src/main.rs:195:33 [INFO] [stderr] | [INFO] [stderr] 195 | glutin::TouchPhase::Cancelled => unimplemented!(), [INFO] [stderr] | ^^^^^^^^^^ could not find `TouchPhase` in `glutin` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `precise_time_ns` in crate `time` [INFO] [stderr] --> src/main.rs:121:36 [INFO] [stderr] | [INFO] [stderr] 121 | let previous_clock = time::precise_time_ns(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in `time` [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `Touch` in crate `glutin` [INFO] [stderr] --> src/main.rs:181:46 [INFO] [stderr] | [INFO] [stderr] 181 | glutin::Event::Touch(glutin::Touch{location: (x, y), phase, ..}) => { [INFO] [stderr] | ^^^^^ not found in `glutin` [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 15 | use glium::glutin::event::Touch; [INFO] [stderr] | [INFO] [stderr] 15 | use glium::glutin::event::WindowEvent::Touch; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `precise_time_ns` in crate `time` [INFO] [stderr] --> src/main.rs:237:25 [INFO] [stderr] | [INFO] [stderr] 237 | let now = time::precise_time_ns(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in `time` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `get_window` found for reference `&glium::Display` in the current scope [INFO] [stderr] --> src/main.rs:44:23 [INFO] [stderr] | [INFO] [stderr] 44 | let api = display.get_window().unwrap().get_api(); [INFO] [stderr] | ^^^^^^^^^^ help: there is a method with a similar name: `gl_window` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `new` found for struct `cgmath::Rad<_>` in the current scope [INFO] [stderr] --> src/main.rs:56:52 [INFO] [stderr] | [INFO] [stderr] 56 | let perspective_mat = cgmath::perspective(Rad::new(PI / 4.0), aspect, 0.1, 100.0); [INFO] [stderr] | ^^^ function or associated item not found in `cgmath::Rad<_>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `get_window` found for reference `&glium::Display` in the current scope [INFO] [stderr] --> src/main.rs:64:26 [INFO] [stderr] | [INFO] [stderr] 64 | let window = display.get_window().unwrap(); [INFO] [stderr] | ^^^^^^^^^^ help: there is a method with a similar name: `gl_window` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `new` found for struct `cgmath::Rad<_>` in the current scope [INFO] [stderr] --> src/main.rs:131:34 [INFO] [stderr] | [INFO] [stderr] 131 | camera_angle_x: Rad::new(0.0), [INFO] [stderr] | ^^^ function or associated item not found in `cgmath::Rad<_>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `new` found for struct `cgmath::Rad<_>` in the current scope [INFO] [stderr] --> src/main.rs:132:34 [INFO] [stderr] | [INFO] [stderr] 132 | camera_angle_y: Rad::new(0.0), [INFO] [stderr] | ^^^ function or associated item not found in `cgmath::Rad<_>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `poll_events` found for struct `glium::Display` in the current scope [INFO] [stderr] --> src/main.rs:147:43 [INFO] [stderr] | [INFO] [stderr] 147 | let events: Vec<_> = self.display.poll_events().collect(); [INFO] [stderr] | ^^^^^^^^^^^ method not found in `glium::Display` [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `s` on type `cgmath::Rad` [INFO] [stderr] --> src/main.rs:163:78 [INFO] [stderr] | [INFO] [stderr] 163 | glutin::VirtualKeyCode::Right => self.camera_angle_x.s += rotate_step, [INFO] [stderr] | ^ help: a field with a similar name exists: `0` [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `s` on type `cgmath::Rad` [INFO] [stderr] --> src/main.rs:164:77 [INFO] [stderr] | [INFO] [stderr] 164 | glutin::VirtualKeyCode::Left => self.camera_angle_x.s -= rotate_step, [INFO] [stderr] | ^ help: a field with a similar name exists: `0` [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `s` on type `cgmath::Rad` [INFO] [stderr] --> src/main.rs:165:77 [INFO] [stderr] | [INFO] [stderr] 165 | glutin::VirtualKeyCode::Down => self.camera_angle_y.s += rotate_step, [INFO] [stderr] | ^ help: a field with a similar name exists: `0` [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `s` on type `cgmath::Rad` [INFO] [stderr] --> src/main.rs:166:75 [INFO] [stderr] | [INFO] [stderr] 166 | glutin::VirtualKeyCode::Up => self.camera_angle_y.s -= rotate_step, [INFO] [stderr] | ^ help: a field with a similar name exists: `0` [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `s` on type `cgmath::Rad` [INFO] [stderr] --> src/main.rs:208:33 [INFO] [stderr] | [INFO] [stderr] 208 | self.camera_angle_x.s += PI * (diff.x as f32 / w as f32); [INFO] [stderr] | ^ help: a field with a similar name exists: `0` [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `s` on type `cgmath::Rad` [INFO] [stderr] --> src/main.rs:209:33 [INFO] [stderr] | [INFO] [stderr] 209 | self.camera_angle_y.s += PI * (diff.y as f32 / h as f32); [INFO] [stderr] | ^ help: a field with a similar name exists: `0` [INFO] [stderr] [INFO] [stderr] error: aborting due to 39 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0422, E0425, E0432, E0433, E0599, E0609. [INFO] [stderr] For more information about an error, try `rustc --explain E0422`. [INFO] [stderr] error: could not compile `nergal`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "8a6fea8a3bf03f87106193b1b589b147fe0d6e4a8ea80127001b64bd3078d94d"` [INFO] running `"docker" "rm" "-f" "8a6fea8a3bf03f87106193b1b589b147fe0d6e4a8ea80127001b64bd3078d94d"` [INFO] [stdout] 8a6fea8a3bf03f87106193b1b589b147fe0d6e4a8ea80127001b64bd3078d94d