[INFO] cloning repository https://github.com/solarsail/learnopengl-gfxrs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/solarsail/learnopengl-gfxrs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsolarsail%2Flearnopengl-gfxrs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsolarsail%2Flearnopengl-gfxrs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 349073d65434ac49dc044f75b30b33b318511a70 [INFO] testing solarsail/learnopengl-gfxrs against 1.55.0 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsolarsail%2Flearnopengl-gfxrs" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/solarsail/learnopengl-gfxrs on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/solarsail/learnopengl-gfxrs [INFO] finished tweaking git repo https://github.com/solarsail/learnopengl-gfxrs [INFO] tweaked toml for git repo https://github.com/solarsail/learnopengl-gfxrs written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/solarsail/learnopengl-gfxrs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "fetch" "--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-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1c129cb3f6eac874226bc71419275f4906cbfd6d891bf7d901b9379f78b573ef [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" "1c129cb3f6eac874226bc71419275f4906cbfd6d891bf7d901b9379f78b573ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1c129cb3f6eac874226bc71419275f4906cbfd6d891bf7d901b9379f78b573ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c129cb3f6eac874226bc71419275f4906cbfd6d891bf7d901b9379f78b573ef", kill_on_drop: false }` [INFO] [stdout] 1c129cb3f6eac874226bc71419275f4906cbfd6d891bf7d901b9379f78b573ef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5b2ebd08f0e7ff96a5ddd0220bd599cb57b4858ba60cf43b0b77e18a8cc3734c [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" "5b2ebd08f0e7ff96a5ddd0220bd599cb57b4858ba60cf43b0b77e18a8cc3734c", kill_on_drop: false }` [INFO] [stderr] Compiling spin_sleep v0.3.1 [INFO] [stderr] Compiling num_cpus v1.6.2 [INFO] [stderr] Compiling atty v0.2.3 [INFO] [stderr] Compiling shared_library v0.1.7 [INFO] [stderr] Compiling x11-dl v2.15.0 [INFO] [stderr] Compiling deflate v0.7.16 [INFO] [stderr] Compiling phf_generator v0.7.21 [INFO] [stderr] Compiling tempfile v2.1.6 [INFO] [stderr] Compiling textwrap v0.8.0 [INFO] [stderr] Compiling cgmath v0.15.0 [INFO] [stderr] Compiling glutin v0.9.2 [INFO] [stderr] Compiling wayland-client v0.9.9 [INFO] [stderr] Compiling fs2 v0.2.5 [INFO] [stderr] Compiling gfx_core v0.7.1 [INFO] [stderr] Compiling structopt-derive v0.1.1 [INFO] [stderr] Compiling gfx_gl v0.3.1 [INFO] [stderr] Compiling memmap v0.4.0 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling phf_codegen v0.7.21 [INFO] [stderr] Compiling clap v2.26.2 [INFO] [stderr] Compiling rayon-core v1.2.1 [INFO] [stderr] Compiling png v0.9.0 [INFO] [stderr] Compiling target_build_utils v0.3.1 [INFO] [stderr] Compiling rayon v0.8.2 [INFO] [stderr] Compiling gfx v0.16.1 [INFO] [stderr] Compiling jpeg-decoder v0.1.13 [INFO] [stderr] Compiling image v0.15.0 [INFO] [stderr] Compiling gfx_device_gl v0.14.2 [INFO] [stderr] Compiling structopt v0.1.1 [INFO] [stderr] Compiling libloading v0.3.4 [INFO] [stderr] Compiling dlib v0.3.1 [INFO] [stderr] Compiling wayland-sys v0.9.9 [INFO] [stderr] Compiling wayland-window v0.6.1 [INFO] [stderr] Compiling wayland-kbd v0.9.1 [INFO] [stderr] Compiling winit v0.7.5 [INFO] [stderr] Compiling gfx_window_glutin v0.17.0 [INFO] [stderr] Compiling learnopengl-gfxrs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/02-lighting/202-basic-lighting-revised/system/camera.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / lazy_static! { [INFO] [stdout] 8 | | static ref KEY_MAP: HashMap = { [INFO] [stdout] 9 | | let mut m = HashMap::new(); [INFO] [stdout] 10 | | m.insert(VirtualKeyCode::W, MD::Up); [INFO] [stdout] ... | [INFO] [stdout] 15 | | }; [INFO] [stdout] 16 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/02-lighting/202-basic-lighting-revised/system/camera.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / lazy_static! { [INFO] [stdout] 8 | | static ref KEY_MAP: HashMap = { [INFO] [stdout] 9 | | let mut m = HashMap::new(); [INFO] [stdout] 10 | | m.insert(VirtualKeyCode::W, MD::Up); [INFO] [stdout] ... | [INFO] [stdout] 15 | | }; [INFO] [stdout] 16 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/02-lighting/203-materials/system/camera.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / lazy_static! { [INFO] [stdout] 8 | | static ref KEY_MAP: HashMap = { [INFO] [stdout] 9 | | let mut m = HashMap::new(); [INFO] [stdout] 10 | | m.insert(VirtualKeyCode::W, MD::Up); [INFO] [stdout] ... | [INFO] [stdout] 15 | | }; [INFO] [stdout] 16 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/02-lighting/203-materials/system/camera.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / lazy_static! { [INFO] [stdout] 8 | | static ref KEY_MAP: HashMap = { [INFO] [stdout] 9 | | let mut m = HashMap::new(); [INFO] [stdout] 10 | | m.insert(VirtualKeyCode::W, MD::Up); [INFO] [stdout] ... | [INFO] [stdout] 15 | | }; [INFO] [stdout] 16 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/02-lighting/204-lighting-maps/system/camera.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / lazy_static! { [INFO] [stdout] 8 | | static ref KEY_MAP: HashMap = { [INFO] [stdout] 9 | | let mut m = HashMap::new(); [INFO] [stdout] 10 | | m.insert(VirtualKeyCode::W, MD::Up); [INFO] [stdout] ... | [INFO] [stdout] 15 | | }; [INFO] [stdout] 16 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/02-lighting/204-lighting-maps/system/camera.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / lazy_static! { [INFO] [stdout] 8 | | static ref KEY_MAP: HashMap = { [INFO] [stdout] 9 | | let mut m = HashMap::new(); [INFO] [stdout] 10 | | m.insert(VirtualKeyCode::W, MD::Up); [INFO] [stdout] ... | [INFO] [stdout] 15 | | }; [INFO] [stdout] 16 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/02-lighting/206-multiple-lights/main.rs:96:35 [INFO] [stdout] | [INFO] [stdout] 96 | render::DirLight::new((light_color * 0.05), (light_color * 0.3), light_color, dir) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/02-lighting/206-multiple-lights/main.rs:96:57 [INFO] [stdout] | [INFO] [stdout] 96 | render::DirLight::new((light_color * 0.05), (light_color * 0.3), light_color, dir) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/02-lighting/206-multiple-lights/system/camera.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / lazy_static! { [INFO] [stdout] 8 | | static ref KEY_MAP: HashMap = { [INFO] [stdout] 9 | | let mut m = HashMap::new(); [INFO] [stdout] 10 | | m.insert(VirtualKeyCode::W, MD::Up); [INFO] [stdout] ... | [INFO] [stdout] 15 | | }; [INFO] [stdout] 16 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/02-lighting/206-multiple-lights/system/camera.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / lazy_static! { [INFO] [stdout] 8 | | static ref KEY_MAP: HashMap = { [INFO] [stdout] 9 | | let mut m = HashMap::new(); [INFO] [stdout] 10 | | m.insert(VirtualKeyCode::W, MD::Up); [INFO] [stdout] ... | [INFO] [stdout] 15 | | }; [INFO] [stdout] 16 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `current_fps` is assigned to, but never used [INFO] [stdout] --> src/02-lighting/206-multiple-lights/main.rs:138:13 [INFO] [stdout] | [INFO] [stdout] 138 | let mut current_fps = None; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: consider using `_current_fps` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `current_fps` is never read [INFO] [stdout] --> src/02-lighting/206-multiple-lights/main.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | current_fps = Some(fps); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `projection_matrix` [INFO] [stdout] --> src/02-lighting/206-multiple-lights/system/camera.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn projection_matrix(&self) -> Matrix4 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `view_matrix` [INFO] [stdout] --> src/02-lighting/206-multiple-lights/system/camera.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn view_matrix(&self) -> Matrix4 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `spot` [INFO] [stdout] --> src/02-lighting/206-multiple-lights/main.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | spot: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `learnopengl-gfxrs`; 9 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustc --crate-name multiple_lights src/02-lighting/206-multiple-lights/main.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 -C metadata=a4f034190c367d57 -C extra-filename=-a4f034190c367d57 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern cgmath=/opt/rustwide/target/debug/deps/libcgmath-6bd9b76281d36e1c.rlib --extern find_folder=/opt/rustwide/target/debug/deps/libfind_folder-1256337291fc833b.rlib --extern gfx=/opt/rustwide/target/debug/deps/libgfx-c26fa5cc5ea3f53a.rlib --extern gfx_device_gl=/opt/rustwide/target/debug/deps/libgfx_device_gl-d35e95cccc63daf9.rlib --extern gfx_window_glutin=/opt/rustwide/target/debug/deps/libgfx_window_glutin-7f814b34fe42890e.rlib --extern glutin=/opt/rustwide/target/debug/deps/libglutin-d22a47074937962c.rlib --extern image=/opt/rustwide/target/debug/deps/libimage-8cb259d0d759059a.rlib --extern lazy_static=/opt/rustwide/target/debug/deps/liblazy_static-3a657f7fa061662a.rlib --extern spin_sleep=/opt/rustwide/target/debug/deps/libspin_sleep-6d2a28353eefd88f.rlib --extern structopt=/opt/rustwide/target/debug/deps/libstructopt-25b7e241ad96c10f.rlib --extern structopt_derive=/opt/rustwide/target/debug/deps/libstructopt_derive-63f1666d7a8e9027.so --cap-lints=warn` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "5b2ebd08f0e7ff96a5ddd0220bd599cb57b4858ba60cf43b0b77e18a8cc3734c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b2ebd08f0e7ff96a5ddd0220bd599cb57b4858ba60cf43b0b77e18a8cc3734c", kill_on_drop: false }` [INFO] [stdout] 5b2ebd08f0e7ff96a5ddd0220bd599cb57b4858ba60cf43b0b77e18a8cc3734c