[INFO] cloning repository https://github.com/theProgrammerJack/onwards [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/theProgrammerJack/onwards" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FtheProgrammerJack%2Fonwards", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FtheProgrammerJack%2Fonwards'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 26f43c798051f79a25b8c3ab585e90ffebbbb478 [INFO] building theProgrammerJack/onwards against master#70591dc15db32941fe3595fdbf98e58d6975f95e for pr-127731 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FtheProgrammerJack%2Fonwards" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/theProgrammerJack/onwards on toolchain 70591dc15db32941fe3595fdbf98e58d6975f95e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+70591dc15db32941fe3595fdbf98e58d6975f95e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/theProgrammerJack/onwards [INFO] finished tweaking git repo https://github.com/theProgrammerJack/onwards [INFO] tweaked toml for git repo https://github.com/theProgrammerJack/onwards written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/theProgrammerJack/onwards already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+70591dc15db32941fe3595fdbf98e58d6975f95e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+70591dc15db32941fe3595fdbf98e58d6975f95e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 356f8776ebce826108c3e4afe8101f6863d69bfd79421d0ca76707b7553a6f32 [INFO] running `Command { std: "docker" "start" "-a" "356f8776ebce826108c3e4afe8101f6863d69bfd79421d0ca76707b7553a6f32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "356f8776ebce826108c3e4afe8101f6863d69bfd79421d0ca76707b7553a6f32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "356f8776ebce826108c3e4afe8101f6863d69bfd79421d0ca76707b7553a6f32", kill_on_drop: false }` [INFO] [stdout] 356f8776ebce826108c3e4afe8101f6863d69bfd79421d0ca76707b7553a6f32 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "RUSTDOCFLAGS=--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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+70591dc15db32941fe3595fdbf98e58d6975f95e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dadfe8b543425ef0ba2fbf873877bf7d10488fef82ad6004808f69b72a532a9e [INFO] running `Command { std: "docker" "start" "-a" "dadfe8b543425ef0ba2fbf873877bf7d10488fef82ad6004808f69b72a532a9e", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling onwards v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/state/mod.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | fn describe(&self, &Player) -> String; [INFO] [stdout] | ^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Player` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/state/mod.rs:11:30 [INFO] [stdout] | [INFO] [stdout] 11 | fn next(self: Box, &mut Player, &str) -> GameState; [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Player` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/state/mod.rs:11:43 [INFO] [stdout] | [INFO] [stdout] 11 | fn next(self: Box, &mut Player, &str) -> GameState; [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: &str` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Wandering` [INFO] [stdout] --> src/main.rs:8:31 [INFO] [stdout] | [INFO] [stdout] 8 | use state::{Event, GameState, Wandering, Battle, Enemy}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/state/mod.rs:18:26 [INFO] [stdout] | [INFO] [stdout] 18 | pub type GameState = Box; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 | pub type GameState = Box; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/util.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | line.trim_right().to_string() [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 11 | line.trim_end().to_string() [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Event` [INFO] [stdout] --> src/main.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use state::{Event, GameState, Wandering, Battle, Enemy}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trim` [INFO] [stdout] --> src/util.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | let trim: &[_] = &['\n', '\r']; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_trim` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player` [INFO] [stdout] --> src/state/mod.rs:39:30 [INFO] [stdout] | [INFO] [stdout] 39 | fn next(self: Box, player: &mut Player, cmd: &str) -> GameState { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inventory` is never read [INFO] [stdout] --> src/player.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Player { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | pub inventory: Inventory, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `InventoryItem` is never used [INFO] [stdout] --> src/item/mod.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum InventoryItem { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] running `Command { std: "docker" "inspect" "dadfe8b543425ef0ba2fbf873877bf7d10488fef82ad6004808f69b72a532a9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dadfe8b543425ef0ba2fbf873877bf7d10488fef82ad6004808f69b72a532a9e", kill_on_drop: false }` [INFO] [stdout] dadfe8b543425ef0ba2fbf873877bf7d10488fef82ad6004808f69b72a532a9e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "RUSTDOCFLAGS=--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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+70591dc15db32941fe3595fdbf98e58d6975f95e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b87ff9d88a141a0a00eaa135dce2b9cf832a780720a1b8005ba0389eeae7e2b4 [INFO] running `Command { std: "docker" "start" "-a" "b87ff9d88a141a0a00eaa135dce2b9cf832a780720a1b8005ba0389eeae7e2b4", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling onwards v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/state/mod.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | fn describe(&self, &Player) -> String; [INFO] [stdout] | ^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Player` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/state/mod.rs:11:30 [INFO] [stdout] | [INFO] [stdout] 11 | fn next(self: Box, &mut Player, &str) -> GameState; [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Player` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/state/mod.rs:11:43 [INFO] [stdout] | [INFO] [stdout] 11 | fn next(self: Box, &mut Player, &str) -> GameState; [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: &str` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Wandering` [INFO] [stdout] --> src/main.rs:8:31 [INFO] [stdout] | [INFO] [stdout] 8 | use state::{Event, GameState, Wandering, Battle, Enemy}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/state/mod.rs:18:26 [INFO] [stdout] | [INFO] [stdout] 18 | pub type GameState = Box; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 | pub type GameState = Box; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/util.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | line.trim_right().to_string() [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 11 | line.trim_end().to_string() [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Event` [INFO] [stdout] --> src/main.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use state::{Event, GameState, Wandering, Battle, Enemy}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trim` [INFO] [stdout] --> src/util.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | let trim: &[_] = &['\n', '\r']; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_trim` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player` [INFO] [stdout] --> src/state/mod.rs:39:30 [INFO] [stdout] | [INFO] [stdout] 39 | fn next(self: Box, player: &mut Player, cmd: &str) -> GameState { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inventory` is never read [INFO] [stdout] --> src/player.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Player { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | pub inventory: Inventory, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `InventoryItem` is never used [INFO] [stdout] --> src/item/mod.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum InventoryItem { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] running `Command { std: "docker" "inspect" "b87ff9d88a141a0a00eaa135dce2b9cf832a780720a1b8005ba0389eeae7e2b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b87ff9d88a141a0a00eaa135dce2b9cf832a780720a1b8005ba0389eeae7e2b4", kill_on_drop: false }` [INFO] [stdout] b87ff9d88a141a0a00eaa135dce2b9cf832a780720a1b8005ba0389eeae7e2b4