[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] testing song9446/runterra-of-legends-simulator against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsong9446%2Frunterra-of-legends-simulator" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/song9446/runterra-of-legends-simulator on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "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-12/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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded syn v1.0.7 [INFO] [stderr] Downloaded lordeckcodes v0.3.0 [INFO] [stderr] Downloaded varint v0.9.0 [INFO] [stderr] Downloaded bit_utils v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4a0545ee3abae63d5a2ebbbeaa63a3637422788a2aff74b2d8f705276579e880 [INFO] running `Command { std: "docker" "start" "-a" "4a0545ee3abae63d5a2ebbbeaa63a3637422788a2aff74b2d8f705276579e880", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4a0545ee3abae63d5a2ebbbeaa63a3637422788a2aff74b2d8f705276579e880", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a0545ee3abae63d5a2ebbbeaa63a3637422788a2aff74b2d8f705276579e880", kill_on_drop: false }` [INFO] [stdout] 4a0545ee3abae63d5a2ebbbeaa63a3637422788a2aff74b2d8f705276579e880 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 93e380cd91a9ec2cff9ca34bda6ea9f0c6a3e11566b9509173e3828db9fc4d12 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "93e380cd91a9ec2cff9ca34bda6ea9f0c6a3e11566b9509173e3828db9fc4d12", 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] Compiling bit_utils v0.1.1 [INFO] [stderr] Compiling data-encoding v2.1.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling varint v0.9.0 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling serde_derive v1.0.102 [INFO] [stderr] Compiling lordeckcodes v0.3.0 [INFO] [stderr] Compiling 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[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: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` [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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "93e380cd91a9ec2cff9ca34bda6ea9f0c6a3e11566b9509173e3828db9fc4d12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93e380cd91a9ec2cff9ca34bda6ea9f0c6a3e11566b9509173e3828db9fc4d12", kill_on_drop: false }` [INFO] [stdout] 93e380cd91a9ec2cff9ca34bda6ea9f0c6a3e11566b9509173e3828db9fc4d12