[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 try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpepone42%2FHexGemRust" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pepone42/HexGemRust on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-13/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /workspace/builds/worker-13/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sdl2-sys v0.8.1 [INFO] [stderr] Downloaded sdl2 v0.17.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2c38832ea5e8f8554cdc14d17290043ba4c200ceb614653c06e299e9877a407a [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" "2c38832ea5e8f8554cdc14d17290043ba4c200ceb614653c06e299e9877a407a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2c38832ea5e8f8554cdc14d17290043ba4c200ceb614653c06e299e9877a407a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c38832ea5e8f8554cdc14d17290043ba4c200ceb614653c06e299e9877a407a", kill_on_drop: false }` [INFO] [stdout] 2c38832ea5e8f8554cdc14d17290043ba4c200ceb614653c06e299e9877a407a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", 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] a7b7ddf5ec682b673345e55b8390b5fb988cf97b15ce800a9729a1a49fd5ec3d [INFO] running `Command { std: "docker" "start" "-a" "a7b7ddf5ec682b673345e55b8390b5fb988cf97b15ce800a9729a1a49fd5ec3d", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.89 [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 sdl2-sys v0.8.1 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking num-bigint v0.1.44 [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: 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: 14 warnings emitted [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 14.72s [INFO] running `Command { std: "docker" "inspect" "a7b7ddf5ec682b673345e55b8390b5fb988cf97b15ce800a9729a1a49fd5ec3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7b7ddf5ec682b673345e55b8390b5fb988cf97b15ce800a9729a1a49fd5ec3d", kill_on_drop: false }` [INFO] [stdout] a7b7ddf5ec682b673345e55b8390b5fb988cf97b15ce800a9729a1a49fd5ec3d