[INFO] cloning repository https://github.com/ThomasColliers/age-of-rust [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ThomasColliers/age-of-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThomasColliers%2Fage-of-rust"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThomasColliers%2Fage-of-rust'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] daa52c8155ab28ba8aac64a661bec24a8c120e49 [INFO] checking ThomasColliers/age-of-rust against try#ea663bba38739867a4b75ac820991b4f5d093c3b for pr-62262-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThomasColliers%2Fage-of-rust" "/workspace/builds/worker-6/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ThomasColliers/age-of-rust on toolchain ea663bba38739867a4b75ac820991b4f5d093c3b [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/ThomasColliers/age-of-rust [INFO] finished tweaking git repo https://github.com/ThomasColliers/age-of-rust [INFO] tweaked toml for git repo https://github.com/ThomasColliers/age-of-rust written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/ThomasColliers/age-of-rust already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Updating git repository `https://github.com/bjz/cgmath` [INFO] [stderr] error: the lock file /workspace/builds/worker-6/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/bjz/cgmath` [INFO] [stderr] Updating git repository `https://github.com/tomaka/glium` [INFO] [stderr] Updating git repository `https://github.com/tomaka/glutin` [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] ec5fd8194aed87e80352c7d7ba14fffee39c0dd5f0b5537b707324dc1ce576bd [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "ec5fd8194aed87e80352c7d7ba14fffee39c0dd5f0b5537b707324dc1ce576bd"` [INFO] [stderr] Checking instant v0.1.2 [INFO] [stderr] Compiling cgmath v0.17.0 (https://github.com/bjz/cgmath#f69e781b) [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Checking wayland-sys v0.23.6 [INFO] [stderr] Checking rusttype v0.8.1 [INFO] [stderr] Checking parking_lot_core v0.5.0 [INFO] [stderr] Checking wayland-commons v0.23.6 [INFO] [stderr] Checking parking_lot v0.8.0 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Compiling glutin_glx_sys v0.1.5 (https://github.com/tomaka/glutin#ac5e2861) [INFO] [stderr] Compiling glutin_egl_sys v0.1.3 (https://github.com/tomaka/glutin#ac5e2861) [INFO] [stderr] Compiling glium v0.26.0-alpha3 (https://github.com/tomaka/glium#125be358) [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Checking smithay-client-toolkit v0.6.4 [INFO] [stderr] Checking winit v0.20.0-alpha4 [INFO] [stderr] Checking glutin v0.22.0-alpha3 [INFO] [stderr] Checking glutin v0.22.0-alpha3 (https://github.com/tomaka/glutin#ac5e2861) [INFO] [stderr] Checking age-of-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `glium::DisplayBuild` [INFO] [stderr] --> src/main.rs:21:14 [INFO] [stderr] | [INFO] [stderr] 21 | use glium::{DisplayBuild, Surface}; [INFO] [stderr] | ^^^^^^^^^^^^ no `DisplayBuild` in the root [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `WindowBuilder` in `glutin` [INFO] [stderr] --> src/main.rs:23:31 [INFO] [stderr] | [INFO] [stderr] 23 | let display = glium::glutin::WindowBuilder::new().with_vsync().with_multisampling(16).with_depth_buffer(24).build_glium().unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^ could not find `WindowBuilder` in `glutin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `MouseCursor` in `glutin` [INFO] [stderr] --> src/main.rs:32:35 [INFO] [stderr] | [INFO] [stderr] 32 | window.set_cursor(glium::glutin::MouseCursor::NoneCursor); [INFO] [stderr] | ^^^^^^^^^^^ could not find `MouseCursor` in `glutin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Event` in `glutin` [INFO] [stderr] --> src/main.rs:103:23 [INFO] [stderr] | [INFO] [stderr] 103 | glium::glutin::Event::Closed => return, [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:104:23 [INFO] [stderr] | [INFO] [stderr] 104 | glium::glutin::Event::Focused(focus) => { [INFO] [stderr] | ^^^^^ could not find `Event` in `glutin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `CursorState` in `glutin` [INFO] [stderr] --> src/main.rs:107:49 [INFO] [stderr] | [INFO] [stderr] 107 | window.set_cursor_state(glium::glutin::CursorState::Grab).ok().expect("Could not grab mouse cursor."); [INFO] [stderr] | ^^^^^^^^^^^ could not find `CursorState` in `glutin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Event` in `glutin` [INFO] [stderr] --> src/main.rs:110:23 [INFO] [stderr] | [INFO] [stderr] 110 | glium::glutin::Event::Resized(_, _) => { [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:114:23 [INFO] [stderr] | [INFO] [stderr] 114 | glium::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:122:29 [INFO] [stderr] | [INFO] [stderr] 122 | glium::glutin::Event::MouseWheel(delta, _) => { [INFO] [stderr] | ^^^^^ could not find `Event` in `glutin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `MouseScrollDelta` in `glutin` [INFO] [stderr] --> src/main.rs:124:31 [INFO] [stderr] | [INFO] [stderr] 124 | glium::glutin::MouseScrollDelta::LineDelta(x, y) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ could not find `MouseScrollDelta` in `glutin` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `deg` in crate `cgmath` [INFO] [stderr] --> src/main.rs:50:72 [INFO] [stderr] | [INFO] [stderr] 50 | let mut perspective_matrix:Matrix4 = cgmath::perspective(cgmath::deg(45.0),display_size.0 as f32/display_size.1 as f32,0.0001,100.0); [INFO] [stderr] | ^^^ help: a tuple struct with a similar name exists: `Deg` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `deg` in crate `cgmath` [INFO] [stderr] --> src/main.rs:112:58 [INFO] [stderr] | [INFO] [stderr] 112 | perspective_matrix = cgmath::perspective(cgmath::deg(45.0),display_size.0 as f32/display_size.1 as f32,0.0001,100.0); [INFO] [stderr] | ^^^ help: a tuple struct with a similar name exists: `Deg` [INFO] [stderr] [INFO] [stderr] warning: unused import: `core::convert::Into` [INFO] [stderr] --> src/main.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | use core::convert::Into; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Basis3` [INFO] [stderr] --> src/main.rs:18:37 [INFO] [stderr] | [INFO] [stderr] 18 | use cgmath::{Matrix4,Point3,Vector3,Basis3, Deg, Euler, Quaternion}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `glium::DisplayBuild` [INFO] [stderr] --> src/main.rs:21:14 [INFO] [stderr] | [INFO] [stderr] 21 | use glium::{DisplayBuild, Surface}; [INFO] [stderr] | ^^^^^^^^^^^^ no `DisplayBuild` in the root [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `WindowBuilder` in `glutin` [INFO] [stderr] --> src/main.rs:23:31 [INFO] [stderr] | [INFO] [stderr] 23 | let display = glium::glutin::WindowBuilder::new().with_vsync().with_multisampling(16).with_depth_buffer(24).build_glium().unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^ could not find `WindowBuilder` in `glutin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `MouseCursor` in `glutin` [INFO] [stderr] --> src/main.rs:32:35 [INFO] [stderr] | [INFO] [stderr] 32 | window.set_cursor(glium::glutin::MouseCursor::NoneCursor); [INFO] [stderr] | ^^^^^^^^^^^ could not find `MouseCursor` in `glutin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Event` in `glutin` [INFO] [stderr] --> src/main.rs:103:23 [INFO] [stderr] | [INFO] [stderr] 103 | glium::glutin::Event::Closed => return, [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:104:23 [INFO] [stderr] | [INFO] [stderr] 104 | glium::glutin::Event::Focused(focus) => { [INFO] [stderr] | ^^^^^ could not find `Event` in `glutin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `CursorState` in `glutin` [INFO] [stderr] --> src/main.rs:107:49 [INFO] [stderr] | [INFO] [stderr] 107 | window.set_cursor_state(glium::glutin::CursorState::Grab).ok().expect("Could not grab mouse cursor."); [INFO] [stderr] | ^^^^^^^^^^^ could not find `CursorState` in `glutin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Event` in `glutin` [INFO] [stderr] --> src/main.rs:110:23 [INFO] [stderr] | [INFO] [stderr] 110 | glium::glutin::Event::Resized(_, _) => { [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:114:23 [INFO] [stderr] | [INFO] [stderr] 114 | glium::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:122:29 [INFO] [stderr] | [INFO] [stderr] 122 | glium::glutin::Event::MouseWheel(delta, _) => { [INFO] [stderr] | ^^^^^ could not find `Event` in `glutin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `MouseScrollDelta` in `glutin` [INFO] [stderr] --> src/main.rs:124:31 [INFO] [stderr] | [INFO] [stderr] 124 | glium::glutin::MouseScrollDelta::LineDelta(x, y) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ could not find `MouseScrollDelta` in `glutin` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `deg` in crate `cgmath` [INFO] [stderr] --> src/main.rs:50:72 [INFO] [stderr] | [INFO] [stderr] 50 | let mut perspective_matrix:Matrix4 = cgmath::perspective(cgmath::deg(45.0),display_size.0 as f32/display_size.1 as f32,0.0001,100.0); [INFO] [stderr] | ^^^ help: a tuple struct with a similar name exists: `Deg` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `deg` in crate `cgmath` [INFO] [stderr] --> src/main.rs:112:58 [INFO] [stderr] | [INFO] [stderr] 112 | perspective_matrix = cgmath::perspective(cgmath::deg(45.0),display_size.0 as f32/display_size.1 as f32,0.0001,100.0); [INFO] [stderr] | ^^^ help: a tuple struct with a similar name exists: `Deg` [INFO] [stderr] [INFO] [stderr] warning: unused import: `core::convert::Into` [INFO] [stderr] --> src/main.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | use core::convert::Into; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Basis3` [INFO] [stderr] --> src/main.rs:18:37 [INFO] [stderr] | [INFO] [stderr] 18 | use cgmath::{Matrix4,Point3,Vector3,Basis3, Deg, Euler, Quaternion}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `new` found for type `cgmath::Deg<_>` in the current scope [INFO] [stderr] --> src/main.rs:79:11 [INFO] [stderr] | [INFO] [stderr] 79 | x:Deg::new(camera_height), [INFO] [stderr] | ^^^ function or associated item not found in `cgmath::Deg<_>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `new` found for type `cgmath::Deg<_>` in the current scope [INFO] [stderr] --> src/main.rs:80:11 [INFO] [stderr] | [INFO] [stderr] 80 | y:Deg::new(camera_rotation), [INFO] [stderr] | ^^^ function or associated item not found in `cgmath::Deg<_>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `new` found for type `cgmath::Deg<_>` in the current scope [INFO] [stderr] --> src/main.rs:81:11 [INFO] [stderr] | [INFO] [stderr] 81 | z:Deg::new(0.0), [INFO] [stderr] | ^^^ function or associated item not found in `cgmath::Deg<_>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `choose` found for type `rand::prelude::ThreadRng` in the current scope [INFO] [stderr] --> src/world/terrain.rs:55:38 [INFO] [stderr] | [INFO] [stderr] 55 | terrain_data.push(Tile { typ:*rng.choose(&choices).unwrap(), height:rng.gen::() }); [INFO] [stderr] | ^^^^^^ method not found in `rand::prelude::ThreadRng` [INFO] [stderr] [INFO] [stderr] warning: unused import: `cgmath::prelude` [INFO] [stderr] --> src/main.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | use cgmath::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Surface` [INFO] [stderr] --> src/main.rs:21:28 [INFO] [stderr] | [INFO] [stderr] 21 | use glium::{DisplayBuild, Surface}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 16 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0425, E0432, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0425`. [INFO] [stderr] error: could not compile `age-of-rust`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0599]: no function or associated item named `new` found for type `cgmath::Deg<_>` in the current scope [INFO] [stderr] --> src/main.rs:79:11 [INFO] [stderr] | [INFO] [stderr] 79 | x:Deg::new(camera_height), [INFO] [stderr] | ^^^ function or associated item not found in `cgmath::Deg<_>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `new` found for type `cgmath::Deg<_>` in the current scope [INFO] [stderr] --> src/main.rs:80:11 [INFO] [stderr] | [INFO] [stderr] 80 | y:Deg::new(camera_rotation), [INFO] [stderr] | ^^^ function or associated item not found in `cgmath::Deg<_>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `new` found for type `cgmath::Deg<_>` in the current scope [INFO] [stderr] --> src/main.rs:81:11 [INFO] [stderr] | [INFO] [stderr] 81 | z:Deg::new(0.0), [INFO] [stderr] | ^^^ function or associated item not found in `cgmath::Deg<_>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `choose` found for type `rand::prelude::ThreadRng` in the current scope [INFO] [stderr] --> src/world/terrain.rs:55:38 [INFO] [stderr] | [INFO] [stderr] 55 | terrain_data.push(Tile { typ:*rng.choose(&choices).unwrap(), height:rng.gen::() }); [INFO] [stderr] | ^^^^^^ method not found in `rand::prelude::ThreadRng` [INFO] [stderr] [INFO] [stderr] warning: unused import: `cgmath::prelude` [INFO] [stderr] --> src/main.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | use cgmath::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Surface` [INFO] [stderr] --> src/main.rs:21:28 [INFO] [stderr] | [INFO] [stderr] 21 | use glium::{DisplayBuild, Surface}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 16 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0425, E0432, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0425`. [INFO] [stderr] error: could not compile `age-of-rust`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "ec5fd8194aed87e80352c7d7ba14fffee39c0dd5f0b5537b707324dc1ce576bd"` [INFO] running `"docker" "rm" "-f" "ec5fd8194aed87e80352c7d7ba14fffee39c0dd5f0b5537b707324dc1ce576bd"` [INFO] [stdout] ec5fd8194aed87e80352c7d7ba14fffee39c0dd5f0b5537b707324dc1ce576bd