[INFO] cloning repository https://github.com/ysgard/rust-sdl2-example-tiles [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ysgard/rust-sdl2-example-tiles" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fysgard%2Frust-sdl2-example-tiles", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fysgard%2Frust-sdl2-example-tiles'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 73512f357d7b166b59b5ce1da54a0f84da961a41 [INFO] checking ysgard/rust-sdl2-example-tiles against master#05eac57ef6668c9d181b65aceb96b1e7881f60be for pr-127656 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fysgard%2Frust-sdl2-example-tiles" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ysgard/rust-sdl2-example-tiles on toolchain 05eac57ef6668c9d181b65aceb96b1e7881f60be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+05eac57ef6668c9d181b65aceb96b1e7881f60be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ysgard/rust-sdl2-example-tiles [INFO] finished tweaking git repo https://github.com/ysgard/rust-sdl2-example-tiles [INFO] tweaked toml for git repo https://github.com/ysgard/rust-sdl2-example-tiles written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ysgard/rust-sdl2-example-tiles 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" "+05eac57ef6668c9d181b65aceb96b1e7881f60be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num v0.1.36 [INFO] [stderr] Downloaded sdl2-sys v0.27.2 [INFO] [stderr] Downloaded sdl2 v0.27.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+05eac57ef6668c9d181b65aceb96b1e7881f60be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a4c540628c1cf7bef6cc98258db4e401c2901de56f02762a2283edf225170689 [INFO] running `Command { std: "docker" "start" "-a" "a4c540628c1cf7bef6cc98258db4e401c2901de56f02762a2283edf225170689", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a4c540628c1cf7bef6cc98258db4e401c2901de56f02762a2283edf225170689", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4c540628c1cf7bef6cc98258db4e401c2901de56f02762a2283edf225170689", kill_on_drop: false }` [INFO] [stdout] a4c540628c1cf7bef6cc98258db4e401c2901de56f02762a2283edf225170689 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+05eac57ef6668c9d181b65aceb96b1e7881f60be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 164c2b93b8dc46caa5e01644ce726b18fe93de3c7b660b9acd8640133a139dda [INFO] running `Command { std: "docker" "start" "-a" "164c2b93b8dc46caa5e01644ce726b18fe93de3c7b660b9acd8640133a139dda", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking num-traits v0.1.36 [INFO] [stderr] Checking libc v0.2.18 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling sdl2-sys v0.27.2 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Checking lazy_static v0.2.2 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking rand v0.3.15 [INFO] [stderr] Checking time v0.1.35 [INFO] [stderr] Checking num-integer v0.1.32 [INFO] [stderr] Checking num-iter v0.1.32 [INFO] [stderr] Checking num v0.1.36 [INFO] [stderr] Checking sdl2 v0.27.2 [INFO] [stderr] Checking rust-sdl2-example-tiles v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `LoadTexture` [INFO] [stdout] --> src/main.rs:16:42 [INFO] [stdout] | [INFO] [stdout] 16 | use sdl2::image::{INIT_PNG, LoadSurface, LoadTexture}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LoadTexture` [INFO] [stdout] --> src/main.rs:16:42 [INFO] [stdout] | [INFO] [stdout] 16 | use sdl2::image::{INIT_PNG, LoadSurface, LoadTexture}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sprite` [INFO] [stdout] --> src/main.rs:75:20 [INFO] [stdout] | [INFO] [stdout] 75 | fn colorize_sprite(sprite: &mut Surface, fg_color: Color, bg_color: Color) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sprite` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sprite` [INFO] [stdout] --> src/main.rs:75:20 [INFO] [stdout] | [INFO] [stdout] 75 | fn colorize_sprite(sprite: &mut Surface, fg_color: Color, bg_color: Color) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sprite` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fg_color` [INFO] [stdout] --> src/main.rs:75:42 [INFO] [stdout] | [INFO] [stdout] 75 | fn colorize_sprite(sprite: &mut Surface, fg_color: Color, bg_color: Color) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fg_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fg_color` [INFO] [stdout] --> src/main.rs:75:42 [INFO] [stdout] | [INFO] [stdout] 75 | fn colorize_sprite(sprite: &mut Surface, fg_color: Color, bg_color: Color) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fg_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bg_color` [INFO] [stdout] --> src/main.rs:75:59 [INFO] [stdout] | [INFO] [stdout] 75 | fn colorize_sprite(sprite: &mut Surface, fg_color: Color, bg_color: Color) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bg_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bg_color` [INFO] [stdout] --> src/main.rs:75:59 [INFO] [stdout] | [INFO] [stdout] 75 | fn colorize_sprite(sprite: &mut Surface, fg_color: Color, bg_color: Color) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bg_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pixels` [INFO] [stdout] --> src/main.rs:87:15 [INFO] [stdout] | [INFO] [stdout] 87 | fn mod_pixels(pixels: &mut [u8], fg: Color, bg: Color) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pixels` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pixels` [INFO] [stdout] --> src/main.rs:87:15 [INFO] [stdout] | [INFO] [stdout] 87 | fn mod_pixels(pixels: &mut [u8], fg: Color, bg: Color) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pixels` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fg` [INFO] [stdout] --> src/main.rs:87:34 [INFO] [stdout] | [INFO] [stdout] 87 | fn mod_pixels(pixels: &mut [u8], fg: Color, bg: Color) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_fg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fg` [INFO] [stdout] --> src/main.rs:87:34 [INFO] [stdout] | [INFO] [stdout] 87 | fn mod_pixels(pixels: &mut [u8], fg: Color, bg: Color) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_fg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bg` [INFO] [stdout] --> src/main.rs:87:45 [INFO] [stdout] | [INFO] [stdout] 87 | fn mod_pixels(pixels: &mut [u8], fg: Color, bg: Color) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_bg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bg` [INFO] [stdout] --> src/main.rs:87:45 [INFO] [stdout] | [INFO] [stdout] 87 | fn mod_pixels(pixels: &mut [u8], fg: Color, bg: Color) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_bg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `RED` [INFO] [stdout] --> src/main.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | let RED = Color::RGB(255, 0, 0); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_RED` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `WHITE` [INFO] [stdout] --> src/main.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | let WHITE = Color::RGB(255, 255, 255); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_WHITE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sprite_clip` [INFO] [stdout] --> src/main.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | let sprite_clip = Rect::new(0, 0, SPRITE_W, SPRITE_H); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sprite_clip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rand_rgb_1` [INFO] [stdout] --> src/main.rs:229:25 [INFO] [stdout] | [INFO] [stdout] 229 | let rand_rgb_1 = Color::RGB(r1, g1, b1); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rand_rgb_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rand_rgb_2` [INFO] [stdout] --> src/main.rs:235:25 [INFO] [stdout] | [INFO] [stdout] 235 | let rand_rgb_2 = Color::RGB(r2, g2, b2); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rand_rgb_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `RED` [INFO] [stdout] --> src/main.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | let RED = Color::RGB(255, 0, 0); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_RED` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `WHITE` [INFO] [stdout] --> src/main.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | let WHITE = Color::RGB(255, 255, 255); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_WHITE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sprite_clip` [INFO] [stdout] --> src/main.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | let sprite_clip = Rect::new(0, 0, SPRITE_W, SPRITE_H); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sprite_clip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rand_rgb_1` [INFO] [stdout] --> src/main.rs:229:25 [INFO] [stdout] | [INFO] [stdout] 229 | let rand_rgb_1 = Color::RGB(r1, g1, b1); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rand_rgb_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rand_rgb_2` [INFO] [stdout] --> src/main.rs:235:25 [INFO] [stdout] | [INFO] [stdout] 235 | let rand_rgb_2 = Color::RGB(r2, g2, b2); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rand_rgb_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:256:25 [INFO] [stdout] | [INFO] [stdout] 256 | let mut glyph_tex: Texture = renderer.create_texture_from_surface(&glyph).unwrap(); [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: enum `PixelMod` is never used [INFO] [stdout] --> src/main.rs:36:6 [INFO] [stdout] | [INFO] [stdout] 36 | enum PixelMod { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `colorize_sprite` is never used [INFO] [stdout] --> src/main.rs:75:4 [INFO] [stdout] | [INFO] [stdout] 75 | fn colorize_sprite(sprite: &mut Surface, fg_color: Color, bg_color: Color) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mod_pixels` is never used [INFO] [stdout] --> src/main.rs:87:4 [INFO] [stdout] | [INFO] [stdout] 87 | fn mod_pixels(pixels: &mut [u8], fg: Color, bg: Color) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:256:25 [INFO] [stdout] | [INFO] [stdout] 256 | let mut glyph_tex: Texture = renderer.create_texture_from_surface(&glyph).unwrap(); [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: enum `PixelMod` is never used [INFO] [stdout] --> src/main.rs:36:6 [INFO] [stdout] | [INFO] [stdout] 36 | enum PixelMod { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `colorize_sprite` is never used [INFO] [stdout] --> src/main.rs:75:4 [INFO] [stdout] | [INFO] [stdout] 75 | fn colorize_sprite(sprite: &mut Surface, fg_color: Color, bg_color: Color) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mod_pixels` is never used [INFO] [stdout] --> src/main.rs:87:4 [INFO] [stdout] | [INFO] [stdout] 87 | fn mod_pixels(pixels: &mut [u8], fg: Color, bg: Color) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | tile.set_color_key(true, alpha_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 71 | let _ = tile.set_color_key(true, alpha_color); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | glyph.set_blend_mode(BlendMode::None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 121 | let _ = glyph.set_blend_mode(BlendMode::None); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | glyph.set_color_key(true, Color::RGB(0, 0, 0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 126 | let _ = glyph.set_color_key(true, Color::RGB(0, 0, 0)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | tile.fill_rect(None, color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 137 | let _ = tile.fill_rect(None, color); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `RED` should have a snake case name [INFO] [stdout] --> src/main.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | let RED = Color::RGB(255, 0, 0); [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `red` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `BLUE` should have a snake case name [INFO] [stdout] --> src/main.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | let BLUE = Color::RGB(0 , 0, 255); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `blue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `WHITE` should have a snake case name [INFO] [stdout] --> src/main.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | let WHITE = Color::RGB(255, 255, 255); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `white` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `BLACK` should have a snake case name [INFO] [stdout] --> src/main.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | let BLACK = Color::RGB(0, 0, 0); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `black` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `GREEN` should have a snake case name [INFO] [stdout] --> src/main.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | let GREEN = Color::RGB(0, 255, 0); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `green` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `PINK` should have a snake case name [INFO] [stdout] --> src/main.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | let PINK = Color::RGB(255, 105, 180); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `pink` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:214:13 [INFO] [stdout] | [INFO] [stdout] 214 | renderer.render_target().unwrap().set(buffer_tex); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 214 | let _ = renderer.render_target().unwrap().set(buffer_tex); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | tile.set_color_key(true, alpha_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 71 | let _ = tile.set_color_key(true, alpha_color); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | glyph.set_blend_mode(BlendMode::None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 121 | let _ = glyph.set_blend_mode(BlendMode::None); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | glyph.set_color_key(true, Color::RGB(0, 0, 0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 126 | let _ = glyph.set_color_key(true, Color::RGB(0, 0, 0)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | tile.fill_rect(None, color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 137 | let _ = tile.fill_rect(None, color); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `RED` should have a snake case name [INFO] [stdout] --> src/main.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | let RED = Color::RGB(255, 0, 0); [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `red` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `BLUE` should have a snake case name [INFO] [stdout] --> src/main.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | let BLUE = Color::RGB(0 , 0, 255); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `blue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `WHITE` should have a snake case name [INFO] [stdout] --> src/main.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | let WHITE = Color::RGB(255, 255, 255); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `white` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `BLACK` should have a snake case name [INFO] [stdout] --> src/main.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | let BLACK = Color::RGB(0, 0, 0); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `black` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `GREEN` should have a snake case name [INFO] [stdout] --> src/main.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | let GREEN = Color::RGB(0, 255, 0); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `green` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `PINK` should have a snake case name [INFO] [stdout] --> src/main.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | let PINK = Color::RGB(255, 105, 180); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `pink` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:214:13 [INFO] [stdout] | [INFO] [stdout] 214 | renderer.render_target().unwrap().set(buffer_tex); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 214 | let _ = renderer.render_target().unwrap().set(buffer_tex); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.93s [INFO] running `Command { std: "docker" "inspect" "164c2b93b8dc46caa5e01644ce726b18fe93de3c7b660b9acd8640133a139dda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "164c2b93b8dc46caa5e01644ce726b18fe93de3c7b660b9acd8640133a139dda", kill_on_drop: false }` [INFO] [stdout] 164c2b93b8dc46caa5e01644ce726b18fe93de3c7b660b9acd8640133a139dda [INFO] checking ysgard/rust-sdl2-example-tiles against try#0c9c19b42881b7ee3d3f268d2369726c7f8dddfd for pr-127656 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fysgard%2Frust-sdl2-example-tiles" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ysgard/rust-sdl2-example-tiles on toolchain 0c9c19b42881b7ee3d3f268d2369726c7f8dddfd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0c9c19b42881b7ee3d3f268d2369726c7f8dddfd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ysgard/rust-sdl2-example-tiles [INFO] finished tweaking git repo https://github.com/ysgard/rust-sdl2-example-tiles [INFO] tweaked toml for git repo https://github.com/ysgard/rust-sdl2-example-tiles written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ysgard/rust-sdl2-example-tiles 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" "+0c9c19b42881b7ee3d3f268d2369726c7f8dddfd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+0c9c19b42881b7ee3d3f268d2369726c7f8dddfd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a228faaf05e5d7172b85293eb7d2196ca5d4aeed79cc27691aaa0cea9664cfe0 [INFO] running `Command { std: "docker" "start" "-a" "a228faaf05e5d7172b85293eb7d2196ca5d4aeed79cc27691aaa0cea9664cfe0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a228faaf05e5d7172b85293eb7d2196ca5d4aeed79cc27691aaa0cea9664cfe0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a228faaf05e5d7172b85293eb7d2196ca5d4aeed79cc27691aaa0cea9664cfe0", kill_on_drop: false }` [INFO] [stdout] a228faaf05e5d7172b85293eb7d2196ca5d4aeed79cc27691aaa0cea9664cfe0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+0c9c19b42881b7ee3d3f268d2369726c7f8dddfd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0d6fac049df07809f003bc50a420be40419794800c6365b58a02c853099900fe [INFO] running `Command { std: "docker" "start" "-a" "0d6fac049df07809f003bc50a420be40419794800c6365b58a02c853099900fe", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking num-traits v0.1.36 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking libc v0.2.18 [INFO] [stderr] Compiling sdl2-sys v0.27.2 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Checking lazy_static v0.2.2 [INFO] [stdout] error[E0365]: extern crate `core` is private and cannot be re-exported [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bitflags-0.7.0/src/lib.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub use core as __core; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider making the `extern crate` item publicly accessible [INFO] [stdout] | [INFO] [stdout] 1 | pub // Copyright 2014 The Rust Project Developers. See the COPYRIGHT [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0365`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bitflags` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "0d6fac049df07809f003bc50a420be40419794800c6365b58a02c853099900fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d6fac049df07809f003bc50a420be40419794800c6365b58a02c853099900fe", kill_on_drop: false }` [INFO] [stdout] 0d6fac049df07809f003bc50a420be40419794800c6365b58a02c853099900fe