[INFO] cloning repository https://github.com/erickpires/sokoban [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/erickpires/sokoban" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferickpires%2Fsokoban", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferickpires%2Fsokoban'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8b1d4ae1318b1d34d3725314892165f730a5503b [INFO] checking erickpires/sokoban against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferickpires%2Fsokoban" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/erickpires/sokoban on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/erickpires/sokoban [INFO] finished tweaking git repo https://github.com/erickpires/sokoban [INFO] tweaked toml for git repo https://github.com/erickpires/sokoban written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/erickpires/sokoban already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/bjz/gl-rs` [INFO] [stderr] Updating git submodule `https://github.com/capnm/Khronos_XML_API` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lazy_static v0.2.4 [INFO] [stderr] Downloaded log v0.3.7 [INFO] [stderr] Downloaded sdl2 v0.29.0 [INFO] [stderr] Downloaded aho-corasick v0.6.3 [INFO] [stderr] Downloaded c_vec v1.0.12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5c2ba47c21a8dd6de445aaad3df3458eca475fa5c5281a202d8b7e89b8779a58 [INFO] running `Command { std: "docker" "start" "-a" "5c2ba47c21a8dd6de445aaad3df3458eca475fa5c5281a202d8b7e89b8779a58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5c2ba47c21a8dd6de445aaad3df3458eca475fa5c5281a202d8b7e89b8779a58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c2ba47c21a8dd6de445aaad3df3458eca475fa5c5281a202d8b7e89b8779a58", kill_on_drop: false }` [INFO] [stdout] 5c2ba47c21a8dd6de445aaad3df3458eca475fa5c5281a202d8b7e89b8779a58 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 461e4ed791721aff9937137ed7e230ef271ce4e7d57a6c2e529cae85f49f0eb4 [INFO] running `Command { std: "docker" "start" "-a" "461e4ed791721aff9937137ed7e230ef271ce4e7d57a6c2e529cae85f49f0eb4", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.21 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling log v0.3.7 [INFO] [stderr] Checking num-traits v0.1.37 [INFO] [stderr] Compiling khronos_api v1.0.0 (https://github.com/bjz/gl-rs#e4a3bb70) [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling sdl2-sys v0.27.2 [INFO] [stderr] Checking regex-syntax v0.4.0 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Checking lazy_static v0.2.4 [INFO] [stderr] Checking c_vec v1.0.12 [INFO] [stderr] Compiling xml-rs v0.3.6 [INFO] [stderr] Checking unreachable v0.1.1 [INFO] [stderr] Checking thread-id v3.0.0 [INFO] [stderr] Checking memchr v1.0.1 [INFO] [stderr] Checking rand v0.3.15 [INFO] [stderr] Checking num-integer v0.1.33 [INFO] [stderr] Checking aho-corasick v0.6.3 [INFO] [stderr] Checking thread_local v0.3.3 [INFO] [stderr] Checking num-iter v0.1.33 [INFO] [stderr] Checking num v0.1.37 [INFO] [stderr] Checking regex v0.2.1 [INFO] [stderr] Compiling gl_generator v0.5.2 (https://github.com/bjz/gl-rs#e4a3bb70) [INFO] [stderr] Checking sdl2 v0.29.0 [INFO] [stderr] Compiling gl v0.6.1 (https://github.com/bjz/gl-rs#e4a3bb70) [INFO] [stderr] Checking sokoban v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `Eq` is imported redundantly [INFO] [stdout] --> src/math.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::cmp::Eq; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Eq` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Ord` is imported redundantly [INFO] [stdout] --> src/math.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::cmp::Ord; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Ord` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PartialEq` is imported redundantly [INFO] [stdout] --> src/math.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::cmp::PartialEq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `PartialEq` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Eq` is imported redundantly [INFO] [stdout] --> src/math.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::cmp::Eq; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Eq` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Ord` is imported redundantly [INFO] [stdout] --> src/math.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::cmp::Ord; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Ord` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PartialEq` is imported redundantly [INFO] [stdout] --> src/math.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::cmp::PartialEq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `PartialEq` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/main.rs:928:40 [INFO] [stdout] | [INFO] [stdout] 928 | .expect("Failed to write");; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/main.rs:945:58 [INFO] [stdout] | [INFO] [stdout] 945 | fn parse_level(level_name: &str, renderer: &Renderer) -> (Option<(Map, Entity)>) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 945 - fn parse_level(level_name: &str, renderer: &Renderer) -> (Option<(Map, Entity)>) { [INFO] [stdout] 945 + fn parse_level(level_name: &str, renderer: &Renderer) -> Option<(Map, Entity)> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/main.rs:928:40 [INFO] [stdout] | [INFO] [stdout] 928 | .expect("Failed to write");; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/main.rs:945:58 [INFO] [stdout] | [INFO] [stdout] 945 | fn parse_level(level_name: &str, renderer: &Renderer) -> (Option<(Map, Entity)>) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 945 - fn parse_level(level_name: &str, renderer: &Renderer) -> (Option<(Map, Entity)>) { [INFO] [stdout] 945 + fn parse_level(level_name: &str, renderer: &Renderer) -> Option<(Map, Entity)> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `direction` [INFO] [stdout] --> src/main.rs:35:52 [INFO] [stdout] | [INFO] [stdout] 35 | fn allowed_motion_before_collision(moving: &Rect2, direction: Vector2, obstacle: &Rect2) -> f32 { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_direction` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `level_music` is never read [INFO] [stdout] --> src/main.rs:613:9 [INFO] [stdout] | [INFO] [stdout] 613 | level_music = play_music(Path::new(map.level_music.as_ref().unwrap().as_str())); [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: unused variable: `direction` [INFO] [stdout] --> src/main.rs:35:52 [INFO] [stdout] | [INFO] [stdout] 35 | fn allowed_motion_before_collision(moving: &Rect2, direction: Vector2, obstacle: &Rect2) -> f32 { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_direction` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `level_music` is never read [INFO] [stdout] --> src/main.rs:613:9 [INFO] [stdout] | [INFO] [stdout] 613 | level_music = play_music(Path::new(map.level_music.as_ref().unwrap().as_str())); [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: fields `right_x_axis`, `action_a`, and `action_b` are never read [INFO] [stdout] --> src/main.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 64 | struct GameInputState { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 68 | right_x_axis: f32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | action_a: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 72 | action_b: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GameInputState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `fps` is never read [INFO] [stdout] --> src/main.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 102 | struct AnimationInfo { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 106 | fps : u32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AnimationInfo` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `collision_against_entities` is never used [INFO] [stdout] --> src/main.rs:255:8 [INFO] [stdout] | [INFO] [stdout] 226 | impl Entity { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 255 | fn collision_against_entities(&self, entities: &Vec, movement: Vector2) -> isize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `entity_mass` should have an upper case name [INFO] [stdout] --> src/main.rs:722:19 [INFO] [stdout] | [INFO] [stdout] 722 | const entity_mass : f32 = 0.0058; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `ENTITY_MASS` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `drag` should have an upper case name [INFO] [stdout] --> src/main.rs:723:19 [INFO] [stdout] | [INFO] [stdout] 723 | const drag : f32 = 20.0; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `DRAG` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `right_x_axis`, `action_a`, and `action_b` are never read [INFO] [stdout] --> src/main.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 64 | struct GameInputState { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 68 | right_x_axis: f32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | action_a: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 72 | action_b: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GameInputState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `fps` is never read [INFO] [stdout] --> src/main.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 102 | struct AnimationInfo { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 106 | fps : u32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AnimationInfo` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `collision_against_entities` is never used [INFO] [stdout] --> src/main.rs:255:8 [INFO] [stdout] | [INFO] [stdout] 226 | impl Entity { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 255 | fn collision_against_entities(&self, entities: &Vec, movement: Vector2) -> isize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `entity_mass` should have an upper case name [INFO] [stdout] --> src/main.rs:722:19 [INFO] [stdout] | [INFO] [stdout] 722 | const entity_mass : f32 = 0.0058; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `ENTITY_MASS` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `drag` should have an upper case name [INFO] [stdout] --> src/main.rs:723:19 [INFO] [stdout] | [INFO] [stdout] 723 | const drag : f32 = 20.0; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `DRAG` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.73s [INFO] running `Command { std: "docker" "inspect" "461e4ed791721aff9937137ed7e230ef271ce4e7d57a6c2e529cae85f49f0eb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "461e4ed791721aff9937137ed7e230ef271ce4e7d57a6c2e529cae85f49f0eb4", kill_on_drop: false }` [INFO] [stdout] 461e4ed791721aff9937137ed7e230ef271ce4e7d57a6c2e529cae85f49f0eb4