[INFO] cloning repository https://github.com/samwho/lux-ai-2021
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/samwho/lux-ai-2021" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsamwho%2Flux-ai-2021", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsamwho%2Flux-ai-2021'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 05886e4719fc8d1fc421cc4404213a822b28ee7f
[INFO] checking samwho/lux-ai-2021 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsamwho%2Flux-ai-2021" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/samwho/lux-ai-2021
[INFO] finished tweaking git repo https://github.com/samwho/lux-ai-2021
[INFO] tweaked toml for git repo https://github.com/samwho/lux-ai-2021 written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/samwho/lux-ai-2021 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/samwho/lux-ai-2021 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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: the cargo feature `strip` has been stabilized in the 1.58 release and is no longer necessary to be listed in the manifest
[INFO] [stderr] See https://doc.rust-lang.org/nightly/cargo/reference/profiles.html#strip-option for more information about using this feature.
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6f40f1dc8781d97a00d9639a52885be3a3df9a6e5f02c12d49ca85e54d6f7b53
[INFO] running `Command { std: "docker" "start" "-a" "6f40f1dc8781d97a00d9639a52885be3a3df9a6e5f02c12d49ca85e54d6f7b53", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6f40f1dc8781d97a00d9639a52885be3a3df9a6e5f02c12d49ca85e54d6f7b53", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6f40f1dc8781d97a00d9639a52885be3a3df9a6e5f02c12d49ca85e54d6f7b53", kill_on_drop: false }`
[INFO] [stdout] 6f40f1dc8781d97a00d9639a52885be3a3df9a6e5f02c12d49ca85e54d6f7b53
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2ea43bf4fce63cef210e07aadde64eed49193a84deea47a427e4f98559f71aad
[INFO] running `Command { std: "docker" "start" "-a" "2ea43bf4fce63cef210e07aadde64eed49193a84deea47a427e4f98559f71aad", kill_on_drop: false }`
[INFO] [stderr] warning: the cargo feature `strip` has been stabilized in the 1.58 release and is no longer necessary to be listed in the manifest
[INFO] [stderr] See https://doc.rust-lang.org/nightly/cargo/reference/profiles.html#strip-option for more information about using this feature.
[INFO] [stderr] Compiling proc-macro2 v1.0.29
[INFO] [stderr] Compiling syn v1.0.80
[INFO] [stderr] Compiling serde_derive v1.0.130
[INFO] [stderr] Compiling serde v1.0.130
[INFO] [stderr] Compiling serde_json v1.0.68
[INFO] [stderr] Checking itoa v0.4.8
[INFO] [stderr] Compiling quote v1.0.10
[INFO] [stderr] Compiling thiserror-impl v1.0.30
[INFO] [stderr] Checking thiserror v1.0.30
[INFO] [stderr] Checking lux-ai-api v3.1.0 (/opt/rustwide/workdir/lux)
[INFO] [stderr] Checking lux-bot v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Annotate` and `LuxAiError`
[INFO] [stdout] --> src/main.rs:3:29
[INFO] [stdout] |
[INFO] [stdout] 3 | use lux_ai::{Action, Agent, Annotate, Cell, City, CityTile, Commands, Direction::*, Environment,
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout] 4 | LuxAiError, LuxAiResult, Position, Resource, ResourceType::*, Unit, UnitType::*};
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `Annotate` and `LuxAiError`
[INFO] [stdout] --> src/main.rs:3:29
[INFO] [stdout] |
[INFO] [stdout] 3 | use lux_ai::{Action, Agent, Annotate, Cell, City, CityTile, Commands, Direction::*, Environment,
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout] 4 | LuxAiError, LuxAiResult, Position, Resource, ResourceType::*, Unit, UnitType::*};
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `cart`
[INFO] [stdout] --> src/main.rs:132:29
[INFO] [stdout] |
[INFO] [stdout] 132 | fn turn_cart(&mut self, cart: &Unit) -> LuxAiResult