[INFO] updating cached repository https://github.com/ThomasColliers/age-of-rust
[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] daa52c8155ab28ba8aac64a661bec24a8c120e49
[INFO] testing ThomasColliers/age-of-rust against 1.40.0 for beta-1.41-1
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThomasColliers%2Fage-of-rust" "/workspace/builds/worker-1/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/ThomasColliers/age-of-rust on toolchain 1.40.0
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "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-1/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" "+1.40.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[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] the lockfile is outdated, regenerating it
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[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" "+1.40.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"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" "/opt/rustwide/cargo-home/bin/cargo" "+1.40.0" "build" "--frozen"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] be639e61434e9db721ca29b859a3466753e24881267fee342eb8d35d2fbe5e52
[INFO] running `"docker" "start" "-a" "be639e61434e9db721ca29b859a3466753e24881267fee342eb8d35d2fbe5e52"`
[INFO] [stderr]    Compiling cgmath v0.17.0 (https://github.com/bjz/cgmath#50a345b7)
[INFO] [stderr]    Compiling libloading v0.5.2
[INFO] [stderr]    Compiling num-bigint v0.2.3
[INFO] [stderr]    Compiling num-iter v0.1.39
[INFO] [stderr]    Compiling num-complex v0.2.3
[INFO] [stderr]    Compiling num-rational v0.2.2
[INFO] [stderr]    Compiling getrandom v0.1.13
[INFO] [stderr]    Compiling parking_lot_core v0.7.0
[INFO] [stderr]    Compiling memmap v0.7.0
[INFO] [stderr]    Compiling raw-window-handle v0.3.3
[INFO] [stderr]    Compiling shared_library v0.1.9
[INFO] [stderr]    Compiling gl_generator v0.14.0
[INFO] [stderr]    Compiling nix v0.14.1
[INFO] [stderr]    Compiling stb_truetype v0.3.1
[INFO] [stderr]    Compiling x11-dl v2.18.4
[INFO] [stderr]    Compiling mio v0.6.21
[INFO] [stderr]    Compiling glutin_glx_sys v0.1.5 (https://github.com/tomaka/glutin#d6ea989d)
[INFO] [stderr]    Compiling glutin_egl_sys v0.1.4 (https://github.com/tomaka/glutin#d6ea989d)
[INFO] [stderr]    Compiling approx v0.3.2
[INFO] [stderr]    Compiling ordered-float v1.0.2
[INFO] [stderr]    Compiling line_drawing v0.7.0
[INFO] [stderr]    Compiling num-integer v0.1.41
[INFO] [stderr]    Compiling wayland-scanner v0.23.6
[INFO] [stderr]    Compiling parking_lot v0.10.0
[INFO] [stderr]    Compiling osmesa-sys v0.1.2
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling rusttype v0.8.2
[INFO] [stderr]    Compiling mio-extras v2.0.6
[INFO] [stderr]    Compiling parking_lot_core v0.6.2
[INFO] [stderr]    Compiling glium v0.26.0-alpha5 (https://github.com/tomaka/glium#c2a25752)
[INFO] [stderr]    Compiling rand_chacha v0.2.1
[INFO] [stderr]    Compiling rusttype v0.7.9
[INFO] [stderr]    Compiling glutin_glx_sys v0.1.5
[INFO] [stderr]    Compiling parking_lot v0.9.0
[INFO] [stderr]    Compiling dlib v0.4.1
[INFO] [stderr]    Compiling rand v0.7.2
[INFO] [stderr]    Compiling andrew v0.2.1
[INFO] [stderr]    Compiling wayland-sys v0.23.6
[INFO] [stderr]    Compiling wayland-client v0.23.6
[INFO] [stderr]    Compiling wayland-protocols v0.23.6
[INFO] [stderr]    Compiling calloop v0.4.4
[INFO] [stderr]    Compiling wayland-commons v0.23.6
[INFO] [stderr]    Compiling num v0.2.0
[INFO] [stderr]    Compiling smithay-client-toolkit v0.6.4
[INFO] [stderr]    Compiling winit v0.20.0-alpha5
[INFO] [stderr]    Compiling glutin v0.22.0-alpha5
[INFO] [stderr]    Compiling glutin v0.22.0-alpha5 (https://github.com/tomaka/glutin#d6ea989d)
[INFO] [stderr]    Compiling 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<f32> = 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] warning: use of deprecated item 'time::precise_time_ns': Use `PrimitiveDateTime::now() - PrimitiveDateTime::unix_epoch()` to get a `Duration` since a known epoch.
[INFO] [stderr]   --> src/main.rs:67:28
[INFO] [stderr]    |
[INFO] [stderr] 67 |     let mut old_time:u64 = time::precise_time_ns();
[INFO] [stderr]    |                            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'time::precise_time_ns': Use `PrimitiveDateTime::now() - PrimitiveDateTime::unix_epoch()` to get a `Duration` since a known epoch.
[INFO] [stderr]   --> src/main.rs:71:21
[INFO] [stderr]    |
[INFO] [stderr] 71 |         let new_time = time::precise_time_ns();
[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::<f32>() });
[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" "be639e61434e9db721ca29b859a3466753e24881267fee342eb8d35d2fbe5e52"`
[INFO] running `"docker" "rm" "-f" "be639e61434e9db721ca29b859a3466753e24881267fee342eb8d35d2fbe5e52"`
[INFO] [stdout] be639e61434e9db721ca29b859a3466753e24881267fee342eb8d35d2fbe5e52
