[INFO] cloning repository https://github.com/TTA21/WindowSill [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TTA21/WindowSill" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTTA21%2FWindowSill", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTTA21%2FWindowSill'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 37c0c4d4f42053fa69c68bde60e04a1be59253f3 [INFO] checking TTA21/WindowSill against master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTTA21%2FWindowSill" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/TTA21/WindowSill [INFO] finished tweaking git repo https://github.com/TTA21/WindowSill [INFO] tweaked toml for git repo https://github.com/TTA21/WindowSill written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/TTA21/WindowSill on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/TTA21/WindowSill 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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded version-compare v0.1.0 [INFO] [stderr] Downloaded hlua v0.3.1 [INFO] [stderr] Downloaded lua52-sys v0.1.2 [INFO] [stderr] Downloaded sdl2 v0.35.1 [INFO] [stderr] Downloaded sdl2-sys v0.35.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a33a7aa350d017c1ddde70b3b66d02608cf63a85078f1a54c0df46401732abd2 [INFO] running `Command { std: "docker" "start" "-a" "a33a7aa350d017c1ddde70b3b66d02608cf63a85078f1a54c0df46401732abd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a33a7aa350d017c1ddde70b3b66d02608cf63a85078f1a54c0df46401732abd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a33a7aa350d017c1ddde70b3b66d02608cf63a85078f1a54c0df46401732abd2", kill_on_drop: false }` [INFO] [stdout] a33a7aa350d017c1ddde70b3b66d02608cf63a85078f1a54c0df46401732abd2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 57d0abd386bb0b715146130d6b918dd33391aaedb3a1696e73a41f92dc0a6a05 [INFO] running `Command { std: "docker" "start" "-a" "57d0abd386bb0b715146130d6b918dd33391aaedb3a1696e73a41f92dc0a6a05", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.107 [INFO] [stderr] Compiling version-compare v0.1.0 [INFO] [stderr] Compiling pkg-config v0.3.22 [INFO] [stderr] Compiling sdl2 v0.35.1 [INFO] [stderr] Compiling lua52-sys v0.1.2 [INFO] [stderr] Compiling sdl2-sys v0.35.1 [INFO] [stderr] Checking hlua v0.3.1 [INFO] [stderr] Checking WindowSill v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let mut error_enum = 0; //If any error, error_enum > 0, error value depends on error type [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_vars` [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | window_vars: sdl::WindowVars, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_vars` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sdl_context` is never read [INFO] [stdout] --> src/sdl.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Sdl2Instance{ [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 22 | pub sdl_context: Sdl, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `alpha` is never read [INFO] [stdout] --> src/sdl.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct SpriteObj{ [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 28 | pub alpha: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FontDetails` is never constructed [INFO] [stdout] --> src/sdl.rs:287:12 [INFO] [stdout] | [INFO] [stdout] 287 | pub struct FontDetails { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `render_time` should have an upper case name [INFO] [stdout] --> src/main.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const render_time: u128 = 15; //in millis [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 11 - const render_time: u128 = 15; //in millis [INFO] [stdout] 11 + const RENDER_TIME: u128 = 15; //in millis [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `calc_time` should have an upper case name [INFO] [stdout] --> src/main.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const calc_time: std::time::Duration = Duration::from_millis(1); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 12 - const calc_time: std::time::Duration = Duration::from_millis(1); [INFO] [stdout] 12 + const CALC_TIME: std::time::Duration = Duration::from_millis(1); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/sdl.rs:273:45 [INFO] [stdout] | [INFO] [stdout] 273 | fn load(&'l self, path: &str) -> Result { [INFO] [stdout] | -- the lifetime is named here ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'l` [INFO] [stdout] | [INFO] [stdout] 273 | fn load(&'l self, path: &str) -> Result, String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let mut error_enum = 0; //If any error, error_enum > 0, error value depends on error type [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_vars` [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | window_vars: sdl::WindowVars, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_vars` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sdl_context` is never read [INFO] [stdout] --> src/sdl.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Sdl2Instance{ [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 22 | pub sdl_context: Sdl, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `alpha` is never read [INFO] [stdout] --> src/sdl.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct SpriteObj{ [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 28 | pub alpha: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FontDetails` is never constructed [INFO] [stdout] --> src/sdl.rs:287:12 [INFO] [stdout] | [INFO] [stdout] 287 | pub struct FontDetails { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `render_time` should have an upper case name [INFO] [stdout] --> src/main.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const render_time: u128 = 15; //in millis [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 11 - const render_time: u128 = 15; //in millis [INFO] [stdout] 11 + const RENDER_TIME: u128 = 15; //in millis [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `calc_time` should have an upper case name [INFO] [stdout] --> src/main.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const calc_time: std::time::Duration = Duration::from_millis(1); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 12 - const calc_time: std::time::Duration = Duration::from_millis(1); [INFO] [stdout] 12 + const CALC_TIME: std::time::Duration = Duration::from_millis(1); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/sdl.rs:273:45 [INFO] [stdout] | [INFO] [stdout] 273 | fn load(&'l self, path: &str) -> Result { [INFO] [stdout] | -- the lifetime is named here ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'l` [INFO] [stdout] | [INFO] [stdout] 273 | fn load(&'l self, path: &str) -> Result, String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.07s [INFO] running `Command { std: "docker" "inspect" "57d0abd386bb0b715146130d6b918dd33391aaedb3a1696e73a41f92dc0a6a05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57d0abd386bb0b715146130d6b918dd33391aaedb3a1696e73a41f92dc0a6a05", kill_on_drop: false }` [INFO] [stdout] 57d0abd386bb0b715146130d6b918dd33391aaedb3a1696e73a41f92dc0a6a05