[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] checking theProgrammerJack/onwards against try#4c525d43052e921548191f82f6ed9e2f9e98dcb1 for pr-136988 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FtheProgrammerJack%2Fonwards" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/theProgrammerJack/onwards on toolchain 4c525d43052e921548191f82f6ed9e2f9e98dcb1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4c525d43052e921548191f82f6ed9e2f9e98dcb1" "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-7-tc2/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" "+4c525d43052e921548191f82f6ed9e2f9e98dcb1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+4c525d43052e921548191f82f6ed9e2f9e98dcb1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 302c8cf9882275b3568e821a47cc55852bf046a8ab27eb236c19d77db7acb0d0 [INFO] running `Command { std: "docker" "start" "-a" "302c8cf9882275b3568e821a47cc55852bf046a8ab27eb236c19d77db7acb0d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "302c8cf9882275b3568e821a47cc55852bf046a8ab27eb236c19d77db7acb0d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "302c8cf9882275b3568e821a47cc55852bf046a8ab27eb236c19d77db7acb0d0", kill_on_drop: false }` [INFO] [stdout] 302c8cf9882275b3568e821a47cc55852bf046a8ab27eb236c19d77db7acb0d0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+4c525d43052e921548191f82f6ed9e2f9e98dcb1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 097d09d3581047a2231ec52ab85bdcb582feb68baa63dfa57c3285545ecdefe2 [INFO] running `Command { std: "docker" "start" "-a" "097d09d3581047a2231ec52ab85bdcb582feb68baa63dfa57c3285545ecdefe2", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking 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: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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 | pub type GameState = Box; [INFO] [stdout] | +++ [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 a dyn-compatible 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_right().to_string() [INFO] [stdout] 11 + line.trim_end().to_string() [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_right().to_string() [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 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: associated function `new` is never used [INFO] [stdout] --> src/state/mod.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 61 | impl Enemy { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 62 | pub fn new>(health: u32, strength: u32, name: S) -> Self { [INFO] [stdout] | ^^^ [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: associated function `new` is never used [INFO] [stdout] --> src/state/mod.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 61 | impl Enemy { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 62 | pub fn new>(health: u32, strength: u32, name: S) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] running `Command { std: "docker" "inspect" "097d09d3581047a2231ec52ab85bdcb582feb68baa63dfa57c3285545ecdefe2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "097d09d3581047a2231ec52ab85bdcb582feb68baa63dfa57c3285545ecdefe2", kill_on_drop: false }` [INFO] [stdout] 097d09d3581047a2231ec52ab85bdcb582feb68baa63dfa57c3285545ecdefe2