[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 [INFO] building theProgrammerJack/onwards against try#7587ff3622fbec0abf6ac551eab5226f22f5d958 for pr-127731 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FtheProgrammerJack%2Fonwards" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/theProgrammerJack/onwards on toolchain 7587ff3622fbec0abf6ac551eab5226f22f5d958 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7587ff3622fbec0abf6ac551eab5226f22f5d958" "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-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" "+7587ff3622fbec0abf6ac551eab5226f22f5d958" "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-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+7587ff3622fbec0abf6ac551eab5226f22f5d958" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2c99a565ddd21bba1673d7c7ab276e84f0370f09b26b7da3c884887c5810c40f [INFO] running `Command { std: "docker" "start" "-a" "2c99a565ddd21bba1673d7c7ab276e84f0370f09b26b7da3c884887c5810c40f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2c99a565ddd21bba1673d7c7ab276e84f0370f09b26b7da3c884887c5810c40f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c99a565ddd21bba1673d7c7ab276e84f0370f09b26b7da3c884887c5810c40f", kill_on_drop: false }` [INFO] [stdout] 2c99a565ddd21bba1673d7c7ab276e84f0370f09b26b7da3c884887c5810c40f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+7587ff3622fbec0abf6ac551eab5226f22f5d958" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5f5874f98a0d53ceddb13571c972e0b0dc0a7c29fa31bf1e58897bbd538299fb [INFO] running `Command { std: "docker" "start" "-a" "5f5874f98a0d53ceddb13571c972e0b0dc0a7c29fa31bf1e58897bbd538299fb", 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] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: LC_ALL="C" PATH="/opt/rustwide/rustup-home/toolchains/7587ff3622fbec0abf6ac551eab5226f22f5d958/lib/rustlib/x86_64-unknown-linux-gnu/bin:/opt/rustwide/rustup-home/toolchains/7587ff3622fbec0abf6ac551eab5226f22f5d958/lib/rustlib/x86_64-unknown-linux-gnu/bin/self-contained:/opt/rustwide/rustup-home/toolchains/7587ff3622fbec0abf6ac551eab5226f22f5d958/lib/rustlib/x86_64-unknown-linux-gnu/bin:/opt/rustwide/rustup-home/toolchains/7587ff3622fbec0abf6ac551eab5226f22f5d958/lib/rustlib/x86_64-unknown-linux-gnu/bin/self-contained:/opt/rustwide/rustup-home/toolchains/7587ff3622fbec0abf6ac551eab5226f22f5d958/lib/rustlib/x86_64-unknown-linux-gnu/bin:/opt/rustwide/rustup-home/toolchains/7587ff3622fbec0abf6ac551eab5226f22f5d958/lib/rustlib/x86_64-unknown-linux-gnu/bin/self-contained:/opt/rustwide/cargo-home/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" VSLANG="1033" "cc" "-m64" "/tmp/rustcWdLEeU/symbols.o" "/opt/rustwide/target/debug/deps/onwards-daab6321bb757e51.onwards.56eb80388a1f117b-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/onwards-daab6321bb757e51.onwards.56eb80388a1f117b-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/onwards-daab6321bb757e51.72op230fg1zu9c7usffus3ke5.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/7587ff3622fbec0abf6ac551eab5226f22f5d958/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/rustup-home/toolchains/7587ff3622fbec0abf6ac551eab5226f22f5d958/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-164d8fd564e4a211.rlib" "/opt/rustwide/rustup-home/toolchains/7587ff3622fbec0abf6ac551eab5226f22f5d958/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-783334590566e0fc.rlib" "/opt/rustwide/rustup-home/toolchains/7587ff3622fbec0abf6ac551eab5226f22f5d958/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-c61bd2663437c986.rlib" "/opt/rustwide/rustup-home/toolchains/7587ff3622fbec0abf6ac551eab5226f22f5d958/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-3c8f3a81644cce25.rlib" "/opt/rustwide/rustup-home/toolchains/7587ff3622fbec0abf6ac551eab5226f22f5d958/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-1244532a75e334d2.rlib" "/opt/rustwide/rustup-home/toolchains/7587ff3622fbec0abf6ac551eab5226f22f5d958/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-3edd22dc47a4513c.rlib" "/opt/rustwide/rustup-home/toolchains/7587ff3622fbec0abf6ac551eab5226f22f5d958/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-c12887f7a732d2f0.rlib" "/opt/rustwide/rustup-home/toolchains/7587ff3622fbec0abf6ac551eab5226f22f5d958/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-d5dba12b1f233f3e.rlib" "/opt/rustwide/rustup-home/toolchains/7587ff3622fbec0abf6ac551eab5226f22f5d958/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-e323419cd7924de6.rlib" "/opt/rustwide/rustup-home/toolchains/7587ff3622fbec0abf6ac551eab5226f22f5d958/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-008b8c4c7649b293.rlib" "/opt/rustwide/rustup-home/toolchains/7587ff3622fbec0abf6ac551eab5226f22f5d958/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-1e9aca0e00b982af.rlib" "/opt/rustwide/rustup-home/toolchains/7587ff3622fbec0abf6ac551eab5226f22f5d958/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-09eb8c2d25291926.rlib" "/opt/rustwide/rustup-home/toolchains/7587ff3622fbec0abf6ac551eab5226f22f5d958/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-85ca560db35b8e52.rlib" "/opt/rustwide/rustup-home/toolchains/7587ff3622fbec0abf6ac551eab5226f22f5d958/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-87a41ae6a2ba697f.rlib" "/opt/rustwide/rustup-home/toolchains/7587ff3622fbec0abf6ac551eab5226f22f5d958/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-72750b703a18185c.rlib" "/opt/rustwide/rustup-home/toolchains/7587ff3622fbec0abf6ac551eab5226f22f5d958/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-a1a711aa3d9d444c.rlib" "/opt/rustwide/rustup-home/toolchains/7587ff3622fbec0abf6ac551eab5226f22f5d958/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-a912b32e3ca9ae43.rlib" "/opt/rustwide/rustup-home/toolchains/7587ff3622fbec0abf6ac551eab5226f22f5d958/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-1922b8ad2a4e54ab.rlib" "/opt/rustwide/rustup-home/toolchains/7587ff3622fbec0abf6ac551eab5226f22f5d958/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-e60eec2aca178aae.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-B/opt/rustwide/rustup-home/toolchains/7587ff3622fbec0abf6ac551eab5226f22f5d958/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-B/opt/rustwide/rustup-home/toolchains/7587ff3622fbec0abf6ac551eab5226f22f5d958/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-B/opt/rustwide/rustup-home/toolchains/7587ff3622fbec0abf6ac551eab5226f22f5d958/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/7587ff3622fbec0abf6ac551eab5226f22f5d958/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/opt/rustwide/rustup-home/toolchains/7587ff3622fbec0abf6ac551eab5226f22f5d958/lib/rustlib/x86_64-unknown-linux-gnu/lib/self-contained" "-o" "/opt/rustwide/target/debug/deps/onwards-daab6321bb757e51" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: collect2: fatal error: ld terminated with signal 7 [Bus error], core dumped [INFO] [stdout] compilation terminated. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `onwards` (bin "onwards") due to 1 previous error; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5f5874f98a0d53ceddb13571c972e0b0dc0a7c29fa31bf1e58897bbd538299fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f5874f98a0d53ceddb13571c972e0b0dc0a7c29fa31bf1e58897bbd538299fb", kill_on_drop: false }` [INFO] [stdout] 5f5874f98a0d53ceddb13571c972e0b0dc0a7c29fa31bf1e58897bbd538299fb