[INFO] updating cached repository psyomn/wasteland [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/psyomn/wasteland [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/psyomn/wasteland" "work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/psyomn/wasteland"` [INFO] [stderr] Cloning into 'work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/psyomn/wasteland'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/psyomn/wasteland" "work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/psyomn/wasteland"` [INFO] [stderr] Cloning into 'work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/psyomn/wasteland'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] eced94e74eafc476d387dbb8ab3c3503f0438fd1 [INFO] sha for GitHub repo psyomn/wasteland: eced94e74eafc476d387dbb8ab3c3503f0438fd1 [INFO] validating manifest of psyomn/wasteland on toolchain master#60960a260f7b5c695fd0717311d72ce62dd4eb43 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of psyomn/wasteland on toolchain try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing psyomn/wasteland [INFO] finished frobbing psyomn/wasteland [INFO] frobbed toml for psyomn/wasteland written to work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/psyomn/wasteland/Cargo.toml [INFO] started frobbing psyomn/wasteland [INFO] finished frobbing psyomn/wasteland [INFO] frobbed toml for psyomn/wasteland written to work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/psyomn/wasteland/Cargo.toml [INFO] crate psyomn/wasteland already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /mnt/big/crater/work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/psyomn/wasteland/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Updating git repository `https://github.com/jeaye/ncurses-rs.git` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Updating git repository `https://github.com/jeaye/ncurses-rs.git` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking psyomn/wasteland against try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 for pr-63376 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-63376/worker-5/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/psyomn/wasteland:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] ffb07acb586af05d6bc43bcb7d25fd3b45e578ad8a9744c33c1fba2f9588aba4 [INFO] running `"docker" "start" "-a" "ffb07acb586af05d6bc43bcb7d25fd3b45e578ad8a9744c33c1fba2f9588aba4"` [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/crater/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/crater/workdir/src/main.rs` was erroneously implicitly accepted for binary `wasteland-client`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] Compiling ncurses v5.99.0 (https://github.com/jeaye/ncurses-rs.git#a52dbb37) [INFO] [stderr] Checking wasteland v0.0.1 (/opt/crater/workdir) [INFO] [stderr] error: expected one of `,` or `>`, found `Map` [INFO] [stderr] --> src/session.rs:14:53 [INFO] [stderr] | [INFO] [stderr] 14 | pub fn set_current_map<'a>(&mut self, m: Box<'a Map>) { [INFO] [stderr] | ^^^ expected one of `,` or `>` here [INFO] [stderr] [INFO] [stderr] error: expected one of `,` or `>`, found `Map` [INFO] [stderr] --> src/session.rs:14:53 [INFO] [stderr] | [INFO] [stderr] 14 | pub fn set_current_map<'a>(&mut self, m: Box<'a Map>) { [INFO] [stderr] | ^^^ expected one of `,` or `>` here [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::rand` [INFO] [stderr] --> src/stats.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::rand; [INFO] [stderr] | ^^^^^^^^^ no `rand` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::rand` [INFO] [stderr] --> src/stats.rs:2:10 [INFO] [stderr] | [INFO] [stderr] 2 | use std::rand::Rng; [INFO] [stderr] | ^^^^ could not find `rand` in `std` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::rand` [INFO] [stderr] --> src/helpers/map_helper.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::rand; [INFO] [stderr] | ^^^^^^^^^ no `rand` in the root [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `old_io` in `std` [INFO] [stderr] --> src/ui/ncurses_ui.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | use std::old_io::timer::{sleep}; [INFO] [stderr] | ^^^^^^ could not find `old_io` in `std` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::rand` [INFO] [stderr] --> src/helpers/map_helper.rs:2:10 [INFO] [stderr] | [INFO] [stderr] 2 | use std::rand::Rng; [INFO] [stderr] | ^^^^ could not find `rand` in `std` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::time::duration` [INFO] [stderr] --> src/ui/ncurses_ui.rs:6:16 [INFO] [stderr] | [INFO] [stderr] 6 | use std::time::duration::Duration; [INFO] [stderr] | ^^^^^^^^ could not find `duration` in `time` [INFO] [stderr] [INFO] [stderr] warning: unused import: `Entity` [INFO] [stderr] --> src/session.rs:1:19 [INFO] [stderr] | [INFO] [stderr] 1 | use game_entity::{Entity}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `sleep` [INFO] [stderr] --> src/ui/ncurses_ui.rs:5:26 [INFO] [stderr] | [INFO] [stderr] 5 | use std::old_io::timer::{sleep}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `static_data` [INFO] [stderr] --> src/ui/ncurses_ui.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use static_data; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `self::ncurses::*` [INFO] [stderr] --> src/ui/root_window.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use self::ncurses::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'ui::ncurses_ui::ncurses::printw': printw can segfault when printing string that contains % sign. Use addstr instead [INFO] [stderr] --> src/ui/ncurses_ui.rs:59:13 [INFO] [stderr] | [INFO] [stderr] 59 | printw(" "); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'ui::ncurses_ui::ncurses::printw': printw can segfault when printing string that contains % sign. Use addstr instead [INFO] [stderr] --> src/ui/ncurses_ui.rs:67:13 [INFO] [stderr] | [INFO] [stderr] 67 | printw(" "); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'ui::ncurses_ui::ncurses::printw': printw can segfault when printing string that contains % sign. Use addstr instead [INFO] [stderr] --> src/ui/ncurses_ui.rs:90:17 [INFO] [stderr] | [INFO] [stderr] 90 | printw("E"); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'ui::ncurses_ui::ncurses::printw': printw can segfault when printing string that contains % sign. Use addstr instead [INFO] [stderr] --> src/ui/ncurses_ui.rs:97:17 [INFO] [stderr] | [INFO] [stderr] 97 | printw(","); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `set_current_map` found for type `std::boxed::Box>` in the current scope [INFO] [stderr] --> src/helpers/session_helper.rs:13:13 [INFO] [stderr] | [INFO] [stderr] 13 | session.set_current_map(m); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::rand` [INFO] [stderr] --> src/stats.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::rand; [INFO] [stderr] | ^^^^^^^^^ no `rand` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::rand` [INFO] [stderr] --> src/stats.rs:2:10 [INFO] [stderr] | [INFO] [stderr] 2 | use std::rand::Rng; [INFO] [stderr] | ^^^^ could not find `rand` in `std` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::rand` [INFO] [stderr] --> src/helpers/map_helper.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::rand; [INFO] [stderr] | ^^^^^^^^^ no `rand` in the root [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `old_io` in `std` [INFO] [stderr] --> src/ui/ncurses_ui.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | use std::old_io::timer::{sleep}; [INFO] [stderr] | ^^^^^^ could not find `old_io` in `std` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::rand` [INFO] [stderr] --> src/helpers/map_helper.rs:2:10 [INFO] [stderr] | [INFO] [stderr] 2 | use std::rand::Rng; [INFO] [stderr] | ^^^^ could not find `rand` in `std` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::time::duration` [INFO] [stderr] --> src/ui/ncurses_ui.rs:6:16 [INFO] [stderr] | [INFO] [stderr] 6 | use std::time::duration::Duration; [INFO] [stderr] | ^^^^^^^^ could not find `duration` in `time` [INFO] [stderr] [INFO] [stderr] warning: unused import: `Entity` [INFO] [stderr] --> src/session.rs:1:19 [INFO] [stderr] | [INFO] [stderr] 1 | use game_entity::{Entity}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `sleep` [INFO] [stderr] --> src/ui/ncurses_ui.rs:5:26 [INFO] [stderr] | [INFO] [stderr] 5 | use std::old_io::timer::{sleep}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `static_data` [INFO] [stderr] --> src/ui/ncurses_ui.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use static_data; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `self::ncurses::*` [INFO] [stderr] --> src/ui/root_window.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use self::ncurses::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/builders/session_builder.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 7 | pub fn build_session<'a>(player_name: String) -> Box> { [INFO] [stderr] | ---------------- expected `std::boxed::Box>` because of return type [INFO] [stderr] ... [INFO] [stderr] 13 | s [INFO] [stderr] | ^ expected struct `std::boxed::Box`, found struct `session::Session` [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::boxed::Box>` [INFO] [stderr] found type `session::Session<'_>` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/ui/ncurses_ui.rs:109:12 [INFO] [stderr] | [INFO] [stderr] 109 | keypad(stdscr, true); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected *-ptr, found fn item [INFO] [stderr] | help: use parentheses to call this function: `stdscr()` [INFO] [stderr] | [INFO] [stderr] = note: expected type `*mut i8` [INFO] [stderr] found type `fn() -> *mut i8 {ui::ncurses_ui::ncurses::stdscr}` [INFO] [stderr] [INFO] [stderr] error: aborting due to 10 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0432, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error: Could not compile `wasteland`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: use of deprecated item 'ui::ncurses_ui::ncurses::printw': printw can segfault when printing string that contains % sign. Use addstr instead [INFO] [stderr] --> src/ui/ncurses_ui.rs:59:13 [INFO] [stderr] | [INFO] [stderr] 59 | printw(" "); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'ui::ncurses_ui::ncurses::printw': printw can segfault when printing string that contains % sign. Use addstr instead [INFO] [stderr] --> src/ui/ncurses_ui.rs:67:13 [INFO] [stderr] | [INFO] [stderr] 67 | printw(" "); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'ui::ncurses_ui::ncurses::printw': printw can segfault when printing string that contains % sign. Use addstr instead [INFO] [stderr] --> src/ui/ncurses_ui.rs:90:17 [INFO] [stderr] | [INFO] [stderr] 90 | printw("E"); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'ui::ncurses_ui::ncurses::printw': printw can segfault when printing string that contains % sign. Use addstr instead [INFO] [stderr] --> src/ui/ncurses_ui.rs:97:17 [INFO] [stderr] | [INFO] [stderr] 97 | printw(","); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `set_current_map` found for type `std::boxed::Box>` in the current scope [INFO] [stderr] --> src/helpers/session_helper.rs:13:13 [INFO] [stderr] | [INFO] [stderr] 13 | session.set_current_map(m); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/builders/session_builder.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 7 | pub fn build_session<'a>(player_name: String) -> Box> { [INFO] [stderr] | ---------------- expected `std::boxed::Box>` because of return type [INFO] [stderr] ... [INFO] [stderr] 13 | s [INFO] [stderr] | ^ expected struct `std::boxed::Box`, found struct `session::Session` [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::boxed::Box>` [INFO] [stderr] found type `session::Session<'_>` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/ui/ncurses_ui.rs:109:12 [INFO] [stderr] | [INFO] [stderr] 109 | keypad(stdscr, true); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected *-ptr, found fn item [INFO] [stderr] | help: use parentheses to call this function: `stdscr()` [INFO] [stderr] | [INFO] [stderr] = note: expected type `*mut i8` [INFO] [stderr] found type `fn() -> *mut i8 {ui::ncurses_ui::ncurses::stdscr}` [INFO] [stderr] [INFO] [stderr] error: aborting due to 10 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0432, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error: Could not compile `wasteland`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "ffb07acb586af05d6bc43bcb7d25fd3b45e578ad8a9744c33c1fba2f9588aba4"` [INFO] running `"docker" "rm" "-f" "ffb07acb586af05d6bc43bcb7d25fd3b45e578ad8a9744c33c1fba2f9588aba4"` [INFO] [stdout] ffb07acb586af05d6bc43bcb7d25fd3b45e578ad8a9744c33c1fba2f9588aba4