[INFO] cloning repository https://github.com/theor/goap
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/theor/goap" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftheor%2Fgoap", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftheor%2Fgoap'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 42f905392149bbb60397b550a73994a31f8af170
[INFO] checking theor/goap against master#485ec3fbcc12fa14ef6596dabb125ad710499c9e for pr-157710
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftheor%2Fgoap" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/theor/goap
[INFO] finished tweaking git repo https://github.com/theor/goap
[INFO] tweaked toml for git repo https://github.com/theor/goap written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/theor/goap on toolchain 485ec3fbcc12fa14ef6596dabb125ad710499c9e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+485ec3fbcc12fa14ef6596dabb125ad710499c9e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/theor/goap 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" "+485ec3fbcc12fa14ef6596dabb125ad710499c9e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded pkg-config v0.3.15
[INFO] [stderr]   Downloaded percent-encoding v2.0.0
[INFO] [stderr]   Downloaded pathfinding v1.1.12
[INFO] [stderr]   Downloaded winit v0.19.2
[INFO] [stderr]   Downloaded base-x v0.2.5
[INFO] [stderr]   Downloaded twox-hash v1.4.2
[INFO] [stderr]   Downloaded stdweb v0.4.18
[INFO] [stderr]   Downloaded gl_generator v0.13.0
[INFO] [stderr]   Downloaded bumpalo v2.5.0
[INFO] [stderr]   Downloaded nix v0.11.1
[INFO] [stderr]   Downloaded glyph_brush v0.5.3
[INFO] [stderr]   Downloaded image v0.22.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 7cc0278a0b254fad5ef5f7b471707f85a724bca14e8f09580da1e7b6e586dd9a
[INFO] running `Command { std: "docker" "start" "7cc0278a0b254fad5ef5f7b471707f85a724bca14e8f09580da1e7b6e586dd9a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7cc0278a0b254fad5ef5f7b471707f85a724bca14e8f09580da1e7b6e586dd9a" "/opt/rustwide/cargo-home/bin/cargo" "+485ec3fbcc12fa14ef6596dabb125ad710499c9e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7cc0278a0b254fad5ef5f7b471707f85a724bca14e8f09580da1e7b6e586dd9a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7cc0278a0b254fad5ef5f7b471707f85a724bca14e8f09580da1e7b6e586dd9a" "/opt/rustwide/cargo-home/bin/cargo" "+485ec3fbcc12fa14ef6596dabb125ad710499c9e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v0.1.5
[INFO] [stderr]    Compiling libc v0.2.60
[INFO] [stderr]    Compiling cc v1.0.38
[INFO] [stderr]    Compiling serde v1.0.98
[INFO] [stderr]    Compiling syn v0.15.42
[INFO] [stderr]    Compiling xml-rs v0.8.0
[INFO] [stderr]    Compiling cfg-if v0.1.9
[INFO] [stderr]    Compiling byteorder v1.3.2
[INFO] [stderr]    Compiling arrayvec v0.4.11
[INFO] [stderr]    Compiling pkg-config v0.3.15
[INFO] [stderr]     Checking crossbeam-utils v0.6.6
[INFO] [stderr]     Checking linked-hash-map v0.5.2
[INFO] [stderr]    Compiling version_check v0.1.5
[INFO] [stderr]     Checking smallvec v0.6.10
[INFO] [stderr]    Compiling ryu v1.0.0
[INFO] [stderr]    Compiling rustc-demangle v0.1.15
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]     Checking downcast-rs v1.0.4
[INFO] [stderr]    Compiling error-chain v0.12.1
[INFO] [stderr]    Compiling crc32fast v1.2.0
[INFO] [stderr]    Compiling libm v0.1.4
[INFO] [stderr]    Compiling itoa v0.4.4
[INFO] [stderr]    Compiling num-traits v0.2.8
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]     Checking stb_truetype v0.2.6
[INFO] [stderr]     Checking rustc-hash v1.0.1
[INFO] [stderr]    Compiling x11-dl v2.18.3
[INFO] [stderr]    Compiling num-complex v0.2.3
[INFO] [stderr]    Compiling num-integer v0.1.41
[INFO] [stderr]    Compiling typenum v1.10.0
[INFO] [stderr]    Compiling rand v0.4.6
[INFO] [stderr]    Compiling alsa-sys v0.1.2
[INFO] [stderr]    Compiling gl_generator v0.11.0
[INFO] [stderr]    Compiling wayland-scanner v0.21.13
[INFO] [stderr]    Compiling libudev-sys v0.1.4
[INFO] [stderr]     Checking draw_state v0.8.0
[INFO] [stderr]     Checking lock_api v0.2.0
[INFO] [stderr]    Compiling bitflags v1.1.0
[INFO] [stderr]    Compiling remove_dir_all v0.5.2
[INFO] [stderr]    Compiling nix v0.11.1
[INFO] [stderr]    Compiling same-file v1.0.5
[INFO] [stderr]     Checking rand_os v0.1.3
[INFO] [stderr]     Checking num_cpus v1.10.1
[INFO] [stderr]     Checking nix v0.14.1
[INFO] [stderr]     Checking memmap v0.7.0
[INFO] [stderr]     Checking adler32 v1.0.3
[INFO] [stderr]    Compiling walkdir v2.2.9
[INFO] [stderr]     Checking shared_library v0.1.9
[INFO] [stderr]    Compiling pulldown-cmark v0.2.0
[INFO] [stderr]     Checking approx v0.3.2
[INFO] [stderr]    Compiling libloading v0.5.2
[INFO] [stderr]    Compiling backtrace-sys v0.1.31
[INFO] [stderr]     Checking ordered-float v1.0.2
[INFO] [stderr]     Checking line_drawing v0.7.0
[INFO] [stderr]    Compiling bzip2-sys v0.1.7
[INFO] [stderr]    Compiling minimp3-sys v0.3.1
[INFO] [stderr]     Checking num-traits v0.1.43
[INFO] [stderr]    Compiling gfx_gl v0.6.0
[INFO] [stderr]    Compiling glutin_glx_sys v0.1.5
[INFO] [stderr]    Compiling glutin_egl_sys v0.1.3
[INFO] [stderr]     Checking dlib v0.4.1
[INFO] [stderr]     Checking sid v0.5.2
[INFO] [stderr]     Checking wayland-sys v0.21.13
[INFO] [stderr]    Compiling tempdir v0.3.7
[INFO] [stderr]    Compiling num-iter v0.1.39
[INFO] [stderr]    Compiling num-rational v0.2.2
[INFO] [stderr]    Compiling bytecount v0.4.0
[INFO] [stderr]     Checking mint v0.5.1
[INFO] [stderr]    Compiling wayland-client v0.21.13
[INFO] [stderr]    Compiling wayland-protocols v0.21.13
[INFO] [stderr]     Checking percent-encoding v2.0.0
[INFO] [stderr]     Checking rawpointer v0.1.0
[INFO] [stderr]    Compiling glob v0.2.11
[INFO] [stderr]     Checking matrixmultiply v0.2.2
[INFO] [stderr]    Compiling backtrace v0.3.34
[INFO] [stderr]     Checking generic-array v0.12.3
[INFO] [stderr]     Checking osmesa-sys v0.1.2
[INFO] [stderr]     Checking inflate v0.4.5
[INFO] [stderr]     Checking deflate v0.7.20
[INFO] [stderr]     Checking slice-deque v0.2.4
[INFO] [stderr]     Checking ogg v0.7.0
[INFO] [stderr]     Checking alga v0.9.1
[INFO] [stderr]     Checking color_quant v1.0.1
[INFO] [stderr]     Checking xi-unicode v0.1.0
[INFO] [stderr]     Checking uuid v0.7.4
[INFO] [stderr]     Checking lewton v0.9.4
[INFO] [stderr]     Checking bzip2 v0.3.3
[INFO] [stderr]     Checking cpal v0.8.2
[INFO] [stderr]     Checking gif v0.10.2
[INFO] [stderr]     Checking minimp3 v0.3.3
[INFO] [stderr]     Checking png v0.15.0
[INFO] [stderr]     Checking twox-hash v1.4.2
[INFO] [stderr]     Checking dirs-sys v0.3.4
[INFO] [stderr]     Checking jpeg-decoder v0.1.15
[INFO] [stderr]     Checking either v1.5.2
[INFO] [stderr]     Checking claxon v0.4.2
[INFO] [stderr]    Compiling cgmath v0.17.0
[INFO] [stderr]     Checking podio v0.1.6
[INFO] [stderr]     Checking itertools v0.8.0
[INFO] [stderr]     Checking wayland-commons v0.21.13
[INFO] [stderr]     Checking directories v2.0.2
[INFO] [stderr]     Checking zip v0.5.2
[INFO] [stderr]     Checking indexmap v1.0.2
[INFO] [stderr]     Checking fixedbitset v0.1.9
[INFO] [stderr]     Checking nalgebra v0.18.0
[INFO] [stderr]     Checking pathfinding v1.1.12
[INFO] [stderr]     Checking gilrs-core v0.2.2
[INFO] [stderr]     Checking gilrs v0.7.1
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling serde_json v1.0.40
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling memoffset v0.5.1
[INFO] [stderr]    Compiling parking_lot_core v0.5.0
[INFO] [stderr]    Compiling parking_lot v0.8.0
[INFO] [stderr]     Checking crossbeam-epoch v0.7.2
[INFO] [stderr]     Checking crossbeam-deque v0.7.1
[INFO] [stderr]    Compiling euclid_macros v0.1.0
[INFO] [stderr]    Compiling serde_derive v1.0.98
[INFO] [stderr]    Compiling derivative v1.0.2
[INFO] [stderr]    Compiling num-derive v0.2.5
[INFO] [stderr]    Compiling smart-default v0.5.2
[INFO] [stderr]     Checking rusttype v0.7.7
[INFO] [stderr]     Checking andrew v0.2.1
[INFO] [stderr]     Checking glyph_brush_layout v0.1.6
[INFO] [stderr]     Checking euclid v0.19.9
[INFO] [stderr]     Checking glyph_brush v0.5.3
[INFO] [stderr]     Checking lyon_geom v0.12.7
[INFO] [stderr]     Checking tiff v0.3.1
[INFO] [stderr]     Checking gfx_core v0.9.1
[INFO] [stderr]     Checking image v0.22.0
[INFO] [stderr]     Checking toml v0.5.1
[INFO] [stderr]     Checking lyon_path v0.13.2
[INFO] [stderr]     Checking lyon_algorithms v0.13.4
[INFO] [stderr]     Checking lyon_tessellation v0.13.5
[INFO] [stderr]     Checking lyon v0.13.5
[INFO] [stderr]     Checking gfx_device_gl v0.16.1
[INFO] [stderr]     Checking gfx v0.18.1
[INFO] [stderr]    Compiling cargo_metadata v0.6.4
[INFO] [stderr]    Compiling skeptic v0.13.4
[INFO] [stderr]    Compiling ggez v0.5.1
[INFO] [stderr]     Checking rodio v0.9.0
[INFO] [stderr]     Checking smithay-client-toolkit v0.4.6
[INFO] [stderr]     Checking winit v0.19.2
[INFO] [stderr]     Checking glutin v0.20.0
[INFO] [stderr]     Checking gfx_window_glutin v0.30.0
[INFO] [stderr]     Checking goap v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `cgmath`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use cgmath;
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Color` and `DrawMode`
[INFO] [stdout]   --> src/main.rs:10:22
[INFO] [stdout]    |
[INFO] [stdout] 10 | use ggez::graphics::{Color, DrawMode, DrawParam};
[INFO] [stdout]    |                      ^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `cgmath`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use cgmath;
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Color` and `DrawMode`
[INFO] [stdout]   --> src/main.rs:10:22
[INFO] [stdout]    |
[INFO] [stdout] 10 | use ggez::graphics::{Color, DrawMode, DrawParam};
[INFO] [stdout]    |                      ^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/goap.rs:97:54
[INFO] [stdout]    |
[INFO] [stdout] 97 |     fn predecessors<'a>(n: &Step<'a>, actions: &[&'a Action]) -> Vec<(Step<'a>, i32)> {
[INFO] [stdout]    |                                                      ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 97 |     fn predecessors<'a>(n: &Step<'a>, actions: &[&'a dyn Action]) -> Vec<(Step<'a>, i32)> {
[INFO] [stdout]    |                                                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/goap.rs:109:66
[INFO] [stdout]     |
[INFO] [stdout] 109 |     pub fn find_path(start: &Context, end: &Context, actions: &[&Action]) {
[INFO] [stdout]     |                                                                  ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 109 |     pub fn find_path(start: &Context, end: &Context, actions: &[&dyn Action]) {
[INFO] [stdout]     |                                                                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ch`
[INFO] [stdout]   --> src/goap.rs:54:20
[INFO] [stdout]    |
[INFO] [stdout] 54 |     fn exec(&self, ch: &mut crate::Char, state: &mut crate::MainState) {}
[INFO] [stdout]    |                    ^^ help: if this is intentional, prefix it with an underscore: `_ch`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]   --> src/goap.rs:54:42
[INFO] [stdout]    |
[INFO] [stdout] 54 |     fn exec(&self, ch: &mut crate::Char, state: &mut crate::MainState) {}
[INFO] [stdout]    |                                          ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/goap.rs:97:54
[INFO] [stdout]    |
[INFO] [stdout] 97 |     fn predecessors<'a>(n: &Step<'a>, actions: &[&'a Action]) -> Vec<(Step<'a>, i32)> {
[INFO] [stdout]    |                                                      ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 97 |     fn predecessors<'a>(n: &Step<'a>, actions: &[&'a dyn Action]) -> Vec<(Step<'a>, i32)> {
[INFO] [stdout]    |                                                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/goap.rs:109:66
[INFO] [stdout]     |
[INFO] [stdout] 109 |     pub fn find_path(start: &Context, end: &Context, actions: &[&Action]) {
[INFO] [stdout]     |                                                                  ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 109 |     pub fn find_path(start: &Context, end: &Context, actions: &[&dyn Action]) {
[INFO] [stdout]     |                                                                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/main.rs:80:12
[INFO] [stdout]    |
[INFO] [stdout] 80 |     fn new(ctx: &mut Context) -> GameResult<MainState> {
[INFO] [stdout]    |            ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `has_axe` and `wood` are never read
[INFO] [stdout]   --> src/main.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | struct Char {
[INFO] [stdout]    |        ---- fields in this struct
[INFO] [stdout] 26 |     pos: Pos,
[INFO] [stdout] 27 |     has_axe: bool,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 28 |     wood: u8,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Char` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_state` is never used
[INFO] [stdout]   --> src/main.rs:61:12
[INFO] [stdout]    |
[INFO] [stdout] 53 | impl Char {
[INFO] [stdout]    | --------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 61 |     pub fn to_state(&self) -> StateFlag {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Context` is never constructed
[INFO] [stdout]   --> src/goap.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | struct Context {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `with_state`, and `would_be_reached_by` are never used
[INFO] [stdout]   --> src/goap.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl Context {
[INFO] [stdout]    | ------------ associated items in this implementation
[INFO] [stdout] 20 |     pub fn new() -> Self { Self { state: StateFlag::NONE } }
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 21 |     pub fn with_state(state: StateFlag) -> Self { Self { state } }
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 22 |     pub fn would_be_reached_by(&self, a: &dyn Action) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Action` is never used
[INFO] [stdout]   --> src/goap.rs:39:7
[INFO] [stdout]    |
[INFO] [stdout] 39 | trait Action: Debug {
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ChopWood` is never constructed
[INFO] [stdout]   --> src/goap.rs:49:8
[INFO] [stdout]    |
[INFO] [stdout] 49 | struct ChopWood;
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CollectBranches` is never constructed
[INFO] [stdout]   --> src/goap.rs:58:8
[INFO] [stdout]    |
[INFO] [stdout] 58 | struct CollectBranches;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GetAxe` is never constructed
[INFO] [stdout]   --> src/goap.rs:66:8
[INFO] [stdout]    |
[INFO] [stdout] 66 | struct GetAxe;
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Step` is never constructed
[INFO] [stdout]   --> src/goap.rs:75:8
[INFO] [stdout]    |
[INFO] [stdout] 75 | struct Step<'a> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Planner` is never constructed
[INFO] [stdout]   --> src/goap.rs:94:8
[INFO] [stdout]    |
[INFO] [stdout] 94 | struct Planner;
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `predecessors` and `find_path` are never used
[INFO] [stdout]    --> src/goap.rs:97:8
[INFO] [stdout]     |
[INFO] [stdout]  96 | impl Planner {
[INFO] [stdout]     | ------------ associated functions in this implementation
[INFO] [stdout]  97 |     fn predecessors<'a>(n: &Step<'a>, actions: &[&'a Action]) -> Vec<(Step<'a>, i32)> {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 109 |     pub fn find_path(start: &Context, end: &Context, actions: &[&Action]) {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ch`
[INFO] [stdout]   --> src/goap.rs:54:20
[INFO] [stdout]    |
[INFO] [stdout] 54 |     fn exec(&self, ch: &mut crate::Char, state: &mut crate::MainState) {}
[INFO] [stdout]    |                    ^^ help: if this is intentional, prefix it with an underscore: `_ch`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]   --> src/goap.rs:54:42
[INFO] [stdout]    |
[INFO] [stdout] 54 |     fn exec(&self, ch: &mut crate::Char, state: &mut crate::MainState) {}
[INFO] [stdout]    |                                          ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/main.rs:80:12
[INFO] [stdout]    |
[INFO] [stdout] 80 |     fn new(ctx: &mut Context) -> GameResult<MainState> {
[INFO] [stdout]    |            ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `has_axe` and `wood` are never read
[INFO] [stdout]   --> src/main.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | struct Char {
[INFO] [stdout]    |        ---- fields in this struct
[INFO] [stdout] 26 |     pos: Pos,
[INFO] [stdout] 27 |     has_axe: bool,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 28 |     wood: u8,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Char` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_state` is never used
[INFO] [stdout]   --> src/main.rs:61:12
[INFO] [stdout]    |
[INFO] [stdout] 53 | impl Char {
[INFO] [stdout]    | --------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 61 |     pub fn to_state(&self) -> StateFlag {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/goap.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl Context {
[INFO] [stdout]    | ------------ associated function in this implementation
[INFO] [stdout] 20 |     pub fn new() -> Self { Self { state: StateFlag::NONE } }
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `exec` is never used
[INFO] [stdout]   --> src/goap.rs:43:8
[INFO] [stdout]    |
[INFO] [stdout] 39 | trait Action: Debug {
[INFO] [stdout]    |       ------ method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 43 |     fn exec(&self, ch: &mut crate::Char, _state: &mut crate::MainState) {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `action` is never read
[INFO] [stdout]   --> src/goap.rs:77:5
[INFO] [stdout]    |
[INFO] [stdout] 75 | struct Step<'a> {
[INFO] [stdout]    |        ---- field in this struct
[INFO] [stdout] 76 |     state: Context,
[INFO] [stdout] 77 |     action: Option<&'a dyn Action>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Step` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 15s
[INFO] running `Command { std: "docker" "inspect" "7cc0278a0b254fad5ef5f7b471707f85a724bca14e8f09580da1e7b6e586dd9a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7cc0278a0b254fad5ef5f7b471707f85a724bca14e8f09580da1e7b6e586dd9a", kill_on_drop: false }`
[INFO] [stdout] 7cc0278a0b254fad5ef5f7b471707f85a724bca14e8f09580da1e7b6e586dd9a
