[INFO] cloning repository https://github.com/luutifa/platformer-engine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/luutifa/platformer-engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluutifa%2Fplatformer-engine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluutifa%2Fplatformer-engine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1e719bee91819f644f57b1d2792732554527b843 [INFO] checking luutifa/platformer-engine against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluutifa%2Fplatformer-engine" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/luutifa/platformer-engine 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/luutifa/platformer-engine [INFO] finished tweaking git repo https://github.com/luutifa/platformer-engine [INFO] tweaked toml for git repo https://github.com/luutifa/platformer-engine written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/luutifa/platformer-engine 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] abb6ae0f8b65d56bc6cd6edd45b07878cd31606659ad8bd7154462a6289a219c [INFO] running `Command { std: "docker" "start" "-a" "abb6ae0f8b65d56bc6cd6edd45b07878cd31606659ad8bd7154462a6289a219c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "abb6ae0f8b65d56bc6cd6edd45b07878cd31606659ad8bd7154462a6289a219c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "abb6ae0f8b65d56bc6cd6edd45b07878cd31606659ad8bd7154462a6289a219c", kill_on_drop: false }` [INFO] [stdout] abb6ae0f8b65d56bc6cd6edd45b07878cd31606659ad8bd7154462a6289a219c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] f52e97cf5eeee682bfbfb6f2569424243c19ed7c22122ab87f7cbb64d3e629c4 [INFO] running `Command { std: "docker" "start" "-a" "f52e97cf5eeee682bfbfb6f2569424243c19ed7c22122ab87f7cbb64d3e629c4", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v0.1.4 [INFO] [stderr] Compiling num-traits v0.2.5 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling khronos_api v2.2.0 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling bitflags v1.0.3 [INFO] [stderr] Checking libc v0.2.42 [INFO] [stderr] Checking byteorder v1.2.3 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Checking inflate v0.4.3 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling log v0.4.3 [INFO] [stderr] Compiling sdl2-sys v0.31.0 [INFO] [stderr] Checking deflate v0.7.18 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Compiling gl v0.10.0 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking png v0.12.0 [INFO] [stderr] Checking rand v0.3.22 [INFO] [stderr] Checking sdl2 v0.31.0 [INFO] [stderr] Checking platformer-engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/renderer/mesh.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/renderer/resources.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/renderer/resources.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CStr` [INFO] [stdout] --> src/renderer/resources.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | use std::ffi::{CString, CStr}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/renderer/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/renderer/mesh.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/renderer/resources.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/renderer/resources.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CStr` [INFO] [stdout] --> src/renderer/resources.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | use std::ffi::{CString, CStr}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/renderer/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gl_context` [INFO] [stdout] --> src/main.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let gl_context = window.gl_create_context().unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gl_context` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gl_context` [INFO] [stdout] --> src/main.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let gl_context = window.gl_create_context().unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gl_context` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `meshes` is never read [INFO] [stdout] --> src/renderer/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Renderer { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | meshes: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `meshes` is never read [INFO] [stdout] --> src/renderer/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Renderer { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | meshes: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `position` and `scale` are never read [INFO] [stdout] --> src/renderer/sprite.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Sprite { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 4 | pub texture: GLuint, [INFO] [stdout] 5 | pub position: (f32, f32), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 6 | pub scale: (f32, f32), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `position` and `scale` are never read [INFO] [stdout] --> src/renderer/sprite.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Sprite { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 4 | pub texture: GLuint, [INFO] [stdout] 5 | pub position: (f32, f32), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 6 | pub scale: (f32, f32), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `texture` and `tris` are never read [INFO] [stdout] --> src/renderer/mesh.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Mesh { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 5 | pub texture: i32, // TODO sort out resource IDs [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 6 | pub tris: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `texture` and `tris` are never read [INFO] [stdout] --> src/renderer/mesh.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Mesh { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 5 | pub texture: i32, // TODO sort out resource IDs [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 6 | pub tris: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `textures` is never read [INFO] [stdout] --> src/renderer/resources.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Resources { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 12 | textures: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_pot` is never used [INFO] [stdout] --> src/renderer/resources.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn is_pot(width: f32, height: f32) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `load_texture` is never used [INFO] [stdout] --> src/renderer/resources.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Resources { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn load_texture(&mut self, filename: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `textures` is never read [INFO] [stdout] --> src/renderer/resources.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Resources { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 12 | textures: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_pot` is never used [INFO] [stdout] --> src/renderer/resources.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn is_pot(width: f32, height: f32) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `load_texture` is never used [INFO] [stdout] --> src/renderer/resources.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Resources { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn load_texture(&mut self, filename: &str) -> Result { [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` profile [unoptimized + debuginfo] target(s) in 6.56s [INFO] running `Command { std: "docker" "inspect" "f52e97cf5eeee682bfbfb6f2569424243c19ed7c22122ab87f7cbb64d3e629c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f52e97cf5eeee682bfbfb6f2569424243c19ed7c22122ab87f7cbb64d3e629c4", kill_on_drop: false }` [INFO] [stdout] f52e97cf5eeee682bfbfb6f2569424243c19ed7c22122ab87f7cbb64d3e629c4