[INFO] updating cached repository https://github.com/lduchosal/battlesnake [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0906c57460605be8f3aa55eedaa044abed3307eb [INFO] testing lduchosal/battlesnake against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flduchosal%2Fbattlesnake" "/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/lduchosal/battlesnake on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lduchosal/battlesnake [INFO] finished tweaking git repo https://github.com/lduchosal/battlesnake [INFO] tweaked toml for git repo https://github.com/lduchosal/battlesnake written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/lduchosal/battlesnake already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 76acdf25f79e0b8e76929a69a84c7f173cb7b371281d06e37987adef0a5ed7b6 [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" "76acdf25f79e0b8e76929a69a84c7f173cb7b371281d06e37987adef0a5ed7b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "76acdf25f79e0b8e76929a69a84c7f173cb7b371281d06e37987adef0a5ed7b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76acdf25f79e0b8e76929a69a84c7f173cb7b371281d06e37987adef0a5ed7b6", kill_on_drop: false }` [INFO] [stdout] 76acdf25f79e0b8e76929a69a84c7f173cb7b371281d06e37987adef0a5ed7b6 [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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c170ebda5859e24c7976a3fb9ddefae9923f7356624354a17244eb190e3d90b8 [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" "c170ebda5859e24c7976a3fb9ddefae9923f7356624354a17244eb190e3d90b8", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling libc v0.2.50 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling cc v1.0.32 [INFO] [stderr] Compiling cfg-if v0.1.7 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling rustc-demangle v0.1.13 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling itoa v0.4.3 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.3 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling backtrace v0.3.14 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling syn v0.15.28 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling tiny_http v0.6.2 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Compiling serde_derive v1.0.89 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling indextree v3.1.1 [INFO] [stderr] Compiling serde v1.0.89 [INFO] [stderr] Compiling serde_json v1.0.39 [INFO] [stderr] Compiling battlesnake v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `home` [INFO] [stdout] --> src/main.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let home = "6601"; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_home` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `train` [INFO] [stdout] --> src/main.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let train = "6600"; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_train` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ps` [INFO] [stdout] --> src/main.rs:859:29 [INFO] [stdout] | [INFO] [stdout] 859 | fn hunt_snakes(game: &Game, ps: &mut Vec) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/main.rs:370:13 [INFO] [stdout] | [INFO] [stdout] 370 | fn from(n: std::option::NoneError) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | let mut result: String; [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: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | let mut futur_list = convert_futur_pathes(&mut futur); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_futur_pathes` [INFO] [stdout] --> src/main.rs:218:4 [INFO] [stdout] | [INFO] [stdout] 218 | fn print_futur_pathes(pathes: &Vec>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | eat_my_food(&g, &mut possibles); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:1066:9 [INFO] [stdout] | [INFO] [stdout] 1066 | parent.append(next_node, arena); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 01s [INFO] running `Command { std: "docker" "inspect" "c170ebda5859e24c7976a3fb9ddefae9923f7356624354a17244eb190e3d90b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c170ebda5859e24c7976a3fb9ddefae9923f7356624354a17244eb190e3d90b8", kill_on_drop: false }` [INFO] [stdout] c170ebda5859e24c7976a3fb9ddefae9923f7356624354a17244eb190e3d90b8 [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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1866394c701d972db96200625b0a7571a11d52e4479858a8122c0204ce559c5b [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" "1866394c701d972db96200625b0a7571a11d52e4479858a8122c0204ce559c5b", kill_on_drop: false }` [INFO] [stderr] Compiling battlesnake v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `home` [INFO] [stdout] --> src/main.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let home = "6601"; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_home` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `train` [INFO] [stdout] --> src/main.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let train = "6600"; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_train` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ps` [INFO] [stdout] --> src/main.rs:859:29 [INFO] [stdout] | [INFO] [stdout] 859 | fn hunt_snakes(game: &Game, ps: &mut Vec) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/main.rs:370:13 [INFO] [stdout] | [INFO] [stdout] 370 | fn from(n: std::option::NoneError) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | let mut result: String; [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: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | let mut futur_list = convert_futur_pathes(&mut futur); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_futur_pathes` [INFO] [stdout] --> src/main.rs:218:4 [INFO] [stdout] | [INFO] [stdout] 218 | fn print_futur_pathes(pathes: &Vec>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | eat_my_food(&g, &mut possibles); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:1066:9 [INFO] [stdout] | [INFO] [stdout] 1066 | parent.append(next_node, arena); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.61s [INFO] running `Command { std: "docker" "inspect" "1866394c701d972db96200625b0a7571a11d52e4479858a8122c0204ce559c5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1866394c701d972db96200625b0a7571a11d52e4479858a8122c0204ce559c5b", kill_on_drop: false }` [INFO] [stdout] 1866394c701d972db96200625b0a7571a11d52e4479858a8122c0204ce559c5b [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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d1e7809b980ba2cd1c4cb88bab9486f701f192a03b043f2ec5fb2cad6f3cb31d [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" "d1e7809b980ba2cd1c4cb88bab9486f701f192a03b043f2ec5fb2cad6f3cb31d", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `home` [INFO] [stderr] --> src/main.rs:24:9 [INFO] [stderr] | [INFO] [stderr] 24 | let home = "6601"; [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_home` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `train` [INFO] [stderr] --> src/main.rs:25:9 [INFO] [stderr] | [INFO] [stderr] 25 | let train = "6600"; [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_train` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ps` [INFO] [stderr] --> src/main.rs:859:29 [INFO] [stderr] | [INFO] [stderr] 859 | fn hunt_snakes(game: &Game, ps: &mut Vec) { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_ps` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `n` [INFO] [stderr] --> src/main.rs:370:13 [INFO] [stderr] | [INFO] [stderr] 370 | fn from(n: std::option::NoneError) -> Self { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:69:13 [INFO] [stderr] | [INFO] [stderr] 69 | let mut result: String; [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:162:9 [INFO] [stderr] | [INFO] [stderr] 162 | let mut futur_list = convert_futur_pathes(&mut futur); [INFO] [stderr] | ----^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: function is never used: `print_futur_pathes` [INFO] [stderr] --> src/main.rs:218:4 [INFO] [stderr] | [INFO] [stderr] 218 | fn print_futur_pathes(pathes: &Vec>) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/main.rs:135:5 [INFO] [stderr] | [INFO] [stderr] 135 | eat_my_food(&g, &mut possibles); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/main.rs:1066:9 [INFO] [stderr] | [INFO] [stderr] 1066 | parent.append(next_node, arena); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: 9 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/battlesnake-fa19ad29077cbea6 [INFO] [stdout] [INFO] [stdout] running 18 tests [INFO] [stdout] test test_panic ... ok [INFO] [stdout] test test_enroule_ton_snake_crash2 ... ok [INFO] [stdout] test enroule_ton_snake_stupid ... ok [INFO] [stdout] test test_enroule_ton_snake_crash ... ok [INFO] [stdout] test test_too_keep_on_following_tail ... ok [INFO] [stdout] test test_mange_la_pomme_3 ... ok [INFO] [stdout] test test_food ... ok [INFO] [stdout] test test ... ok [INFO] [stdout] test test_food_distance ... ok [INFO] [stdout] test test_too_hungry ... ok [INFO] [stdout] test test_mange_la_pomme ... ok [INFO] [stdout] test test_enroule_ton_snake ... ok [INFO] [stdout] test test_forward_think_better ... ok [INFO] [stdout] test test_avoid_walls ... ok [INFO] [stdout] test test_mange_la_pomme_2 ... FAILED [INFO] [stdout] test test_prefer_center ... FAILED [INFO] [stdout] test test_eat_my_snake ... ok [INFO] [stdout] test test_food_bug ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- test_mange_la_pomme_2 stdout ---- [INFO] [stdout] -- [INFO] [stdout] possible: Possible { point: Point { x: 4, y: 4 }, dir: Down, value: -186, check_walls: 0, check_snakes: -100, check_tails: 0, check_heads: 1, kill_heads: 0, prefer_food: 4, prefer_food_distance: 3, eat_my_food_value: 0, eat_my_food: 0, hit_or_leave: 0, look_for_tail: 1, forward_thinking: 0, forward_pathes: {}, forward_pathes_len: 0, prefer_forward_space: -100, instant_pathes: 0, enroule_ton_snake: [], enroule_ton_snake_value: 0, prefer_center_distance: 2, prefer_center_value: 0, avoid_walls_value: 0, rand: 110 } [INFO] [stdout] -- [INFO] [stdout] possible: Possible { point: Point { x: 5, y: 3 }, dir: Right, value: 33, check_walls: 0, check_snakes: 0, check_tails: 0, check_heads: 1, kill_heads: 0, prefer_food: 12, prefer_food_distance: 1, eat_my_food_value: 5, eat_my_food: 1, hit_or_leave: 0, look_for_tail: 1, forward_thinking: 0, forward_pathes: {}, forward_pathes_len: 123, prefer_forward_space: 6, instant_pathes: 98, enroule_ton_snake: [Point { x: 6, y: 4 }, Point { x: 7, y: 4 }, Point { x: 8, y: 4 }, Point { x: 8, y: 3 }, Point { x: 7, y: 3 }, Point { x: 6, y: 3 }], enroule_ton_snake_value: 0, prefer_center_distance: 2, prefer_center_value: 0, avoid_walls_value: 0, rand: 114 } [INFO] [stdout] -- [INFO] [stdout] possible: Possible { point: Point { x: 4, y: 2 }, dir: Up, value: 20, check_walls: 0, check_snakes: 0, check_tails: 0, check_heads: 1, kill_heads: 0, prefer_food: 4, prefer_food_distance: 3, eat_my_food_value: 0, eat_my_food: 0, hit_or_leave: 0, look_for_tail: 1, forward_thinking: 0, forward_pathes: {}, forward_pathes_len: 123, prefer_forward_space: 6, instant_pathes: 98, enroule_ton_snake: [], enroule_ton_snake_value: 0, prefer_center_distance: 4, prefer_center_value: 0, avoid_walls_value: 0, rand: 70 } [INFO] [stdout] -- [INFO] [stdout] possible: Possible { point: Point { x: 3, y: 3 }, dir: Left, value: 34, check_walls: 0, check_snakes: -100, check_tails: 100, check_heads: 1, kill_heads: 8, prefer_food: 4, prefer_food_distance: 3, eat_my_food_value: 0, eat_my_food: 0, hit_or_leave: 7, look_for_tail: 1, forward_thinking: 0, forward_pathes: {}, forward_pathes_len: 125, prefer_forward_space: 6, instant_pathes: 98, enroule_ton_snake: [], enroule_ton_snake_value: 0, prefer_center_distance: 4, prefer_center_value: 0, avoid_walls_value: 0, rand: 220 } [INFO] [stdout] -- best value [INFO] [stdout] possible: Possible { point: Point { x: 3, y: 3 }, dir: Left, value: 34, check_walls: 0, check_snakes: -100, check_tails: 100, check_heads: 1, kill_heads: 8, prefer_food: 4, prefer_food_distance: 3, eat_my_food_value: 0, eat_my_food: 0, hit_or_leave: 7, look_for_tail: 1, forward_thinking: 0, forward_pathes: {}, forward_pathes_len: 125, prefer_forward_space: 6, instant_pathes: 98, enroule_ton_snake: [], enroule_ton_snake_value: 0, prefer_center_distance: 4, prefer_center_value: 0, avoid_walls_value: 0, rand: 220 } [INFO] [stdout] [INFO] [stdout] 0 ms possible. [INFO] [stdout] 0 ms check_walls. [INFO] [stdout] 0 ms check_snakes. [INFO] [stdout] 0 ms check_tails. [INFO] [stdout] 0 ms check_heads. [INFO] [stdout] 0 ms kill_heads. [INFO] [stdout] 0 ms hit_or_leave. [INFO] [stdout] 0 ms prefer_food. [INFO] [stdout] 0 ms prefer_food_distance. [INFO] [stdout] 0 ms eat_my_food. [INFO] [stdout] 0 ms look_for_tail. [INFO] [stdout] 64 ms forward_thinking. [INFO] [stdout] 49 ms instant_pathes. [INFO] [stdout] 0 ms prefer_forward_space. [INFO] [stdout] 0 ms prefer_center. [INFO] [stdout] 0 ms avoid_walls. [INFO] [stdout] 0 ms hunt_snakes. [INFO] [stdout] 36 ms build_futur. [INFO] [stdout] 1 ms tconvert_futur_pathes. [INFO] [stdout] 0 ms tprint_futur_pathes. [INFO] [stdout] 0 ms enroule_ton_snake. [INFO] [stdout] 0 ms dump_results. [INFO] [stdout] 0 ms bestfit. [INFO] [stdout] 153 ms total. [INFO] [stdout] [INFO] [stdout] thread 'test_mange_la_pomme_2' panicked at 'assertion failed: `(left == right)` [INFO] [stdout] left: `Left`, [INFO] [stdout] right: `Right`', src/main.rs:352:5 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x557aad2a7fc5 - backtrace::backtrace::libunwind::trace::hea89dfbbfe67f40d [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stdout] 1: 0x557aad2a7fc5 - backtrace::backtrace::trace_unsynchronized::h0513dd713d7644d4 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stdout] 2: 0x557aad2a7fc5 - std::sys_common::backtrace::_print_fmt::h040abae64e4a24a9 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stdout] 3: 0x557aad2a7fc5 - ::fmt::hb4bdb37c3c335733 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] 4: 0x557aad2cfd7c - core::fmt::write::h540ac4a6a1232abc [INFO] [stdout] at src/libcore/fmt/mod.rs:1076 [INFO] [stdout] 5: 0x557aad20e965 - std::io::Write::write_fmt::h4be0daababb55bba [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/io/mod.rs:1539 [INFO] [stdout] 6: 0x557aad2a25c1 - std::io::impls::>::write_fmt::h83c1e1aa73f374f5 [INFO] [stdout] at src/libstd/io/impls.rs:176 [INFO] [stdout] 7: 0x557aad2aa720 - std::sys_common::backtrace::_print::hb55cc635eaf1882e [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stdout] 8: 0x557aad2aa720 - std::sys_common::backtrace::print::h2b2218fa55714084 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stdout] 9: 0x557aad2aa720 - std::panicking::default_hook::{{closure}}::h578517c025765cf3 [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 10: 0x557aad2aa41a - std::panicking::default_hook::h4cafc94c2fc640fb [INFO] [stdout] at src/libstd/panicking.rs:214 [INFO] [stdout] 11: 0x557aad2aad63 - std::panicking::rust_panic_with_hook::h3eeb5001beeca5c3 [INFO] [stdout] at src/libstd/panicking.rs:526 [INFO] [stdout] 12: 0x557aad2aa95b - rust_begin_unwind [INFO] [stdout] at src/libstd/panicking.rs:437 [INFO] [stdout] 13: 0x557aad2aa8cb - std::panicking::begin_panic_fmt::hbb5e59697acc78ba [INFO] [stdout] at src/libstd/panicking.rs:391 [INFO] [stdout] 14: 0x557aad1cc103 - battlesnake::test_mange_la_pomme_2::h9535d54b86c47a36 [INFO] [stdout] at src/main.rs:352 [INFO] [stdout] 15: 0x557aad1cbf4a - battlesnake::test_mange_la_pomme_2::{{closure}}::hf56d1b056da74389 [INFO] [stdout] at src/main.rs:347 [INFO] [stdout] 16: 0x557aad20b44e - core::ops::function::FnOnce::call_once::hef9077f98299e6e4 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libcore/ops/function.rs:233 [INFO] [stdout] 17: 0x557aad235edc - as core::ops::function::FnOnce>::call_once::h8340ba6798e0c4ff [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/liballoc/boxed.rs:1081 [INFO] [stdout] 18: 0x557aad235edc - as core::ops::function::FnOnce<()>>::call_once::h5590e98676605094 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panic.rs:318 [INFO] [stdout] 19: 0x557aad235edc - std::panicking::try::do_call::hd8680a2dbb0ed3c4 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panicking.rs:348 [INFO] [stdout] 20: 0x557aad235edc - std::panicking::try::h46b4de2d705e7a8d [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panicking.rs:325 [INFO] [stdout] 21: 0x557aad235edc - std::panic::catch_unwind::h059b3f06991e0a9c [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panic.rs:394 [INFO] [stdout] 22: 0x557aad235edc - test::run_test_in_process::h5ae08a65430494a4 [INFO] [stdout] at src/libtest/lib.rs:541 [INFO] [stdout] 23: 0x557aad235edc - test::run_test::run_test_inner::{{closure}}::h4b36073838376ae8 [INFO] [stdout] at src/libtest/lib.rs:450 [INFO] [stdout] 24: 0x557aad20de56 - std::sys_common::backtrace::__rust_begin_short_backtrace::h0169d0be588b8bf0 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/sys_common/backtrace.rs:130 [INFO] [stdout] 25: 0x557aad212e45 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h71bfc37e887d3973 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/thread/mod.rs:475 [INFO] [stdout] 26: 0x557aad212e45 - as core::ops::function::FnOnce<()>>::call_once::h36c65072907dc180 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panic.rs:318 [INFO] [stdout] 27: 0x557aad212e45 - std::panicking::try::do_call::h4e0f426e17cd216c [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panicking.rs:348 [INFO] [stdout] 28: 0x557aad212e45 - std::panicking::try::hd05e4ef6b4303d29 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panicking.rs:325 [INFO] [stdout] 29: 0x557aad212e45 - std::panic::catch_unwind::h19a1127ec729c5dd [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panic.rs:394 [INFO] [stdout] 30: 0x557aad212e45 - std::thread::Builder::spawn_unchecked::{{closure}}::h011300735f06b1e2 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/thread/mod.rs:474 [INFO] [stdout] 31: 0x557aad212e45 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h1e3c55f31f1d122e [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libcore/ops/function.rs:233 [INFO] [stdout] 32: 0x557aad2b0f9a - as core::ops::function::FnOnce>::call_once::hc0e15d78a519721e [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/liballoc/boxed.rs:1081 [INFO] [stdout] 33: 0x557aad2b0f9a - as core::ops::function::FnOnce>::call_once::h211da8fffb09f192 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/liballoc/boxed.rs:1081 [INFO] [stdout] 34: 0x557aad2b0f9a - std::sys::unix::thread::Thread::new::thread_start::h29594ddebf23e421 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 35: 0x7f48dface609 - start_thread [INFO] [stdout] 36: 0x7f48df9da103 - __clone [INFO] [stdout] 37: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- test_prefer_center stdout ---- [INFO] [stdout] best snake.. go for a fight [INFO] [stdout] -- [INFO] [stdout] possible: Possible { point: Point { x: 1, y: 1 }, dir: Up, value: -185, check_walls: 0, check_snakes: -200, check_tails: 100, check_heads: 1, kill_heads: 0, prefer_food: 5, prefer_food_distance: 8, eat_my_food_value: 0, eat_my_food: 0, hit_or_leave: 0, look_for_tail: 5, forward_thinking: 0, forward_pathes: {}, forward_pathes_len: 0, prefer_forward_space: -100, instant_pathes: 0, enroule_ton_snake: [], enroule_ton_snake_value: 0, prefer_center_distance: 8, prefer_center_value: -4, avoid_walls_value: 0, rand: 140 } [INFO] [stdout] -- [INFO] [stdout] possible: Possible { point: Point { x: 1, y: 3 }, dir: Down, value: 30, check_walls: 0, check_snakes: 0, check_tails: 0, check_heads: 1, kill_heads: 0, prefer_food: 7, prefer_food_distance: 6, eat_my_food_value: 5, eat_my_food: 1, hit_or_leave: 0, look_for_tail: 3, forward_thinking: 0, forward_pathes: {}, forward_pathes_len: 124, prefer_forward_space: 6, instant_pathes: 119, enroule_ton_snake: [Point { x: 3, y: 2 }, Point { x: 2, y: 2 }, Point { x: 2, y: 3 }], enroule_ton_snake_value: 0, prefer_center_distance: 6, prefer_center_value: 0, avoid_walls_value: 0, rand: 20 } [INFO] [stdout] -- [INFO] [stdout] possible: Possible { point: Point { x: 2, y: 2 }, dir: Right, value: 30, check_walls: 0, check_snakes: 0, check_tails: 0, check_heads: 1, kill_heads: 0, prefer_food: 7, prefer_food_distance: 6, eat_my_food_value: 5, eat_my_food: 1, hit_or_leave: 0, look_for_tail: 3, forward_thinking: 0, forward_pathes: {}, forward_pathes_len: 124, prefer_forward_space: 6, instant_pathes: 119, enroule_ton_snake: [], enroule_ton_snake_value: 0, prefer_center_distance: 6, prefer_center_value: 0, avoid_walls_value: 0, rand: 119 } [INFO] [stdout] -- [INFO] [stdout] possible: Possible { point: Point { x: 0, y: 2 }, dir: Left, value: 16, check_walls: 0, check_snakes: 0, check_tails: 0, check_heads: 1, kill_heads: 0, prefer_food: 5, prefer_food_distance: 8, eat_my_food_value: 0, eat_my_food: 0, hit_or_leave: 0, look_for_tail: 5, forward_thinking: 0, forward_pathes: {}, forward_pathes_len: 125, prefer_forward_space: 6, instant_pathes: 119, enroule_ton_snake: [], enroule_ton_snake_value: 0, prefer_center_distance: 8, prefer_center_value: -4, avoid_walls_value: -5, rand: 114 } [INFO] [stdout] -- best value [INFO] [stdout] possible: Possible { point: Point { x: 1, y: 3 }, dir: Down, value: 30, check_walls: 0, check_snakes: 0, check_tails: 0, check_heads: 1, kill_heads: 0, prefer_food: 7, prefer_food_distance: 6, eat_my_food_value: 5, eat_my_food: 1, hit_or_leave: 0, look_for_tail: 3, forward_thinking: 0, forward_pathes: {}, forward_pathes_len: 124, prefer_forward_space: 6, instant_pathes: 119, enroule_ton_snake: [Point { x: 3, y: 2 }, Point { x: 2, y: 2 }, Point { x: 2, y: 3 }], enroule_ton_snake_value: 0, prefer_center_distance: 6, prefer_center_value: 0, avoid_walls_value: 0, rand: 20 } [INFO] [stdout] possible: Possible { point: Point { x: 2, y: 2 }, dir: Right, value: 30, check_walls: 0, check_snakes: 0, check_tails: 0, check_heads: 1, kill_heads: 0, prefer_food: 7, prefer_food_distance: 6, eat_my_food_value: 5, eat_my_food: 1, hit_or_leave: 0, look_for_tail: 3, forward_thinking: 0, forward_pathes: {}, forward_pathes_len: 124, prefer_forward_space: 6, instant_pathes: 119, enroule_ton_snake: [], enroule_ton_snake_value: 0, prefer_center_distance: 6, prefer_center_value: 0, avoid_walls_value: 0, rand: 119 } [INFO] [stdout] [INFO] [stdout] 0 ms possible. [INFO] [stdout] 0 ms check_walls. [INFO] [stdout] 0 ms check_snakes. [INFO] [stdout] 0 ms check_tails. [INFO] [stdout] 0 ms check_heads. [INFO] [stdout] 0 ms kill_heads. [INFO] [stdout] 0 ms hit_or_leave. [INFO] [stdout] 0 ms prefer_food. [INFO] [stdout] 0 ms prefer_food_distance. [INFO] [stdout] 0 ms eat_my_food. [INFO] [stdout] 0 ms look_for_tail. [INFO] [stdout] 102 ms forward_thinking. [INFO] [stdout] 83 ms instant_pathes. [INFO] [stdout] 0 ms prefer_forward_space. [INFO] [stdout] 0 ms prefer_center. [INFO] [stdout] 0 ms avoid_walls. [INFO] [stdout] 0 ms hunt_snakes. [INFO] [stdout] 0 ms build_futur. [INFO] [stdout] 0 ms tconvert_futur_pathes. [INFO] [stdout] 0 ms tprint_futur_pathes. [INFO] [stdout] 0 ms enroule_ton_snake. [INFO] [stdout] 0 ms dump_results. [INFO] [stdout] 0 ms bestfit. [INFO] [stdout] 188 ms total. [INFO] [stdout] [INFO] [stdout] thread 'test_prefer_center' panicked at 'assertion failed: `(left == right)` [INFO] [stdout] left: `Right`, [INFO] [stdout] right: `Up`', src/main.rs:700:5 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x557aad2a7fc5 - backtrace::backtrace::libunwind::trace::hea89dfbbfe67f40d [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stdout] 1: 0x557aad2a7fc5 - backtrace::backtrace::trace_unsynchronized::h0513dd713d7644d4 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stdout] 2: 0x557aad2a7fc5 - std::sys_common::backtrace::_print_fmt::h040abae64e4a24a9 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stdout] 3: 0x557aad2a7fc5 - ::fmt::hb4bdb37c3c335733 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] 4: 0x557aad2cfd7c - core::fmt::write::h540ac4a6a1232abc [INFO] [stdout] at src/libcore/fmt/mod.rs:1076 [INFO] [stdout] 5: 0x557aad20e965 - std::io::Write::write_fmt::h4be0daababb55bba [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/io/mod.rs:1539 [INFO] [stdout] 6: 0x557aad2a25c1 - std::io::impls::>::write_fmt::h83c1e1aa73f374f5 [INFO] [stdout] at src/libstd/io/impls.rs:176 [INFO] [stdout] 7: 0x557aad2aa720 - std::sys_common::backtrace::_print::hb55cc635eaf1882e [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stdout] 8: 0x557aad2aa720 - std::sys_common::backtrace::print::h2b2218fa55714084 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stdout] 9: 0x557aad2aa720 - std::panicking::default_hook::{{closure}}::h578517c025765cf3 [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 10: 0x557aad2aa41a - std::panicking::default_hook::h4cafc94c2fc640fb [INFO] [stdout] at src/libstd/panicking.rs:214 [INFO] [stdout] 11: 0x557aad2aad63 - std::panicking::rust_panic_with_hook::h3eeb5001beeca5c3 [INFO] [stdout] at src/libstd/panicking.rs:526 [INFO] [stdout] 12: 0x557aad2aa95b - rust_begin_unwind [INFO] [stdout] at src/libstd/panicking.rs:437 [INFO] [stdout] 13: 0x557aad2aa8cb - std::panicking::begin_panic_fmt::hbb5e59697acc78ba [INFO] [stdout] at src/libstd/panicking.rs:391 [INFO] [stdout] 14: 0x557aad1cc843 - battlesnake::test_prefer_center::h81762b72c20838b1 [INFO] [stdout] at src/main.rs:700 [INFO] [stdout] 15: 0x557aad1cc68a - battlesnake::test_prefer_center::{{closure}}::h4b2706aafd384421 [INFO] [stdout] at src/main.rs:695 [INFO] [stdout] 16: 0x557aad20b29e - core::ops::function::FnOnce::call_once::h88c6934ddbd10067 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libcore/ops/function.rs:233 [INFO] [stdout] 17: 0x557aad235edc - as core::ops::function::FnOnce>::call_once::h8340ba6798e0c4ff [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/liballoc/boxed.rs:1081 [INFO] [stdout] 18: 0x557aad235edc - as core::ops::function::FnOnce<()>>::call_once::h5590e98676605094 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panic.rs:318 [INFO] [stdout] 19: 0x557aad235edc - std::panicking::try::do_call::hd8680a2dbb0ed3c4 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panicking.rs:348 [INFO] [stdout] 20: 0x557aad235edc - std::panicking::try::h46b4de2d705e7a8d [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panicking.rs:325 [INFO] [stdout] 21: 0x557aad235edc - std::panic::catch_unwind::h059b3f06991e0a9c [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panic.rs:394 [INFO] [stdout] 22: 0x557aad235edc - test::run_test_in_process::h5ae08a65430494a4 [INFO] [stdout] at src/libtest/lib.rs:541 [INFO] [stdout] 23: 0x557aad235edc - test::run_test::run_test_inner::{{closure}}::h4b36073838376ae8 [INFO] [stdout] at src/libtest/lib.rs:450 [INFO] [stdout] 24: 0x557aad20de56 - std::sys_common::backtrace::__rust_begin_short_backtrace::h0169d0be588b8bf0 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/sys_common/backtrace.rs:130 [INFO] [stdout] 25: 0x557aad212e45 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h71bfc37e887d3973 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/thread/mod.rs:475 [INFO] [stdout] 26: 0x557aad212e45 - as core::ops::function::FnOnce<()>>::call_once::h36c65072907dc180 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panic.rs:318 [INFO] [stdout] 27: 0x557aad212e45 - std::panicking::try::do_call::h4e0f426e17cd216c [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panicking.rs:348 [INFO] [stdout] 28: 0x557aad212e45 - std::panicking::try::hd05e4ef6b4303d29 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panicking.rs:325 [INFO] [stdout] 29: 0x557aad212e45 - std::panic::catch_unwind::h19a1127ec729c5dd [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panic.rs:394 [INFO] [stdout] 30: 0x557aad212e45 - std::thread::Builder::spawn_unchecked::{{closure}}::h011300735f06b1e2 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/thread/mod.rs:474 [INFO] [stdout] 31: 0x557aad212e45 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h1e3c55f31f1d122e [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libcore/ops/function.rs:233 [INFO] [stdout] 32: 0x557aad2b0f9a - as core::ops::function::FnOnce>::call_once::hc0e15d78a519721e [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/liballoc/boxed.rs:1081 [INFO] [stdout] 33: 0x557aad2b0f9a - as core::ops::function::FnOnce>::call_once::h211da8fffb09f192 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/liballoc/boxed.rs:1081 [INFO] [stdout] 34: 0x557aad2b0f9a - std::sys::unix::thread::Thread::new::thread_start::h29594ddebf23e421 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 35: 0x7f48dface609 - start_thread [INFO] [stdout] 36: 0x7f48df9da103 - __clone [INFO] [stdout] 37: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] test_mange_la_pomme_2 [INFO] [stdout] test_prefer_center [INFO] [stdout] [INFO] [stdout] test result: FAILED. 16 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--bin battlesnake' [INFO] running `Command { std: "docker" "inspect" "d1e7809b980ba2cd1c4cb88bab9486f701f192a03b043f2ec5fb2cad6f3cb31d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1e7809b980ba2cd1c4cb88bab9486f701f192a03b043f2ec5fb2cad6f3cb31d", kill_on_drop: false }` [INFO] [stdout] d1e7809b980ba2cd1c4cb88bab9486f701f192a03b043f2ec5fb2cad6f3cb31d