[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 try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThomasColliers%2Fage-of-rust" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ThomasColliers/age-of-rust on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "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-0/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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/bjz/cgmath` [INFO] [stderr] error: the lock file /workspace/builds/worker-0/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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2222f538040240ee2dca9205de0b4b40a021acfc2938fcc2de7909ab35f597ef [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" "2222f538040240ee2dca9205de0b4b40a021acfc2938fcc2de7909ab35f597ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2222f538040240ee2dca9205de0b4b40a021acfc2938fcc2de7909ab35f597ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2222f538040240ee2dca9205de0b4b40a021acfc2938fcc2de7909ab35f597ef", kill_on_drop: false }` [INFO] [stdout] 2222f538040240ee2dca9205de0b4b40a021acfc2938fcc2de7909ab35f597ef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ac0de04642ee1fc53f7144998804aac268edb32815640fb6b4b29ab2b30614ef [INFO] running `Command { std: "docker" "start" "-a" "ac0de04642ee1fc53f7144998804aac268edb32815640fb6b4b29ab2b30614ef", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking ttf-parser v0.6.2 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling cgmath v0.17.0 (https://github.com/bjz/cgmath#a691de87) [INFO] [stderr] Checking rustc-demangle v0.1.17 [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling wayland-sys v0.28.0 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Checking instant v0.1.7 [INFO] [stderr] Compiling syn v1.0.42 [INFO] [stderr] Compiling winit v0.23.0 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Checking lock_api v0.4.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking libloading v0.6.3 [INFO] [stderr] Compiling wayland-scanner v0.28.0 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling num-bigint v0.3.0 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking owned_ttf_parser v0.6.0 [INFO] [stderr] Checking rusttype v0.9.2 [INFO] [stderr] Compiling wayland-client v0.28.0 [INFO] [stderr] Compiling wayland-protocols v0.28.0 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 (https://github.com/tomaka/glutin#1977fdd4) [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 (https://github.com/tomaka/glutin#1977fdd4) [INFO] [stderr] Compiling glium v0.28.0 (https://github.com/tomaka/glium#4e441a05) [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking num-complex v0.3.0 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking x11-dl v2.18.5 [INFO] [stderr] Checking net2 v0.2.35 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking parking_lot_core v0.8.0 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking getrandom v0.1.15 [INFO] [stderr] Checking backtrace v0.3.52 [INFO] [stderr] Checking line_drawing v0.8.0 [INFO] [stderr] Checking xcursor v0.3.2 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking parking_lot v0.11.0 [INFO] [stderr] Checking andrew v0.3.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking num v0.3.0 [INFO] [stderr] Checking wayland-commons v0.28.0 [INFO] [stderr] Checking calloop v0.6.5 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Checking wayland-cursor v0.28.0 [INFO] [stderr] Checking wayland-egl v0.28.0 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking time v0.2.22 [INFO] [stderr] Checking smithay-client-toolkit v0.12.0 [INFO] [stderr] Checking glutin v0.25.0 [INFO] [stderr] Checking glutin v0.25.0 (https://github.com/tomaka/glutin#1977fdd4) [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 `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] 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] 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 `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] 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: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: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 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 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] 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] 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: 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: 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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "ac0de04642ee1fc53f7144998804aac268edb32815640fb6b4b29ab2b30614ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac0de04642ee1fc53f7144998804aac268edb32815640fb6b4b29ab2b30614ef", kill_on_drop: false }` [INFO] [stdout] ac0de04642ee1fc53f7144998804aac268edb32815640fb6b4b29ab2b30614ef