[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] d19fc9e9e18aab068f1862e1784cfae570582f48 [INFO] checking agarick/reload against master#430feb24a46993e5073c1bb1b39da190d83fa2bf for pr-78363 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fagarick%2Freload" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/agarick/reload on toolchain 430feb24a46993e5073c1bb1b39da190d83fa2bf [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+430feb24a46993e5073c1bb1b39da190d83fa2bf" "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-4/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" "+430feb24a46993e5073c1bb1b39da190d83fa2bf" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+430feb24a46993e5073c1bb1b39da190d83fa2bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 145bddeedf2daa22dc7784aa33a446ba7965aac09afb21821bbfdeb8ff9a2200 [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" "145bddeedf2daa22dc7784aa33a446ba7965aac09afb21821bbfdeb8ff9a2200", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "145bddeedf2daa22dc7784aa33a446ba7965aac09afb21821bbfdeb8ff9a2200", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "145bddeedf2daa22dc7784aa33a446ba7965aac09afb21821bbfdeb8ff9a2200", kill_on_drop: false }` [INFO] [stdout] 145bddeedf2daa22dc7784aa33a446ba7965aac09afb21821bbfdeb8ff9a2200 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+430feb24a46993e5073c1bb1b39da190d83fa2bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 52fde63062e2505fd4e616600ac5763f78621d3d96e384655df9cce2e061c4ae [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" "52fde63062e2505fd4e616600ac5763f78621d3d96e384655df9cce2e061c4ae", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Checking lazy_static v0.1.16 [INFO] [stderr] Checking bitflags v0.1.1 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling tcod-sys v5.0.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[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] 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] 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] [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "52fde63062e2505fd4e616600ac5763f78621d3d96e384655df9cce2e061c4ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52fde63062e2505fd4e616600ac5763f78621d3d96e384655df9cce2e061c4ae", kill_on_drop: false }` [INFO] [stdout] 52fde63062e2505fd4e616600ac5763f78621d3d96e384655df9cce2e061c4ae