[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 1.55.0 for beta-1.56-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsong9446%2Frunterra-of-legends-simulator" "/workspace/builds/worker-70/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-70/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/song9446/runterra-of-legends-simulator on toolchain 1.55.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "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-70/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: "/workspace/cargo-home/bin/cargo" "+1.55.0" "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-70/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-70/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 58353519fe1d6d7f3b652503c295a5debc6c39c82affee2f141203e7808df4db
[INFO] running `Command { std: "docker" "start" "-a" "58353519fe1d6d7f3b652503c295a5debc6c39c82affee2f141203e7808df4db", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "58353519fe1d6d7f3b652503c295a5debc6c39c82affee2f141203e7808df4db", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "58353519fe1d6d7f3b652503c295a5debc6c39c82affee2f141203e7808df4db", kill_on_drop: false }`
[INFO] [stdout] 58353519fe1d6d7f3b652503c295a5debc6c39c82affee2f141203e7808df4db
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-70/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-70/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 45aa864727fb53d0a075f1ebfa01c8348a5677b08090d675da3349d1743c359f
[INFO] running `Command { std: "docker" "start" "-a" "45aa864727fb53d0a075f1ebfa01c8348a5677b08090d675da3349d1743c359f", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[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 lazy_static v1.4.0
[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] 258 |             if event.
[INFO] [stdout]     |             -- this `if` expression has a condition, but no block
[INFO] [stdout] 259 |         }
[INFO] [stdout]     |         ^ expected `{`
[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] 258 |             if event.
[INFO] [stdout]     |             -- this `if` expression has a condition, but no block
[INFO] [stdout] 259 |         }
[INFO] [stdout]     |         ^ expected `{`
[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]     |                      ^^^^^^ help: you might have meant to use the available field: `self.events`
[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]     |                      ^^^^^^ help: you might have meant to use the available field: `self.events`
[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]     |                                                   ^^^^
[INFO] [stdout]     |                                                   |
[INFO] [stdout]     |                                                   expected `&str`, found struct `String`
[INFO] [stdout]     |                                                   help: consider borrowing here: `&code`
[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]     |                                                   ^^^^
[INFO] [stdout]     |                                                   |
[INFO] [stdout]     |                                                   expected `&str`, found struct `String`
[INFO] [stdout]     |                                                   help: consider borrowing here: `&code`
[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 struct `Card`, found enum `Result`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `Card`
[INFO] [stdout]                  found enum `Result<Card, errors::Error>`
[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 struct `Card`, found enum `Result`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `Card`
[INFO] [stdout]                  found enum `Result<Card, errors::Error>`
[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 struct `Effect`, found `&mut Effect`
[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]     = note: an implementation of `std::ops::AddAssign` might be missing for `&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 struct `Effect`, found `&mut Effect`
[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]     = note: an implementation of `std::ops::AddAssign` might be missing for `&Card`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0368, E0425.
[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` due to 9 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0368, E0425.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "45aa864727fb53d0a075f1ebfa01c8348a5677b08090d675da3349d1743c359f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "45aa864727fb53d0a075f1ebfa01c8348a5677b08090d675da3349d1743c359f", kill_on_drop: false }`
[INFO] [stdout] 45aa864727fb53d0a075f1ebfa01c8348a5677b08090d675da3349d1743c359f
