[INFO] cloning repository https://github.com/psyomn/wasteland [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/psyomn/wasteland" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpsyomn%2Fwasteland", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpsyomn%2Fwasteland'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] eced94e74eafc476d387dbb8ab3c3503f0438fd1 [INFO] checking psyomn/wasteland against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpsyomn%2Fwasteland" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/psyomn/wasteland on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/psyomn/wasteland [INFO] finished tweaking git repo https://github.com/psyomn/wasteland [INFO] tweaked toml for git repo https://github.com/psyomn/wasteland written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/psyomn/wasteland already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other binary targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a binary target: [INFO] [stderr] [INFO] [stderr] * /workspace/builds/worker-5/source/src/main.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autobins = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] warning: path `/workspace/builds/worker-5/source/src/main.rs` was erroneously implicitly accepted for binary `wasteland-client`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] error: the lock file /workspace/builds/worker-5/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/jeaye/ncurses-rs.git` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other binary targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a binary target: [INFO] [stderr] [INFO] [stderr] * /workspace/builds/worker-5/source/src/main.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autobins = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] warning: path `/workspace/builds/worker-5/source/src/main.rs` was erroneously implicitly accepted for binary `wasteland-client`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "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] fb5cf770cb2f51c774c5cf88f41509fe7c1dc69d82b4560a673b7bca800d5e1f [INFO] running `Command { std: "docker" "start" "-a" "fb5cf770cb2f51c774c5cf88f41509fe7c1dc69d82b4560a673b7bca800d5e1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fb5cf770cb2f51c774c5cf88f41509fe7c1dc69d82b4560a673b7bca800d5e1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb5cf770cb2f51c774c5cf88f41509fe7c1dc69d82b4560a673b7bca800d5e1f", kill_on_drop: false }` [INFO] [stdout] fb5cf770cb2f51c774c5cf88f41509fe7c1dc69d82b4560a673b7bca800d5e1f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a71d6c607aeb55e73542bd4de09f99a6f2691d71312e8e9d4d897b0990571e68 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a71d6c607aeb55e73542bd4de09f99a6f2691d71312e8e9d4d897b0990571e68", kill_on_drop: false }` [INFO] [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other binary targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a binary target: [INFO] [stderr] [INFO] [stderr] * /opt/rustwide/workdir/src/main.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autobins = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] warning: path `/opt/rustwide/workdir/src/main.rs` was erroneously implicitly accepted for binary `wasteland-client`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling ncurses v5.99.0 (https://github.com/jeaye/ncurses-rs.git#80894126) [INFO] [stderr] Checking wasteland v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: expected one of `,` or `>`, found `Map` [INFO] [stdout] --> src/session.rs:14:53 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn set_current_map<'a>(&mut self, m: Box<'a Map>) { [INFO] [stdout] | ^^^ expected one of `,` or `>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `,` or `>`, found `Map` [INFO] [stdout] --> src/session.rs:14:53 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn set_current_map<'a>(&mut self, m: Box<'a Map>) { [INFO] [stdout] | ^^^ expected one of `,` or `>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::rand` [INFO] [stdout] --> src/stats.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::rand; [INFO] [stdout] | ^^^^^^^^^ no `rand` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::rand` [INFO] [stdout] --> src/stats.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | use std::rand::Rng; [INFO] [stdout] | ^^^^ could not find `rand` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::rand` [INFO] [stdout] --> src/helpers/map_helper.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::rand; [INFO] [stdout] | ^^^^^^^^^ no `rand` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `old_io` in `std` [INFO] [stdout] --> src/ui/ncurses_ui.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | use std::old_io::timer::{sleep}; [INFO] [stdout] | ^^^^^^ could not find `old_io` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::rand` [INFO] [stdout] --> src/helpers/map_helper.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | use std::rand::Rng; [INFO] [stdout] | ^^^^ could not find `rand` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::time::duration` [INFO] [stdout] --> src/ui/ncurses_ui.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | use std::time::duration::Duration; [INFO] [stdout] | ^^^^^^^^ could not find `duration` in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::rand` [INFO] [stdout] --> src/stats.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::rand; [INFO] [stdout] | ^^^^^^^^^ no `rand` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `m` in this scope [INFO] [stdout] --> src/session.rs:15:28 [INFO] [stdout] | [INFO] [stdout] 15 | self.current_map = m; [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::rand` [INFO] [stdout] --> src/stats.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | use std::rand::Rng; [INFO] [stdout] | ^^^^ could not find `rand` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::rand` [INFO] [stdout] --> src/helpers/map_helper.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::rand; [INFO] [stdout] | ^^^^^^^^^ no `rand` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `old_io` in `std` [INFO] [stdout] --> src/ui/ncurses_ui.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | use std::old_io::timer::{sleep}; [INFO] [stdout] | ^^^^^^ could not find `old_io` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::rand` [INFO] [stdout] --> src/helpers/map_helper.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | use std::rand::Rng; [INFO] [stdout] | ^^^^ could not find `rand` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::time::duration` [INFO] [stdout] --> src/ui/ncurses_ui.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | use std::time::duration::Duration; [INFO] [stdout] | ^^^^^^^^ could not find `duration` in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `m` in this scope [INFO] [stdout] --> src/session.rs:15:28 [INFO] [stdout] | [INFO] [stdout] 15 | self.current_map = m; [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Entity` [INFO] [stdout] --> src/session.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use game_entity::{Entity}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Entity` [INFO] [stdout] --> src/session.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use game_entity::{Entity}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `static_data` [INFO] [stdout] --> src/ui/ncurses_ui.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use static_data; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `static_data` [INFO] [stdout] --> src/ui/ncurses_ui.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use static_data; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::ncurses::*` [INFO] [stdout] --> src/ui/root_window.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use self::ncurses::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::ncurses::*` [INFO] [stdout] --> src/ui/root_window.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use self::ncurses::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0496]: lifetime name `'a` shadows a lifetime name that is already in scope [INFO] [stdout] --> src/session.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 8 | impl <'a>Session<'a> { [INFO] [stdout] | -- first declared here [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn set_current_map<'a>(&mut self, m: Box<'a Map>) { [INFO] [stdout] | ^^ lifetime 'a already in scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0496]: lifetime name `'a` shadows a lifetime name that is already in scope [INFO] [stdout] --> src/session.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 8 | impl <'a>Session<'a> { [INFO] [stdout] | -- first declared here [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn set_current_map<'a>(&mut self, m: Box<'a Map>) { [INFO] [stdout] | ^^ lifetime 'a already in scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ui::ncurses_ui::ncurses::printw`: printw can segfault when printing string that contains % sign. Use addstr instead [INFO] [stdout] --> src/ui/ncurses_ui.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | printw(" "); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ui::ncurses_ui::ncurses::printw`: printw can segfault when printing string that contains % sign. Use addstr instead [INFO] [stdout] --> src/ui/ncurses_ui.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | printw(" "); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ui::ncurses_ui::ncurses::printw`: printw can segfault when printing string that contains % sign. Use addstr instead [INFO] [stdout] --> src/ui/ncurses_ui.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | printw("E"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ui::ncurses_ui::ncurses::printw`: printw can segfault when printing string that contains % sign. Use addstr instead [INFO] [stdout] --> src/ui/ncurses_ui.rs:97:17 [INFO] [stdout] | [INFO] [stdout] 97 | printw(","); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ui::ncurses_ui::ncurses::printw`: printw can segfault when printing string that contains % sign. Use addstr instead [INFO] [stdout] --> src/ui/ncurses_ui.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | printw(" "); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ui::ncurses_ui::ncurses::printw`: printw can segfault when printing string that contains % sign. Use addstr instead [INFO] [stdout] --> src/ui/ncurses_ui.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | printw(" "); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ui::ncurses_ui::ncurses::printw`: printw can segfault when printing string that contains % sign. Use addstr instead [INFO] [stdout] --> src/ui/ncurses_ui.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | printw("E"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ui::ncurses_ui::ncurses::printw`: printw can segfault when printing string that contains % sign. Use addstr instead [INFO] [stdout] --> src/ui/ncurses_ui.rs:97:17 [INFO] [stdout] | [INFO] [stdout] 97 | printw(","); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/builders/session_builder.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn build_session<'a>(player_name: String) -> Box> { [INFO] [stdout] | ---------------- expected `Box>` because of return type [INFO] [stdout] ... [INFO] [stdout] 13 | s [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `Box`, found struct `Session` [INFO] [stdout] | help: store this in the heap by calling `Box::new`: `Box::new(s)` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Box>` [INFO] [stdout] found struct `Session<'_>` [INFO] [stdout] = note: for more on the distinction between the stack and the heap, read https://doc.rust-lang.org/book/ch15-01-box.html, https://doc.rust-lang.org/rust-by-example/std/box.html, and https://doc.rust-lang.org/std/boxed/index.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ui/ncurses_ui.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 109 | keypad(stdscr, true); [INFO] [stdout] | ^^^^^^ expected *-ptr, found fn item [INFO] [stdout] | [INFO] [stdout] = note: expected raw pointer `*mut i8` [INFO] [stdout] found fn item `fn() -> *mut i8 {ncurses_ui::ncurses::stdscr}` [INFO] [stdout] help: use parentheses to call this function [INFO] [stdout] | [INFO] [stdout] 109 | keypad(stdscr(), true); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ui/ncurses_ui.rs:139:10 [INFO] [stdout] | [INFO] [stdout] 139 | bkgd(' ' as u64 | COLOR_PAIR(static_ui::C_DEFAULT_PAIR) as u64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u32`, found `u64` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `u64` to `u32` and panic if the converted value wouldn't fit [INFO] [stdout] | [INFO] [stdout] 139 | bkgd((' ' as u64 | COLOR_PAIR(static_ui::C_DEFAULT_PAIR) as u64).try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/builders/session_builder.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn build_session<'a>(player_name: String) -> Box> { [INFO] [stdout] | ---------------- expected `Box>` because of return type [INFO] [stdout] ... [INFO] [stdout] 13 | s [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `Box`, found struct `Session` [INFO] [stdout] | help: store this in the heap by calling `Box::new`: `Box::new(s)` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Box>` [INFO] [stdout] found struct `Session<'_>` [INFO] [stdout] = note: for more on the distinction between the stack and the heap, read https://doc.rust-lang.org/book/ch15-01-box.html, https://doc.rust-lang.org/rust-by-example/std/box.html, and https://doc.rust-lang.org/std/boxed/index.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0432, E0433, E0496. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ui/ncurses_ui.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 109 | keypad(stdscr, true); [INFO] [stdout] | ^^^^^^ expected *-ptr, found fn item [INFO] [stdout] | [INFO] [stdout] = note: expected raw pointer `*mut i8` [INFO] [stdout] found fn item `fn() -> *mut i8 {ncurses_ui::ncurses::stdscr}` [INFO] [stdout] help: use parentheses to call this function [INFO] [stdout] | [INFO] [stdout] 109 | keypad(stdscr(), true); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ui/ncurses_ui.rs:139:10 [INFO] [stdout] | [INFO] [stdout] 139 | bkgd(' ' as u64 | COLOR_PAIR(static_ui::C_DEFAULT_PAIR) as u64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u32`, found `u64` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `u64` to `u32` and panic if the converted value wouldn't fit [INFO] [stdout] | [INFO] [stdout] 139 | bkgd((' ' as u64 | COLOR_PAIR(static_ui::C_DEFAULT_PAIR) as u64).try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wasteland` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 12 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0432, E0433, E0496. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "a71d6c607aeb55e73542bd4de09f99a6f2691d71312e8e9d4d897b0990571e68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a71d6c607aeb55e73542bd4de09f99a6f2691d71312e8e9d4d897b0990571e68", kill_on_drop: false }` [INFO] [stdout] a71d6c607aeb55e73542bd4de09f99a6f2691d71312e8e9d4d897b0990571e68