[INFO] cloning repository https://github.com/abibby/genshin-damage-simulator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/abibby/genshin-damage-simulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabibby%2Fgenshin-damage-simulator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabibby%2Fgenshin-damage-simulator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5c66ab12ae2c75d1da681cf6798c4ad1f97466cf [INFO] checking abibby/genshin-damage-simulator against master#db1fb85cff63ad5fffe435e17128f99f9e1d970c for pr-89056 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabibby%2Fgenshin-damage-simulator" "/workspace/builds/worker-74/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-74/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/abibby/genshin-damage-simulator on toolchain db1fb85cff63ad5fffe435e17128f99f9e1d970c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/abibby/genshin-damage-simulator [INFO] finished tweaking git repo https://github.com/abibby/genshin-damage-simulator [INFO] tweaked toml for git repo https://github.com/abibby/genshin-damage-simulator written to /workspace/builds/worker-74/source/Cargo.toml [INFO] crate git repo https://github.com/abibby/genshin-damage-simulator already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "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-74/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-74/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" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0a6fd0f721556c9cf74a101b65b596986f31aadfe7057582ea6e77615d174ea7 [INFO] running `Command { std: "docker" "start" "-a" "0a6fd0f721556c9cf74a101b65b596986f31aadfe7057582ea6e77615d174ea7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0a6fd0f721556c9cf74a101b65b596986f31aadfe7057582ea6e77615d174ea7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a6fd0f721556c9cf74a101b65b596986f31aadfe7057582ea6e77615d174ea7", kill_on_drop: false }` [INFO] [stdout] 0a6fd0f721556c9cf74a101b65b596986f31aadfe7057582ea6e77615d174ea7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-74/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-74/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3cdfc6e45d62b2cd480275a540937c88571ce2c2435a9d513dcf00b96cf05ec4 [INFO] running `Command { std: "docker" "start" "-a" "3cdfc6e45d62b2cd480275a540937c88571ce2c2435a9d513dcf00b96cf05ec4", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking genshin-damage-simulator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::character::Character` [INFO] [stdout] --> src/character/../simulator/damage_queue.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::character::Character; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::character::Character` [INFO] [stdout] --> src/simulator/damage_queue.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::character::Character; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::character::Character` [INFO] [stdout] --> src/character/../simulator/damage_queue.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::character::Character; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::character::Character` [INFO] [stdout] --> src/simulator/damage_queue.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::character::Character; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.characters[_]` which is behind a mutable reference [INFO] [stdout] --> src/character/../simulator/simulator.rs:31:36 [INFO] [stdout] | [INFO] [stdout] 31 | let activeCh = self.characters[self.active_character_index]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | move occurs because `self.characters[_]` has type `Box`, which does not implement the `Copy` trait [INFO] [stdout] | help: consider borrowing here: `&self.characters[self.active_character_index]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0594]: cannot assign to `stats.base_atk`, as `stats` is not declared as mutable [INFO] [stdout] --> src/character/hydro.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 91 | let stats = zeroStats(); [INFO] [stdout] | ----- help: consider changing this to be mutable: `mut stats` [INFO] [stdout] 92 | [INFO] [stdout] 93 | stats.base_atk = 100; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot assign [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0594]: cannot assign to `stats.extra_atk`, as `stats` is not declared as mutable [INFO] [stdout] --> src/character/hydro.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 91 | let stats = zeroStats(); [INFO] [stdout] | ----- help: consider changing this to be mutable: `mut stats` [INFO] [stdout] ... [INFO] [stdout] 94 | stats.extra_atk = 100; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot assign [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0594]: cannot assign to `stats.elemental_master`, as `stats` is not declared as mutable [INFO] [stdout] --> src/character/hydro.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 91 | let stats = zeroStats(); [INFO] [stdout] | ----- help: consider changing this to be mutable: `mut stats` [INFO] [stdout] ... [INFO] [stdout] 95 | stats.elemental_master = 100; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot assign [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0594]: cannot assign to `stats.crit_rate`, as `stats` is not declared as mutable [INFO] [stdout] --> src/character/hydro.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 91 | let stats = zeroStats(); [INFO] [stdout] | ----- help: consider changing this to be mutable: `mut stats` [INFO] [stdout] ... [INFO] [stdout] 96 | stats.crit_rate = 50.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ cannot assign [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0594]: cannot assign to `stats.crit_dmg`, as `stats` is not declared as mutable [INFO] [stdout] --> src/character/hydro.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 91 | let stats = zeroStats(); [INFO] [stdout] | ----- help: consider changing this to be mutable: `mut stats` [INFO] [stdout] ... [INFO] [stdout] 97 | stats.crit_dmg = 100.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ cannot assign [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0594]: cannot assign to `stats.base_atk`, as `stats` is not declared as mutable [INFO] [stdout] --> src/character/pyro.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 91 | let stats = zeroStats(); [INFO] [stdout] | ----- help: consider changing this to be mutable: `mut stats` [INFO] [stdout] 92 | [INFO] [stdout] 93 | stats.base_atk = 100; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot assign [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0594]: cannot assign to `stats.extra_atk`, as `stats` is not declared as mutable [INFO] [stdout] --> src/character/pyro.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 91 | let stats = zeroStats(); [INFO] [stdout] | ----- help: consider changing this to be mutable: `mut stats` [INFO] [stdout] ... [INFO] [stdout] 94 | stats.extra_atk = 100; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot assign [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0594]: cannot assign to `stats.elemental_master`, as `stats` is not declared as mutable [INFO] [stdout] --> src/character/pyro.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 91 | let stats = zeroStats(); [INFO] [stdout] | ----- help: consider changing this to be mutable: `mut stats` [INFO] [stdout] ... [INFO] [stdout] 95 | stats.elemental_master = 100; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot assign [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0594]: cannot assign to `stats.crit_rate`, as `stats` is not declared as mutable [INFO] [stdout] --> src/character/pyro.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 91 | let stats = zeroStats(); [INFO] [stdout] | ----- help: consider changing this to be mutable: `mut stats` [INFO] [stdout] ... [INFO] [stdout] 96 | stats.crit_rate = 50.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ cannot assign [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0594]: cannot assign to `stats.crit_dmg`, as `stats` is not declared as mutable [INFO] [stdout] --> src/character/pyro.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 91 | let stats = zeroStats(); [INFO] [stdout] | ----- help: consider changing this to be mutable: `mut stats` [INFO] [stdout] ... [INFO] [stdout] 97 | stats.crit_dmg = 100.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ cannot assign [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.characters[_]` which is behind a mutable reference [INFO] [stdout] --> src/simulator/simulator.rs:31:36 [INFO] [stdout] | [INFO] [stdout] 31 | let activeCh = self.characters[self.active_character_index]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | move occurs because `self.characters[_]` has type `Box`, which does not implement the `Copy` trait [INFO] [stdout] | help: consider borrowing here: `&self.characters[self.active_character_index]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.characters[_]` which is behind a mutable reference [INFO] [stdout] --> src/character/../simulator/simulator.rs:31:36 [INFO] [stdout] | [INFO] [stdout] 31 | let activeCh = self.characters[self.active_character_index]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | move occurs because `self.characters[_]` has type `Box`, which does not implement the `Copy` trait [INFO] [stdout] | help: consider borrowing here: `&self.characters[self.active_character_index]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0594]: cannot assign to `stats.base_atk`, as `stats` is not declared as mutable [INFO] [stdout] --> src/character/hydro.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 91 | let stats = zeroStats(); [INFO] [stdout] | ----- help: consider changing this to be mutable: `mut stats` [INFO] [stdout] 92 | [INFO] [stdout] 93 | stats.base_atk = 100; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot assign [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0594]: cannot assign to `stats.extra_atk`, as `stats` is not declared as mutable [INFO] [stdout] --> src/character/hydro.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 91 | let stats = zeroStats(); [INFO] [stdout] | ----- help: consider changing this to be mutable: `mut stats` [INFO] [stdout] ... [INFO] [stdout] 94 | stats.extra_atk = 100; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot assign [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0594]: cannot assign to `stats.elemental_master`, as `stats` is not declared as mutable [INFO] [stdout] --> src/character/hydro.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 91 | let stats = zeroStats(); [INFO] [stdout] | ----- help: consider changing this to be mutable: `mut stats` [INFO] [stdout] ... [INFO] [stdout] 95 | stats.elemental_master = 100; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot assign [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0594]: cannot assign to `stats.crit_rate`, as `stats` is not declared as mutable [INFO] [stdout] --> src/character/hydro.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 91 | let stats = zeroStats(); [INFO] [stdout] | ----- help: consider changing this to be mutable: `mut stats` [INFO] [stdout] ... [INFO] [stdout] 96 | stats.crit_rate = 50.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ cannot assign [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0594]: cannot assign to `stats.crit_dmg`, as `stats` is not declared as mutable [INFO] [stdout] --> src/character/hydro.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 91 | let stats = zeroStats(); [INFO] [stdout] | ----- help: consider changing this to be mutable: `mut stats` [INFO] [stdout] ... [INFO] [stdout] 97 | stats.crit_dmg = 100.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ cannot assign [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0507, E0594. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0507`. [INFO] [stdout] [INFO] [stderr] error: could not compile `genshin-damage-simulator` due to 13 previous errors; 2 warnings emitted [INFO] [stdout] error[E0594]: cannot assign to `stats.base_atk`, as `stats` is not declared as mutable [INFO] [stdout] --> src/character/pyro.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 91 | let stats = zeroStats(); [INFO] [stdout] | ----- help: consider changing this to be mutable: `mut stats` [INFO] [stdout] 92 | [INFO] [stdout] 93 | stats.base_atk = 100; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot assign [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0594]: cannot assign to `stats.extra_atk`, as `stats` is not declared as mutable [INFO] [stdout] --> src/character/pyro.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 91 | let stats = zeroStats(); [INFO] [stdout] | ----- help: consider changing this to be mutable: `mut stats` [INFO] [stdout] ... [INFO] [stdout] 94 | stats.extra_atk = 100; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot assign [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0594]: cannot assign to `stats.elemental_master`, as `stats` is not declared as mutable [INFO] [stdout] --> src/character/pyro.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 91 | let stats = zeroStats(); [INFO] [stdout] | ----- help: consider changing this to be mutable: `mut stats` [INFO] [stdout] ... [INFO] [stdout] 95 | stats.elemental_master = 100; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot assign [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0594]: cannot assign to `stats.crit_rate`, as `stats` is not declared as mutable [INFO] [stdout] --> src/character/pyro.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 91 | let stats = zeroStats(); [INFO] [stdout] | ----- help: consider changing this to be mutable: `mut stats` [INFO] [stdout] ... [INFO] [stdout] 96 | stats.crit_rate = 50.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ cannot assign [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0594]: cannot assign to `stats.crit_dmg`, as `stats` is not declared as mutable [INFO] [stdout] --> src/character/pyro.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 91 | let stats = zeroStats(); [INFO] [stdout] | ----- help: consider changing this to be mutable: `mut stats` [INFO] [stdout] ... [INFO] [stdout] 97 | stats.crit_dmg = 100.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ cannot assign [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.characters[_]` which is behind a mutable reference [INFO] [stdout] --> src/simulator/simulator.rs:31:36 [INFO] [stdout] | [INFO] [stdout] 31 | let activeCh = self.characters[self.active_character_index]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | move occurs because `self.characters[_]` has type `Box`, which does not implement the `Copy` trait [INFO] [stdout] | help: consider borrowing here: `&self.characters[self.active_character_index]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0507, E0594. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0507`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "3cdfc6e45d62b2cd480275a540937c88571ce2c2435a9d513dcf00b96cf05ec4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3cdfc6e45d62b2cd480275a540937c88571ce2c2435a9d513dcf00b96cf05ec4", kill_on_drop: false }` [INFO] [stdout] 3cdfc6e45d62b2cd480275a540937c88571ce2c2435a9d513dcf00b96cf05ec4