[INFO] cloning repository https://github.com/song9446/runterra-of-legends-simulator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/song9446/runterra-of-legends-simulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsong9446%2Frunterra-of-legends-simulator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsong9446%2Frunterra-of-legends-simulator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b609063ee2c2304d1c2721ddabd81405377749a9 [INFO] checking song9446/runterra-of-legends-simulator against try#342ed2e8608ee307743c341962b427652cdb06e9 for pr-146562 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsong9446%2Frunterra-of-legends-simulator" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/song9446/runterra-of-legends-simulator [INFO] finished tweaking git repo https://github.com/song9446/runterra-of-legends-simulator [INFO] tweaked toml for git repo https://github.com/song9446/runterra-of-legends-simulator written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/song9446/runterra-of-legends-simulator on toolchain 342ed2e8608ee307743c341962b427652cdb06e9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+342ed2e8608ee307743c341962b427652cdb06e9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/song9446/runterra-of-legends-simulator 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" "+342ed2e8608ee307743c341962b427652cdb06e9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking song9446/runterra-of-legends-simulator against try#342ed2e8608ee307743c341962b427652cdb06e9 for pr-146562 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsong9446%2Frunterra-of-legends-simulator" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/song9446/runterra-of-legends-simulator [INFO] finished tweaking git repo https://github.com/song9446/runterra-of-legends-simulator [INFO] tweaked toml for git repo https://github.com/song9446/runterra-of-legends-simulator written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/song9446/runterra-of-legends-simulator on toolchain 342ed2e8608ee307743c341962b427652cdb06e9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+342ed2e8608ee307743c341962b427652cdb06e9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/song9446/runterra-of-legends-simulator 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" "+342ed2e8608ee307743c341962b427652cdb06e9" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded data-encoding v2.1.2 [INFO] [stderr] Downloaded lordeckcodes v0.3.0 [INFO] [stderr] Downloaded bit_utils v0.1.1 [INFO] [stderr] Downloaded varint v0.9.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+342ed2e8608ee307743c341962b427652cdb06e9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aa8223f71415ecb3c9d23acb36fc09d4394f1ac8e6a54a1151d304d9a1b38ca0 [INFO] running `Command { std: "docker" "start" "-a" "aa8223f71415ecb3c9d23acb36fc09d4394f1ac8e6a54a1151d304d9a1b38ca0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aa8223f71415ecb3c9d23acb36fc09d4394f1ac8e6a54a1151d304d9a1b38ca0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa8223f71415ecb3c9d23acb36fc09d4394f1ac8e6a54a1151d304d9a1b38ca0", kill_on_drop: false }` [INFO] [stdout] aa8223f71415ecb3c9d23acb36fc09d4394f1ac8e6a54a1151d304d9a1b38ca0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+342ed2e8608ee307743c341962b427652cdb06e9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c38dfd891f2005e1d68926a9b0bf6b0d0d32b3be1929431ff8440b933370af5a [INFO] running `Command { std: "docker" "start" "-a" "c38dfd891f2005e1d68926a9b0bf6b0d0d32b3be1929431ff8440b933370af5a", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.7 [INFO] [stderr] Checking bit_utils v0.1.1 [INFO] [stderr] Checking data-encoding v2.1.2 [INFO] [stderr] Checking varint v0.9.0 [INFO] [stderr] Compiling serde_derive v1.0.102 [INFO] [stderr] Checking serde v1.0.102 [INFO] [stderr] Checking lordeckcodes v0.3.0 [INFO] [stderr] Checking runterra-of-legends-simulator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: unexpected token: `+=` [INFO] [stdout] --> src/lib.rs:253:15 [INFO] [stdout] | [INFO] [stdout] 253 | card. += effect.defense_point; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected token: `+=` [INFO] [stdout] --> src/lib.rs:253:15 [INFO] [stdout] | [INFO] [stdout] 253 | card. += effect.defense_point; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected token: `}` [INFO] [stdout] --> src/lib.rs:259:9 [INFO] [stdout] | [INFO] [stdout] 259 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected token: `}` [INFO] [stdout] --> src/lib.rs:259:9 [INFO] [stdout] | [INFO] [stdout] 259 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `{`, found `}` [INFO] [stdout] --> src/lib.rs:259:9 [INFO] [stdout] | [INFO] [stdout] 259 | } [INFO] [stdout] | ^ expected `{` [INFO] [stdout] | [INFO] [stdout] note: the `if` expression is missing a block after this condition [INFO] [stdout] --> src/lib.rs:258:16 [INFO] [stdout] | [INFO] [stdout] 258 | if event. [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `{`, found `}` [INFO] [stdout] --> src/lib.rs:259:9 [INFO] [stdout] | [INFO] [stdout] 259 | } [INFO] [stdout] | ^ expected `{` [INFO] [stdout] | [INFO] [stdout] note: the `if` expression is missing a block after this condition [INFO] [stdout] --> src/lib.rs:258:16 [INFO] [stdout] | [INFO] [stdout] 258 | if event. [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `events` in this scope [INFO] [stdout] --> src/lib.rs:257:22 [INFO] [stdout] | [INFO] [stdout] 257 | for event in events { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the available field [INFO] [stdout] | [INFO] [stdout] 257 | for event in self.events { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `events` in this scope [INFO] [stdout] --> src/lib.rs:257:22 [INFO] [stdout] | [INFO] [stdout] 257 | for event in events { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the available field [INFO] [stdout] | [INFO] [stdout] 257 | for event in self.events { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:114:51 [INFO] [stdout] | [INFO] [stdout] 114 | deck_parsed.push(cards::code2card(code)); [INFO] [stdout] | ---------------- ^^^^ expected `&str`, found `String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/cards.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn code2card(code: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ ---------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 114 | deck_parsed.push(cards::code2card(&code)); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:114:51 [INFO] [stdout] | [INFO] [stdout] 114 | deck_parsed.push(cards::code2card(code)); [INFO] [stdout] | ---------------- ^^^^ expected `&str`, found `String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/cards.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn code2card(code: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ ---------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 114 | deck_parsed.push(cards::code2card(&code)); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:114:34 [INFO] [stdout] | [INFO] [stdout] 114 | deck_parsed.push(cards::code2card(code)); [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^^^ expected `Card`, found `Result` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Card` [INFO] [stdout] found enum `Result` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/342ed2e8608ee307743c341962b427652cdb06e9/library/alloc/src/vec/mod.rs:2571:12 [INFO] [stdout] help: use the `?` operator to extract the `Result` value, propagating a `Result::Err` value to the caller [INFO] [stdout] | [INFO] [stdout] 114 | deck_parsed.push(cards::code2card(code)?); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:114:34 [INFO] [stdout] | [INFO] [stdout] 114 | deck_parsed.push(cards::code2card(code)); [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^^^ expected `Card`, found `Result` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Card` [INFO] [stdout] found enum `Result` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/342ed2e8608ee307743c341962b427652cdb06e9/library/alloc/src/vec/mod.rs:2571:12 [INFO] [stdout] help: use the `?` operator to extract the `Result` value, propagating a `Result::Err` value to the caller [INFO] [stdout] | [INFO] [stdout] 114 | deck_parsed.push(cards::code2card(code)?); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:244:35 [INFO] [stdout] | [INFO] [stdout] 244 | self.apply_effect(effect) [INFO] [stdout] | ------------ ^^^^^^ expected `Effect`, found `&mut Effect` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/lib.rs:249:8 [INFO] [stdout] | [INFO] [stdout] 249 | fn apply_effect(&mut self, effect: Effect) { [INFO] [stdout] | ^^^^^^^^^^^^ -------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:244:35 [INFO] [stdout] | [INFO] [stdout] 244 | self.apply_effect(effect) [INFO] [stdout] | ------------ ^^^^^^ expected `Effect`, found `&mut Effect` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/lib.rs:249:8 [INFO] [stdout] | [INFO] [stdout] 249 | fn apply_effect(&mut self, effect: Effect) { [INFO] [stdout] | ^^^^^^^^^^^^ -------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0368]: binary assignment operation `+=` cannot be applied to type `&Card` [INFO] [stdout] --> src/lib.rs:253:9 [INFO] [stdout] | [INFO] [stdout] 253 | card. += effect.defense_point; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | cannot use `+=` on type `&Card` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0368]: binary assignment operation `+=` cannot be applied to type `&Card` [INFO] [stdout] --> src/lib.rs:253:9 [INFO] [stdout] | [INFO] [stdout] 253 | card. += effect.defense_point; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | cannot use `+=` on type `&Card` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/keywords.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | event_listener: |event: &Event, card_index: CardIndex, game: &Game| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `card_index` [INFO] [stdout] --> src/keywords.rs:5:37 [INFO] [stdout] | [INFO] [stdout] 5 | event_listener: |event: &Event, card_index: CardIndex, game: &Game| { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_card_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/keywords.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | event_listener: |event: &Event, card_index: CardIndex, game: &Game| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game` [INFO] [stdout] --> src/keywords.rs:5:60 [INFO] [stdout] | [INFO] [stdout] 5 | event_listener: |event: &Event, card_index: CardIndex, game: &Game| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_game` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `card_index` [INFO] [stdout] --> src/keywords.rs:5:37 [INFO] [stdout] | [INFO] [stdout] 5 | event_listener: |event: &Event, card_index: CardIndex, game: &Game| { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_card_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game` [INFO] [stdout] --> src/keywords.rs:5:60 [INFO] [stdout] | [INFO] [stdout] 5 | event_listener: |event: &Event, card_index: CardIndex, game: &Game| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_game` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/keywords.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | event_listener: |event: &Event, card_index: CardIndex, game: &Game| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/keywords.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | event_listener: |event: &Event, card_index: CardIndex, game: &Game| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `card_index` [INFO] [stdout] --> src/keywords.rs:12:37 [INFO] [stdout] | [INFO] [stdout] 12 | event_listener: |event: &Event, card_index: CardIndex, game: &Game| { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_card_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `card_index` [INFO] [stdout] --> src/keywords.rs:12:37 [INFO] [stdout] | [INFO] [stdout] 12 | event_listener: |event: &Event, card_index: CardIndex, game: &Game| { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_card_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game` [INFO] [stdout] --> src/keywords.rs:12:60 [INFO] [stdout] | [INFO] [stdout] 12 | event_listener: |event: &Event, card_index: CardIndex, game: &Game| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_game` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game` [INFO] [stdout] --> src/keywords.rs:12:60 [INFO] [stdout] | [INFO] [stdout] 12 | event_listener: |event: &Event, card_index: CardIndex, game: &Game| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_game` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/keywords.rs:19:22 [INFO] [stdout] | [INFO] [stdout] 19 | event_listener: |event: &Event, card_index: CardIndex, game: &Game| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `card_index` [INFO] [stdout] --> src/keywords.rs:19:37 [INFO] [stdout] | [INFO] [stdout] 19 | event_listener: |event: &Event, card_index: CardIndex, game: &Game| { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_card_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game` [INFO] [stdout] --> src/keywords.rs:19:60 [INFO] [stdout] | [INFO] [stdout] 19 | event_listener: |event: &Event, card_index: CardIndex, game: &Game| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_game` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/keywords.rs:19:22 [INFO] [stdout] | [INFO] [stdout] 19 | event_listener: |event: &Event, card_index: CardIndex, game: &Game| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `card_index` [INFO] [stdout] --> src/keywords.rs:19:37 [INFO] [stdout] | [INFO] [stdout] 19 | event_listener: |event: &Event, card_index: CardIndex, game: &Game| { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_card_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game` [INFO] [stdout] --> src/keywords.rs:19:60 [INFO] [stdout] | [INFO] [stdout] 19 | event_listener: |event: &Event, card_index: CardIndex, game: &Game| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_game` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `e` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/lib.rs:271:33 [INFO] [stdout] | [INFO] [stdout] 271 | fn consume_event(&mut self, e: Event) -> Result<(), Error> { [INFO] [stdout] | ^ not mutable [INFO] [stdout] 272 | self.apply_event(&mut e); [INFO] [stdout] | ------ cannot borrow as mutable [INFO] [stdout] 273 | self.propagate_event(&mut e); [INFO] [stdout] | ------ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be mutable [INFO] [stdout] | [INFO] [stdout] 271 | fn consume_event(&mut self, mut e: Event) -> Result<(), Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `e` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/lib.rs:271:33 [INFO] [stdout] | [INFO] [stdout] 271 | fn consume_event(&mut self, e: Event) -> Result<(), Error> { [INFO] [stdout] | ^ not mutable [INFO] [stdout] 272 | self.apply_event(&mut e); [INFO] [stdout] | ------ cannot borrow as mutable [INFO] [stdout] 273 | self.propagate_event(&mut e); [INFO] [stdout] | ------ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be mutable [INFO] [stdout] | [INFO] [stdout] 271 | fn consume_event(&mut self, mut e: Event) -> Result<(), Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0368, E0425, E0596. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0368, E0425, E0596. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `runterra-of-legends-simulator` (lib test) due to 9 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `runterra-of-legends-simulator` (lib) due to 9 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c38dfd891f2005e1d68926a9b0bf6b0d0d32b3be1929431ff8440b933370af5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c38dfd891f2005e1d68926a9b0bf6b0d0d32b3be1929431ff8440b933370af5a", kill_on_drop: false }` [INFO] [stdout] c38dfd891f2005e1d68926a9b0bf6b0d0d32b3be1929431ff8440b933370af5a