[INFO] cloning repository https://github.com/csauve/slughorn [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/csauve/slughorn" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcsauve%2Fslughorn", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcsauve%2Fslughorn'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5a4c82f2f4169ca156b13d7053117a55db419f54 [INFO] checking csauve/slughorn against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcsauve%2Fslughorn" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/csauve/slughorn 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/csauve/slughorn [INFO] finished tweaking git repo https://github.com/csauve/slughorn [INFO] tweaked toml for git repo https://github.com/csauve/slughorn written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/csauve/slughorn 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] Downloading crates ... [INFO] [stderr] Downloaded tokio-macros v0.2.4 [INFO] [stderr] Downloaded pin-project-lite v0.1.2 [INFO] [stderr] Downloaded hyper v0.13.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] 5d9c9a06cbdf355d4ff61e64ed5e1750f1d6412f26cf6c2f971189e89c0a0dd8 [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" "5d9c9a06cbdf355d4ff61e64ed5e1750f1d6412f26cf6c2f971189e89c0a0dd8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5d9c9a06cbdf355d4ff61e64ed5e1750f1d6412f26cf6c2f971189e89c0a0dd8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d9c9a06cbdf355d4ff61e64ed5e1750f1d6412f26cf6c2f971189e89c0a0dd8", kill_on_drop: false }` [INFO] [stdout] 5d9c9a06cbdf355d4ff61e64ed5e1750f1d6412f26cf6c2f971189e89c0a0dd8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] [stdout] 26c2add827fbc9984bebf035da8f7ddca46179773b8747c31fb0d25304aa827e [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" "26c2add827fbc9984bebf035da8f7ddca46179773b8747c31fb0d25304aa827e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling memchr v2.3.0 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking futures-core v0.3.1 [INFO] [stderr] Checking futures-sink v0.3.1 [INFO] [stderr] Compiling proc-macro-nested v0.1.3 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking bytes v0.5.3 [INFO] [stderr] Checking pin-utils v0.1.0-alpha.4 [INFO] [stderr] Checking arc-swap v0.4.4 [INFO] [stderr] Checking futures-io v0.3.1 [INFO] [stderr] Checking futures-task v0.3.1 [INFO] [stderr] Checking pin-project-lite v0.1.2 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking try-lock v0.2.2 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking tower-service v0.3.0 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Checking futures-channel v0.3.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking http v0.2.0 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling indexmap v1.3.1 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking num_cpus v1.12.0 [INFO] [stderr] Checking signal-hook-registry v1.2.0 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking crossbeam-deque v0.7.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking chrono v0.4.10 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking uuid v0.8.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling tokio-macros v0.2.4 [INFO] [stderr] Compiling pin-project-internal v0.4.6 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Checking tokio v0.2.11 [INFO] [stderr] Compiling futures-macro v0.3.1 [INFO] [stderr] Checking pin-project v0.4.6 [INFO] [stderr] Checking futures-util v0.3.1 [INFO] [stderr] Checking tokio-util v0.2.0 [INFO] [stderr] Checking futures-executor v0.3.1 [INFO] [stderr] Checking h2 v0.2.1 [INFO] [stderr] Checking futures v0.3.1 [INFO] [stderr] Checking hyper v0.13.1 [INFO] [stderr] Checking serde_json v1.0.44 [INFO] [stderr] Checking bookworm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `linear` [INFO] [stdout] --> src/game/offset.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn linear(self) -> bool { [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: `abs` [INFO] [stdout] --> src/game/offset.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn abs(&self) -> Offset { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/game/path.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new() -> Path { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_bounds` [INFO] [stdout] --> src/game/path.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn get_bounds(&self) -> Option<(Coord, Coord)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `slide_end` [INFO] [stdout] --> src/game/path.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn slide_end(&mut self, offset: Offset) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pop_start` [INFO] [stdout] --> src/game/path.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn pop_start(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dist` [INFO] [stdout] --> src/game/path.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn dist(&self) -> UnitAbs { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `end` [INFO] [stdout] --> src/game/path.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn end(&self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `tail` [INFO] [stdout] --> src/game/snake.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn tail(&self) -> Coord { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_closest_snake_by_pathfind` [INFO] [stdout] --> src/game/board.rs:273:12 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn get_closest_snake_by_pathfind(&self, coord: Coord) -> Option<(usize, UnitAbs)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `enemies` [INFO] [stdout] --> src/game/board.rs:389:12 [INFO] [stdout] | [INFO] [stdout] 389 | pub fn enemies(&self) -> &[Snake] { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `area` [INFO] [stdout] --> src/game/board.rs:406:12 [INFO] [stdout] | [INFO] [stdout] 406 | pub fn area(&self) -> UnitAbs { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `abs` [INFO] [stdout] --> src/game/offset.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn abs(&self) -> Offset { [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: `new` [INFO] [stdout] --> src/game/path.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new() -> Path { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_bounds` [INFO] [stdout] --> src/game/path.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn get_bounds(&self) -> Option<(Coord, Coord)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_closest_snake_by_pathfind` [INFO] [stdout] --> src/game/board.rs:273:12 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn get_closest_snake_by_pathfind(&self, coord: Coord) -> Option<(usize, UnitAbs)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `area` [INFO] [stdout] --> src/game/board.rs:406:12 [INFO] [stdout] | [INFO] [stdout] 406 | pub fn area(&self) -> UnitAbs { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_head_to_head_kill` [INFO] [stdout] --> src/brain.rs:356:8 [INFO] [stdout] | [INFO] [stdout] 356 | fn test_head_to_head_kill() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 22s [INFO] running `Command { std: "docker" "inspect" "26c2add827fbc9984bebf035da8f7ddca46179773b8747c31fb0d25304aa827e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26c2add827fbc9984bebf035da8f7ddca46179773b8747c31fb0d25304aa827e", kill_on_drop: false }` [INFO] [stdout] 26c2add827fbc9984bebf035da8f7ddca46179773b8747c31fb0d25304aa827e