[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] testing nacho692/fantasy against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnacho692%2Ffantasy" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nacho692/fantasy on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-9/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" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "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] edd1cb50cbc7e06413d7103b09ba696ad3df457bd28dac314ccb7ad84bc9b730 [INFO] running `Command { std: "docker" "start" "-a" "edd1cb50cbc7e06413d7103b09ba696ad3df457bd28dac314ccb7ad84bc9b730", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "edd1cb50cbc7e06413d7103b09ba696ad3df457bd28dac314ccb7ad84bc9b730", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edd1cb50cbc7e06413d7103b09ba696ad3df457bd28dac314ccb7ad84bc9b730", kill_on_drop: false }` [INFO] [stdout] edd1cb50cbc7e06413d7103b09ba696ad3df457bd28dac314ccb7ad84bc9b730 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--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] 276843aeecbc8a3b3d4ae5bbaeede2e81c1d47f0e216afcf09cfc307333d62cc [INFO] running `Command { std: "docker" "start" "-a" "276843aeecbc8a3b3d4ae5bbaeede2e81c1d47f0e216afcf09cfc307333d62cc", kill_on_drop: false }` [INFO] [stderr] Compiling 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] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 4 - grid: Vec>, [INFO] [stdout] 4 + grid: Vec>, [INFO] [stdout] | [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] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 - let mut grid: Vec> = Vec::new(); [INFO] [stdout] 9 + let mut grid: Vec> = Vec::new(); [INFO] [stdout] | [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] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 - let mut col: Vec<&Placeable> = Vec::new(); [INFO] [stdout] 11 + let mut col: Vec<&dyn Placeable> = Vec::new(); [INFO] [stdout] | [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] 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] running `Command { std: "docker" "inspect" "276843aeecbc8a3b3d4ae5bbaeede2e81c1d47f0e216afcf09cfc307333d62cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "276843aeecbc8a3b3d4ae5bbaeede2e81c1d47f0e216afcf09cfc307333d62cc", kill_on_drop: false }` [INFO] [stdout] 276843aeecbc8a3b3d4ae5bbaeede2e81c1d47f0e216afcf09cfc307333d62cc