[INFO] cloning repository https://github.com/agarick/reload [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/agarick/reload" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fagarick%2Freload", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fagarick%2Freload'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bff695ff58003176ee37c171819600f534bddead [INFO] checking agarick/reload/bff695ff58003176ee37c171819600f534bddead against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fagarick%2Freload" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/agarick/reload on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/agarick/reload [INFO] finished tweaking git repo https://github.com/agarick/reload [INFO] tweaked toml for git repo https://github.com/agarick/reload written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/agarick/reload 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bitflags v0.1.1 [INFO] [stderr] Downloaded cc v1.0.57 [INFO] [stderr] Downloaded tcod v0.15.0 [INFO] [stderr] Downloaded tcod-sys v5.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e44b19dea6fe60ff289deced65d81597eeba8f9bab3132832441aaca6e1f4ef2 [INFO] running `Command { std: "docker" "start" "-a" "e44b19dea6fe60ff289deced65d81597eeba8f9bab3132832441aaca6e1f4ef2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e44b19dea6fe60ff289deced65d81597eeba8f9bab3132832441aaca6e1f4ef2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e44b19dea6fe60ff289deced65d81597eeba8f9bab3132832441aaca6e1f4ef2", kill_on_drop: false }` [INFO] [stdout] e44b19dea6fe60ff289deced65d81597eeba8f9bab3132832441aaca6e1f4ef2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b5b000b47879ab02f166d8a8409446d16ed02f86477929b0b0fc510b45b7ef1e [INFO] running `Command { std: "docker" "start" "-a" "b5b000b47879ab02f166d8a8409446d16ed02f86477929b0b0fc510b45b7ef1e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling cc v1.0.57 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Checking lazy_static v0.1.16 [INFO] [stderr] Checking bitflags v0.1.1 [INFO] [stderr] Compiling tcod-sys v5.0.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking tcod v0.15.0 [INFO] [stderr] Checking reload v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find value `game` in this scope [INFO] [stdout] --> src/main.rs:103:49 [INFO] [stdout] | [INFO] [stdout] 103 | fighter.on_death.callback(self, game); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `game` in this scope [INFO] [stdout] --> src/main.rs:103:49 [INFO] [stdout] | [INFO] [stdout] 103 | fighter.on_death.callback(self, game); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FovMap` in this scope [INFO] [stdout] --> src/main.rs:465:36 [INFO] [stdout] | [INFO] [stdout] 465 | fov_map: &FovMap) -> String { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FovMap` in this scope [INFO] [stdout] --> src/main.rs:465:36 [INFO] [stdout] | [INFO] [stdout] 465 | fov_map: &FovMap) -> String { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/main.rs:115:20 [INFO] [stdout] | [INFO] [stdout] 115 | target.take_damage(damage, game); [INFO] [stdout] | ^^^^^^^^^^^ ---- unexpected argument #2 of type `&mut Game` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/main.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn take_damage(&mut self, damage: i32) { [INFO] [stdout] | ^^^^^^^^^^^ ----------- [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 115 - target.take_damage(damage, game); [INFO] [stdout] 115 + target.take_damage(damage); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/main.rs:115:20 [INFO] [stdout] | [INFO] [stdout] 115 | target.take_damage(damage, game); [INFO] [stdout] | ^^^^^^^^^^^ ---- unexpected argument #2 of type `&mut Game` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/main.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn take_damage(&mut self, damage: i32) { [INFO] [stdout] | ^^^^^^^^^^^ ----------- [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 115 - target.take_damage(damage, game); [INFO] [stdout] 115 + target.take_damage(damage); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:407:34 [INFO] [stdout] | [INFO] [stdout] 407 | hostile.attack(hero, game); [INFO] [stdout] | ------ ^^^^ types differ in mutability [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Game` [INFO] [stdout] found reference `&Game` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/main.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn attack(&mut self, target: &mut Object, game: &mut Game) { [INFO] [stdout] | ^^^^^^ --------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:407:34 [INFO] [stdout] | [INFO] [stdout] 407 | hostile.attack(hero, game); [INFO] [stdout] | ------ ^^^^ types differ in mutability [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Game` [INFO] [stdout] found reference `&Game` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/main.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn attack(&mut self, target: &mut Object, game: &mut Game) { [INFO] [stdout] | ^^^^^^ --------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0412, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0412, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `reload` (bin "reload" test) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `reload` (bin "reload") due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "b5b000b47879ab02f166d8a8409446d16ed02f86477929b0b0fc510b45b7ef1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5b000b47879ab02f166d8a8409446d16ed02f86477929b0b0fc510b45b7ef1e", kill_on_drop: false }` [INFO] [stdout] b5b000b47879ab02f166d8a8409446d16ed02f86477929b0b0fc510b45b7ef1e