[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] e01f80b00980692536da7083a919dac175c6e02d [INFO] checking agarick/reload against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fagarick%2Freload" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/agarick/reload on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", 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-3/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: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2c84d2de441622d728d18d3fdaf4f028f78449a252af6f3eeb49e2dde5e0001d [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" "2c84d2de441622d728d18d3fdaf4f028f78449a252af6f3eeb49e2dde5e0001d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2c84d2de441622d728d18d3fdaf4f028f78449a252af6f3eeb49e2dde5e0001d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c84d2de441622d728d18d3fdaf4f028f78449a252af6f3eeb49e2dde5e0001d", kill_on_drop: false }` [INFO] [stdout] 2c84d2de441622d728d18d3fdaf4f028f78449a252af6f3eeb49e2dde5e0001d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c5ce3798fd31403073282a13f6e1fa29aea7b33b353ffbfb9f3d3524caa65971 [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" "c5ce3798fd31403073282a13f6e1fa29aea7b33b353ffbfb9f3d3524caa65971", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling cc v1.0.57 [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] warning: the item `Key` is imported redundantly [INFO] [stdout] --> src/main.rs:431:9 [INFO] [stdout] | [INFO] [stdout] 4 | use tcod::input::{self, Event, Key, Mouse}; [INFO] [stdout] | --- the item `Key` is already imported here [INFO] [stdout] ... [INFO] [stdout] 431 | use tcod::input::Key; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Key` is imported redundantly [INFO] [stdout] --> src/main.rs:431:9 [INFO] [stdout] | [INFO] [stdout] 4 | use tcod::input::{self, Event, Key, Mouse}; [INFO] [stdout] | --- the item `Key` is already imported here [INFO] [stdout] ... [INFO] [stdout] 431 | use tcod::input::Key; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function 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] | ^^^^^^^^^^^ ------ ---- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function 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] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function 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] | ^^^^^^^^^^^ ------ ---- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function 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] [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] = note: expected mutable reference `&mut Game` [INFO] [stdout] found reference `&Game` [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] = note: expected mutable reference `&mut Game` [INFO] [stdout] found reference `&Game` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [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: build failed [INFO] running `Command { std: "docker" "inspect" "c5ce3798fd31403073282a13f6e1fa29aea7b33b353ffbfb9f3d3524caa65971", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5ce3798fd31403073282a13f6e1fa29aea7b33b353ffbfb9f3d3524caa65971", kill_on_drop: false }` [INFO] [stdout] c5ce3798fd31403073282a13f6e1fa29aea7b33b353ffbfb9f3d3524caa65971