[INFO] cloning repository https://github.com/Marcellofabrizio/Rust-SDL-Projects [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Marcellofabrizio/Rust-SDL-Projects" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarcellofabrizio%2FRust-SDL-Projects", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarcellofabrizio%2FRust-SDL-Projects'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e9a50a25551745e679fe085e28e0de5ae3598b6e [INFO] checking Marcellofabrizio/Rust-SDL-Projects against master#2e6fc425411280c658d852813de01c5157255088 for pr-128013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarcellofabrizio%2FRust-SDL-Projects" "/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/Marcellofabrizio/Rust-SDL-Projects on toolchain 2e6fc425411280c658d852813de01c5157255088 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Marcellofabrizio/Rust-SDL-Projects [INFO] finished tweaking git repo https://github.com/Marcellofabrizio/Rust-SDL-Projects [INFO] tweaked toml for git repo https://github.com/Marcellofabrizio/Rust-SDL-Projects written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Marcellofabrizio/Rust-SDL-Projects 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" "+2e6fc425411280c658d852813de01c5157255088" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/rust-sdl2/rust-sdl2` [INFO] [stderr] Updating git submodule `https://github.com/libsdl-org/SDL` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded c_vec v2.0.0 [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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 671c940560bcb6399ced48ec1af6db9189d6005dd42368ce0a2f7b8218999ebc [INFO] running `Command { std: "docker" "start" "-a" "671c940560bcb6399ced48ec1af6db9189d6005dd42368ce0a2f7b8218999ebc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "671c940560bcb6399ced48ec1af6db9189d6005dd42368ce0a2f7b8218999ebc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "671c940560bcb6399ced48ec1af6db9189d6005dd42368ce0a2f7b8218999ebc", kill_on_drop: false }` [INFO] [stdout] 671c940560bcb6399ced48ec1af6db9189d6005dd42368ce0a2f7b8218999ebc [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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d9ca097bae61233e2a03bdb8787cbf9838cdcf7394d6eb903d52893094b0171d [INFO] running `Command { std: "docker" "start" "-a" "d9ca097bae61233e2a03bdb8787cbf9838cdcf7394d6eb903d52893094b0171d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling rayon-core v1.11.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling sdl2-sys v0.35.2 (https://github.com/rust-sdl2/rust-sdl2#bee13b58) [INFO] [stderr] Checking weezl v0.1.7 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Compiling sdl2 v0.35.2 (https://github.com/rust-sdl2/rust-sdl2#bee13b58) [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking c_vec v2.0.0 [INFO] [stderr] Checking gif v0.11.4 [INFO] [stderr] Checking bytemuck v1.14.0 [INFO] [stderr] Checking crossbeam-channel v0.5.8 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rayon v1.7.0 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking rust-sdl v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/graphics.rs:389:9 [INFO] [stdout] | [INFO] [stdout] 389 | for (curve) in number.bezier_curves.iter_mut() { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 389 - for (curve) in number.bezier_curves.iter_mut() { [INFO] [stdout] 389 + for curve in number.bezier_curves.iter_mut() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/graphics.rs:389:9 [INFO] [stdout] | [INFO] [stdout] 389 | for (curve) in number.bezier_curves.iter_mut() { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 389 - for (curve) in number.bezier_curves.iter_mut() { [INFO] [stdout] 389 + for curve in number.bezier_curves.iter_mut() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Pixel` [INFO] [stdout] --> src/sdl_to_bmp.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use image::{ImageBuffer, Pixel, Rgba}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Pixel` [INFO] [stdout] --> src/sdl_to_bmp.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use image::{ImageBuffer, Pixel, Rgba}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WindowContext` [INFO] [stdout] --> src/sdl_to_bmp.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | use sdl2::video::{Window, WindowContext}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WindowContext` [INFO] [stdout] --> src/sdl_to_bmp.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | use sdl2::video::{Window, WindowContext}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `sx` is never read [INFO] [stdout] --> src/graphics.rs:184:13 [INFO] [stdout] | [INFO] [stdout] 184 | let mut sx = 0; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `sy` is never read [INFO] [stdout] --> src/graphics.rs:185:13 [INFO] [stdout] | [INFO] [stdout] 185 | let mut sy = 0; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `sx` is never read [INFO] [stdout] --> src/graphics.rs:184:13 [INFO] [stdout] | [INFO] [stdout] 184 | let mut sx = 0; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `sy` is never read [INFO] [stdout] --> src/graphics.rs:185:13 [INFO] [stdout] | [INFO] [stdout] 185 | let mut sy = 0; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/graphics.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | let mut x1 = p_2.x; [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/graphics.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | let mut y1 = p_2.y; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/graphics.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | let mut x1 = p_2.x; [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/graphics.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | let mut y1 = p_2.y; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/graphics.rs:383:10 [INFO] [stdout] | [INFO] [stdout] 383 | for (i, line) in number.lines.iter_mut().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `j` [INFO] [stdout] --> src/graphics.rs:384:14 [INFO] [stdout] | [INFO] [stdout] 384 | for (j, point) in line.controll_points.iter_mut().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_j` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/graphics.rs:383:10 [INFO] [stdout] | [INFO] [stdout] 383 | for (i, line) in number.lines.iter_mut().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `j` [INFO] [stdout] --> src/graphics.rs:384:14 [INFO] [stdout] | [INFO] [stdout] 384 | for (j, point) in line.controll_points.iter_mut().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_j` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/numbers.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | for (i, number) in numbers.iter_mut().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/numbers.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | for (i, num) in numbers.iter_mut().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/numbers.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | for (i, num) in numbers.iter_mut().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/numbers.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | for (i, number) in numbers.iter_mut().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/numbers.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | for (i, num) in numbers.iter_mut().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/numbers.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | for (i, num) in numbers.iter_mut().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/numbers.rs:128:13 [INFO] [stdout] | [INFO] [stdout] 128 | let mut lines: Vec = Vec::new(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/numbers.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | let mut lines: Vec = Vec::new(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/numbers.rs:128:13 [INFO] [stdout] | [INFO] [stdout] 128 | let mut lines: Vec = Vec::new(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/numbers.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | let mut lines: Vec = Vec::new(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SmoothBezierCurve` is never constructed [INFO] [stdout] --> src/graphics.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct SmoothBezierCurve { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_target` is never used [INFO] [stdout] --> src/graphics.rs:170:8 [INFO] [stdout] | [INFO] [stdout] 170 | pub fn draw_target(point: Point, canvas: &mut Canvas) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_circle` is never used [INFO] [stdout] --> src/graphics.rs:223:8 [INFO] [stdout] | [INFO] [stdout] 223 | pub fn draw_circle(center: Point, radius: i32, canvas: &mut Canvas) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `display_circle` is never used [INFO] [stdout] --> src/graphics.rs:241:4 [INFO] [stdout] | [INFO] [stdout] 241 | fn display_circle(center: Point, point_to_draw: Point, color: f32, canvas: &mut Canvas) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_quadratic_bezier` is never used [INFO] [stdout] --> src/graphics.rs:316:8 [INFO] [stdout] | [INFO] [stdout] 316 | pub fn draw_quadratic_bezier(p_1: Point, p_2: Point, p_3: Point, canvas: &mut Canvas) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x`, `y`, and `number_str` are never read [INFO] [stdout] --> src/numbers.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct NumberSeries { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 10 | pub x: i32, [INFO] [stdout] | ^ [INFO] [stdout] 11 | pub y: i32, [INFO] [stdout] | ^ [INFO] [stdout] 12 | pub number_str: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `number`, `w`, and `h` are never read [INFO] [stdout] --> src/numbers.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct Number { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 57 | pub number: char, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 58 | pub w: i32, [INFO] [stdout] | ^ [INFO] [stdout] 59 | pub h: i32, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SmoothBezierCurve` is never constructed [INFO] [stdout] --> src/graphics.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct SmoothBezierCurve { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_target` is never used [INFO] [stdout] --> src/graphics.rs:170:8 [INFO] [stdout] | [INFO] [stdout] 170 | pub fn draw_target(point: Point, canvas: &mut Canvas) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_circle` is never used [INFO] [stdout] --> src/graphics.rs:223:8 [INFO] [stdout] | [INFO] [stdout] 223 | pub fn draw_circle(center: Point, radius: i32, canvas: &mut Canvas) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `display_circle` is never used [INFO] [stdout] --> src/graphics.rs:241:4 [INFO] [stdout] | [INFO] [stdout] 241 | fn display_circle(center: Point, point_to_draw: Point, color: f32, canvas: &mut Canvas) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_quadratic_bezier` is never used [INFO] [stdout] --> src/graphics.rs:316:8 [INFO] [stdout] | [INFO] [stdout] 316 | pub fn draw_quadratic_bezier(p_1: Point, p_2: Point, p_3: Point, canvas: &mut Canvas) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x`, `y`, and `number_str` are never read [INFO] [stdout] --> src/numbers.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct NumberSeries { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 10 | pub x: i32, [INFO] [stdout] | ^ [INFO] [stdout] 11 | pub y: i32, [INFO] [stdout] | ^ [INFO] [stdout] 12 | pub number_str: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `number`, `w`, and `h` are never read [INFO] [stdout] --> src/numbers.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct Number { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 57 | pub number: char, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 58 | pub w: i32, [INFO] [stdout] | ^ [INFO] [stdout] 59 | pub h: i32, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.91s [INFO] running `Command { std: "docker" "inspect" "d9ca097bae61233e2a03bdb8787cbf9838cdcf7394d6eb903d52893094b0171d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9ca097bae61233e2a03bdb8787cbf9838cdcf7394d6eb903d52893094b0171d", kill_on_drop: false }` [INFO] [stdout] d9ca097bae61233e2a03bdb8787cbf9838cdcf7394d6eb903d52893094b0171d [INFO] checking Marcellofabrizio/Rust-SDL-Projects against try#d856f2da3433420b7077c0dc7ee9441455bc1302 for pr-128013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarcellofabrizio%2FRust-SDL-Projects" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Marcellofabrizio/Rust-SDL-Projects on toolchain d856f2da3433420b7077c0dc7ee9441455bc1302 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Marcellofabrizio/Rust-SDL-Projects [INFO] finished tweaking git repo https://github.com/Marcellofabrizio/Rust-SDL-Projects [INFO] tweaked toml for git repo https://github.com/Marcellofabrizio/Rust-SDL-Projects written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Marcellofabrizio/Rust-SDL-Projects 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" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d46fc193e61e07b8a9746b38c942d491b25237ea827ea954551fefb05a4d8da5 [INFO] running `Command { std: "docker" "start" "-a" "d46fc193e61e07b8a9746b38c942d491b25237ea827ea954551fefb05a4d8da5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d46fc193e61e07b8a9746b38c942d491b25237ea827ea954551fefb05a4d8da5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d46fc193e61e07b8a9746b38c942d491b25237ea827ea954551fefb05a4d8da5", kill_on_drop: false }` [INFO] [stdout] d46fc193e61e07b8a9746b38c942d491b25237ea827ea954551fefb05a4d8da5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ff15024e6de7e9ffc70ca31dcb45b64438fb3dbd0a607625e00b110792f03cf4 [INFO] running `Command { std: "docker" "start" "-a" "ff15024e6de7e9ffc70ca31dcb45b64438fb3dbd0a607625e00b110792f03cf4", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling rayon-core v1.11.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling sdl2-sys v0.35.2 (https://github.com/rust-sdl2/rust-sdl2#bee13b58) [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking weezl v0.1.7 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling sdl2 v0.35.2 (https://github.com/rust-sdl2/rust-sdl2#bee13b58) [INFO] [stderr] Checking bytemuck v1.14.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking c_vec v2.0.0 [INFO] [stderr] Checking gif v0.11.4 [INFO] [stderr] Checking crossbeam-channel v0.5.8 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.45/src/lib.rs:479:41 [INFO] [stdout] | [INFO] [stdout] 479 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 825 | impl_integer_for_isize!(i8, test_integer_i8); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.45/src/lib.rs:479:41 [INFO] [stdout] | [INFO] [stdout] 479 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 826 | impl_integer_for_isize!(i16, test_integer_i16); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.45/src/lib.rs:479:41 [INFO] [stdout] | [INFO] [stdout] 479 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 827 | impl_integer_for_isize!(i32, test_integer_i32); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.45/src/lib.rs:479:41 [INFO] [stdout] | [INFO] [stdout] 479 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 828 | impl_integer_for_isize!(i64, test_integer_i64); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.45/src/lib.rs:479:41 [INFO] [stdout] | [INFO] [stdout] 479 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 829 | impl_integer_for_isize!(isize, test_integer_isize); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.45/src/lib.rs:479:41 [INFO] [stdout] | [INFO] [stdout] 479 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 831 | impl_integer_for_isize!(i128, test_integer_i128); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rayon v1.7.0 [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: could not compile `num-integer` (lib) due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "ff15024e6de7e9ffc70ca31dcb45b64438fb3dbd0a607625e00b110792f03cf4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff15024e6de7e9ffc70ca31dcb45b64438fb3dbd0a607625e00b110792f03cf4", kill_on_drop: false }` [INFO] [stdout] ff15024e6de7e9ffc70ca31dcb45b64438fb3dbd0a607625e00b110792f03cf4