[INFO] cloning repository https://github.com/ThomasColliers/age-of-rust [INFO] running `Command { std: "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", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThomasColliers%2Fage-of-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] daa52c8155ab28ba8aac64a661bec24a8c120e49 [INFO] checking ThomasColliers/age-of-rust against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThomasColliers%2Fage-of-rust" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ThomasColliers/age-of-rust on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-7/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 `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /workspace/builds/worker-7/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 `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [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 `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 074b24d8701e577ea7eff9152fbead92da7e3ad89f7e3f35317bdad554169d74 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "074b24d8701e577ea7eff9152fbead92da7e3ad89f7e3f35317bdad554169d74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "074b24d8701e577ea7eff9152fbead92da7e3ad89f7e3f35317bdad554169d74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "074b24d8701e577ea7eff9152fbead92da7e3ad89f7e3f35317bdad554169d74", kill_on_drop: false }` [INFO] [stdout] 074b24d8701e577ea7eff9152fbead92da7e3ad89f7e3f35317bdad554169d74 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9fb73ec3ef92401c0781208c47e17056515fce855189ad2b34329a54131b9117 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "9fb73ec3ef92401c0781208c47e17056515fce855189ad2b34329a54131b9117", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling winit v0.23.0 [INFO] [stderr] Compiling cgmath v0.17.0 (https://github.com/bjz/cgmath#a691de87) [INFO] [stderr] Checking takeable-option v0.5.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.3.1 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling wayland-sys v0.28.2 [INFO] [stderr] Compiling standback v0.2.11 [INFO] [stderr] Compiling time v0.2.22 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Checking backtrace v0.3.54 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking wayland-commons v0.28.2 [INFO] [stderr] Checking wayland-client v0.28.2 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 (https://github.com/tomaka/glutin#fef5c513) [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 (https://github.com/tomaka/glutin#fef5c513) [INFO] [stderr] Compiling glium v0.28.0 (https://github.com/tomaka/glium#793da7d2) [INFO] [stderr] Checking wayland-cursor v0.28.2 [INFO] [stderr] Checking wayland-protocols v0.28.2 [INFO] [stderr] Checking wayland-egl v0.28.2 [INFO] [stderr] Checking num v0.3.1 [INFO] [stderr] Checking smithay-client-toolkit v0.12.0 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking glutin v0.25.1 [INFO] [stderr] Checking glutin v0.25.1 (https://github.com/tomaka/glutin#fef5c513) [INFO] [stderr] Checking age-of-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `glium::DisplayBuild` [INFO] [stdout] --> src/main.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | use glium::{DisplayBuild, Surface}; [INFO] [stdout] | ^^^^^^^^^^^^ no `DisplayBuild` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `glium::DisplayBuild` [INFO] [stdout] --> src/main.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | use glium::{DisplayBuild, Surface}; [INFO] [stdout] | ^^^^^^^^^^^^ no `DisplayBuild` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `MouseCursor` in `glutin` [INFO] [stdout] --> src/main.rs:32:35 [INFO] [stdout] | [INFO] [stdout] 32 | window.set_cursor(glium::glutin::MouseCursor::NoneCursor); [INFO] [stdout] | ^^^^^^^^^^^ could not find `MouseCursor` in `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Event` in `glutin` [INFO] [stdout] --> src/main.rs:103:23 [INFO] [stdout] | [INFO] [stdout] 103 | glium::glutin::Event::Closed => return, [INFO] [stdout] | ^^^^^ could not find `Event` in `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Event` in `glutin` [INFO] [stdout] --> src/main.rs:104:23 [INFO] [stdout] | [INFO] [stdout] 104 | glium::glutin::Event::Focused(focus) => { [INFO] [stdout] | ^^^^^ could not find `Event` in `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `CursorState` in `glutin` [INFO] [stdout] --> src/main.rs:107:49 [INFO] [stdout] | [INFO] [stdout] 107 | window.set_cursor_state(glium::glutin::CursorState::Grab).ok().expect("Could not grab mouse cursor."); [INFO] [stdout] | ^^^^^^^^^^^ could not find `CursorState` in `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Event` in `glutin` [INFO] [stdout] --> src/main.rs:110:23 [INFO] [stdout] | [INFO] [stdout] 110 | glium::glutin::Event::Resized(_, _) => { [INFO] [stdout] | ^^^^^ could not find `Event` in `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Event` in `glutin` [INFO] [stdout] --> src/main.rs:114:23 [INFO] [stdout] | [INFO] [stdout] 114 | glium::glutin::Event::MouseMoved(x, y) => { [INFO] [stdout] | ^^^^^ could not find `Event` in `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Event` in `glutin` [INFO] [stdout] --> src/main.rs:122:29 [INFO] [stdout] | [INFO] [stdout] 122 | glium::glutin::Event::MouseWheel(delta, _) => { [INFO] [stdout] | ^^^^^ could not find `Event` in `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `MouseScrollDelta` in `glutin` [INFO] [stdout] --> src/main.rs:124:31 [INFO] [stdout] | [INFO] [stdout] 124 | glium::glutin::MouseScrollDelta::LineDelta(x, y) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ could not find `MouseScrollDelta` in `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `MouseCursor` in `glutin` [INFO] [stdout] --> src/main.rs:32:35 [INFO] [stdout] | [INFO] [stdout] 32 | window.set_cursor(glium::glutin::MouseCursor::NoneCursor); [INFO] [stdout] | ^^^^^^^^^^^ could not find `MouseCursor` in `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `WindowBuilder` in `glutin` [INFO] [stdout] --> src/main.rs:23:31 [INFO] [stdout] | [INFO] [stdout] 23 | let display = glium::glutin::WindowBuilder::new().with_vsync().with_multisampling(16).with_depth_buffer(24).build_glium().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `glium::glutin` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use glium::glutin::window::WindowBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `deg` in crate `cgmath` [INFO] [stdout] --> src/main.rs:50:72 [INFO] [stdout] | [INFO] [stdout] 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] [stdout] | ^^^ help: a tuple struct with a similar name exists: `Deg` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/cgmath-6656e28bc4b5feb6/a691de8/src/angle.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct Deg(pub S); [INFO] [stdout] | ------------------------- similarly named tuple struct `Deg` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Event` in `glutin` [INFO] [stdout] --> src/main.rs:103:23 [INFO] [stdout] | [INFO] [stdout] 103 | glium::glutin::Event::Closed => return, [INFO] [stdout] | ^^^^^ could not find `Event` in `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Event` in `glutin` [INFO] [stdout] --> src/main.rs:104:23 [INFO] [stdout] | [INFO] [stdout] 104 | glium::glutin::Event::Focused(focus) => { [INFO] [stdout] | ^^^^^ could not find `Event` in `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `CursorState` in `glutin` [INFO] [stdout] --> src/main.rs:107:49 [INFO] [stdout] | [INFO] [stdout] 107 | window.set_cursor_state(glium::glutin::CursorState::Grab).ok().expect("Could not grab mouse cursor."); [INFO] [stdout] | ^^^^^^^^^^^ could not find `CursorState` in `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Event` in `glutin` [INFO] [stdout] --> src/main.rs:110:23 [INFO] [stdout] | [INFO] [stdout] 110 | glium::glutin::Event::Resized(_, _) => { [INFO] [stdout] | ^^^^^ could not find `Event` in `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Event` in `glutin` [INFO] [stdout] --> src/main.rs:114:23 [INFO] [stdout] | [INFO] [stdout] 114 | glium::glutin::Event::MouseMoved(x, y) => { [INFO] [stdout] | ^^^^^ could not find `Event` in `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Event` in `glutin` [INFO] [stdout] --> src/main.rs:122:29 [INFO] [stdout] | [INFO] [stdout] 122 | glium::glutin::Event::MouseWheel(delta, _) => { [INFO] [stdout] | ^^^^^ could not find `Event` in `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `MouseScrollDelta` in `glutin` [INFO] [stdout] --> src/main.rs:124:31 [INFO] [stdout] | [INFO] [stdout] 124 | glium::glutin::MouseScrollDelta::LineDelta(x, y) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ could not find `MouseScrollDelta` in `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `WindowBuilder` in `glutin` [INFO] [stdout] --> src/main.rs:23:31 [INFO] [stdout] | [INFO] [stdout] 23 | let display = glium::glutin::WindowBuilder::new().with_vsync().with_multisampling(16).with_depth_buffer(24).build_glium().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `glium::glutin` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use glium::glutin::window::WindowBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `deg` in crate `cgmath` [INFO] [stdout] --> src/main.rs:50:72 [INFO] [stdout] | [INFO] [stdout] 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] [stdout] | ^^^ help: a tuple struct with a similar name exists: `Deg` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/cgmath-6656e28bc4b5feb6/a691de8/src/angle.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct Deg(pub S); [INFO] [stdout] | ------------------------- similarly named tuple struct `Deg` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `deg` in crate `cgmath` [INFO] [stdout] --> src/main.rs:112:58 [INFO] [stdout] | [INFO] [stdout] 112 | perspective_matrix = cgmath::perspective(cgmath::deg(45.0),display_size.0 as f32/display_size.1 as f32,0.0001,100.0); [INFO] [stdout] | ^^^ help: a tuple struct with a similar name exists: `Deg` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/cgmath-6656e28bc4b5feb6/a691de8/src/angle.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct Deg(pub S); [INFO] [stdout] | ------------------------- similarly named tuple struct `Deg` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `deg` in crate `cgmath` [INFO] [stdout] --> src/main.rs:112:58 [INFO] [stdout] | [INFO] [stdout] 112 | perspective_matrix = cgmath::perspective(cgmath::deg(45.0),display_size.0 as f32/display_size.1 as f32,0.0001,100.0); [INFO] [stdout] | ^^^ help: a tuple struct with a similar name exists: `Deg` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/cgmath-6656e28bc4b5feb6/a691de8/src/angle.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct Deg(pub S); [INFO] [stdout] | ------------------------- similarly named tuple struct `Deg` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::convert::Into` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use core::convert::Into; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Basis3` [INFO] [stdout] --> src/main.rs:18:37 [INFO] [stdout] | [INFO] [stdout] 18 | use cgmath::{Matrix4,Point3,Vector3,Basis3, Deg, Euler, Quaternion}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::convert::Into` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use core::convert::Into; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Basis3` [INFO] [stdout] --> src/main.rs:18:37 [INFO] [stdout] | [INFO] [stdout] 18 | use cgmath::{Matrix4,Point3,Vector3,Basis3, Deg, Euler, Quaternion}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `time::precise_time_ns`: Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/main.rs:67:28 [INFO] [stdout] | [INFO] [stdout] 67 | let mut old_time:u64 = time::precise_time_ns(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `time::precise_time_ns`: Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/main.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 71 | let new_time = time::precise_time_ns(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/draw/shaders.rs:35:76 [INFO] [stdout] | [INFO] [stdout] 35 | Err(why) => return Err(format!("Failed to open {}: {}.",path.display(), Error::description(&why))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/draw/shaders.rs:41:74 [INFO] [stdout] | [INFO] [stdout] 41 | Err(why) => return Err(format!("Couldn't read {}: {}",path.display(), Error::description(&why))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/draw/shaders.rs:69:65 [INFO] [stdout] | [INFO] [stdout] 69 | Err(why) => return Err(format!("Couldn't compile shader: {}",Error::description(&why))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `time::precise_time_ns`: Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/main.rs:67:28 [INFO] [stdout] | [INFO] [stdout] 67 | let mut old_time:u64 = time::precise_time_ns(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `time::precise_time_ns`: Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/main.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 71 | let new_time = time::precise_time_ns(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/draw/shaders.rs:35:76 [INFO] [stdout] | [INFO] [stdout] 35 | Err(why) => return Err(format!("Failed to open {}: {}.",path.display(), Error::description(&why))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/draw/shaders.rs:41:74 [INFO] [stdout] | [INFO] [stdout] 41 | Err(why) => return Err(format!("Couldn't read {}: {}",path.display(), Error::description(&why))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/draw/shaders.rs:69:65 [INFO] [stdout] | [INFO] [stdout] 69 | Err(why) => return Err(format!("Couldn't compile shader: {}",Error::description(&why))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Deg<_>` in the current scope [INFO] [stdout] --> src/main.rs:79:11 [INFO] [stdout] | [INFO] [stdout] 79 | x:Deg::new(camera_height), [INFO] [stdout] | ^^^ function or associated item not found in `Deg<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Deg<_>` in the current scope [INFO] [stdout] --> src/main.rs:80:11 [INFO] [stdout] | [INFO] [stdout] 80 | y:Deg::new(camera_rotation), [INFO] [stdout] | ^^^ function or associated item not found in `Deg<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Deg<_>` in the current scope [INFO] [stdout] --> src/main.rs:81:11 [INFO] [stdout] | [INFO] [stdout] 81 | z:Deg::new(0.0), [INFO] [stdout] | ^^^ function or associated item not found in `Deg<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `choose` found for struct `ThreadRng` in the current scope [INFO] [stdout] --> src/world/terrain.rs:55:38 [INFO] [stdout] | [INFO] [stdout] 55 | terrain_data.push(Tile { typ:*rng.choose(&choices).unwrap(), height:rng.gen::() }); [INFO] [stdout] | ^^^^^^ method not found in `ThreadRng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Deg<_>` in the current scope [INFO] [stdout] --> src/main.rs:79:11 [INFO] [stdout] | [INFO] [stdout] 79 | x:Deg::new(camera_height), [INFO] [stdout] | ^^^ function or associated item not found in `Deg<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Deg<_>` in the current scope [INFO] [stdout] --> src/main.rs:80:11 [INFO] [stdout] | [INFO] [stdout] 80 | y:Deg::new(camera_rotation), [INFO] [stdout] | ^^^ function or associated item not found in `Deg<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Deg<_>` in the current scope [INFO] [stdout] --> src/main.rs:81:11 [INFO] [stdout] | [INFO] [stdout] 81 | z:Deg::new(0.0), [INFO] [stdout] | ^^^ function or associated item not found in `Deg<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cgmath::prelude` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use cgmath::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Surface` [INFO] [stdout] --> src/main.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | use glium::{DisplayBuild, Surface}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `choose` found for struct `ThreadRng` in the current scope [INFO] [stdout] --> src/world/terrain.rs:55:38 [INFO] [stdout] | [INFO] [stdout] 55 | terrain_data.push(Tile { typ:*rng.choose(&choices).unwrap(), height:rng.gen::() }); [INFO] [stdout] | ^^^^^^ method not found in `ThreadRng` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `age-of-rust` [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] [stdout] warning: unused import: `cgmath::prelude` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use cgmath::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Surface` [INFO] [stdout] --> src/main.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | use glium::{DisplayBuild, Surface}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "9fb73ec3ef92401c0781208c47e17056515fce855189ad2b34329a54131b9117", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9fb73ec3ef92401c0781208c47e17056515fce855189ad2b34329a54131b9117", kill_on_drop: false }` [INFO] [stdout] 9fb73ec3ef92401c0781208c47e17056515fce855189ad2b34329a54131b9117