[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 beta-2025-09-21 for beta-1.91-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnacho692%2Ffantasy" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [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-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/nacho692/fantasy on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/nacho692/fantasy already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 801f86f2038aae544c4e4b6f8a06d95cdd5557f464f729b6728ad349212d610f [INFO] running `Command { std: "docker" "start" "-a" "801f86f2038aae544c4e4b6f8a06d95cdd5557f464f729b6728ad349212d610f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "801f86f2038aae544c4e4b6f8a06d95cdd5557f464f729b6728ad349212d610f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "801f86f2038aae544c4e4b6f8a06d95cdd5557f464f729b6728ad349212d610f", kill_on_drop: false }` [INFO] [stdout] 801f86f2038aae544c4e4b6f8a06d95cdd5557f464f729b6728ad349212d610f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ce30534618a62ee15b6c1562a4f6cff48db0fa5610e6ed76396460e02e6b7c0d [INFO] running `Command { std: "docker" "start" "-a" "ce30534618a62ee15b6c1562a4f6cff48db0fa5610e6ed76396460e02e6b7c0d", 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] = 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] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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] | ------------- ^^^^^^^^^ expected `&Character`, found `Character` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/game/encounter.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn new_character(&mut self, character: &'a Character, x_position: usize, y_position: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^ ------------------------ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 16 | an_encounter.new_character(&character, x_position, y_position); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hero` [INFO] [stdout] --> src/main.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | let hero = character::new(String::from("Jorge"), 50, 4, &mut an_encounter, 14, 13); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_hero` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [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` (bin "fantasy") due to 1 previous error; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ce30534618a62ee15b6c1562a4f6cff48db0fa5610e6ed76396460e02e6b7c0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce30534618a62ee15b6c1562a4f6cff48db0fa5610e6ed76396460e02e6b7c0d", kill_on_drop: false }` [INFO] [stdout] ce30534618a62ee15b6c1562a4f6cff48db0fa5610e6ed76396460e02e6b7c0d