[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#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fagarick%2Freload" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/agarick/reload on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "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-7-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" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8eb2fa0124c168683d31d42cabea768b2a1a422837f001972bef87a4262f2885 [INFO] running `Command { std: "docker" "start" "-a" "8eb2fa0124c168683d31d42cabea768b2a1a422837f001972bef87a4262f2885", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8eb2fa0124c168683d31d42cabea768b2a1a422837f001972bef87a4262f2885", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8eb2fa0124c168683d31d42cabea768b2a1a422837f001972bef87a4262f2885", kill_on_drop: false }` [INFO] [stdout] 8eb2fa0124c168683d31d42cabea768b2a1a422837f001972bef87a4262f2885 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d817c2907f539f556e79e76cfa1571022aa37886860b4c21d8aec1d6c200ec31 [INFO] running `Command { std: "docker" "start" "-a" "d817c2907f539f556e79e76cfa1571022aa37886860b4c21d8aec1d6c200ec31", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling cc v1.0.57 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Checking bitflags v0.1.1 [INFO] [stderr] Checking lazy_static v0.1.16 [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] 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] 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") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `reload` (bin "reload" test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "d817c2907f539f556e79e76cfa1571022aa37886860b4c21d8aec1d6c200ec31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d817c2907f539f556e79e76cfa1571022aa37886860b4c21d8aec1d6c200ec31", kill_on_drop: false }` [INFO] [stdout] d817c2907f539f556e79e76cfa1571022aa37886860b4c21d8aec1d6c200ec31