[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] ee9ba14725b34c5d24899375e473570ea2d1ecca [INFO] checking agarick/reload against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fagarick%2Freload" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/agarick/reload on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-5/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [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-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 02f97d5e6169079c7b307bfb6b081957c7e9020ef2c468d71e2a99cfbc147c96 [INFO] running `Command { std: "docker" "start" "-a" "02f97d5e6169079c7b307bfb6b081957c7e9020ef2c468d71e2a99cfbc147c96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "02f97d5e6169079c7b307bfb6b081957c7e9020ef2c468d71e2a99cfbc147c96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02f97d5e6169079c7b307bfb6b081957c7e9020ef2c468d71e2a99cfbc147c96", kill_on_drop: false }` [INFO] [stdout] 02f97d5e6169079c7b307bfb6b081957c7e9020ef2c468d71e2a99cfbc147c96 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 09ef4ea64db690701ded6982b942896207b1cdfd9c78b00f08693b75797974f4 [INFO] running `Command { std: "docker" "start" "-a" "09ef4ea64db690701ded6982b942896207b1cdfd9c78b00f08693b75797974f4", kill_on_drop: false }` [INFO] [stderr] Checking lazy_static v0.1.16 [INFO] [stderr] Compiling tcod-sys v5.0.1 [INFO] [stderr] Checking getrandom v0.1.14 [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[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[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[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[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] [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" "09ef4ea64db690701ded6982b942896207b1cdfd9c78b00f08693b75797974f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09ef4ea64db690701ded6982b942896207b1cdfd9c78b00f08693b75797974f4", kill_on_drop: false }` [INFO] [stdout] 09ef4ea64db690701ded6982b942896207b1cdfd9c78b00f08693b75797974f4