[INFO] cloning repository https://github.com/Ben435/simple-opengl-renderer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Ben435/simple-opengl-renderer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBen435%2Fsimple-opengl-renderer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBen435%2Fsimple-opengl-renderer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3f3bd20c6ff807553e9a3fadaa1295ac3972e011 [INFO] checking Ben435/simple-opengl-renderer against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBen435%2Fsimple-opengl-renderer" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Ben435/simple-opengl-renderer on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Ben435/simple-opengl-renderer [INFO] finished tweaking git repo https://github.com/Ben435/simple-opengl-renderer [INFO] tweaked toml for git repo https://github.com/Ben435/simple-opengl-renderer written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Ben435/simple-opengl-renderer already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cc v1.0.60 [INFO] [stderr] Downloaded hermit-abi v0.1.16 [INFO] [stderr] Downloaded cmake v0.1.44 [INFO] [stderr] Downloaded tobj v2.0.2 [INFO] [stderr] Downloaded glfw v0.40.0 [INFO] [stderr] Downloaded libc v0.2.77 [INFO] [stderr] Downloaded glfw-sys v3.3.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 688087c1991451bbd852ca00f86d418583044f2ce8f722860c6ce7b6227edddd [INFO] running `Command { std: "docker" "start" "-a" "688087c1991451bbd852ca00f86d418583044f2ce8f722860c6ce7b6227edddd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "688087c1991451bbd852ca00f86d418583044f2ce8f722860c6ce7b6227edddd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "688087c1991451bbd852ca00f86d418583044f2ce8f722860c6ce7b6227edddd", kill_on_drop: false }` [INFO] [stdout] 688087c1991451bbd852ca00f86d418583044f2ce8f722860c6ce7b6227edddd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] df54e604b528da0f844dab3dec1d3159a1b154d7deab18d42c5514ff436e5185 [INFO] running `Command { std: "docker" "start" "-a" "df54e604b528da0f844dab3dec1d3159a1b154d7deab18d42c5514ff436e5185", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling libc v0.2.77 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling cc v1.0.60 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Checking semver-parser v0.7.0 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling cmake v0.1.44 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Compiling cgmath v0.17.0 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking semver v0.9.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking tobj v2.0.2 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Compiling glfw-sys v3.3.2 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Checking glfw v0.40.0 [INFO] [stderr] Checking simple_opengl_renderer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `gl` is imported redundantly [INFO] [stdout] --> src/render/simple_renderer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use gl; [INFO] [stdout] | ^^ the item `gl` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `tobj` is imported redundantly [INFO] [stdout] --> src/render/model.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tobj; [INFO] [stdout] | ^^^^ the item `tobj` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `gl` is imported redundantly [INFO] [stdout] --> src/render/ogl/gl_buffer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use gl; [INFO] [stdout] | ^^ the item `gl` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `gl` is imported redundantly [INFO] [stdout] --> src/render/ogl/gl_index_buffer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use gl; [INFO] [stdout] | ^^ the item `gl` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `gl` is imported redundantly [INFO] [stdout] --> src/render/ogl/gl_vertex_array.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use gl; [INFO] [stdout] | ^^ the item `gl` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `gl` is imported redundantly [INFO] [stdout] --> src/render/ogl/gl_shader.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use gl; [INFO] [stdout] | ^^ the item `gl` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Zero` is imported redundantly [INFO] [stdout] --> src/camera.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use cgmath::{Vector3,Point3,vec3,Zero,Matrix4,Deg,perspective}; [INFO] [stdout] | ^^^^ [INFO] [stdout] 2 | use cgmath::prelude::*; [INFO] [stdout] | ------------------ the item `Zero` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `glfw` is imported redundantly [INFO] [stdout] --> src/window.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use glfw; [INFO] [stdout] | ^^^^ the item `glfw` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `gl` is imported redundantly [INFO] [stdout] --> src/window.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use gl; [INFO] [stdout] | ^^ the item `gl` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `gl` is imported redundantly [INFO] [stdout] --> src/render/simple_renderer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use gl; [INFO] [stdout] | ^^ the item `gl` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `tobj` is imported redundantly [INFO] [stdout] --> src/render/model.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tobj; [INFO] [stdout] | ^^^^ the item `tobj` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `gl` is imported redundantly [INFO] [stdout] --> src/render/ogl/gl_buffer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use gl; [INFO] [stdout] | ^^ the item `gl` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `gl` is imported redundantly [INFO] [stdout] --> src/render/ogl/gl_index_buffer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use gl; [INFO] [stdout] | ^^ the item `gl` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `gl` is imported redundantly [INFO] [stdout] --> src/render/ogl/gl_vertex_array.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use gl; [INFO] [stdout] | ^^ the item `gl` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `gl` is imported redundantly [INFO] [stdout] --> src/render/ogl/gl_shader.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use gl; [INFO] [stdout] | ^^ the item `gl` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Zero` is imported redundantly [INFO] [stdout] --> src/camera.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use cgmath::{Vector3,Point3,vec3,Zero,Matrix4,Deg,perspective}; [INFO] [stdout] | ^^^^ [INFO] [stdout] 2 | use cgmath::prelude::*; [INFO] [stdout] | ------------------ the item `Zero` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `glfw` is imported redundantly [INFO] [stdout] --> src/window.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use glfw; [INFO] [stdout] | ^^^^ the item `glfw` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `gl` is imported redundantly [INFO] [stdout] --> src/window.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use gl; [INFO] [stdout] | ^^ the item `gl` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/render/ogl/gl_shader.rs:69:30 [INFO] [stdout] | [INFO] [stdout] 69 | Err(e) => panic!(format!("Failed to translate String to CString: {}", e)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 69 - Err(e) => panic!(format!("Failed to translate String to CString: {}", e)), [INFO] [stdout] 69 + Err(e) => panic!("Failed to translate String to CString: {}", e), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/render/ogl/gl_shader.rs:74:20 [INFO] [stdout] | [INFO] [stdout] 74 | panic!(format!("Failed to find location for uniform: {}", name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 74 - panic!(format!("Failed to find location for uniform: {}", name)); [INFO] [stdout] 74 + panic!("Failed to find location for uniform: {}", name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/render/ogl/gl_errors.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | panic!(format!("Gl error set!: {}", err)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 14 - panic!(format!("Gl error set!: {}", err)); [INFO] [stdout] 14 + panic!("Gl error set!: {}", err); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/render/ogl/gl_shader.rs:69:30 [INFO] [stdout] | [INFO] [stdout] 69 | Err(e) => panic!(format!("Failed to translate String to CString: {}", e)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 69 - Err(e) => panic!(format!("Failed to translate String to CString: {}", e)), [INFO] [stdout] 69 + Err(e) => panic!("Failed to translate String to CString: {}", e), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/render/ogl/gl_shader.rs:74:20 [INFO] [stdout] | [INFO] [stdout] 74 | panic!(format!("Failed to find location for uniform: {}", name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 74 - panic!(format!("Failed to find location for uniform: {}", name)); [INFO] [stdout] 74 + panic!("Failed to find location for uniform: {}", name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/render/ogl/gl_errors.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | panic!(format!("Gl error set!: {}", err)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 14 - panic!(format!("Gl error set!: {}", err)); [INFO] [stdout] 14 + panic!("Gl error set!: {}", err); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.01s [INFO] running `Command { std: "docker" "inspect" "df54e604b528da0f844dab3dec1d3159a1b154d7deab18d42c5514ff436e5185", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df54e604b528da0f844dab3dec1d3159a1b154d7deab18d42c5514ff436e5185", kill_on_drop: false }` [INFO] [stdout] df54e604b528da0f844dab3dec1d3159a1b154d7deab18d42c5514ff436e5185