[INFO] cloning repository https://github.com/soupersauce/ruguelike [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/soupersauce/ruguelike" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsoupersauce%2Fruguelike", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsoupersauce%2Fruguelike'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 314134694eacb4b9ebed4abcbade92c868ac3908 [INFO] building soupersauce/ruguelike against master#461e8078010433ff7de2db2aaae8a3cfb0847215 for pr-94962 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsoupersauce%2Fruguelike" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/soupersauce/ruguelike on toolchain 461e8078010433ff7de2db2aaae8a3cfb0847215 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+461e8078010433ff7de2db2aaae8a3cfb0847215" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/soupersauce/ruguelike [INFO] finished tweaking git repo https://github.com/soupersauce/ruguelike [INFO] tweaked toml for git repo https://github.com/soupersauce/ruguelike written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/soupersauce/ruguelike already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+461e8078010433ff7de2db2aaae8a3cfb0847215" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_json v1.0.40 [INFO] [stderr] Downloaded syn v0.15.39 [INFO] [stderr] Downloaded serde_derive v1.0.94 [INFO] [stderr] Downloaded tcod v0.15.0 [INFO] [stderr] Downloaded tcod-sys v5.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+461e8078010433ff7de2db2aaae8a3cfb0847215" "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] 60d8c2e49919e4bf8c54ee264670eac4cec681d6733929486961071e1701a5ac [INFO] running `Command { std: "docker" "start" "-a" "60d8c2e49919e4bf8c54ee264670eac4cec681d6733929486961071e1701a5ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "60d8c2e49919e4bf8c54ee264670eac4cec681d6733929486961071e1701a5ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60d8c2e49919e4bf8c54ee264670eac4cec681d6733929486961071e1701a5ac", kill_on_drop: false }` [INFO] [stdout] 60d8c2e49919e4bf8c54ee264670eac4cec681d6733929486961071e1701a5ac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+461e8078010433ff7de2db2aaae8a3cfb0847215" "build" "--frozen" "--message-format=json", 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] 71c6cdc273759591585b258e2b00108e8dfec30b4b4aaebc0b3906e477dc7cb0 [INFO] running `Command { std: "docker" "start" "-a" "71c6cdc273759591585b258e2b00108e8dfec30b4b4aaebc0b3906e477dc7cb0", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.4 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling libc v0.2.58 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling serde v1.0.94 [INFO] [stderr] Compiling syn v0.15.39 [INFO] [stderr] Compiling cc v1.0.37 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling sdl2 v0.32.2 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling lazy_static v0.1.16 [INFO] [stderr] Compiling bitflags v0.1.1 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling sdl2-sys v0.32.6 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling tcod-sys v5.0.1 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling serde_derive v1.0.94 [INFO] [stderr] Compiling serde_json v1.0.40 [INFO] [stderr] Compiling tcod v0.15.0 [INFO] [stderr] Compiling ruguelike v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/lib/functions.rs:440:5 [INFO] [stdout] | [INFO] [stdout] 440 | (map) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 440 - (map) [INFO] [stdout] 440 + map [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib/mod.rs:87:34 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn draw(&self, con: &mut Console) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 87 - pub fn draw(&self, con: &mut Console) { [INFO] [stdout] 87 + pub fn draw(&self, con: &mut dyn Console) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib/functions.rs:197:65 [INFO] [stdout] | [INFO] [stdout] 197 | fn save_game(objects: &[Object], game: &Game) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 197 - fn save_game(objects: &[Object], game: &Game) -> Result<(), Box> { [INFO] [stdout] 197 + fn save_game(objects: &[Object], game: &Game) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib/functions.rs:204:51 [INFO] [stdout] | [INFO] [stdout] 204 | fn load_game() -> Result<(Vec, Game), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 204 - fn load_game() -> Result<(Vec, Game), Box> { [INFO] [stdout] 204 + fn load_game() -> Result<(Vec, Game), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 06s [INFO] running `Command { std: "docker" "inspect" "71c6cdc273759591585b258e2b00108e8dfec30b4b4aaebc0b3906e477dc7cb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71c6cdc273759591585b258e2b00108e8dfec30b4b4aaebc0b3906e477dc7cb0", kill_on_drop: false }` [INFO] [stdout] 71c6cdc273759591585b258e2b00108e8dfec30b4b4aaebc0b3906e477dc7cb0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+461e8078010433ff7de2db2aaae8a3cfb0847215" "test" "--frozen" "--no-run" "--message-format=json", 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] df04146e5d6559ae1015d072c3d438a0d20b7f5182ee4589ddce3757463ac8fe [INFO] running `Command { std: "docker" "start" "-a" "df04146e5d6559ae1015d072c3d438a0d20b7f5182ee4589ddce3757463ac8fe", kill_on_drop: false }` [INFO] [stderr] Compiling ruguelike v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/lib/functions.rs:440:5 [INFO] [stdout] | [INFO] [stdout] 440 | (map) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 440 - (map) [INFO] [stdout] 440 + map [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib/mod.rs:87:34 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn draw(&self, con: &mut Console) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 87 - pub fn draw(&self, con: &mut Console) { [INFO] [stdout] 87 + pub fn draw(&self, con: &mut dyn Console) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib/functions.rs:197:65 [INFO] [stdout] | [INFO] [stdout] 197 | fn save_game(objects: &[Object], game: &Game) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 197 - fn save_game(objects: &[Object], game: &Game) -> Result<(), Box> { [INFO] [stdout] 197 + fn save_game(objects: &[Object], game: &Game) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib/functions.rs:204:51 [INFO] [stdout] | [INFO] [stdout] 204 | fn load_game() -> Result<(Vec, Game), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 204 - fn load_game() -> Result<(Vec, Game), Box> { [INFO] [stdout] 204 + fn load_game() -> Result<(Vec, Game), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.73s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/ruguelike-20c5c99483710f94) [INFO] running `Command { std: "docker" "inspect" "df04146e5d6559ae1015d072c3d438a0d20b7f5182ee4589ddce3757463ac8fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df04146e5d6559ae1015d072c3d438a0d20b7f5182ee4589ddce3757463ac8fe", kill_on_drop: false }` [INFO] [stdout] df04146e5d6559ae1015d072c3d438a0d20b7f5182ee4589ddce3757463ac8fe