[INFO] updating cached repository https://github.com/psyomn/wasteland [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/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] checking psyomn/wasteland against try#ba14a92a10441c4b839ce71e6ef5f7a48bbff18f for prs-64470-and-65389 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpsyomn%2Fwasteland" "/workspace/builds/worker-0/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/psyomn/wasteland on toolchain ba14a92a10441c4b839ce71e6ef5f7a48bbff18f [INFO] running `"/workspace/cargo-home/bin/cargo" "+ba14a92a10441c4b839ce71e6ef5f7a48bbff18f" "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 /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/psyomn/wasteland already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+ba14a92a10441c4b839ce71e6ef5f7a48bbff18f" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [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-0/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-0/source/src/main.rs` was erroneously implicitly accepted for binary `wasteland-client`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /workspace/builds/worker-0/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+ba14a92a10441c4b839ce71e6ef5f7a48bbff18f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/jeaye/ncurses-rs.git` [INFO] running `"/workspace/cargo-home/bin/cargo" "+ba14a92a10441c4b839ce71e6ef5f7a48bbff18f" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [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-0/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-0/source/src/main.rs` was erroneously implicitly accepted for binary `wasteland-client`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+ba14a92a10441c4b839ce71e6ef5f7a48bbff18f" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] a8ef95e14f6a1c49f99422909c658dcea272dc17b3700db6b5d8be72c01f9b06 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "a8ef95e14f6a1c49f99422909c658dcea272dc17b3700db6b5d8be72c01f9b06"` [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] Checking 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: 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: `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[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: `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[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] | ^^^^^^^^^^^^^^^ method not found in `std::boxed::Box>` [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[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] | ^ [INFO] [stderr] | | [INFO] [stderr] | expected struct `std::boxed::Box`, found struct `session::Session` [INFO] [stderr] | help: store this in the heap by calling `Box::new`: `Box::new(s)` [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::boxed::Box>` [INFO] [stderr] found type `session::Session<'_>` [INFO] [stderr] = 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] [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] 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] | ^^^^^^^^^^^^^^^ method not found in `std::boxed::Box>` [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] | ^ [INFO] [stderr] | | [INFO] [stderr] | expected struct `std::boxed::Box`, found struct `session::Session` [INFO] [stderr] | help: store this in the heap by calling `Box::new`: `Box::new(s)` [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::boxed::Box>` [INFO] [stderr] found type `session::Session<'_>` [INFO] [stderr] = 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] [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" "a8ef95e14f6a1c49f99422909c658dcea272dc17b3700db6b5d8be72c01f9b06"` [INFO] running `"docker" "rm" "-f" "a8ef95e14f6a1c49f99422909c658dcea272dc17b3700db6b5d8be72c01f9b06"` [INFO] [stdout] a8ef95e14f6a1c49f99422909c658dcea272dc17b3700db6b5d8be72c01f9b06