[INFO] updating cached repository https://github.com/psyomn/wasteland [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/big/crater/work/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] eced94e74eafc476d387dbb8ab3c3503f0438fd1 [INFO] testing psyomn/wasteland against 1.38.0 for beta-1.39-1 [INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpsyomn%2Fwasteland" "work/builds/worker-6/source"` [INFO] [stderr] Cloning into 'work/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/psyomn/wasteland on toolchain 1.38.0 [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "read-manifest" "--manifest-path" "Cargo.toml"` [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 work/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/psyomn/wasteland already has a lockfile, it will not be regenerated [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /big/crater/work/builds/worker-6/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Updating git repository `https://github.com/jeaye/ncurses-rs.git` [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.38.0" "build" "--frozen"` [INFO] [stdout] e39c4bb3e9fb097a6815d0b08782fcbad427300762d807180ba4a466b1c7814f [INFO] running `"docker" "start" "-a" "e39c4bb3e9fb097a6815d0b08782fcbad427300762d807180ba4a466b1c7814f"` [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 ncurses v5.99.0 (https://github.com/jeaye/ncurses-rs.git#a52dbb37) [INFO] [stderr] Compiling wasteland v0.0.1 (/opt/rustwide/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[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] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stderr] --> src/lib.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(globs)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [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[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 11 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0432, E0433, E0554, 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" "e39c4bb3e9fb097a6815d0b08782fcbad427300762d807180ba4a466b1c7814f"` [INFO] running `"docker" "rm" "-f" "e39c4bb3e9fb097a6815d0b08782fcbad427300762d807180ba4a466b1c7814f"` [INFO] [stdout] e39c4bb3e9fb097a6815d0b08782fcbad427300762d807180ba4a466b1c7814f