[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.90.0 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-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/nacho692/fantasy on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 03ff7bca398a7af014a34b722d3ef15d240bac346137c1d0615f481c14765cc3 [INFO] running `Command { std: "docker" "start" "-a" "03ff7bca398a7af014a34b722d3ef15d240bac346137c1d0615f481c14765cc3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "03ff7bca398a7af014a34b722d3ef15d240bac346137c1d0615f481c14765cc3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03ff7bca398a7af014a34b722d3ef15d240bac346137c1d0615f481c14765cc3", kill_on_drop: false }` [INFO] [stdout] 03ff7bca398a7af014a34b722d3ef15d240bac346137c1d0615f481c14765cc3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2597fa17e0c5d187bf7537060aca06d07e5b30dbc8495552b0fae95768d223f9 [INFO] running `Command { std: "docker" "start" "-a" "2597fa17e0c5d187bf7537060aca06d07e5b30dbc8495552b0fae95768d223f9", 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)]` 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)]` 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" "2597fa17e0c5d187bf7537060aca06d07e5b30dbc8495552b0fae95768d223f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2597fa17e0c5d187bf7537060aca06d07e5b30dbc8495552b0fae95768d223f9", kill_on_drop: false }` [INFO] [stdout] 2597fa17e0c5d187bf7537060aca06d07e5b30dbc8495552b0fae95768d223f9