[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#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpsyomn%2Fwasteland" "/workspace/builds/worker-11/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/psyomn/wasteland on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "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-11/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" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "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-11/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-11/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-11/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 `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "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" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "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-11/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-11/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] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 0dcc3799ac2d31a82849ffcdc8f52dd44ad86d398c18c3a7b2532f81a8a43946 [INFO] running `"docker" "start" "-a" "0dcc3799ac2d31a82849ffcdc8f52dd44ad86d398c18c3a7b2532f81a8a43946"` [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#80894126) [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 `>` [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: 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 `>` [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[E0425]: cannot find value `m` in this scope [INFO] [stderr] --> src/session.rs:15:28 [INFO] [stderr] | [INFO] [stderr] 15 | self.current_map = m; [INFO] [stderr] | ^ not found in this scope [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[E0496]: lifetime name `'a` shadows a lifetime name that is already in scope [INFO] [stderr] --> src/session.rs:14:28 [INFO] [stderr] | [INFO] [stderr] 8 | impl <'a>Session<'a> { [INFO] [stderr] | -- first declared here [INFO] [stderr] ... [INFO] [stderr] 14 | pub fn set_current_map<'a>(&mut self, m: Box<'a Map>) { [INFO] [stderr] | ^^ lifetime 'a already in scope [INFO] [stderr] [INFO] [stderr] error: aborting due to 9 previous errors; 7 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0425, E0432, E0433, E0496. [INFO] [stderr] For more information about an error, try `rustc --explain E0425`. [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] [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[E0425]: cannot find value `m` in this scope [INFO] [stderr] --> src/session.rs:15:28 [INFO] [stderr] | [INFO] [stderr] 15 | self.current_map = m; [INFO] [stderr] | ^ not found in this scope [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[E0496]: lifetime name `'a` shadows a lifetime name that is already in scope [INFO] [stderr] --> src/session.rs:14:28 [INFO] [stderr] | [INFO] [stderr] 8 | impl <'a>Session<'a> { [INFO] [stderr] | -- first declared here [INFO] [stderr] ... [INFO] [stderr] 14 | pub fn set_current_map<'a>(&mut self, m: Box<'a Map>) { [INFO] [stderr] | ^^ lifetime 'a already in scope [INFO] [stderr] [INFO] [stderr] error: aborting due to 9 previous errors; 7 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0425, E0432, E0433, E0496. [INFO] [stderr] For more information about an error, try `rustc --explain E0425`. [INFO] [stderr] error: could not compile `wasteland`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "0dcc3799ac2d31a82849ffcdc8f52dd44ad86d398c18c3a7b2532f81a8a43946"` [INFO] running `"docker" "rm" "-f" "0dcc3799ac2d31a82849ffcdc8f52dd44ad86d398c18c3a7b2532f81a8a43946"` [INFO] [stdout] 0dcc3799ac2d31a82849ffcdc8f52dd44ad86d398c18c3a7b2532f81a8a43946