[INFO] cloning repository https://github.com/DataTriny/Fortuna [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DataTriny/Fortuna" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDataTriny%2FFortuna", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDataTriny%2FFortuna'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5744e824dfbc5ea4e8fd681554e47f9cb88410ad [INFO] checking DataTriny/Fortuna against master#297a8018b525c28ef10ee6a91d61954839b508b9 for pr-95565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDataTriny%2FFortuna" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DataTriny/Fortuna on toolchain 297a8018b525c28ef10ee6a91d61954839b508b9 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+297a8018b525c28ef10ee6a91d61954839b508b9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/DataTriny/Fortuna [INFO] finished tweaking git repo https://github.com/DataTriny/Fortuna [INFO] tweaked toml for git repo https://github.com/DataTriny/Fortuna written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/DataTriny/Fortuna already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+297a8018b525c28ef10ee6a91d61954839b508b9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ron v0.4.2 [INFO] [stderr] Downloaded syn v0.15.28 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+297a8018b525c28ef10ee6a91d61954839b508b9" "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] 2de3cfd8203167b59fa9d878993d90c381ea958415373a38d7454f9ffc90b8ad [INFO] running `Command { std: "docker" "start" "-a" "2de3cfd8203167b59fa9d878993d90c381ea958415373a38d7454f9ffc90b8ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2de3cfd8203167b59fa9d878993d90c381ea958415373a38d7454f9ffc90b8ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2de3cfd8203167b59fa9d878993d90c381ea958415373a38d7454f9ffc90b8ad", kill_on_drop: false }` [INFO] [stdout] 2de3cfd8203167b59fa9d878993d90c381ea958415373a38d7454f9ffc90b8ad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+297a8018b525c28ef10ee6a91d61954839b508b9" "check" "--frozen" "--all" "--all-targets" "--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] 4347e75292229e4a3e8c3a3133185ad4168cc8de2830d081699b520a08f4cec6 [INFO] running `Command { std: "docker" "start" "-a" "4347e75292229e4a3e8c3a3133185ad4168cc8de2830d081699b520a08f4cec6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling serde v1.0.89 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling syn v0.15.28 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.89 [INFO] [stderr] Checking ron v0.4.2 [INFO] [stderr] Checking fortuna v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `objects::Object` [INFO] [stdout] --> src/input/selectors.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | world::{Direction, objects::Object} [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/game.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | pub commands: Vec<Box<Command>>, [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 - pub commands: Vec<Box<Command>>, [INFO] [stdout] 11 + pub commands: Vec<Box<dyn Command>>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `objects::Object` [INFO] [stdout] --> src/input/selectors.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | world::{Direction, objects::Object} [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/input/commands.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | selector: Box<InputParser> [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 - selector: Box<InputParser> [INFO] [stdout] 17 + selector: Box<dyn InputParser> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/input/mod.rs:11:30 [INFO] [stdout] | [INFO] [stdout] 11 | impl InputParser for Vec<Box<Command>> { [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 - impl InputParser for Vec<Box<Command>> { [INFO] [stdout] 11 + impl InputParser for Vec<Box<dyn Command>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/input/commands.rs:68:23 [INFO] [stdout] | [INFO] [stdout] 68 | impl fmt::Display for Command { [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 68 - impl fmt::Display for Command { [INFO] [stdout] 68 + impl fmt::Display for dyn Command { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/input/commands.rs:28:67 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn optional(name: String, description: String, selector: Box<InputParser>) -> Self { [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 28 - pub fn optional(name: String, description: String, selector: Box<InputParser>) -> Self { [INFO] [stdout] 28 + pub fn optional(name: String, description: String, selector: Box<dyn InputParser>) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/input/commands.rs:32:90 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn required(name: String, description: String, error_message: String, selector: Box<InputParser>) -> Self { [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 32 - pub fn required(name: String, description: String, error_message: String, selector: Box<InputParser>) -> Self { [INFO] [stdout] 32 + pub fn required(name: String, description: String, error_message: String, selector: Box<dyn InputParser>) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | pub commands: Vec<Box<Command>>, [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 - pub commands: Vec<Box<Command>>, [INFO] [stdout] 11 + pub commands: Vec<Box<dyn Command>>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/input/commands.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | selector: Box<InputParser> [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 - selector: Box<InputParser> [INFO] [stdout] 17 + selector: Box<dyn InputParser> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/input/mod.rs:11:30 [INFO] [stdout] | [INFO] [stdout] 11 | impl InputParser for Vec<Box<Command>> { [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 - impl InputParser for Vec<Box<Command>> { [INFO] [stdout] 11 + impl InputParser for Vec<Box<dyn Command>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/input/commands.rs:68:23 [INFO] [stdout] | [INFO] [stdout] 68 | impl fmt::Display for Command { [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 68 - impl fmt::Display for Command { [INFO] [stdout] 68 + impl fmt::Display for dyn Command { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/input/commands.rs:28:67 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn optional(name: String, description: String, selector: Box<InputParser>) -> Self { [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 28 - pub fn optional(name: String, description: String, selector: Box<InputParser>) -> Self { [INFO] [stdout] 28 + pub fn optional(name: String, description: String, selector: Box<dyn InputParser>) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/input/commands.rs:32:90 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn required(name: String, description: String, error_message: String, selector: Box<InputParser>) -> Self { [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 32 - pub fn required(name: String, description: String, error_message: String, selector: Box<InputParser>) -> Self { [INFO] [stdout] 32 + pub fn required(name: String, description: String, error_message: String, selector: Box<dyn InputParser>) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/input/commands.rs:210:33 [INFO] [stdout] | [INFO] [stdout] 210 | fn execute(&self, game: &Game, args: Vec<Selectable>) -> GameAction { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/input/commands.rs:249:33 [INFO] [stdout] | [INFO] [stdout] 249 | fn execute(&self, game: &Game, args: Vec<Selectable>) -> GameAction { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game` [INFO] [stdout] --> src/input/selectors.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 32 | fn parse(&self, game: &Game, input: &str) -> (usize, Selectable) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_game` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/game.rs:61:6 [INFO] [stdout] | [INFO] [stdout] 46 | let command = &self.commands[command_id]; [INFO] [stdout] | ------------- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 61 | self.perform_action(command.execute(self, args)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^---------------------------^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used here [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 <https://github.com/rust-lang/rust/issues/59159> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/input/commands.rs:210:33 [INFO] [stdout] | [INFO] [stdout] 210 | fn execute(&self, game: &Game, args: Vec<Selectable>) -> GameAction { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/input/commands.rs:249:33 [INFO] [stdout] | [INFO] [stdout] 249 | fn execute(&self, game: &Game, args: Vec<Selectable>) -> GameAction { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game` [INFO] [stdout] --> src/input/selectors.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 32 | fn parse(&self, game: &Game, input: &str) -> (usize, Selectable) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_game` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/game.rs:61:6 [INFO] [stdout] | [INFO] [stdout] 46 | let command = &self.commands[command_id]; [INFO] [stdout] | ------------- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 61 | self.perform_action(command.execute(self, args)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^---------------------------^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used here [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 <https://github.com/rust-lang/rust/issues/59159> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 32.63s [INFO] running `Command { std: "docker" "inspect" "4347e75292229e4a3e8c3a3133185ad4168cc8de2830d081699b520a08f4cec6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4347e75292229e4a3e8c3a3133185ad4168cc8de2830d081699b520a08f4cec6", kill_on_drop: false }` [INFO] [stdout] 4347e75292229e4a3e8c3a3133185ad4168cc8de2830d081699b520a08f4cec6