[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 master#b0696a5160711c068cb1f01b7437db7990d15750 for pr-121848
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsong9446%2Frunterra-of-legends-simulator" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/song9446/runterra-of-legends-simulator on toolchain b0696a5160711c068cb1f01b7437db7990d15750
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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-6-tc1/source/Cargo.toml
[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" "+b0696a5160711c068cb1f01b7437db7990d15750" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[ERROR] error running command: no output for 300 seconds
[ERROR] this task or one of its parent failed!
[ERROR] no output for 300 seconds
[ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace.
[INFO] checking song9446/runterra-of-legends-simulator against try#bfe97fcae016881ad333f0ff8cea2cadb9cf136c for pr-121848
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsong9446%2Frunterra-of-legends-simulator" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/song9446/runterra-of-legends-simulator on toolchain bfe97fcae016881ad333f0ff8cea2cadb9cf136c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bfe97fcae016881ad333f0ff8cea2cadb9cf136c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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-6-tc2/source/Cargo.toml
[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" "+bfe97fcae016881ad333f0ff8cea2cadb9cf136c" "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#bfe97fcae016881ad333f0ff8cea2cadb9cf136c for pr-121848
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsong9446%2Frunterra-of-legends-simulator" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/song9446/runterra-of-legends-simulator on toolchain bfe97fcae016881ad333f0ff8cea2cadb9cf136c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bfe97fcae016881ad333f0ff8cea2cadb9cf136c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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-6-tc2/source/Cargo.toml
[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" "+bfe97fcae016881ad333f0ff8cea2cadb9cf136c" "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 bit_utils v0.1.1
[INFO] [stderr]   Downloaded varint v0.9.0
[INFO] [stderr]   Downloaded data-encoding v2.1.2
[INFO] [stderr]   Downloaded syn v1.0.7
[INFO] [stderr]   Downloaded lordeckcodes v0.3.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+bfe97fcae016881ad333f0ff8cea2cadb9cf136c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 32441ac17dae073241e004febf90a0f9b69508a07c8f194b48c44ba15c2cea6a
[INFO] running `Command { std: "docker" "start" "-a" "32441ac17dae073241e004febf90a0f9b69508a07c8f194b48c44ba15c2cea6a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "32441ac17dae073241e004febf90a0f9b69508a07c8f194b48c44ba15c2cea6a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "32441ac17dae073241e004febf90a0f9b69508a07c8f194b48c44ba15c2cea6a", kill_on_drop: false }`
[INFO] [stdout] 32441ac17dae073241e004febf90a0f9b69508a07c8f194b48c44ba15c2cea6a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+bfe97fcae016881ad333f0ff8cea2cadb9cf136c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f38f4b4ece311e94f5987f87624d141274dda29996095e7ec33083d9454853f3
[INFO] running `Command { std: "docker" "start" "-a" "f38f4b4ece311e94f5987f87624d141274dda29996095e7ec33083d9454853f3", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.6
[INFO] [stderr]    Compiling unicode-xid v0.2.0
[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 data-encoding v2.1.2
[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: 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: 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[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] warning: the item `keywords` is imported redundantly
[INFO] [stdout]  --> src/cards.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::*;
[INFO] [stdout]   |     -------- the item `keywords` is already imported here
[INFO] [stdout] 2 | use crate::keywords;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `keywords` is imported redundantly
[INFO] [stdout]  --> src/cards.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::*;
[INFO] [stdout]   |     -------- the item `keywords` is already imported here
[INFO] [stdout] 2 | use crate::keywords;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[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)]` 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: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)]` 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: `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: `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: `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: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: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/bfe97fcae016881ad333f0ff8cea2cadb9cf136c/library/alloc/src/vec/mod.rs:1920:12
[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: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/bfe97fcae016881ad333f0ff8cea2cadb9cf136c/library/alloc/src/vec/mod.rs:1920:12
[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: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[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[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: aborting due to 9 previous errors; 10 warnings emitted
[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 10 previous errors; 10 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 9 previous errors; 10 warnings emitted
[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] [stderr] error: could not compile `runterra-of-legends-simulator` (lib test) due to 10 previous errors; 10 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "f38f4b4ece311e94f5987f87624d141274dda29996095e7ec33083d9454853f3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f38f4b4ece311e94f5987f87624d141274dda29996095e7ec33083d9454853f3", kill_on_drop: false }`
[INFO] [stdout] f38f4b4ece311e94f5987f87624d141274dda29996095e7ec33083d9454853f3
