[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.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThomasColliers%2Fage-of-rust" "/workspace/builds/worker-12/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ThomasColliers/age-of-rust on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.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-12/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.44.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-12/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" "+1.44.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 `"/workspace/cargo-home/bin/cargo" "+1.44.0" "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-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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.44.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] 25dcd1b89645f2a96de90c51c8a1ab5b890a69c78754637b97d71b9f1520f092 [INFO] running `"docker" "start" "-a" "25dcd1b89645f2a96de90c51c8a1ab5b890a69c78754637b97d71b9f1520f092"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Compiling instant v0.1.4 [INFO] [stderr] Compiling cgmath v0.17.0 (https://github.com/bjz/cgmath#2c7ee50e) [INFO] [stderr] Compiling takeable-option v0.5.0 [INFO] [stderr] Compiling time v0.2.16 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling wayland-sys v0.23.6 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling rusttype v0.8.3 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling glutin_egl_sys v0.1.4 [INFO] [stderr] Compiling glutin_glx_sys v0.1.6 [INFO] [stderr] Compiling glutin_glx_sys v0.1.6 (https://github.com/tomaka/glutin#f4221729) [INFO] [stderr] Compiling glutin_egl_sys v0.1.4 (https://github.com/tomaka/glutin#f4221729) [INFO] [stderr] Compiling glium v0.27.0 (https://github.com/tomaka/glium#89fd21b6) [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num v0.2.1 [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 time-macros-impl v0.1.1 [INFO] [stderr] Compiling time-macros v0.1.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.6.6 [INFO] [stderr] Compiling winit v0.22.2 [INFO] [stderr] Compiling glutin v0.24.1 [INFO] [stderr] Compiling glutin v0.24.1 (https://github.com/tomaka/glutin#f4221729) [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] ::: /opt/rustwide/cargo-home/git/checkouts/cgmath-6656e28bc4b5feb6/2c7ee50/src/angle.rs:49:1 [INFO] [stderr] | [INFO] [stderr] 49 | pub struct Deg(pub S); [INFO] [stderr] | ------------------------- similarly named tuple struct `Deg` defined here [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] ::: /opt/rustwide/cargo-home/git/checkouts/cgmath-6656e28bc4b5feb6/2c7ee50/src/angle.rs:49:1 [INFO] [stderr] | [INFO] [stderr] 49 | pub struct Deg(pub S); [INFO] [stderr] | ------------------------- similarly named tuple struct `Deg` defined here [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 `OffsetDateTime::now() - OffsetDateTime::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 `OffsetDateTime::now() - OffsetDateTime::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] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/draw/shaders.rs:35:76 [INFO] [stderr] | [INFO] [stderr] 35 | Err(why) => return Err(format!("Failed to open {}: {}.",path.display(), Error::description(&why))), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/draw/shaders.rs:41:74 [INFO] [stderr] | [INFO] [stderr] 41 | Err(why) => return Err(format!("Couldn't read {}: {}",path.display(), Error::description(&why))), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/draw/shaders.rs:69:65 [INFO] [stderr] | [INFO] [stderr] 69 | Err(why) => return Err(format!("Couldn't compile shader: {}",Error::description(&why))), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `new` found for struct `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 struct `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 struct `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 struct `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; 9 warnings emitted [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" "25dcd1b89645f2a96de90c51c8a1ab5b890a69c78754637b97d71b9f1520f092"` [INFO] running `"docker" "rm" "-f" "25dcd1b89645f2a96de90c51c8a1ab5b890a69c78754637b97d71b9f1520f092"` [INFO] [stdout] 25dcd1b89645f2a96de90c51c8a1ab5b890a69c78754637b97d71b9f1520f092