[INFO] cloning repository https://github.com/MD-20880/Rust_CG [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MD-20880/Rust_CG" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMD-20880%2FRust_CG", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMD-20880%2FRust_CG'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f576dfe5ae6e9b38eb0b39ef0e3a34a716b91cc1 [INFO] checking MD-20880/Rust_CG against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMD-20880%2FRust_CG" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MD-20880/Rust_CG 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/MD-20880/Rust_CG [INFO] finished tweaking git repo https://github.com/MD-20880/Rust_CG [INFO] tweaked toml for git repo https://github.com/MD-20880/Rust_CG written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/MD-20880/Rust_CG 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-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d1731c47ab261dbaede932adf172524c624c459521f857457d06890212c502bd [INFO] running `Command { std: "docker" "start" "-a" "d1731c47ab261dbaede932adf172524c624c459521f857457d06890212c502bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d1731c47ab261dbaede932adf172524c624c459521f857457d06890212c502bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1731c47ab261dbaede932adf172524c624c459521f857457d06890212c502bd", kill_on_drop: false }` [INFO] [stdout] d1731c47ab261dbaede932adf172524c624c459521f857457d06890212c502bd [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9bf6e99f11f51ecc0ac78c0370f912fef9a2f66557bbb1e6d0295fd296dc239a [INFO] running `Command { std: "docker" "start" "-a" "9bf6e99f11f51ecc0ac78c0370f912fef9a2f66557bbb1e6d0295fd296dc239a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling version-compare v0.1.0 [INFO] [stderr] Compiling sdl2 v0.35.2 [INFO] [stderr] Compiling sdl2-sys v0.35.2 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking sdw v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Ref` [INFO] [stdout] --> src/drawing_window.rs:3:46 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{borrow::BorrowMut, cell::{RefCell, Ref}}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rect::Point` [INFO] [stdout] --> src/drawing_window.rs:6:114 [INFO] [stdout] | [INFO] [stdout] 6 | use sdl2::{self, video::Window, render::{Canvas, TextureCreator, Texture}, Sdl, pixels::{Color,PixelFormatEnum}, rect::Point}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `sdl2` is imported redundantly [INFO] [stdout] --> src/drawing_window.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | use sdl2::{self, video::Window, render::{Canvas, TextureCreator, Texture}, Sdl, pixels::{Color,PixelFormatEnum}, rect::Point}; [INFO] [stdout] | ^^^^ the item `sdl2` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ref` [INFO] [stdout] --> src/drawing_window.rs:3:46 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{borrow::BorrowMut, cell::{RefCell, Ref}}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rect::Point` [INFO] [stdout] --> src/drawing_window.rs:6:114 [INFO] [stdout] | [INFO] [stdout] 6 | use sdl2::{self, video::Window, render::{Canvas, TextureCreator, Texture}, Sdl, pixels::{Color,PixelFormatEnum}, rect::Point}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `sdl2` is imported redundantly [INFO] [stdout] --> src/drawing_window.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | use sdl2::{self, video::Window, render::{Canvas, TextureCreator, Texture}, Sdl, pixels::{Color,PixelFormatEnum}, rect::Point}; [INFO] [stdout] | ^^^^ the item `sdl2` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `borrow::BorrowMut` [INFO] [stdout] --> src/drawing_window.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{borrow::BorrowMut, cell::{RefCell, Ref}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `borrow::BorrowMut` [INFO] [stdout] --> src/drawing_window.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{borrow::BorrowMut, cell::{RefCell, Ref}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CanvasPoint` is never constructed [INFO] [stdout] --> src/canvas_point.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct CanvasPoint{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DrawingWindow` is never constructed [INFO] [stdout] --> src/drawing_window.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct DrawingWindow{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_drawing_window`, `render_frame`, `clear_pixels`, `set_pixel_color`, `get_sdl_context`, and `data_raw` are never used [INFO] [stdout] --> src/drawing_window.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl DrawingWindow { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 21 | pub fn new_drawing_window(w: u32, h: u32, fullscreen: bool) -> Result{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn render_frame(&mut self){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn clear_pixels(&mut self){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn set_pixel_color(&mut self,x: u32, y:u32, color:u32){ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn get_sdl_context(&self) -> &Sdl{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | fn data_raw(&self) -> &[u8] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CanvasPoint` is never constructed [INFO] [stdout] --> src/canvas_point.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct CanvasPoint{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DrawingWindow` is never constructed [INFO] [stdout] --> src/drawing_window.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct DrawingWindow{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_drawing_window`, `render_frame`, `clear_pixels`, `set_pixel_color`, `get_sdl_context`, and `data_raw` are never used [INFO] [stdout] --> src/drawing_window.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl DrawingWindow { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 21 | pub fn new_drawing_window(w: u32, h: u32, fullscreen: bool) -> Result{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn render_frame(&mut self){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn clear_pixels(&mut self){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn set_pixel_color(&mut self,x: u32, y:u32, color:u32){ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn get_sdl_context(&self) -> &Sdl{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | fn data_raw(&self) -> &[u8] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ref` [INFO] [stdout] --> src/drawing_window.rs:3:46 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{borrow::BorrowMut, cell::{RefCell, Ref}}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ref` [INFO] [stdout] --> src/drawing_window.rs:3:46 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{borrow::BorrowMut, cell::{RefCell, Ref}}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rect::Point` [INFO] [stdout] --> src/drawing_window.rs:6:114 [INFO] [stdout] | [INFO] [stdout] 6 | use sdl2::{self, video::Window, render::{Canvas, TextureCreator, Texture}, Sdl, pixels::{Color,PixelFormatEnum}, rect::Point}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `sdl2` is imported redundantly [INFO] [stdout] --> src/drawing_window.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | use sdl2::{self, video::Window, render::{Canvas, TextureCreator, Texture}, Sdl, pixels::{Color,PixelFormatEnum}, rect::Point}; [INFO] [stdout] | ^^^^ the item `sdl2` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rect::Point` [INFO] [stdout] --> src/drawing_window.rs:6:114 [INFO] [stdout] | [INFO] [stdout] 6 | use sdl2::{self, video::Window, render::{Canvas, TextureCreator, Texture}, Sdl, pixels::{Color,PixelFormatEnum}, rect::Point}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `sdl2` is imported redundantly [INFO] [stdout] --> src/drawing_window.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | use sdl2::{self, video::Window, render::{Canvas, TextureCreator, Texture}, Sdl, pixels::{Color,PixelFormatEnum}, rect::Point}; [INFO] [stdout] | ^^^^ the item `sdl2` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EventPump` [INFO] [stdout] --> src/main.rs:6:45 [INFO] [stdout] | [INFO] [stdout] 6 | use sdl2::{event::Event, keyboard::Keycode, EventPump}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EventPump` [INFO] [stdout] --> src/main.rs:6:45 [INFO] [stdout] | [INFO] [stdout] 6 | use sdl2::{event::Event, keyboard::Keycode, EventPump}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `borrow::BorrowMut` [INFO] [stdout] --> src/drawing_window.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{borrow::BorrowMut, cell::{RefCell, Ref}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `borrow::BorrowMut` [INFO] [stdout] --> src/drawing_window.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{borrow::BorrowMut, cell::{RefCell, Ref}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `creator` is never read [INFO] [stdout] --> src/drawing_window.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct DrawingWindow{ [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | creator : TextureCreator, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `creator` is never read [INFO] [stdout] --> src/drawing_window.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct DrawingWindow{ [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | creator : TextureCreator, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.16s [INFO] running `Command { std: "docker" "inspect" "9bf6e99f11f51ecc0ac78c0370f912fef9a2f66557bbb1e6d0295fd296dc239a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9bf6e99f11f51ecc0ac78c0370f912fef9a2f66557bbb1e6d0295fd296dc239a", kill_on_drop: false }` [INFO] [stdout] 9bf6e99f11f51ecc0ac78c0370f912fef9a2f66557bbb1e6d0295fd296dc239a