[INFO] cloning repository https://github.com/DavoSK/rust_playground [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DavoSK/rust_playground" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDavoSK%2Frust_playground", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDavoSK%2Frust_playground'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4c50d919a300ca9ba49077272abdb9832a03cecf [INFO] checking DavoSK/rust_playground against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDavoSK%2Frust_playground" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DavoSK/rust_playground on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/DavoSK/rust_playground [INFO] finished tweaking git repo https://github.com/DavoSK/rust_playground [INFO] tweaked toml for git repo https://github.com/DavoSK/rust_playground written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/DavoSK/rust_playground already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-5/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ordered-float v1.1.1 [INFO] [stderr] Downloaded paste v1.0.5 [INFO] [stderr] Downloaded simba v0.4.0 [INFO] [stderr] Downloaded matrixmultiply v0.3.0 [INFO] [stderr] Downloaded glow v0.7.2 [INFO] [stderr] Downloaded nalgebra v0.25.3 [INFO] [stderr] Downloaded glutin v0.24.1 [INFO] [stderr] Downloaded slotmap v0.4.0 [INFO] [stderr] Downloaded nalgebra-glm v0.11.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bd6564f28ebd3e1898546a588b56f5010a1abe1829f09137b4833a076a2f6d0c [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" "bd6564f28ebd3e1898546a588b56f5010a1abe1829f09137b4833a076a2f6d0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bd6564f28ebd3e1898546a588b56f5010a1abe1829f09137b4833a076a2f6d0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd6564f28ebd3e1898546a588b56f5010a1abe1829f09137b4833a076a2f6d0c", kill_on_drop: false }` [INFO] [stdout] bd6564f28ebd3e1898546a588b56f5010a1abe1829f09137b4833a076a2f6d0c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 27f5438b9553ac7ce5cf8c95e3cc8014c1b4e15fe55afdeb16d91288699e38d0 [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" "27f5438b9553ac7ce5cf8c95e3cc8014c1b4e15fe55afdeb16d91288699e38d0", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling paste v1.0.5 [INFO] [stderr] Checking libloading v0.6.7 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking matrixmultiply v0.3.0 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking wayland-sys v0.23.6 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking nix v0.14.1 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking ordered-float v1.1.1 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Checking simba v0.4.0 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Checking wayland-commons v0.23.6 [INFO] [stderr] Checking calloop v0.4.4 [INFO] [stderr] Checking nalgebra v0.25.3 [INFO] [stderr] Checking smithay-client-toolkit v0.6.6 [INFO] [stderr] Checking winit v0.22.2 [INFO] [stderr] Checking glutin v0.24.1 [INFO] [stderr] Checking glow v0.7.2 [INFO] [stderr] Checking nalgebra-glm v0.11.0 [INFO] [stderr] Checking rust-playground v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: value captured by `window_width` is never read [INFO] [stdout] --> src/main.rs:391:29 [INFO] [stdout] | [INFO] [stdout] 391 | ... window_width = size.width as i32; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value captured by `window_height` is never read [INFO] [stdout] --> src/main.rs:392:29 [INFO] [stdout] | [INFO] [stdout] 392 | ... window_height = size.height as i32; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value captured by `window_width` is never read [INFO] [stdout] --> src/main.rs:391:29 [INFO] [stdout] | [INFO] [stdout] 391 | ... window_width = size.width as i32; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value captured by `window_height` is never read [INFO] [stdout] --> src/main.rs:392:29 [INFO] [stdout] | [INFO] [stdout] 392 | ... window_height = size.height as i32; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_translation` [INFO] [stdout] --> src/transform.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn set_translation(&mut self, translation: glm::Mat4) -> &mut Self { [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: `set_rot` [INFO] [stdout] --> src/transform.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn set_rot(&mut self, rot: glm::Quat) -> &mut Self{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_rot_mat` [INFO] [stdout] --> src/transform.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn set_rot_mat(&mut self, rot: glm::Mat4) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_scale` [INFO] [stdout] --> src/transform.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn set_scale(&mut self, scale: glm::Vec3) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `moving_up` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | moving_up: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `moving_down` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | moving_down: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_fov` [INFO] [stdout] --> src/main.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn set_fov(&mut self, fov: f32) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_near_far` [INFO] [stdout] --> src/main.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn set_near_far(&mut self, near: f32, far: f32) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_translation` [INFO] [stdout] --> src/transform.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn set_translation(&mut self, translation: glm::Mat4) -> &mut Self { [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: `set_rot` [INFO] [stdout] --> src/transform.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn set_rot(&mut self, rot: glm::Quat) -> &mut Self{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_rot_mat` [INFO] [stdout] --> src/transform.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn set_rot_mat(&mut self, rot: glm::Mat4) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_scale` [INFO] [stdout] --> src/transform.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn set_scale(&mut self, scale: glm::Vec3) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `moving_up` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | moving_up: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `moving_down` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | moving_down: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_fov` [INFO] [stdout] --> src/main.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn set_fov(&mut self, fov: f32) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_near_far` [INFO] [stdout] --> src/main.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn set_near_far(&mut self, near: f32, far: f32) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:338:24 [INFO] [stdout] | [INFO] [stdout] 338 | panic!(gl.get_shader_info_log(shader)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 338 | panic!("{}", gl.get_shader_info_log(shader)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 338 | std::panic::panic_any(gl.get_shader_info_log(shader)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:346:20 [INFO] [stdout] | [INFO] [stdout] 346 | panic!(gl.get_program_info_log(program)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 346 | panic!("{}", gl.get_program_info_log(program)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 346 | std::panic::panic_any(gl.get_program_info_log(program)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:338:24 [INFO] [stdout] | [INFO] [stdout] 338 | panic!(gl.get_shader_info_log(shader)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 338 | panic!("{}", gl.get_shader_info_log(shader)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 338 | std::panic::panic_any(gl.get_shader_info_log(shader)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:346:20 [INFO] [stdout] | [INFO] [stdout] 346 | panic!(gl.get_program_info_log(program)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 346 | panic!("{}", gl.get_program_info_log(program)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 346 | std::panic::panic_any(gl.get_program_info_log(program)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 57.94s [INFO] running `Command { std: "docker" "inspect" "27f5438b9553ac7ce5cf8c95e3cc8014c1b4e15fe55afdeb16d91288699e38d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27f5438b9553ac7ce5cf8c95e3cc8014c1b4e15fe55afdeb16d91288699e38d0", kill_on_drop: false }` [INFO] [stdout] 27f5438b9553ac7ce5cf8c95e3cc8014c1b4e15fe55afdeb16d91288699e38d0