[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 master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdrakeor%2Fguildsim" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/drakeor/guildsim on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-14/source/Cargo.toml [INFO] crate git repo https://github.com/drakeor/guildsim already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c9031b05c44252a7d97e6365be59bc1293fb59ea451d4443c2e9113eabbd7c6c [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" "c9031b05c44252a7d97e6365be59bc1293fb59ea451d4443c2e9113eabbd7c6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c9031b05c44252a7d97e6365be59bc1293fb59ea451d4443c2e9113eabbd7c6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9031b05c44252a7d97e6365be59bc1293fb59ea451d4443c2e9113eabbd7c6c", kill_on_drop: false }` [INFO] [stdout] c9031b05c44252a7d97e6365be59bc1293fb59ea451d4443c2e9113eabbd7c6c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 953c94f8683f694ec54142cd49c597b97f6a37d4b94b6ffaad1dc3a90fe5da3e [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" "953c94f8683f694ec54142cd49c597b97f6a37d4b94b6ffaad1dc3a90fe5da3e", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.42 [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)]` 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) -> VecDeque { [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) -> VecDeque { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_players` [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 = VecDeque::new(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_task_buf` [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)]` 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) -> VecDeque { [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) -> VecDeque { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_players` [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 = VecDeque::new(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_task_buf` [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)]` 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 = VecDeque::new(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `BASE_ENTERTAIN_FAVOR_INCREASE` [INFO] [stdout] --> src/main.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | const BASE_ENTERTAIN_FAVOR_INCREASE: i32 = 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Office` [INFO] [stdout] --> src/main.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | Office, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Office` [INFO] [stdout] --> src/main.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | struct Office { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `action_exists` [INFO] [stdout] --> src/main.rs:95:4 [INFO] [stdout] | [INFO] [stdout] 95 | fn action_exists(l_task: TurnTask, queue: &VecDeque) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [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)]` 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 = VecDeque::new(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `BASE_ENTERTAIN_FAVOR_INCREASE` [INFO] [stdout] --> src/main.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | const BASE_ENTERTAIN_FAVOR_INCREASE: i32 = 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Office` [INFO] [stdout] --> src/main.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | Office, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Office` [INFO] [stdout] --> src/main.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | struct Office { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `action_exists` [INFO] [stdout] --> src/main.rs:95:4 [INFO] [stdout] | [INFO] [stdout] 95 | fn action_exists(l_task: TurnTask, queue: &VecDeque) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.34s [INFO] running `Command { std: "docker" "inspect" "953c94f8683f694ec54142cd49c597b97f6a37d4b94b6ffaad1dc3a90fe5da3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "953c94f8683f694ec54142cd49c597b97f6a37d4b94b6ffaad1dc3a90fe5da3e", kill_on_drop: false }` [INFO] [stdout] 953c94f8683f694ec54142cd49c597b97f6a37d4b94b6ffaad1dc3a90fe5da3e