[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#e117153a45c546e883c1f91d82611775fcaeffe0 for pr-146470
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsong9446%2Frunterra-of-legends-simulator" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-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-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/song9446/runterra-of-legends-simulator on toolchain e117153a45c546e883c1f91d82611775fcaeffe0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e117153a45c546e883c1f91d82611775fcaeffe0" "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" "+e117153a45c546e883c1f91d82611775fcaeffe0" "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
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded serde_derive v1.0.102
[INFO] [stderr]   Downloaded syn v1.0.7
[INFO] [stderr]   Downloaded serde v1.0.102
[INFO] [stderr]   Downloaded bit_utils v0.1.1
[INFO] [stderr]   Downloaded lordeckcodes v0.3.0
[INFO] [stderr]   Downloaded varint v0.9.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+e117153a45c546e883c1f91d82611775fcaeffe0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 202eb5244e42d81a9da0ba4caf9155f89d1896142b7162f5a611b1af20506404
[INFO] running `Command { std: "docker" "start" "-a" "202eb5244e42d81a9da0ba4caf9155f89d1896142b7162f5a611b1af20506404", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "202eb5244e42d81a9da0ba4caf9155f89d1896142b7162f5a611b1af20506404", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "202eb5244e42d81a9da0ba4caf9155f89d1896142b7162f5a611b1af20506404", kill_on_drop: false }`
[INFO] [stdout] 202eb5244e42d81a9da0ba4caf9155f89d1896142b7162f5a611b1af20506404
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+e117153a45c546e883c1f91d82611775fcaeffe0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a9de7f61a240700d5ac67df95248b066e81913df41e9766d8d663e055e5965ad
[INFO] running `Command { std: "docker" "start" "-a" "a9de7f61a240700d5ac67df95248b066e81913df41e9766d8d663e055e5965ad", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.6
[INFO] [stderr]    Compiling syn v1.0.7
[INFO] [stderr]    Compiling serde v1.0.102
[INFO] [stderr]     Checking bit_utils v0.1.1
[INFO] [stderr]     Checking varint v0.9.0
[INFO] [stderr]    Compiling quote v1.0.2
[INFO] [stderr]    Compiling serde_derive 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:259:9
[INFO] [stdout]     |
[INFO] [stdout] 259 |         }
[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: 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<Card, Error> {
[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<Card, Error>`
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `Card`
[INFO] [stdout]                  found enum `Result<Card, errors::Error>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> /rustc/e117153a45c546e883c1f91d82611775fcaeffe0/library/alloc/src/vec/mod.rs:2563:11
[INFO] [stdout] help: use the `?` operator to extract the `Result<Card, errors::Error>` 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: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<Card, Error> {
[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: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:114:34
[INFO] [stdout]     |
[INFO] [stdout] 114 |                 deck_parsed.push(cards::code2card(code));
[INFO] [stdout]     |                             ---- ^^^^^^^^^^^^^^^^^^^^^^ expected `Card`, found `Result<Card, Error>`
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `Card`
[INFO] [stdout]                  found enum `Result<Card, errors::Error>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> /rustc/e117153a45c546e883c1f91d82611775fcaeffe0/library/alloc/src/vec/mod.rs:2563:11
[INFO] [stdout] help: use the `?` operator to extract the `Result<Card, errors::Error>` 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[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: `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: `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: `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[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] 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: `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: `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: `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] 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] 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] [stderr] error: could not compile `runterra-of-legends-simulator` (lib) due to 9 previous errors; 9 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[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] running `Command { std: "docker" "inspect" "a9de7f61a240700d5ac67df95248b066e81913df41e9766d8d663e055e5965ad", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a9de7f61a240700d5ac67df95248b066e81913df41e9766d8d663e055e5965ad", kill_on_drop: false }`
[INFO] [stdout] a9de7f61a240700d5ac67df95248b066e81913df41e9766d8d663e055e5965ad
