[INFO] cloning repository https://github.com/datasektionen/flowcash [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/datasektionen/flowcash" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdatasektionen%2Fflowcash", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdatasektionen%2Fflowcash'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6da682e34f099e55585dc7ea401e3984b1dd2deb [INFO] checking datasektionen/flowcash against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdatasektionen%2Fflowcash" "/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/datasektionen/flowcash [INFO] finished tweaking git repo https://github.com/datasektionen/flowcash [INFO] tweaked toml for git repo https://github.com/datasektionen/flowcash written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/datasektionen/flowcash on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/datasektionen/flowcash 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 43baf92e6004268464a7326553d1d36a3469ec3c9a2573982fce4c019fc8d23c [INFO] running `Command { std: "docker" "start" "-a" "43baf92e6004268464a7326553d1d36a3469ec3c9a2573982fce4c019fc8d23c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "43baf92e6004268464a7326553d1d36a3469ec3c9a2573982fce4c019fc8d23c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43baf92e6004268464a7326553d1d36a3469ec3c9a2573982fce4c019fc8d23c", kill_on_drop: false }` [INFO] [stdout] 43baf92e6004268464a7326553d1d36a3469ec3c9a2573982fce4c019fc8d23c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 22a9920aeff9577c1e60623d08ab84c3009957891235a20e0ef7f8573c7ba67a [INFO] running `Command { std: "docker" "start" "-a" "22a9920aeff9577c1e60623d08ab84c3009957891235a20e0ef7f8573c7ba67a", kill_on_drop: false }` [INFO] [stderr] Checking flowcash v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `player_id` [INFO] [stdout] --> src/lib.rs:63:39 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn take_stock_tips(&mut self, player_id: usize) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_id` [INFO] [stdout] --> src/lib.rs:73:41 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn take_finance_news(&mut self, player_id: usize) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `stock_tips`, `finance_news`, `obligations`, `shares`, and `companies` are never read [INFO] [stdout] --> src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct GameState<'a> { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 3 | players: Vec>, [INFO] [stdout] 4 | stock_tips: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 5 | finance_news: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 6 | obligations: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 7 | shares: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | companies: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GameState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `money`, `loan_count`, `owned_companies`, and `owned_shares` are never read [INFO] [stdout] --> src/lib.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 85 | struct Player<'a> { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 89 | money: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 90 | loan_count: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 91 | owned_companies: Vec<&'a Company>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 92 | owned_shares: Vec<&'a Share>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Player` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pos` is never used [INFO] [stdout] --> src/lib.rs:163:12 [INFO] [stdout] | [INFO] [stdout] 137 | impl BoardPos { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 163 | pub fn pos(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_id` [INFO] [stdout] --> src/lib.rs:63:39 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn take_stock_tips(&mut self, player_id: usize) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_id` [INFO] [stdout] --> src/lib.rs:73:41 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn take_finance_news(&mut self, player_id: usize) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `stock_tips`, `finance_news`, `obligations`, `shares`, and `companies` are never read [INFO] [stdout] --> src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct GameState<'a> { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 3 | players: Vec>, [INFO] [stdout] 4 | stock_tips: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 5 | finance_news: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 6 | obligations: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 7 | shares: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | companies: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GameState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `money`, `loan_count`, `owned_companies`, and `owned_shares` are never read [INFO] [stdout] --> src/lib.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 85 | struct Player<'a> { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 89 | money: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 90 | loan_count: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 91 | owned_companies: Vec<&'a Company>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 92 | owned_shares: Vec<&'a Share>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Player` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pos` is never used [INFO] [stdout] --> src/lib.rs:163:12 [INFO] [stdout] | [INFO] [stdout] 137 | impl BoardPos { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 163 | pub fn pos(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `ai_behavior_system` [INFO] [stdout] --> src/main.rs:10:61 [INFO] [stdout] | [INFO] [stdout] 10 | player_control_system(&mut game_state, &input_state) [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 11 | ai_behavior_system(&mut game_state); [INFO] [stdout] | ------------------ unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `ai_behavior_system` [INFO] [stdout] --> src/main.rs:10:61 [INFO] [stdout] | [INFO] [stdout] 10 | player_control_system(&mut game_state, &input_state) [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 11 | ai_behavior_system(&mut game_state); [INFO] [stdout] | ------------------ unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `game` in this scope [INFO] [stdout] --> src/main.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | render_system(&mut game); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `game` in this scope [INFO] [stdout] --> src/main.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | audio_system(&mut game); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `flowcash::*` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use flowcash::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `initial_game_state` in this scope [INFO] [stdout] --> src/main.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | let mut game_state = initial_game_state(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `capture_input_state` in this scope [INFO] [stdout] --> src/main.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | let input_state = capture_input_state(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ai_behavior_system` in this scope [INFO] [stdout] --> src/main.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | ai_behavior_system(&mut game_state); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `render_system` in this scope [INFO] [stdout] --> src/main.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | render_system(&mut game); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `audio_system` in this scope [INFO] [stdout] --> src/main.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | audio_system(&mut game); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `flowcash` (bin "flowcash") due to 8 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0425]: cannot find value `game` in this scope [INFO] [stdout] --> src/main.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | render_system(&mut game); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `game` in this scope [INFO] [stdout] --> src/main.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | audio_system(&mut game); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `flowcash::*` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use flowcash::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `initial_game_state` in this scope [INFO] [stdout] --> src/main.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | let mut game_state = initial_game_state(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `capture_input_state` in this scope [INFO] [stdout] --> src/main.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | let input_state = capture_input_state(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ai_behavior_system` in this scope [INFO] [stdout] --> src/main.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | ai_behavior_system(&mut game_state); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `render_system` in this scope [INFO] [stdout] --> src/main.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | render_system(&mut game); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `audio_system` in this scope [INFO] [stdout] --> src/main.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | audio_system(&mut game); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `flowcash` (bin "flowcash" test) due to 8 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "22a9920aeff9577c1e60623d08ab84c3009957891235a20e0ef7f8573c7ba67a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22a9920aeff9577c1e60623d08ab84c3009957891235a20e0ef7f8573c7ba67a", kill_on_drop: false }` [INFO] [stdout] 22a9920aeff9577c1e60623d08ab84c3009957891235a20e0ef7f8573c7ba67a