[INFO] cloning repository https://github.com/qt-dork/alt_league_blaseball [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/qt-dork/alt_league_blaseball" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqt-dork%2Falt_league_blaseball", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqt-dork%2Falt_league_blaseball'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 40838614c850b0c2e890c016b2c4a1eb98fd16c7 [INFO] checking qt-dork/alt_league_blaseball against try#8384de5d92dd9b1c0b67caa5c1c1b11bf606490f for pr-146300 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqt-dork%2Falt_league_blaseball" "/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/qt-dork/alt_league_blaseball [INFO] finished tweaking git repo https://github.com/qt-dork/alt_league_blaseball [INFO] tweaked toml for git repo https://github.com/qt-dork/alt_league_blaseball written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/qt-dork/alt_league_blaseball on toolchain 8384de5d92dd9b1c0b67caa5c1c1b11bf606490f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8384de5d92dd9b1c0b67caa5c1c1b11bf606490f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/qt-dork/alt_league_blaseball 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" "+8384de5d92dd9b1c0b67caa5c1c1b11bf606490f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking qt-dork/alt_league_blaseball against try#8384de5d92dd9b1c0b67caa5c1c1b11bf606490f for pr-146300 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqt-dork%2Falt_league_blaseball" "/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/qt-dork/alt_league_blaseball [INFO] finished tweaking git repo https://github.com/qt-dork/alt_league_blaseball [INFO] tweaked toml for git repo https://github.com/qt-dork/alt_league_blaseball written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/qt-dork/alt_league_blaseball on toolchain 8384de5d92dd9b1c0b67caa5c1c1b11bf606490f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8384de5d92dd9b1c0b67caa5c1c1b11bf606490f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/qt-dork/alt_league_blaseball 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" "+8384de5d92dd9b1c0b67caa5c1c1b11bf606490f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+8384de5d92dd9b1c0b67caa5c1c1b11bf606490f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cde255f8fe62e41e5a99de6621eccf7b2477201a3395f22fe2dedb99e68950f2 [INFO] running `Command { std: "docker" "start" "-a" "cde255f8fe62e41e5a99de6621eccf7b2477201a3395f22fe2dedb99e68950f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cde255f8fe62e41e5a99de6621eccf7b2477201a3395f22fe2dedb99e68950f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cde255f8fe62e41e5a99de6621eccf7b2477201a3395f22fe2dedb99e68950f2", kill_on_drop: false }` [INFO] [stdout] cde255f8fe62e41e5a99de6621eccf7b2477201a3395f22fe2dedb99e68950f2 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+8384de5d92dd9b1c0b67caa5c1c1b11bf606490f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 703147ada61b08b88b3680aefbde7f039ca2f3bd6e176254e3d47762b3ca44b1 [INFO] running `Command { std: "docker" "start" "-a" "703147ada61b08b88b3680aefbde7f039ca2f3bd6e176254e3d47762b3ca44b1", kill_on_drop: false }` [INFO] [stderr] Checking alt_league_blaseball v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: missing parameters for function definition [INFO] [stdout] --> src/league.rs:28:22 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn find_by_name [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: add a parameter list [INFO] [stdout] | [INFO] [stdout] 28 | pub fn find_by_name() [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing parameters for function definition [INFO] [stdout] --> src/league.rs:28:22 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn find_by_name [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: add a parameter list [INFO] [stdout] | [INFO] [stdout] 28 | pub fn find_by_name() [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `->`, `<`, `where`, or `{`, found `}` [INFO] [stdout] --> src/league.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn find_by_name [INFO] [stdout] | ------------- expected one of `->`, `<`, `where`, or `{` [INFO] [stdout] | | [INFO] [stdout] | while parsing this `fn` [INFO] [stdout] 29 | } [INFO] [stdout] | ^ unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `->`, `<`, `where`, or `{`, found `}` [INFO] [stdout] --> src/league.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn find_by_name [INFO] [stdout] | ------------- expected one of `->`, `<`, `where`, or `{` [INFO] [stdout] | | [INFO] [stdout] | while parsing this `fn` [INFO] [stdout] 29 | } [INFO] [stdout] | ^ unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: associated function in `impl` without body [INFO] [stdout] --> src/league.rs:28:3 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn find_by_name [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^- help: provide a definition for the function: `{ }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: associated function in `impl` without body [INFO] [stdout] --> src/league.rs:28:3 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn find_by_name [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^- help: provide a definition for the function: `{ }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `Weather::Clear` [INFO] [stdout] --> src/weather.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 11 | Clear(Random), [INFO] [stdout] | ------------- `Weather::Clear` defined here [INFO] [stdout] ... [INFO] [stdout] 47 | Weather::Clear => {}, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `Weather::Clear(_)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `Weather::Meownsoon` [INFO] [stdout] --> src/weather.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 13 | Meownsoon(Random), // Oh my god it's back [INFO] [stdout] | ----------------- `Weather::Meownsoon` defined here [INFO] [stdout] ... [INFO] [stdout] 49 | Weather::Meownsoon => {}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `Weather::Meownsoon(_)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `Weather::PulsarPulsar` [INFO] [stdout] --> src/weather.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 14 | PulsarPulsar(Random), [INFO] [stdout] | -------------------- `Weather::PulsarPulsar` defined here [INFO] [stdout] ... [INFO] [stdout] 50 | Weather::PulsarPulsar => {}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `Weather::PulsarPulsar(_)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `Weather::SnailMail` [INFO] [stdout] --> src/weather.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 16 | SnailMail(Random), [INFO] [stdout] | ----------------- `Weather::SnailMail` defined here [INFO] [stdout] ... [INFO] [stdout] 52 | Weather::SnailMail => {}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `Weather::SnailMail(_)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `Weather::Clear` [INFO] [stdout] --> src/weather.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 11 | Clear(Random), [INFO] [stdout] | ------------- `Weather::Clear` defined here [INFO] [stdout] ... [INFO] [stdout] 58 | Weather::Clear => {}, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `Weather::Clear(_)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `Weather::Meownsoon` [INFO] [stdout] --> src/weather.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 13 | Meownsoon(Random), // Oh my god it's back [INFO] [stdout] | ----------------- `Weather::Meownsoon` defined here [INFO] [stdout] ... [INFO] [stdout] 60 | Weather::Meownsoon => {}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `Weather::Meownsoon(_)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `Weather::PulsarPulsar` [INFO] [stdout] --> src/weather.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 14 | PulsarPulsar(Random), [INFO] [stdout] | -------------------- `Weather::PulsarPulsar` defined here [INFO] [stdout] ... [INFO] [stdout] 61 | Weather::PulsarPulsar => {}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `Weather::PulsarPulsar(_)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `Weather::SnailMail` [INFO] [stdout] --> src/weather.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 16 | SnailMail(Random), [INFO] [stdout] | ----------------- `Weather::SnailMail` defined here [INFO] [stdout] ... [INFO] [stdout] 87 | Weather::SnailMail => {}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `Weather::SnailMail(_)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `Weather::Clear` [INFO] [stdout] --> src/weather.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 11 | Clear(Random), [INFO] [stdout] | ------------- `Weather::Clear` defined here [INFO] [stdout] ... [INFO] [stdout] 93 | Weather::Clear => {}, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `Weather::Clear(_)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `Weather::Meownsoon` [INFO] [stdout] --> src/weather.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 13 | Meownsoon(Random), // Oh my god it's back [INFO] [stdout] | ----------------- `Weather::Meownsoon` defined here [INFO] [stdout] ... [INFO] [stdout] 97 | Weather::Meownsoon => {}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `Weather::Meownsoon(_)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `Weather::PulsarPulsar` [INFO] [stdout] --> src/weather.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 14 | PulsarPulsar(Random), [INFO] [stdout] | -------------------- `Weather::PulsarPulsar` defined here [INFO] [stdout] ... [INFO] [stdout] 98 | Weather::PulsarPulsar => {}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `Weather::PulsarPulsar(_)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `Weather::SnailMail` [INFO] [stdout] --> src/weather.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 16 | SnailMail(Random), [INFO] [stdout] | ----------------- `Weather::SnailMail` defined here [INFO] [stdout] ... [INFO] [stdout] 99 | Weather::SnailMail => {}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `Weather::SnailMail(_)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `Weather::Clear` [INFO] [stdout] --> src/weather.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 11 | Clear(Random), [INFO] [stdout] | ------------- `Weather::Clear` defined here [INFO] [stdout] ... [INFO] [stdout] 105 | Weather::Clear => {}, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `Weather::Clear(_)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `Weather::Meownsoon` [INFO] [stdout] --> src/weather.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 13 | Meownsoon(Random), // Oh my god it's back [INFO] [stdout] | ----------------- `Weather::Meownsoon` defined here [INFO] [stdout] ... [INFO] [stdout] 107 | Weather::Meownsoon => {}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `Weather::Meownsoon(_)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `Weather::PulsarPulsar` [INFO] [stdout] --> src/weather.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 14 | PulsarPulsar(Random), [INFO] [stdout] | -------------------- `Weather::PulsarPulsar` defined here [INFO] [stdout] ... [INFO] [stdout] 108 | Weather::PulsarPulsar => {}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `Weather::PulsarPulsar(_)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `Weather::SnailMail` [INFO] [stdout] --> src/weather.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 16 | SnailMail(Random), [INFO] [stdout] | ----------------- `Weather::SnailMail` defined here [INFO] [stdout] ... [INFO] [stdout] 109 | Weather::SnailMail => {}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `Weather::SnailMail(_)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `Weather::Clear` [INFO] [stdout] --> src/weather.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 11 | Clear(Random), [INFO] [stdout] | ------------- `Weather::Clear` defined here [INFO] [stdout] ... [INFO] [stdout] 115 | Weather::Clear => {}, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `Weather::Clear(_)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `Weather::Meownsoon` [INFO] [stdout] --> src/weather.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 13 | Meownsoon(Random), // Oh my god it's back [INFO] [stdout] | ----------------- `Weather::Meownsoon` defined here [INFO] [stdout] ... [INFO] [stdout] 123 | Weather::Meownsoon => {}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `Weather::Meownsoon(_)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `Weather::PulsarPulsar` [INFO] [stdout] --> src/weather.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 14 | PulsarPulsar(Random), [INFO] [stdout] | -------------------- `Weather::PulsarPulsar` defined here [INFO] [stdout] ... [INFO] [stdout] 124 | Weather::PulsarPulsar => {}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `Weather::PulsarPulsar(_)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `Weather::SnailMail` [INFO] [stdout] --> src/weather.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 16 | SnailMail(Random), [INFO] [stdout] | ----------------- `Weather::SnailMail` defined here [INFO] [stdout] ... [INFO] [stdout] 125 | Weather::SnailMail => {}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `Weather::SnailMail(_)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `Weather::Clear` [INFO] [stdout] --> src/weather.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 11 | Clear(Random), [INFO] [stdout] | ------------- `Weather::Clear` defined here [INFO] [stdout] ... [INFO] [stdout] 131 | Weather::Clear => {}, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `Weather::Clear(_)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `Weather::Crabs` [INFO] [stdout] --> src/weather.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 12 | Crabs(Random), [INFO] [stdout] | ------------- `Weather::Crabs` defined here [INFO] [stdout] ... [INFO] [stdout] 132 | Weather::Crabs => {}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use the tuple variant pattern syntax instead [INFO] [stdout] | [INFO] [stdout] 132 | Weather::Crabs(_) => {}, [INFO] [stdout] | +++ [INFO] [stdout] help: consider importing this unit variant instead [INFO] [stdout] | [INFO] [stdout] 4 + use crate::messaging::Message::Crabs; [INFO] [stdout] | [INFO] [stdout] help: if you import `Crabs`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 132 - Weather::Crabs => {}, [INFO] [stdout] 132 + Crabs => {}, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `Weather::Meownsoon` [INFO] [stdout] --> src/weather.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 13 | Meownsoon(Random), // Oh my god it's back [INFO] [stdout] | ----------------- `Weather::Meownsoon` defined here [INFO] [stdout] ... [INFO] [stdout] 133 | Weather::Meownsoon => {}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `Weather::Meownsoon(_)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `Weather::PulsarPulsar` [INFO] [stdout] --> src/weather.rs:134:13 [INFO] [stdout] | [INFO] [stdout] 14 | PulsarPulsar(Random), [INFO] [stdout] | -------------------- `Weather::PulsarPulsar` defined here [INFO] [stdout] ... [INFO] [stdout] 134 | Weather::PulsarPulsar => {}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `Weather::PulsarPulsar(_)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `Weather::SnailMail` [INFO] [stdout] --> src/weather.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 16 | SnailMail(Random), [INFO] [stdout] | ----------------- `Weather::SnailMail` defined here [INFO] [stdout] ... [INFO] [stdout] 135 | Weather::SnailMail => {}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `Weather::SnailMail(_)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Players` in this scope [INFO] [stdout] --> src/league.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | pub players: Players, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Teams` in this scope [INFO] [stdout] --> src/league.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | pub teams: Teams, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Games` in this scope [INFO] [stdout] --> src/league.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | pub games: Games, [INFO] [stdout] | ^^^^^ help: a struct with a similar name exists: `Game` [INFO] [stdout] | [INFO] [stdout] ::: src/game.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Game { [INFO] [stdout] | --------------- similarly named struct `Game` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Players` in this scope [INFO] [stdout] --> src/league.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(players: Players, teams: Teams, games: Games) -> Self { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Teams` in this scope [INFO] [stdout] --> src/league.rs:12:39 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(players: Players, teams: Teams, games: Games) -> Self { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Games` in this scope [INFO] [stdout] --> src/league.rs:12:53 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(players: Players, teams: Teams, games: Games) -> Self { [INFO] [stdout] | ^^^^^ help: a struct with a similar name exists: `Game` [INFO] [stdout] | [INFO] [stdout] ::: src/game.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Game { [INFO] [stdout] | --------------- similarly named struct `Game` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sleep` [INFO] [stdout] --> src/game.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use std::thread::{sleep, self}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `Weather::Clear` [INFO] [stdout] --> src/weather.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 11 | Clear(Random), [INFO] [stdout] | ------------- `Weather::Clear` defined here [INFO] [stdout] ... [INFO] [stdout] 47 | Weather::Clear => {}, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `Weather::Clear(_)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `Weather::Meownsoon` [INFO] [stdout] --> src/weather.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 13 | Meownsoon(Random), // Oh my god it's back [INFO] [stdout] | ----------------- `Weather::Meownsoon` defined here [INFO] [stdout] ... [INFO] [stdout] 49 | Weather::Meownsoon => {}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `Weather::Meownsoon(_)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `Weather::PulsarPulsar` [INFO] [stdout] --> src/weather.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 14 | PulsarPulsar(Random), [INFO] [stdout] | -------------------- `Weather::PulsarPulsar` defined here [INFO] [stdout] ... [INFO] [stdout] 50 | Weather::PulsarPulsar => {}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `Weather::PulsarPulsar(_)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/markov_chain.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `Weather::SnailMail` [INFO] [stdout] --> src/weather.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 16 | SnailMail(Random), [INFO] [stdout] | ----------------- `Weather::SnailMail` defined here [INFO] [stdout] ... [INFO] [stdout] 52 | Weather::SnailMail => {}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `Weather::SnailMail(_)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `Weather::Clear` [INFO] [stdout] --> src/weather.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 11 | Clear(Random), [INFO] [stdout] | ------------- `Weather::Clear` defined here [INFO] [stdout] ... [INFO] [stdout] 58 | Weather::Clear => {}, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `Weather::Clear(_)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::EntityId` [INFO] [stdout] --> src/league.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::utils::EntityId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::game::Game` [INFO] [stdout] --> src/league.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::game::Game; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `Weather::Meownsoon` [INFO] [stdout] --> src/weather.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 13 | Meownsoon(Random), // Oh my god it's back [INFO] [stdout] | ----------------- `Weather::Meownsoon` defined here [INFO] [stdout] ... [INFO] [stdout] 60 | Weather::Meownsoon => {}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `Weather::Meownsoon(_)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `Weather::PulsarPulsar` [INFO] [stdout] --> src/weather.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 14 | PulsarPulsar(Random), [INFO] [stdout] | -------------------- `Weather::PulsarPulsar` defined here [INFO] [stdout] ... [INFO] [stdout] 61 | Weather::PulsarPulsar => {}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `Weather::PulsarPulsar(_)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `Weather::SnailMail` [INFO] [stdout] --> src/weather.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 16 | SnailMail(Random), [INFO] [stdout] | ----------------- `Weather::SnailMail` defined here [INFO] [stdout] ... [INFO] [stdout] 87 | Weather::SnailMail => {}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `Weather::SnailMail(_)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `Weather::Clear` [INFO] [stdout] --> src/weather.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 11 | Clear(Random), [INFO] [stdout] | ------------- `Weather::Clear` defined here [INFO] [stdout] ... [INFO] [stdout] 93 | Weather::Clear => {}, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `Weather::Clear(_)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `Weather::Meownsoon` [INFO] [stdout] --> src/weather.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 13 | Meownsoon(Random), // Oh my god it's back [INFO] [stdout] | ----------------- `Weather::Meownsoon` defined here [INFO] [stdout] ... [INFO] [stdout] 97 | Weather::Meownsoon => {}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `Weather::Meownsoon(_)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `Weather::PulsarPulsar` [INFO] [stdout] --> src/weather.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 14 | PulsarPulsar(Random), [INFO] [stdout] | -------------------- `Weather::PulsarPulsar` defined here [INFO] [stdout] ... [INFO] [stdout] 98 | Weather::PulsarPulsar => {}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `Weather::PulsarPulsar(_)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `Weather::SnailMail` [INFO] [stdout] --> src/weather.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 16 | SnailMail(Random), [INFO] [stdout] | ----------------- `Weather::SnailMail` defined here [INFO] [stdout] ... [INFO] [stdout] 99 | Weather::SnailMail => {}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `Weather::SnailMail(_)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `Weather::Clear` [INFO] [stdout] --> src/weather.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 11 | Clear(Random), [INFO] [stdout] | ------------- `Weather::Clear` defined here [INFO] [stdout] ... [INFO] [stdout] 105 | Weather::Clear => {}, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `Weather::Clear(_)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `Weather::Meownsoon` [INFO] [stdout] --> src/weather.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 13 | Meownsoon(Random), // Oh my god it's back [INFO] [stdout] | ----------------- `Weather::Meownsoon` defined here [INFO] [stdout] ... [INFO] [stdout] 107 | Weather::Meownsoon => {}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `Weather::Meownsoon(_)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `Weather::PulsarPulsar` [INFO] [stdout] --> src/weather.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 14 | PulsarPulsar(Random), [INFO] [stdout] | -------------------- `Weather::PulsarPulsar` defined here [INFO] [stdout] ... [INFO] [stdout] 108 | Weather::PulsarPulsar => {}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `Weather::PulsarPulsar(_)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `Weather::SnailMail` [INFO] [stdout] --> src/weather.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 16 | SnailMail(Random), [INFO] [stdout] | ----------------- `Weather::SnailMail` defined here [INFO] [stdout] ... [INFO] [stdout] 109 | Weather::SnailMail => {}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `Weather::SnailMail(_)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `Weather::Clear` [INFO] [stdout] --> src/weather.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 11 | Clear(Random), [INFO] [stdout] | ------------- `Weather::Clear` defined here [INFO] [stdout] ... [INFO] [stdout] 115 | Weather::Clear => {}, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `Weather::Clear(_)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `Weather::Meownsoon` [INFO] [stdout] --> src/weather.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 13 | Meownsoon(Random), // Oh my god it's back [INFO] [stdout] | ----------------- `Weather::Meownsoon` defined here [INFO] [stdout] ... [INFO] [stdout] 123 | Weather::Meownsoon => {}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `Weather::Meownsoon(_)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `Weather::PulsarPulsar` [INFO] [stdout] --> src/weather.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 14 | PulsarPulsar(Random), [INFO] [stdout] | -------------------- `Weather::PulsarPulsar` defined here [INFO] [stdout] ... [INFO] [stdout] 124 | Weather::PulsarPulsar => {}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `Weather::PulsarPulsar(_)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `Weather::SnailMail` [INFO] [stdout] --> src/weather.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 16 | SnailMail(Random), [INFO] [stdout] | ----------------- `Weather::SnailMail` defined here [INFO] [stdout] ... [INFO] [stdout] 125 | Weather::SnailMail => {}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `Weather::SnailMail(_)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `Weather::Clear` [INFO] [stdout] --> src/weather.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 11 | Clear(Random), [INFO] [stdout] | ------------- `Weather::Clear` defined here [INFO] [stdout] ... [INFO] [stdout] 131 | Weather::Clear => {}, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `Weather::Clear(_)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `Weather::Crabs` [INFO] [stdout] --> src/weather.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 12 | Crabs(Random), [INFO] [stdout] | ------------- `Weather::Crabs` defined here [INFO] [stdout] ... [INFO] [stdout] 132 | Weather::Crabs => {}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use the tuple variant pattern syntax instead [INFO] [stdout] | [INFO] [stdout] 132 | Weather::Crabs(_) => {}, [INFO] [stdout] | +++ [INFO] [stdout] help: consider importing this unit variant instead [INFO] [stdout] | [INFO] [stdout] 4 + use crate::messaging::Message::Crabs; [INFO] [stdout] | [INFO] [stdout] help: if you import `Crabs`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 132 - Weather::Crabs => {}, [INFO] [stdout] 132 + Crabs => {}, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `Weather::Meownsoon` [INFO] [stdout] --> src/weather.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 13 | Meownsoon(Random), // Oh my god it's back [INFO] [stdout] | ----------------- `Weather::Meownsoon` defined here [INFO] [stdout] ... [INFO] [stdout] 133 | Weather::Meownsoon => {}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `Weather::Meownsoon(_)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `Weather::PulsarPulsar` [INFO] [stdout] --> src/weather.rs:134:13 [INFO] [stdout] | [INFO] [stdout] 14 | PulsarPulsar(Random), [INFO] [stdout] | -------------------- `Weather::PulsarPulsar` defined here [INFO] [stdout] ... [INFO] [stdout] 134 | Weather::PulsarPulsar => {}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `Weather::PulsarPulsar(_)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `Weather::SnailMail` [INFO] [stdout] --> src/weather.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 16 | SnailMail(Random), [INFO] [stdout] | ----------------- `Weather::SnailMail` defined here [INFO] [stdout] ... [INFO] [stdout] 135 | Weather::SnailMail => {}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `Weather::SnailMail(_)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Players` in this scope [INFO] [stdout] --> src/league.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | pub players: Players, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Teams` in this scope [INFO] [stdout] --> src/league.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | pub teams: Teams, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Games` in this scope [INFO] [stdout] --> src/league.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | pub games: Games, [INFO] [stdout] | ^^^^^ help: a struct with a similar name exists: `Game` [INFO] [stdout] | [INFO] [stdout] ::: src/game.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Game { [INFO] [stdout] | --------------- similarly named struct `Game` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Players` in this scope [INFO] [stdout] --> src/league.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(players: Players, teams: Teams, games: Games) -> Self { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Teams` in this scope [INFO] [stdout] --> src/league.rs:12:39 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(players: Players, teams: Teams, games: Games) -> Self { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Games` in this scope [INFO] [stdout] --> src/league.rs:12:53 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(players: Players, teams: Teams, games: Games) -> Self { [INFO] [stdout] | ^^^^^ help: a struct with a similar name exists: `Game` [INFO] [stdout] | [INFO] [stdout] ::: src/game.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Game { [INFO] [stdout] | --------------- similarly named struct `Game` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sleep` [INFO] [stdout] --> src/game.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use std::thread::{sleep, self}; [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 import: `std::collections::HashMap` [INFO] [stdout] --> src/markov_chain.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::EntityId` [INFO] [stdout] --> src/league.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::utils::EntityId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::game::Game` [INFO] [stdout] --> src/league.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::game::Game; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Players` [INFO] [stdout] --> src/league.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | players: Players::empty(), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Players` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Teams` [INFO] [stdout] --> src/league.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | teams: Teams::empty(), [INFO] [stdout] | ^^^^^ use of undeclared type `Teams` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Games` [INFO] [stdout] --> src/league.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | games: Games::empty(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Games` [INFO] [stdout] | help: a struct with a similar name exists: `Game` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cur_time` [INFO] [stdout] --> src/game.rs:205:13 [INFO] [stdout] | [INFO] [stdout] 205 | let cur_time = sys_time.as_secs(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cur_time` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_time` [INFO] [stdout] --> src/game.rs:279:13 [INFO] [stdout] | [INFO] [stdout] 279 | let current_time = self.current_time; // See if there's a better way to handle current time? [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 279 | let _current_time = self.current_time; // See if there's a better way to handle current time? [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `TICK` [INFO] [stdout] | [INFO] [stdout] 279 - let current_time = self.current_time; // See if there's a better way to handle current time? [INFO] [stdout] 279 + let game::TICK = self.current_time; // See if there's a better way to handle current time? [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cur_pitcher` [INFO] [stdout] --> src/game.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | let cur_pitcher = self.pitchers_pitching().clone(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cur_pitcher` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player` [INFO] [stdout] --> src/game.rs:408:25 [INFO] [stdout] | [INFO] [stdout] 408 | if let Some(player) = base { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/game.rs:617:13 [INFO] [stdout] | [INFO] [stdout] 617 | for i in 0..self.message_log.len().unwrap() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/team.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | for i in 0..length { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `add` is never read [INFO] [stdout] --> src/name_generator.rs:111:21 [INFO] [stdout] | [INFO] [stdout] 111 | let mut add = 'a'; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `add` is never read [INFO] [stdout] --> src/name_generator.rs:188:21 [INFO] [stdout] | [INFO] [stdout] 188 | let mut add = 'a'; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/name_generator.rs:240:13 [INFO] [stdout] | [INFO] [stdout] 240 | for i in 0..add { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end` [INFO] [stdout] --> src/name_generator.rs:238:57 [INFO] [stdout] | [INFO] [stdout] 238 | pub fn fill_middle_with_add(&mut self, start: &str, end: &str, add: usize) -> String { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/name_generator.rs:247:13 [INFO] [stdout] | [INFO] [stdout] 247 | let mut name = name.to_string().to_lowercase(); [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] error[E0433]: failed to resolve: use of undeclared type `Players` [INFO] [stdout] --> src/league.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | players: Players::empty(), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Players` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Teams` [INFO] [stdout] --> src/league.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | teams: Teams::empty(), [INFO] [stdout] | ^^^^^ use of undeclared type `Teams` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/name_generator.rs:401:9 [INFO] [stdout] | [INFO] [stdout] 401 | let mut name = name.to_string(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Games` [INFO] [stdout] --> src/league.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | games: Games::empty(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Games` [INFO] [stdout] | help: a struct with a similar name exists: `Game` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cur_time` [INFO] [stdout] --> src/game.rs:205:13 [INFO] [stdout] | [INFO] [stdout] 205 | let cur_time = sys_time.as_secs(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cur_time` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_time` [INFO] [stdout] --> src/game.rs:279:13 [INFO] [stdout] | [INFO] [stdout] 279 | let current_time = self.current_time; // See if there's a better way to handle current time? [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 279 | let _current_time = self.current_time; // See if there's a better way to handle current time? [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `TICK` [INFO] [stdout] | [INFO] [stdout] 279 - let current_time = self.current_time; // See if there's a better way to handle current time? [INFO] [stdout] 279 + let game::TICK = self.current_time; // See if there's a better way to handle current time? [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cur_pitcher` [INFO] [stdout] --> src/game.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | let cur_pitcher = self.pitchers_pitching().clone(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cur_pitcher` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player` [INFO] [stdout] --> src/game.rs:408:25 [INFO] [stdout] | [INFO] [stdout] 408 | if let Some(player) = base { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/game.rs:617:13 [INFO] [stdout] | [INFO] [stdout] 617 | for i in 0..self.message_log.len().unwrap() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/team.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | for i in 0..length { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0532. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] warning: value assigned to `add` is never read [INFO] [stdout] --> src/name_generator.rs:111:21 [INFO] [stdout] | [INFO] [stdout] 111 | let mut add = 'a'; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `add` is never read [INFO] [stdout] --> src/name_generator.rs:188:21 [INFO] [stdout] | [INFO] [stdout] 188 | let mut add = 'a'; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/name_generator.rs:240:13 [INFO] [stdout] | [INFO] [stdout] 240 | for i in 0..add { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end` [INFO] [stdout] --> src/name_generator.rs:238:57 [INFO] [stdout] | [INFO] [stdout] 238 | pub fn fill_middle_with_add(&mut self, start: &str, end: &str, add: usize) -> String { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/name_generator.rs:247:13 [INFO] [stdout] | [INFO] [stdout] 247 | let mut name = name.to_string().to_lowercase(); [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/name_generator.rs:401:9 [INFO] [stdout] | [INFO] [stdout] 401 | let mut name = name.to_string(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `alt_league_blaseball` (lib) due to 37 previous errors; 16 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0532. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `alt_league_blaseball` (lib test) due to 37 previous errors; 16 warnings emitted [INFO] running `Command { std: "docker" "inspect" "703147ada61b08b88b3680aefbde7f039ca2f3bd6e176254e3d47762b3ca44b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "703147ada61b08b88b3680aefbde7f039ca2f3bd6e176254e3d47762b3ca44b1", kill_on_drop: false }` [INFO] [stdout] 703147ada61b08b88b3680aefbde7f039ca2f3bd6e176254e3d47762b3ca44b1