[INFO] cloning repository https://github.com/pepone42/HexGemRust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pepone42/HexGemRust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpepone42%2FHexGemRust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpepone42%2FHexGemRust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 109b9d82088fd5370618485fc0d83e387929906b [INFO] checking pepone42/HexGemRust against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpepone42%2FHexGemRust" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pepone42/HexGemRust on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pepone42/HexGemRust [INFO] finished tweaking git repo https://github.com/pepone42/HexGemRust [INFO] tweaked toml for git repo https://github.com/pepone42/HexGemRust written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/pepone42/HexGemRust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-1/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3d4722a10cdb4ef6322e1ede99fd6ba28e0af74b58366f4817baba1fa61de07b [INFO] running `Command { std: "docker" "start" "-a" "3d4722a10cdb4ef6322e1ede99fd6ba28e0af74b58366f4817baba1fa61de07b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3d4722a10cdb4ef6322e1ede99fd6ba28e0af74b58366f4817baba1fa61de07b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d4722a10cdb4ef6322e1ede99fd6ba28e0af74b58366f4817baba1fa61de07b", kill_on_drop: false }` [INFO] [stdout] 3d4722a10cdb4ef6322e1ede99fd6ba28e0af74b58366f4817baba1fa61de07b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b2e4096caa3d8fb9696c7df2a08660c25fd6f2d47582ebc61e03786819828381 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b2e4096caa3d8fb9696c7df2a08660c25fd6f2d47582ebc61e03786819828381", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Compiling sdl2-sys v0.8.1 [INFO] [stderr] Checking bitflags v0.3.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking sdl2 v0.17.0 [INFO] [stderr] Checking hexgemrust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::slice` [INFO] [stdout] --> src/hexagrid.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::slice; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::slice` [INFO] [stdout] --> src/hexagrid.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::slice; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | let mut sys =&mut System::new("Hexgem",400,240); [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: struct is never constructed: `HexaGridRingInter` [INFO] [stdout] --> src/hexagrid.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct HexaGridRingInter<'a, T: 'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_mut` [INFO] [stdout] --> src/hexagrid.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn get_mut(&mut self, index: usize) -> &mut T { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set` [INFO] [stdout] --> src/hexagrid.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn set(&mut self, index: usize, value: T) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_coordinate_valid` [INFO] [stdout] --> src/hexagrid.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | fn is_coordinate_valid(&self, x: i32, y: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cardinal_to_location` [INFO] [stdout] --> src/hexagrid.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | fn cardinal_to_location(&self, x: usize, y: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_cardinal` [INFO] [stdout] --> src/hexagrid.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn get_cardinal(&self, x: usize, y: usize) -> &T { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_width` [INFO] [stdout] --> src/hexagrid.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn get_width(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_height` [INFO] [stdout] --> src/hexagrid.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn get_height(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_some` [INFO] [stdout] --> src/hexagrid.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn get_some(&self, x: i32, y: i32) -> Option<&T> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `State` [INFO] [stdout] --> src/gem.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | enum State { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/gem.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_random` [INFO] [stdout] --> src/gem.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new_random(extra_color: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | let mut sys =&mut System::new("Hexgem",400,240); [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: struct is never constructed: `HexaGridRingInter` [INFO] [stdout] --> src/hexagrid.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct HexaGridRingInter<'a, T: 'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_mut` [INFO] [stdout] --> src/hexagrid.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn get_mut(&mut self, index: usize) -> &mut T { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `State` [INFO] [stdout] --> src/gem.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | enum State { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/gem.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_random` [INFO] [stdout] --> src/gem.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new_random(extra_color: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 15.01s [INFO] running `Command { std: "docker" "inspect" "b2e4096caa3d8fb9696c7df2a08660c25fd6f2d47582ebc61e03786819828381", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2e4096caa3d8fb9696c7df2a08660c25fd6f2d47582ebc61e03786819828381", kill_on_drop: false }` [INFO] [stdout] b2e4096caa3d8fb9696c7df2a08660c25fd6f2d47582ebc61e03786819828381