[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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fysgard%2Frust-sdl2-example-tiles: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [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] [stderr] fatal: write error: No space left on device [INFO] [stderr] fatal: fetch-pack: invalid index-pack output [WARN] Retrying crate fetch in 3 seconds (attempt 2) [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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fysgard%2Frust-sdl2-example-tiles/objects/pack: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 3) [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] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/hooks/pre-rebase.sample' to '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fysgard%2Frust-sdl2-example-tiles/hooks/pre-rebase.sample': No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 4) [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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fysgard%2Frust-sdl2-example-tiles: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 5) [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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fysgard%2Frust-sdl2-example-tiles: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 6) [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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fysgard%2Frust-sdl2-example-tiles: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 7) [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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fysgard%2Frust-sdl2-example-tiles: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 8) [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#cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3 for pr-135841 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fysgard%2Frust-sdl2-example-tiles" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ysgard/rust-sdl2-example-tiles on toolchain cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3" "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-3-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" "+cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sdl2 v0.27.2 [INFO] [stderr] Downloaded sdl2-sys v0.27.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1c397ec876887689fc41b3640ed83c1aa978721edad4f32cfaef8ffdd78be502 [INFO] running `Command { std: "docker" "start" "-a" "1c397ec876887689fc41b3640ed83c1aa978721edad4f32cfaef8ffdd78be502", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1c397ec876887689fc41b3640ed83c1aa978721edad4f32cfaef8ffdd78be502", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c397ec876887689fc41b3640ed83c1aa978721edad4f32cfaef8ffdd78be502", kill_on_drop: false }` [INFO] [stdout] 1c397ec876887689fc41b3640ed83c1aa978721edad4f32cfaef8ffdd78be502 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a3dffe88579278b774ed490a1b5f4ea0a41508a8b14d31ac67c0ecffc5d5061a [INFO] running `Command { std: "docker" "start" "-a" "a3dffe88579278b774ed490a1b5f4ea0a41508a8b14d31ac67c0ecffc5d5061a", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking num-integer v0.1.32 [INFO] [stderr] Checking rand v0.3.15 [INFO] [stderr] Checking time v0.1.35 [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: `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: `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: `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: `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: `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: `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: 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 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 `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 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 `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 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 `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: 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.60s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.7.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "a3dffe88579278b774ed490a1b5f4ea0a41508a8b14d31ac67c0ecffc5d5061a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3dffe88579278b774ed490a1b5f4ea0a41508a8b14d31ac67c0ecffc5d5061a", kill_on_drop: false }` [INFO] [stdout] a3dffe88579278b774ed490a1b5f4ea0a41508a8b14d31ac67c0ecffc5d5061a