[INFO] cloning repository https://github.com/drakeor/guildsim
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/drakeor/guildsim" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdrakeor%2Fguildsim", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdrakeor%2Fguildsim'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 510f0207de21ea5a0942d23d945a4d32ed19ad1f
[INFO] checking drakeor/guildsim against try#2cbf9c3ff35600794d69a7dc7ab399810a067910 for pr-129249-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdrakeor%2Fguildsim" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/drakeor/guildsim
[INFO] finished tweaking git repo https://github.com/drakeor/guildsim
[INFO] tweaked toml for git repo https://github.com/drakeor/guildsim written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/drakeor/guildsim on toolchain 2cbf9c3ff35600794d69a7dc7ab399810a067910
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2cbf9c3ff35600794d69a7dc7ab399810a067910" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/drakeor/guildsim 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" "+2cbf9c3ff35600794d69a7dc7ab399810a067910" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `guildsim` (manifest) generated 1 warning
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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] 555b9a13010ca8902747e1794ca5860006f51f9f5f5c87d82466e8e4edceb6ab
[INFO] running `Command { std: "docker" "start" "555b9a13010ca8902747e1794ca5860006f51f9f5f5c87d82466e8e4edceb6ab", 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" "555b9a13010ca8902747e1794ca5860006f51f9f5f5c87d82466e8e4edceb6ab" "/opt/rustwide/cargo-home/bin/cargo" "+2cbf9c3ff35600794d69a7dc7ab399810a067910" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "555b9a13010ca8902747e1794ca5860006f51f9f5f5c87d82466e8e4edceb6ab", 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" "555b9a13010ca8902747e1794ca5860006f51f9f5f5c87d82466e8e4edceb6ab" "/opt/rustwide/cargo-home/bin/cargo" "+2cbf9c3ff35600794d69a7dc7ab399810a067910" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `guildsim` (manifest) generated 1 warning
[INFO] [stderr]     Checking libc v0.2.42
[INFO] [stderr]     Checking rand_core v0.2.1
[INFO] [stderr]     Checking rand v0.5.2
[INFO] [stderr]     Checking guildsim v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `player`
[INFO] [stdout]    --> src/main.rs:143:19
[INFO] [stdout]     |
[INFO] [stdout] 143 | fn calc_socialize(player: &Player) -> i32 {
[INFO] [stdout]     |                   ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c_player`
[INFO] [stdout]    --> src/main.rs:270:16
[INFO] [stdout]     |
[INFO] [stdout] 270 | fn do_ai_basic(c_player: usize, players: &Vec<Player>) -> VecDeque<TurnAction> {
[INFO] [stdout]     |                ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_c_player`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `players`
[INFO] [stdout]    --> src/main.rs:270:33
[INFO] [stdout]     |
[INFO] [stdout] 270 | fn do_ai_basic(c_player: usize, players: &Vec<Player>) -> VecDeque<TurnAction> {
[INFO] [stdout]     |                                 ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_players`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:284:9
[INFO] [stdout]     |
[INFO] [stdout] 284 |     let mut is_running = true;
[INFO] [stdout]     |         ----^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:307:13
[INFO] [stdout]     |
[INFO] [stdout] 307 |         let mut task_buf : VecDeque<TurnAction> = VecDeque::new();
[INFO] [stdout]     |             ----^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `task_buf`
[INFO] [stdout]    --> src/main.rs:307:13
[INFO] [stdout]     |
[INFO] [stdout] 307 |         let mut task_buf : VecDeque<TurnAction> = VecDeque::new();
[INFO] [stdout]     |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_task_buf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BASE_ENTERTAIN_FAVOR_INCREASE` is never used
[INFO] [stdout]   --> src/main.rs:16:7
[INFO] [stdout]    |
[INFO] [stdout] 16 | const BASE_ENTERTAIN_FAVOR_INCREASE: i32 = 2;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Office` is never constructed
[INFO] [stdout]   --> src/main.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | enum TurnTask {
[INFO] [stdout]    |      -------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 33 |     Office,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TurnTask` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Office` is never constructed
[INFO] [stdout]   --> src/main.rs:48:8
[INFO] [stdout]    |
[INFO] [stdout] 48 | struct Office {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `action_exists` is never used
[INFO] [stdout]   --> src/main.rs:95:4
[INFO] [stdout]    |
[INFO] [stdout] 95 | fn action_exists(l_task: TurnTask, queue: &VecDeque<TurnAction>) -> bool {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `player`
[INFO] [stdout]    --> src/main.rs:143:19
[INFO] [stdout]     |
[INFO] [stdout] 143 | fn calc_socialize(player: &Player) -> i32 {
[INFO] [stdout]     |                   ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.39s
[INFO] [stdout] warning: unused variable: `c_player`
[INFO] [stdout]    --> src/main.rs:270:16
[INFO] [stdout]     |
[INFO] [stdout] 270 | fn do_ai_basic(c_player: usize, players: &Vec<Player>) -> VecDeque<TurnAction> {
[INFO] [stdout]     |                ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_c_player`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `players`
[INFO] [stdout]    --> src/main.rs:270:33
[INFO] [stdout]     |
[INFO] [stdout] 270 | fn do_ai_basic(c_player: usize, players: &Vec<Player>) -> VecDeque<TurnAction> {
[INFO] [stdout]     |                                 ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_players`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:284:9
[INFO] [stdout]     |
[INFO] [stdout] 284 |     let mut is_running = true;
[INFO] [stdout]     |         ----^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:307:13
[INFO] [stdout]     |
[INFO] [stdout] 307 |         let mut task_buf : VecDeque<TurnAction> = VecDeque::new();
[INFO] [stdout]     |             ----^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `task_buf`
[INFO] [stdout]    --> src/main.rs:307:13
[INFO] [stdout]     |
[INFO] [stdout] 307 |         let mut task_buf : VecDeque<TurnAction> = VecDeque::new();
[INFO] [stdout]     |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_task_buf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BASE_ENTERTAIN_FAVOR_INCREASE` is never used
[INFO] [stdout]   --> src/main.rs:16:7
[INFO] [stdout]    |
[INFO] [stdout] 16 | const BASE_ENTERTAIN_FAVOR_INCREASE: i32 = 2;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Office` is never constructed
[INFO] [stdout]   --> src/main.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | enum TurnTask {
[INFO] [stdout]    |      -------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 33 |     Office,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TurnTask` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Office` is never constructed
[INFO] [stdout]   --> src/main.rs:48:8
[INFO] [stdout]    |
[INFO] [stdout] 48 | struct Office {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `action_exists` is never used
[INFO] [stdout]   --> src/main.rs:95:4
[INFO] [stdout]    |
[INFO] [stdout] 95 | fn action_exists(l_task: TurnTask, queue: &VecDeque<TurnAction>) -> bool {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "555b9a13010ca8902747e1794ca5860006f51f9f5f5c87d82466e8e4edceb6ab", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "555b9a13010ca8902747e1794ca5860006f51f9f5f5c87d82466e8e4edceb6ab", kill_on_drop: false }`
[INFO] [stdout] 555b9a13010ca8902747e1794ca5860006f51f9f5f5c87d82466e8e4edceb6ab
