[INFO] updating cached repository https://github.com/ThomasColliers/age-of-rust [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/big/crater/work/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.38.0 for beta-1.39-1 [INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2FThomasColliers%2Fage-of-rust" "work/builds/worker-5/source"` [INFO] [stderr] Cloning into 'work/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ThomasColliers/age-of-rust on toolchain 1.38.0 [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.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 work/builds/worker-5/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 `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /big/crater/work/builds/worker-5/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "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 `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-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.38.0" "build" "--frozen"` [INFO] [stdout] 28f1ac997aec12466f72eb432874e3b7d2d14854b161fc4a8599dbb7f119de96 [INFO] running `"docker" "start" "-a" "28f1ac997aec12466f72eb432874e3b7d2d14854b161fc4a8599dbb7f119de96"` [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling arrayvec v0.5.0 [INFO] [stderr] Compiling same-file v1.0.5 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling downcast-rs v1.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling cgmath v0.17.0 (https://github.com/bjz/cgmath#f69e781b) [INFO] [stderr] Compiling takeable-option v0.5.0 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling backtrace-sys v0.1.31 [INFO] [stderr] Compiling x11-dl v2.18.4 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling raw-window-handle v0.1.2 [INFO] [stderr] Compiling gl_generator v0.11.0 [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] Compiling ordered-float v1.0.2 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Compiling walkdir v2.2.9 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling mio v0.6.19 [INFO] [stderr] Compiling num-bigint v0.2.3 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot_core v0.5.0 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling dlib v0.4.1 [INFO] [stderr] Compiling parking_lot v0.8.0 [INFO] [stderr] Compiling stb_truetype v0.3.0 [INFO] [stderr] Compiling wayland-sys v0.23.6 [INFO] [stderr] Compiling backtrace v0.3.38 [INFO] [stderr] Compiling mio-extras v2.0.5 [INFO] [stderr] Compiling rusttype v0.8.1 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling glutin_egl_sys v0.1.3 (https://github.com/tomaka/glutin#e7cb817b) [INFO] [stderr] Compiling glutin_glx_sys v0.1.5 (https://github.com/tomaka/glutin#e7cb817b) [INFO] [stderr] Compiling glutin_egl_sys v0.1.3 [INFO] [stderr] Compiling glutin_glx_sys v0.1.5 [INFO] [stderr] Compiling glium v0.26.0-alpha3 (https://github.com/tomaka/glium#125be358) [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling num v0.2.0 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling wayland-commons v0.23.6 [INFO] [stderr] Compiling calloop v0.4.4 [INFO] [stderr] Compiling derivative v1.0.3 [INFO] [stderr] Compiling smithay-client-toolkit v0.6.4 [INFO] [stderr] Compiling winit v0.20.0-alpha3 [INFO] [stderr] Compiling glutin v0.22.0-alpha3 [INFO] [stderr] Compiling glutin v0.22.0-alpha3 (https://github.com/tomaka/glutin#e7cb817b) [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 = 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] | ^^^^^^ [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" "28f1ac997aec12466f72eb432874e3b7d2d14854b161fc4a8599dbb7f119de96"` [INFO] running `"docker" "rm" "-f" "28f1ac997aec12466f72eb432874e3b7d2d14854b161fc4a8599dbb7f119de96"` [INFO] [stdout] 28f1ac997aec12466f72eb432874e3b7d2d14854b161fc4a8599dbb7f119de96