[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] building nacho692/fantasy against try#9b5e8b16bd1c4acf4cf8e6880368314cf021a987+rustflags=-Dtail-expr-drop-order for pr-134523 [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] validating manifest of git repo https://github.com/nacho692/fantasy on toolchain 9b5e8b16bd1c4acf4cf8e6880368314cf021a987 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "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-5-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "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-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4c277c3ba25f957d81374c446d9e6332e8867374263bd0ca29ecd2b1688aa808 [INFO] running `Command { std: "docker" "start" "-a" "4c277c3ba25f957d81374c446d9e6332e8867374263bd0ca29ecd2b1688aa808", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4c277c3ba25f957d81374c446d9e6332e8867374263bd0ca29ecd2b1688aa808", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c277c3ba25f957d81374c446d9e6332e8867374263bd0ca29ecd2b1688aa808", kill_on_drop: false }` [INFO] [stdout] 4c277c3ba25f957d81374c446d9e6332e8867374263bd0ca29ecd2b1688aa808 [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=forbid -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bacce0e4dcf1b1626e7ec1e49ac1b2953ee10e448d8c5fbeb6bc47430fb980a3 [INFO] running `Command { std: "docker" "start" "-a" "bacce0e4dcf1b1626e7ec1e49ac1b2953ee10e448d8c5fbeb6bc47430fb980a3", 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" "bacce0e4dcf1b1626e7ec1e49ac1b2953ee10e448d8c5fbeb6bc47430fb980a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bacce0e4dcf1b1626e7ec1e49ac1b2953ee10e448d8c5fbeb6bc47430fb980a3", kill_on_drop: false }` [INFO] [stdout] bacce0e4dcf1b1626e7ec1e49ac1b2953ee10e448d8c5fbeb6bc47430fb980a3