[INFO] fetching crate kart-apple-gl 0.4.41... [INFO] checking kart-apple-gl-0.4.41 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate kart-apple-gl 0.4.41 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate kart-apple-gl 0.4.41 [INFO] finished tweaking crates.io crate kart-apple-gl 0.4.41 [INFO] tweaked toml for crates.io crate kart-apple-gl 0.4.41 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate kart-apple-gl 0.4.41 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 23 packages to latest compatible versions [INFO] [stderr] Adding glfw v0.53.0 (available: v0.60.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded glfw v0.53.0 [INFO] [stderr] Downloaded glfw-sys v4.0.0+3.3.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ed841adf12892688435d37c35da1deee0d71230b164da45081a39efae274b838 [INFO] running `Command { std: "docker" "start" "-a" "ed841adf12892688435d37c35da1deee0d71230b164da45081a39efae274b838", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ed841adf12892688435d37c35da1deee0d71230b164da45081a39efae274b838", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed841adf12892688435d37c35da1deee0d71230b164da45081a39efae274b838", kill_on_drop: false }` [INFO] [stdout] ed841adf12892688435d37c35da1deee0d71230b164da45081a39efae274b838 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ea0b36a33d27b38e994bdc97b81790c5ca87aa18e003b0870c2e6ee39a5e318a [INFO] running `Command { std: "docker" "start" "-a" "ea0b36a33d27b38e994bdc97b81790c5ca87aa18e003b0870c2e6ee39a5e318a", kill_on_drop: false }` [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling find-msvc-tools v0.1.0 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling xml-rs v0.8.27 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Checking raw-window-handle v0.5.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling cc v1.2.35 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Compiling glfw-sys v4.0.0+3.3.5 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking glfw v0.53.0 [INFO] [stderr] Checking kart-apple-gl v0.4.41 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `gl::types::GLuint` [INFO] [stdout] --> src/core/application.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use gl::types::GLuint; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Action` and `Key` [INFO] [stdout] --> src/core/application.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | use glfw::{flush_messages, Action, Key, WindowEvent, Context}; [INFO] [stdout] | ^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::alloc::System` [INFO] [stdout] --> src/core/application.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::alloc::System; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/core/application.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/core/application.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GLchar` [INFO] [stdout] --> src/core/attribute.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use gl::types::{GLchar, GLsizeiptr, GLuint}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/core/attribute.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mem` [INFO] [stdout] --> src/core/attribute.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{mem, ptr}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f32::consts::PI` [INFO] [stdout] --> src/core/camera.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::f32::consts::PI; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WindowEvent` [INFO] [stdout] --> src/core/scaffold.rs:2:59 [INFO] [stdout] | [INFO] [stdout] 2 | use glfw::{Action, Key, Modifiers, MouseButton, Scancode, WindowEvent}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/core/uniform.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gl::types::GLuint` [INFO] [stdout] --> src/core/application.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use gl::types::GLuint; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Action` and `Key` [INFO] [stdout] --> src/core/application.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | use glfw::{flush_messages, Action, Key, WindowEvent, Context}; [INFO] [stdout] | ^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::alloc::System` [INFO] [stdout] --> src/core/application.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::alloc::System; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/core/application.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/core/application.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GLchar` [INFO] [stdout] --> src/core/attribute.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use gl::types::{GLchar, GLsizeiptr, GLuint}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/core/attribute.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mem` [INFO] [stdout] --> src/core/attribute.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{mem, ptr}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f32::consts::PI` [INFO] [stdout] --> src/core/camera.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::f32::consts::PI; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WindowEvent` [INFO] [stdout] --> src/core/scaffold.rs:2:59 [INFO] [stdout] | [INFO] [stdout] 2 | use glfw::{Action, Key, Modifiers, MouseButton, Scancode, WindowEvent}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/core/uniform.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/application.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | let mut events: Vec<(f64, WindowEvent)> = [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/application.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | let mut events: Vec<(f64, WindowEvent)> = [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/window.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | let (mut window, events) = glfw [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `make_current` is never used [INFO] [stdout] --> src/core/window.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl Window { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | fn make_current(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/window.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | let (mut window, events) = glfw [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scancode` [INFO] [stdout] --> src/lib.rs:186:47 [INFO] [stdout] | [INFO] [stdout] 186 | unsafe fn on_key(&mut self, key: Key, scancode: Scancode, action: Action, modifiers: Modifiers, app: &mut KartApple) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scancode` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `action` [INFO] [stdout] --> src/lib.rs:186:67 [INFO] [stdout] | [INFO] [stdout] 186 | unsafe fn on_key(&mut self, key: Key, scancode: Scancode, action: Action, modifiers: Modifiers, app: &mut KartApple) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_action` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `modifiers` [INFO] [stdout] --> src/lib.rs:186:83 [INFO] [stdout] | [INFO] [stdout] 186 | unsafe fn on_key(&mut self, key: Key, scancode: Scancode, action: Action, modifiers: Modifiers, app: &mut KartApple) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_modifiers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> src/lib.rs:186:105 [INFO] [stdout] | [INFO] [stdout] 186 | unsafe fn on_key(&mut self, key: Key, scancode: Scancode, action: Action, modifiers: Modifiers, app: &mut KartApple) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `button` [INFO] [stdout] --> src/lib.rs:197:39 [INFO] [stdout] | [INFO] [stdout] 197 | unsafe fn on_mouse(&mut self, button: MouseButton, action: Action, modifiers: Modifiers, app: &mut KartApple) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `action` [INFO] [stdout] --> src/lib.rs:197:60 [INFO] [stdout] | [INFO] [stdout] 197 | unsafe fn on_mouse(&mut self, button: MouseButton, action: Action, modifiers: Modifiers, app: &mut KartApple) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_action` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `modifiers` [INFO] [stdout] --> src/lib.rs:197:76 [INFO] [stdout] | [INFO] [stdout] 197 | unsafe fn on_mouse(&mut self, button: MouseButton, action: Action, modifiers: Modifiers, app: &mut KartApple) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_modifiers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> src/lib.rs:197:98 [INFO] [stdout] | [INFO] [stdout] 197 | unsafe fn on_mouse(&mut self, button: MouseButton, action: Action, modifiers: Modifiers, app: &mut KartApple) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> src/lib.rs:200:65 [INFO] [stdout] | [INFO] [stdout] 200 | unsafe fn on_resize(&mut self, width: i32, height: i32, app: &mut KartApple) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> src/lib.rs:204:39 [INFO] [stdout] | [INFO] [stdout] 204 | unsafe fn on_clean(&mut self, app: &mut KartApple) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `make_current` is never used [INFO] [stdout] --> src/core/window.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl Window { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | fn make_current(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.22s [INFO] running `Command { std: "docker" "inspect" "ea0b36a33d27b38e994bdc97b81790c5ca87aa18e003b0870c2e6ee39a5e318a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea0b36a33d27b38e994bdc97b81790c5ca87aa18e003b0870c2e6ee39a5e318a", kill_on_drop: false }` [INFO] [stdout] ea0b36a33d27b38e994bdc97b81790c5ca87aa18e003b0870c2e6ee39a5e318a