[INFO] fetching crate pyrite 0.1.8... [INFO] testing pyrite-0.1.8 against master#b03b3a7ec92682be2917540b679478d41c95a30c for pr-137122-1 [INFO] extracting crate pyrite 0.1.8 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate pyrite 0.1.8 [INFO] finished tweaking crates.io crate pyrite 0.1.8 [INFO] tweaked toml for crates.io crate pyrite 0.1.8 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate pyrite 0.1.8 on toolchain b03b3a7ec92682be2917540b679478d41c95a30c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "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" "+b03b3a7ec92682be2917540b679478d41c95a30c" "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 271 packages to latest compatible versions [INFO] [stderr] Adding image v0.24.9 (available: v0.25.6) [INFO] [stderr] Adding nix v0.20.0 (available: v0.20.2) [INFO] [stderr] Adding piston v0.53.2 (available: v1.0.0) [INFO] [stderr] Adding piston2d-graphics v0.42.0 (available: v0.45.0) [INFO] [stderr] Adding piston2d-opengl_graphics v0.81.0 (available: v0.89.0) [INFO] [stderr] Adding piston2d-sprite v0.66.1 (available: v0.68.0) [INFO] [stderr] Adding pistoncore-glutin_window v0.69.0 (available: v0.72.0) [INFO] [stderr] Adding rodio v0.15.0 (available: v0.20.1) [INFO] [stderr] Adding winit v0.24.0 (available: v0.30.11) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded coreaudio-sys v0.2.17 [INFO] [stderr] Downloaded spin_sleep v1.3.2 [INFO] [stderr] Downloaded piston-ai_behavior v0.33.0 [INFO] [stderr] Downloaded piston2d-opengl_graphics v0.81.0 [INFO] [stderr] Downloaded piston2d-sprite v0.66.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d3f5a8e33040eb72e71fac636ef1b37a51056fb057f9520b1cc30366e6a02268 [INFO] running `Command { std: "docker" "start" "-a" "d3f5a8e33040eb72e71fac636ef1b37a51056fb057f9520b1cc30366e6a02268", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d3f5a8e33040eb72e71fac636ef1b37a51056fb057f9520b1cc30366e6a02268", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3f5a8e33040eb72e71fac636ef1b37a51056fb057f9520b1cc30366e6a02268", kill_on_drop: false }` [INFO] [stdout] d3f5a8e33040eb72e71fac636ef1b37a51056fb057f9520b1cc30366e6a02268 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fc7e1f57c799159eb1ad760da4216ff637e67766349ea1ba1892453064cf4237 [INFO] running `Command { std: "docker" "start" "-a" "fc7e1f57c799159eb1ad760da4216ff637e67766349ea1ba1892453064cf4237", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling xml-rs v0.8.26 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling piston-float v1.0.1 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling ttf-parser v0.15.2 [INFO] [stderr] Compiling piston-viewport v1.0.2 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling downcast-rs v1.2.1 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling piston-graphics_api_version v1.0.1 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling xdg v2.5.2 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling xcursor v0.3.10 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling raw-window-handle v0.4.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling owned_ttf_parser v0.15.2 [INFO] [stderr] Compiling weezl v0.1.10 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling vecmath v1.0.0 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling glutin_glx_sys v0.1.8 [INFO] [stderr] Compiling gl v0.13.0 [INFO] [stderr] Compiling glutin_egl_sys v0.1.6 [INFO] [stderr] Compiling rusttype v0.9.3 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling andrew v0.3.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling bytemuck v1.23.1 [INFO] [stderr] Compiling interpolation v0.2.0 [INFO] [stderr] Compiling piston-texture v0.8.0 [INFO] [stderr] Compiling cpal v0.13.5 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling minimp3-sys v0.3.2 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling nix v0.23.2 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling raw-window-handle v0.3.4 [INFO] [stderr] Compiling read_color v1.0.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Compiling piston2d-graphics v0.42.0 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling slice-deque v0.3.0 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling gif v0.13.3 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling ogg v0.8.0 [INFO] [stderr] Compiling jpeg-decoder v0.3.2 [INFO] [stderr] Compiling shader_version v0.7.0 [INFO] [stderr] Compiling spin_sleep v1.3.2 [INFO] [stderr] Compiling uuid v0.6.5 [INFO] [stderr] Compiling lewton v0.10.2 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling piston-shaders_graphics2d v0.4.0 [INFO] [stderr] Compiling claxon v0.4.3 [INFO] [stderr] Compiling hound v3.5.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling alsa v0.6.0 [INFO] [stderr] Compiling wayland-commons v0.28.6 [INFO] [stderr] Compiling calloop v0.6.5 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling minimp3 v0.5.1 [INFO] [stderr] Compiling rodio v0.15.0 [INFO] [stderr] Compiling wayland-cursor v0.28.6 [INFO] [stderr] Compiling wayland-egl v0.28.6 [INFO] [stderr] Compiling pistoncore-input v1.0.1 [INFO] [stderr] Compiling pistoncore-window v0.47.1 [INFO] [stderr] Compiling piston-ai_behavior v0.33.0 [INFO] [stderr] Compiling pistoncore-event_loop v0.53.1 [INFO] [stderr] Compiling piston v0.53.2 [INFO] [stderr] Compiling piston2d-sprite v0.66.1 [INFO] [stderr] Compiling piston2d-opengl_graphics v0.81.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.12.3 [INFO] [stderr] Compiling winit v0.24.0 [INFO] [stderr] Compiling glutin v0.26.0 [INFO] [stderr] Compiling pistoncore-glutin_window v0.69.0 [INFO] [stderr] Compiling pyrite v0.1.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Sprite` [INFO] [stdout] --> src/window_settings.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::sprite::{Sprite, SpriteFileFormat}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Cursor` [INFO] [stdout] --> src/window.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Cursor; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/window.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/window.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TextureSettings` and `Texture` [INFO] [stdout] --> src/window.rs:5:43 [INFO] [stdout] | [INFO] [stdout] 5 | use opengl_graphics::{GlGraphics, OpenGL, Texture, TextureSettings}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RenderArgs` and `UpdateArgs` [INFO] [stdout] --> src/window.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use piston::input::{RenderArgs, RenderEvent, UpdateArgs, UpdateEvent}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `winit::dpi::PhysicalSize` [INFO] [stdout] --> src/window.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use winit::dpi::PhysicalSize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glutin_window::GlutinWindow` [INFO] [stdout] --> src/graphics.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use glutin_window::GlutinWindow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OpenGL` [INFO] [stdout] --> src/graphics.rs:4:35 [INFO] [stdout] | [INFO] [stdout] 4 | use opengl_graphics::{GlGraphics, OpenGL}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EventSettings` and `Events` [INFO] [stdout] --> src/graphics.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | use piston::event_loop::{EventSettings, Events}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RenderArgs`, `RenderEvent`, `UpdateArgs`, and `UpdateEvent` [INFO] [stdout] --> src/graphics.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | use piston::input::{RenderArgs, RenderEvent, UpdateArgs, UpdateEvent}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `piston::window::WindowSettings as PistonWindowSettings` [INFO] [stdout] --> src/graphics.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use piston::window::WindowSettings as PistonWindowSettings; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ColorComponent` and `Radius` [INFO] [stdout] --> src/graphics.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | use graphics::types::{ColorComponent, Radius}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DynamicImage` [INFO] [stdout] --> src/sprite.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use image::{DynamicImage, RgbaImage}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Format` [INFO] [stdout] --> src/sprite.rs:3:49 [INFO] [stdout] | [INFO] [stdout] 3 | use opengl_graphics::{Texture, TextureSettings, Format, Filter}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Source` [INFO] [stdout] --> src/sound.rs:1:47 [INFO] [stdout] | [INFO] [stdout] 1 | use rodio::{OutputStream, OutputStreamHandle, Source}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufReader` and `Cursor` [INFO] [stdout] --> src/sound.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{BufReader, Cursor}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/sound.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cutout_position` [INFO] [stdout] --> src/graphics.rs:61:88 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn draw_sprite(&mut self, sprite: &Sprite, position: [f32; 2], size: [f32; 2], cutout_position: [u32; 2], cutout_size: [u32; 2]) [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cutout_position` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cutout_size` [INFO] [stdout] --> src/graphics.rs:61:115 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn draw_sprite(&mut self, sprite: &Sprite, position: [f32; 2], size: [f32; 2], cutout_position: [u32; 2], cutout_size: [u32; 2]) [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cutout_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `opengl` is never read [INFO] [stdout] --> src/window.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Window [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 19 | { [INFO] [stdout] 20 | opengl: OpenGL, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_key` is never used [INFO] [stdout] --> src/input.rs:86:19 [INFO] [stdout] | [INFO] [stdout] 74 | impl Input [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 86 | pub(crate) fn set_key(&mut self, key: Key, key_down: bool) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `out` is never read [INFO] [stdout] --> src/sound.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Sound<> [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 7 | { [INFO] [stdout] 8 | out: rodio::OutputStream, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/graphics.rs:25:27 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) fn new(gl: &mut GlGraphics, c: Context, width: f32, height: f32, dt: f64) -> Graphics [INFO] [stdout] | ^^^^^^^^^^^^^^^ this lifetime flows to the output -------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) fn new(gl: &mut GlGraphics, c: Context, width: f32, height: f32, dt: f64) -> Graphics<'_> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 00s [INFO] running `Command { std: "docker" "inspect" "fc7e1f57c799159eb1ad760da4216ff637e67766349ea1ba1892453064cf4237", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc7e1f57c799159eb1ad760da4216ff637e67766349ea1ba1892453064cf4237", kill_on_drop: false }` [INFO] [stdout] fc7e1f57c799159eb1ad760da4216ff637e67766349ea1ba1892453064cf4237 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 62178766df8089274f25147956fd71e5dc3aedf3889ccac640768254e824b1a7 [INFO] running `Command { std: "docker" "start" "-a" "62178766df8089274f25147956fd71e5dc3aedf3889ccac640768254e824b1a7", kill_on_drop: false }` [INFO] [stderr] Compiling pyrite v0.1.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Sprite` [INFO] [stdout] --> src/window_settings.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::sprite::{Sprite, SpriteFileFormat}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Cursor` [INFO] [stdout] --> src/window.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Cursor; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/window.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/window.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TextureSettings` and `Texture` [INFO] [stdout] --> src/window.rs:5:43 [INFO] [stdout] | [INFO] [stdout] 5 | use opengl_graphics::{GlGraphics, OpenGL, Texture, TextureSettings}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RenderArgs` and `UpdateArgs` [INFO] [stdout] --> src/window.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use piston::input::{RenderArgs, RenderEvent, UpdateArgs, UpdateEvent}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `winit::dpi::PhysicalSize` [INFO] [stdout] --> src/window.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use winit::dpi::PhysicalSize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glutin_window::GlutinWindow` [INFO] [stdout] --> src/graphics.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use glutin_window::GlutinWindow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OpenGL` [INFO] [stdout] --> src/graphics.rs:4:35 [INFO] [stdout] | [INFO] [stdout] 4 | use opengl_graphics::{GlGraphics, OpenGL}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EventSettings` and `Events` [INFO] [stdout] --> src/graphics.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | use piston::event_loop::{EventSettings, Events}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RenderArgs`, `RenderEvent`, `UpdateArgs`, and `UpdateEvent` [INFO] [stdout] --> src/graphics.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | use piston::input::{RenderArgs, RenderEvent, UpdateArgs, UpdateEvent}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `piston::window::WindowSettings as PistonWindowSettings` [INFO] [stdout] --> src/graphics.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use piston::window::WindowSettings as PistonWindowSettings; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ColorComponent` and `Radius` [INFO] [stdout] --> src/graphics.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | use graphics::types::{ColorComponent, Radius}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DynamicImage` [INFO] [stdout] --> src/sprite.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use image::{DynamicImage, RgbaImage}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Format` [INFO] [stdout] --> src/sprite.rs:3:49 [INFO] [stdout] | [INFO] [stdout] 3 | use opengl_graphics::{Texture, TextureSettings, Format, Filter}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Source` [INFO] [stdout] --> src/sound.rs:1:47 [INFO] [stdout] | [INFO] [stdout] 1 | use rodio::{OutputStream, OutputStreamHandle, Source}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufReader` and `Cursor` [INFO] [stdout] --> src/sound.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{BufReader, Cursor}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/sound.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cutout_position` [INFO] [stdout] --> src/graphics.rs:61:88 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn draw_sprite(&mut self, sprite: &Sprite, position: [f32; 2], size: [f32; 2], cutout_position: [u32; 2], cutout_size: [u32; 2]) [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cutout_position` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cutout_size` [INFO] [stdout] --> src/graphics.rs:61:115 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn draw_sprite(&mut self, sprite: &Sprite, position: [f32; 2], size: [f32; 2], cutout_position: [u32; 2], cutout_size: [u32; 2]) [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cutout_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `opengl` is never read [INFO] [stdout] --> src/window.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Window [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 19 | { [INFO] [stdout] 20 | opengl: OpenGL, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_key` is never used [INFO] [stdout] --> src/input.rs:86:19 [INFO] [stdout] | [INFO] [stdout] 74 | impl Input [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 86 | pub(crate) fn set_key(&mut self, key: Key, key_down: bool) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `out` is never read [INFO] [stdout] --> src/sound.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Sound<> [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 7 | { [INFO] [stdout] 8 | out: rodio::OutputStream, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/graphics.rs:25:27 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) fn new(gl: &mut GlGraphics, c: Context, width: f32, height: f32, dt: f64) -> Graphics [INFO] [stdout] | ^^^^^^^^^^^^^^^ this lifetime flows to the output -------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) fn new(gl: &mut GlGraphics, c: Context, width: f32, height: f32, dt: f64) -> Graphics<'_> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sprite` [INFO] [stdout] --> src/window_settings.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::sprite::{Sprite, SpriteFileFormat}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Cursor` [INFO] [stdout] --> src/window.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Cursor; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/window.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/window.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TextureSettings` and `Texture` [INFO] [stdout] --> src/window.rs:5:43 [INFO] [stdout] | [INFO] [stdout] 5 | use opengl_graphics::{GlGraphics, OpenGL, Texture, TextureSettings}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RenderArgs` and `UpdateArgs` [INFO] [stdout] --> src/window.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use piston::input::{RenderArgs, RenderEvent, UpdateArgs, UpdateEvent}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `winit::dpi::PhysicalSize` [INFO] [stdout] --> src/window.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use winit::dpi::PhysicalSize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glutin_window::GlutinWindow` [INFO] [stdout] --> src/graphics.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use glutin_window::GlutinWindow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OpenGL` [INFO] [stdout] --> src/graphics.rs:4:35 [INFO] [stdout] | [INFO] [stdout] 4 | use opengl_graphics::{GlGraphics, OpenGL}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EventSettings` and `Events` [INFO] [stdout] --> src/graphics.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | use piston::event_loop::{EventSettings, Events}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RenderArgs`, `RenderEvent`, `UpdateArgs`, and `UpdateEvent` [INFO] [stdout] --> src/graphics.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | use piston::input::{RenderArgs, RenderEvent, UpdateArgs, UpdateEvent}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `piston::window::WindowSettings as PistonWindowSettings` [INFO] [stdout] --> src/graphics.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use piston::window::WindowSettings as PistonWindowSettings; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ColorComponent` and `Radius` [INFO] [stdout] --> src/graphics.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | use graphics::types::{ColorComponent, Radius}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DynamicImage` [INFO] [stdout] --> src/sprite.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use image::{DynamicImage, RgbaImage}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Format` [INFO] [stdout] --> src/sprite.rs:3:49 [INFO] [stdout] | [INFO] [stdout] 3 | use opengl_graphics::{Texture, TextureSettings, Format, Filter}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Source` [INFO] [stdout] --> src/sound.rs:1:47 [INFO] [stdout] | [INFO] [stdout] 1 | use rodio::{OutputStream, OutputStreamHandle, Source}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufReader` and `Cursor` [INFO] [stdout] --> src/sound.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{BufReader, Cursor}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/sound.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cutout_position` [INFO] [stdout] --> src/graphics.rs:61:88 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn draw_sprite(&mut self, sprite: &Sprite, position: [f32; 2], size: [f32; 2], cutout_position: [u32; 2], cutout_size: [u32; 2]) [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cutout_position` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cutout_size` [INFO] [stdout] --> src/graphics.rs:61:115 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn draw_sprite(&mut self, sprite: &Sprite, position: [f32; 2], size: [f32; 2], cutout_position: [u32; 2], cutout_size: [u32; 2]) [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cutout_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `opengl` is never read [INFO] [stdout] --> src/window.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Window [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 19 | { [INFO] [stdout] 20 | opengl: OpenGL, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_key` is never used [INFO] [stdout] --> src/input.rs:86:19 [INFO] [stdout] | [INFO] [stdout] 74 | impl Input [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 86 | pub(crate) fn set_key(&mut self, key: Key, key_down: bool) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `out` is never read [INFO] [stdout] --> src/sound.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Sound<> [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 7 | { [INFO] [stdout] 8 | out: rodio::OutputStream, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/graphics.rs:25:27 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) fn new(gl: &mut GlGraphics, c: Context, width: f32, height: f32, dt: f64) -> Graphics [INFO] [stdout] | ^^^^^^^^^^^^^^^ this lifetime flows to the output -------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) fn new(gl: &mut GlGraphics, c: Context, width: f32, height: f32, dt: f64) -> Graphics<'_> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.84s [INFO] running `Command { std: "docker" "inspect" "62178766df8089274f25147956fd71e5dc3aedf3889ccac640768254e824b1a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62178766df8089274f25147956fd71e5dc3aedf3889ccac640768254e824b1a7", kill_on_drop: false }` [INFO] [stdout] 62178766df8089274f25147956fd71e5dc3aedf3889ccac640768254e824b1a7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 40646c426ce8e38081f5eb4ff96b65da99ae82486781a499818c3cbbcde8ef7f [INFO] running `Command { std: "docker" "start" "-a" "40646c426ce8e38081f5eb4ff96b65da99ae82486781a499818c3cbbcde8ef7f", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Sprite` [INFO] [stderr] --> src/window_settings.rs:1:21 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::sprite::{Sprite, SpriteFileFormat}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io::Cursor` [INFO] [stderr] --> src/window.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::Cursor; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::path::Path` [INFO] [stderr] --> src/window.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::path::Path; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::time::Duration` [INFO] [stderr] --> src/window.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::time::Duration; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `TextureSettings` and `Texture` [INFO] [stderr] --> src/window.rs:5:43 [INFO] [stderr] | [INFO] [stderr] 5 | use opengl_graphics::{GlGraphics, OpenGL, Texture, TextureSettings}; [INFO] [stderr] | ^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `RenderArgs` and `UpdateArgs` [INFO] [stderr] --> src/window.rs:8:21 [INFO] [stderr] | [INFO] [stderr] 8 | use piston::input::{RenderArgs, RenderEvent, UpdateArgs, UpdateEvent}; [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winit::dpi::PhysicalSize` [INFO] [stderr] --> src/window.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use winit::dpi::PhysicalSize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `glutin_window::GlutinWindow` [INFO] [stderr] --> src/graphics.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use glutin_window::GlutinWindow; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `OpenGL` [INFO] [stderr] --> src/graphics.rs:4:35 [INFO] [stderr] | [INFO] [stderr] 4 | use opengl_graphics::{GlGraphics, OpenGL}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `EventSettings` and `Events` [INFO] [stderr] --> src/graphics.rs:5:26 [INFO] [stderr] | [INFO] [stderr] 5 | use piston::event_loop::{EventSettings, Events}; [INFO] [stderr] | ^^^^^^^^^^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `RenderArgs`, `RenderEvent`, `UpdateArgs`, and `UpdateEvent` [INFO] [stderr] --> src/graphics.rs:6:21 [INFO] [stderr] | [INFO] [stderr] 6 | use piston::input::{RenderArgs, RenderEvent, UpdateArgs, UpdateEvent}; [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `piston::window::WindowSettings as PistonWindowSettings` [INFO] [stderr] --> src/graphics.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use piston::window::WindowSettings as PistonWindowSettings; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ColorComponent` and `Radius` [INFO] [stderr] --> src/graphics.rs:9:23 [INFO] [stderr] | [INFO] [stderr] 9 | use graphics::types::{ColorComponent, Radius}; [INFO] [stderr] | ^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `DynamicImage` [INFO] [stderr] --> src/sprite.rs:2:13 [INFO] [stderr] | [INFO] [stderr] 2 | use image::{DynamicImage, RgbaImage}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Format` [INFO] [stderr] --> src/sprite.rs:3:49 [INFO] [stderr] | [INFO] [stderr] 3 | use opengl_graphics::{Texture, TextureSettings, Format, Filter}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Source` [INFO] [stderr] --> src/sound.rs:1:47 [INFO] [stderr] | [INFO] [stderr] 1 | use rodio::{OutputStream, OutputStreamHandle, Source}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `BufReader` and `Cursor` [INFO] [stderr] --> src/sound.rs:2:15 [INFO] [stderr] | [INFO] [stderr] 2 | use std::io::{BufReader, Cursor}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::time::Duration` [INFO] [stderr] --> src/sound.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::time::Duration; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cutout_position` [INFO] [stderr] --> src/graphics.rs:61:88 [INFO] [stderr] | [INFO] [stderr] 61 | pub fn draw_sprite(&mut self, sprite: &Sprite, position: [f32; 2], size: [f32; 2], cutout_position: [u32; 2], cutout_size: [u32; 2]) [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cutout_position` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cutout_size` [INFO] [stderr] --> src/graphics.rs:61:115 [INFO] [stderr] | [INFO] [stderr] 61 | pub fn draw_sprite(&mut self, sprite: &Sprite, position: [f32; 2], size: [f32; 2], cutout_position: [u32; 2], cutout_size: [u32; 2]) [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cutout_size` [INFO] [stderr] [INFO] [stderr] warning: field `opengl` is never read [INFO] [stderr] --> src/window.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 18 | pub struct Window [INFO] [stderr] | ------ field in this struct [INFO] [stderr] 19 | { [INFO] [stderr] 20 | opengl: OpenGL, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `set_key` is never used [INFO] [stderr] --> src/input.rs:86:19 [INFO] [stderr] | [INFO] [stderr] 74 | impl Input [INFO] [stderr] | ---------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 86 | pub(crate) fn set_key(&mut self, key: Key, key_down: bool) [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `out` is never read [INFO] [stderr] --> src/sound.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct Sound<> [INFO] [stderr] | ----- field in this struct [INFO] [stderr] 7 | { [INFO] [stderr] 8 | out: rodio::OutputStream, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/graphics.rs:25:27 [INFO] [stderr] | [INFO] [stderr] 25 | pub(crate) fn new(gl: &mut GlGraphics, c: Context, width: f32, height: f32, dt: f64) -> Graphics [INFO] [stderr] | ^^^^^^^^^^^^^^^ this lifetime flows to the output -------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 25 | pub(crate) fn new(gl: &mut GlGraphics, c: Context, width: f32, height: f32, dt: f64) -> Graphics<'_> [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `pyrite` (lib) generated 24 warnings (run `cargo fix --lib -p pyrite` to apply 18 suggestions) [INFO] [stderr] warning: `pyrite` (lib test) generated 24 warnings (24 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/pyrite-3ee5cd0f282d9787) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests pyrite [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "40646c426ce8e38081f5eb4ff96b65da99ae82486781a499818c3cbbcde8ef7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40646c426ce8e38081f5eb4ff96b65da99ae82486781a499818c3cbbcde8ef7f", kill_on_drop: false }` [INFO] [stdout] 40646c426ce8e38081f5eb4ff96b65da99ae82486781a499818c3cbbcde8ef7f