[INFO] cloning repository https://github.com/nacho692/fantasy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nacho692/fantasy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnacho692%2Ffantasy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnacho692%2Ffantasy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] daf9c7530ca6ef8175e3784dfb88cbeb0d79b20e [INFO] checking nacho692/fantasy against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnacho692%2Ffantasy" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nacho692/fantasy on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nacho692/fantasy [INFO] finished tweaking git repo https://github.com/nacho692/fantasy [INFO] tweaked toml for git repo https://github.com/nacho692/fantasy written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/nacho692/fantasy already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8e8d0ae40aa80aec2fba9029d3f78a832a0e3751d76c08460409d19d621b4d50 [INFO] running `Command { std: "docker" "start" "-a" "8e8d0ae40aa80aec2fba9029d3f78a832a0e3751d76c08460409d19d621b4d50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8e8d0ae40aa80aec2fba9029d3f78a832a0e3751d76c08460409d19d621b4d50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e8d0ae40aa80aec2fba9029d3f78a832a0e3751d76c08460409d19d621b4d50", kill_on_drop: false }` [INFO] [stdout] 8e8d0ae40aa80aec2fba9029d3f78a832a0e3751d76c08460409d19d621b4d50 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 39bdb4cfb280610c1b64280410926769c5d8aedaa4b8e067e4e3bc0015cfb012 [INFO] running `Command { std: "docker" "start" "-a" "39bdb4cfb280610c1b64280410926769c5d8aedaa4b8e067e4e3bc0015cfb012", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking fantasy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/encounter.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | grid: Vec>, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Placeable` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/encounter.rs:9:25 [INFO] [stdout] | [INFO] [stdout] 9 | let mut grid: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Placeable` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/encounter.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | let mut col: Vec<&Placeable> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Placeable` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/encounter.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | grid: Vec>, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Placeable` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/encounter.rs:9:25 [INFO] [stdout] | [INFO] [stdout] 9 | let mut grid: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Placeable` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/encounter.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | let mut col: Vec<&Placeable> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Placeable` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/game/character.rs:16:29 [INFO] [stdout] | [INFO] [stdout] 16 | an_encounter.new_character(character, x_position, y_position); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&Character`, found struct `Character` [INFO] [stdout] | help: consider borrowing here: `&character` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/game/character.rs:16:29 [INFO] [stdout] | [INFO] [stdout] 16 | an_encounter.new_character(character, x_position, y_position); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&Character`, found struct `Character` [INFO] [stdout] | help: consider borrowing here: `&character` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fantasy` due to 2 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "39bdb4cfb280610c1b64280410926769c5d8aedaa4b8e067e4e3bc0015cfb012", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39bdb4cfb280610c1b64280410926769c5d8aedaa4b8e067e4e3bc0015cfb012", kill_on_drop: false }` [INFO] [stdout] 39bdb4cfb280610c1b64280410926769c5d8aedaa4b8e067e4e3bc0015cfb012