[INFO] fetching crate game-of-life-parsers 2.0.1... [INFO] testing game-of-life-parsers-2.0.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate game-of-life-parsers 2.0.1 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate game-of-life-parsers 2.0.1 [INFO] finished tweaking crates.io crate game-of-life-parsers 2.0.1 [INFO] tweaked toml for crates.io crate game-of-life-parsers 2.0.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate game-of-life-parsers 2.0.1 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 28 packages to latest compatible versions [INFO] [stderr] Adding error-chain v0.11.0 (available: v0.12.4) [INFO] [stderr] Adding regex v0.2.11 (available: v1.11.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded io-test-util v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ec290bfa6a2211ede44935d6c43d45861a60860495beb02d5bd75336d7a203a6 [INFO] running `Command { std: "docker" "start" "-a" "ec290bfa6a2211ede44935d6c43d45861a60860495beb02d5bd75336d7a203a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ec290bfa6a2211ede44935d6c43d45861a60860495beb02d5bd75336d7a203a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec290bfa6a2211ede44935d6c43d45861a60860495beb02d5bd75336d7a203a6", kill_on_drop: false }` [INFO] [stdout] ec290bfa6a2211ede44935d6c43d45861a60860495beb02d5bd75336d7a203a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6edae0b0abd09110ff6ece52d3cb8202e7d00d839d9a8b4d38a5ef72f201a6ff [INFO] running `Command { std: "docker" "start" "-a" "6edae0b0abd09110ff6ece52d3cb8202e7d00d839d9a8b4d38a5ef72f201a6ff", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling ucd-util v0.1.10 [INFO] [stderr] Compiling utf8-ranges v1.0.5 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling error-chain v0.11.0 [INFO] [stderr] Compiling game-of-life-parsers v2.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/default_game_descriptor.rs:50:38 [INFO] [stdout] | [INFO] [stdout] 50 | fn no_negative_coords(&self) -> 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)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 50 | fn no_negative_coords(&self) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game_descriptor.rs:14:38 [INFO] [stdout] | [INFO] [stdout] 14 | fn no_negative_coords(&self) -> 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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | fn no_negative_coords(&self) -> Box; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parsers/life_1_05_parser.rs:19:37 [INFO] [stdout] | [INFO] [stdout] 19 | fn parse<'a>(&mut self, input: Box) -> errors::Result> { [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | fn parse<'a>(&mut self, input: Box) -> errors::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parsers/life_1_05_parser.rs:19:71 [INFO] [stdout] | [INFO] [stdout] 19 | fn parse<'a>(&mut self, input: Box) -> errors::Result> { [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | fn parse<'a>(&mut self, input: Box) -> errors::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parsers/mod.rs:14:37 [INFO] [stdout] | [INFO] [stdout] 14 | fn parse<'a>(&mut self, input: Box) -> errors::Result>; [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | fn parse<'a>(&mut self, input: Box) -> errors::Result>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parsers/mod.rs:14:71 [INFO] [stdout] | [INFO] [stdout] 14 | fn parse<'a>(&mut self, input: Box) -> errors::Result>; [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | fn parse<'a>(&mut self, input: Box) -> errors::Result>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parsers/life_1_06_parser.rs:19:37 [INFO] [stdout] | [INFO] [stdout] 19 | fn parse<'a>(&mut self, input: Box) -> errors::Result> { [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | fn parse<'a>(&mut self, input: Box) -> errors::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parsers/life_1_06_parser.rs:19:71 [INFO] [stdout] | [INFO] [stdout] 19 | fn parse<'a>(&mut self, input: Box) -> errors::Result> { [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | fn parse<'a>(&mut self, input: Box) -> errors::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.70s [INFO] running `Command { std: "docker" "inspect" "6edae0b0abd09110ff6ece52d3cb8202e7d00d839d9a8b4d38a5ef72f201a6ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6edae0b0abd09110ff6ece52d3cb8202e7d00d839d9a8b4d38a5ef72f201a6ff", kill_on_drop: false }` [INFO] [stdout] 6edae0b0abd09110ff6ece52d3cb8202e7d00d839d9a8b4d38a5ef72f201a6ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b9ecb087b680ff021292f06467605792d35a50cedb898856a2f799b20dd30834 [INFO] running `Command { std: "docker" "start" "-a" "b9ecb087b680ff021292f06467605792d35a50cedb898856a2f799b20dd30834", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling io-test-util v0.1.0 [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/default_game_descriptor.rs:50:38 [INFO] [stdout] | [INFO] [stdout] 50 | fn no_negative_coords(&self) -> 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)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 50 | fn no_negative_coords(&self) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game_descriptor.rs:14:38 [INFO] [stdout] | [INFO] [stdout] 14 | fn no_negative_coords(&self) -> 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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | fn no_negative_coords(&self) -> Box; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parsers/life_1_05_parser.rs:19:37 [INFO] [stdout] | [INFO] [stdout] 19 | fn parse<'a>(&mut self, input: Box) -> errors::Result> { [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | fn parse<'a>(&mut self, input: Box) -> errors::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parsers/life_1_05_parser.rs:19:71 [INFO] [stdout] | [INFO] [stdout] 19 | fn parse<'a>(&mut self, input: Box) -> errors::Result> { [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | fn parse<'a>(&mut self, input: Box) -> errors::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parsers/mod.rs:14:37 [INFO] [stdout] | [INFO] [stdout] 14 | fn parse<'a>(&mut self, input: Box) -> errors::Result>; [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | fn parse<'a>(&mut self, input: Box) -> errors::Result>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parsers/mod.rs:14:71 [INFO] [stdout] | [INFO] [stdout] 14 | fn parse<'a>(&mut self, input: Box) -> errors::Result>; [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | fn parse<'a>(&mut self, input: Box) -> errors::Result>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parsers/life_1_06_parser.rs:19:37 [INFO] [stdout] | [INFO] [stdout] 19 | fn parse<'a>(&mut self, input: Box) -> errors::Result> { [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | fn parse<'a>(&mut self, input: Box) -> errors::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parsers/life_1_06_parser.rs:19:71 [INFO] [stdout] | [INFO] [stdout] 19 | fn parse<'a>(&mut self, input: Box) -> errors::Result> { [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | fn parse<'a>(&mut self, input: Box) -> errors::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling game-of-life-parsers v2.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/test_life_1_05.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | let gd: Box = parser.parse(Box::new(file)).unwrap(); [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)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | let gd: Box = parser.parse(Box::new(file)).unwrap(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/default_game_descriptor.rs:50:38 [INFO] [stdout] | [INFO] [stdout] 50 | fn no_negative_coords(&self) -> 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)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 50 | fn no_negative_coords(&self) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game_descriptor.rs:14:38 [INFO] [stdout] | [INFO] [stdout] 14 | fn no_negative_coords(&self) -> 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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | fn no_negative_coords(&self) -> Box; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parsers/life_1_05_parser.rs:19:37 [INFO] [stdout] | [INFO] [stdout] 19 | fn parse<'a>(&mut self, input: Box) -> errors::Result> { [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | fn parse<'a>(&mut self, input: Box) -> errors::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parsers/life_1_05_parser.rs:19:71 [INFO] [stdout] | [INFO] [stdout] 19 | fn parse<'a>(&mut self, input: Box) -> errors::Result> { [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | fn parse<'a>(&mut self, input: Box) -> errors::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parsers/mod.rs:14:37 [INFO] [stdout] | [INFO] [stdout] 14 | fn parse<'a>(&mut self, input: Box) -> errors::Result>; [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | fn parse<'a>(&mut self, input: Box) -> errors::Result>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parsers/mod.rs:14:71 [INFO] [stdout] | [INFO] [stdout] 14 | fn parse<'a>(&mut self, input: Box) -> errors::Result>; [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | fn parse<'a>(&mut self, input: Box) -> errors::Result>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parsers/life_1_06_parser.rs:19:37 [INFO] [stdout] | [INFO] [stdout] 19 | fn parse<'a>(&mut self, input: Box) -> errors::Result> { [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | fn parse<'a>(&mut self, input: Box) -> errors::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parsers/life_1_06_parser.rs:19:71 [INFO] [stdout] | [INFO] [stdout] 19 | fn parse<'a>(&mut self, input: Box) -> errors::Result> { [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | fn parse<'a>(&mut self, input: Box) -> errors::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.35s [INFO] running `Command { std: "docker" "inspect" "b9ecb087b680ff021292f06467605792d35a50cedb898856a2f799b20dd30834", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9ecb087b680ff021292f06467605792d35a50cedb898856a2f799b20dd30834", kill_on_drop: false }` [INFO] [stdout] b9ecb087b680ff021292f06467605792d35a50cedb898856a2f799b20dd30834 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a21561f2fc033b17cf8bb4d5ca3251f2eb1139a11f7194e526220ff8eeff3db6 [INFO] running `Command { std: "docker" "start" "-a" "a21561f2fc033b17cf8bb4d5ca3251f2eb1139a11f7194e526220ff8eeff3db6", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/default_game_descriptor.rs:50:38 [INFO] [stderr] | [INFO] [stderr] 50 | fn no_negative_coords(&self) -> Box { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 50 | fn no_negative_coords(&self) -> Box { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/game_descriptor.rs:14:38 [INFO] [stderr] | [INFO] [stderr] 14 | fn no_negative_coords(&self) -> Box; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 14 | fn no_negative_coords(&self) -> Box; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parsers/life_1_05_parser.rs:19:37 [INFO] [stderr] | [INFO] [stderr] 19 | fn parse<'a>(&mut self, input: Box) -> errors::Result> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 19 | fn parse<'a>(&mut self, input: Box) -> errors::Result> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parsers/life_1_05_parser.rs:19:71 [INFO] [stderr] | [INFO] [stderr] 19 | fn parse<'a>(&mut self, input: Box) -> errors::Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 19 | fn parse<'a>(&mut self, input: Box) -> errors::Result> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parsers/mod.rs:14:37 [INFO] [stderr] | [INFO] [stderr] 14 | fn parse<'a>(&mut self, input: Box) -> errors::Result>; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 14 | fn parse<'a>(&mut self, input: Box) -> errors::Result>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parsers/mod.rs:14:71 [INFO] [stderr] | [INFO] [stderr] 14 | fn parse<'a>(&mut self, input: Box) -> errors::Result>; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 14 | fn parse<'a>(&mut self, input: Box) -> errors::Result>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parsers/life_1_06_parser.rs:19:37 [INFO] [stderr] | [INFO] [stderr] 19 | fn parse<'a>(&mut self, input: Box) -> errors::Result> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 19 | fn parse<'a>(&mut self, input: Box) -> errors::Result> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parsers/life_1_06_parser.rs:19:71 [INFO] [stderr] | [INFO] [stderr] 19 | fn parse<'a>(&mut self, input: Box) -> errors::Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 19 | fn parse<'a>(&mut self, input: Box) -> errors::Result> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `game-of-life-parsers` (lib) generated 8 warnings (run `cargo fix --lib -p game-of-life-parsers` to apply 8 suggestions) [INFO] [stderr] warning: `game-of-life-parsers` (lib test) generated 8 warnings (8 duplicates) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> tests/test_life_1_05.rs:14:14 [INFO] [stderr] | [INFO] [stderr] 14 | let gd: Box = parser.parse(Box::new(file)).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 14 | let gd: Box = parser.parse(Box::new(file)).unwrap(); [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `game-of-life-parsers` (test "test_life_1_05") generated 1 warning (run `cargo fix --test "test_life_1_05"` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/game_of_life_parsers-12bf36828fc11bef) [INFO] [stdout] [INFO] [stdout] running 20 tests [INFO] [stdout] test parsers::life_1_05_parser::test::commented_out_lines_should_be_ignored ... ok [INFO] [stdout] test parsers::life_1_05_parser::test::empty_lines_should_be_ignored ... ok [INFO] [stdout] test parsers::life_1_05_parser::test::parser_should_understand_default_rules ... ok [INFO] [stdout] test default_game_descriptor::test::no_negative_coords_should_work ... ok [INFO] [stdout] test parsers::life_1_05_parser::test::parse_rules_should_parse_custom_rules ... ok [INFO] [stdout] test parsers::life_1_06_parser::test::should_ignore_commented_out_lines ... ok [INFO] [stdout] test parsers::life_1_06_parser::test::should_ignore_empty_lines ... ok [INFO] [stdout] test parsers::life_1_05_parser::test::should_correctly_handle_io_errors ... ok [INFO] [stdout] test parsers::life_1_05_parser::test::parse_offset_should_handle_too_big_coords ... ok [INFO] [stdout] test parsers::life_1_06_parser::test::should_correctly_handle_io_errors ... ok [INFO] [stdout] test parsers::life_1_06_parser::test::should_throw_error_on_wrong_format_annotation ... ok [INFO] [stdout] test parsers::life_1_05_parser::test::should_raise_error_on_invalid_block_header ... ok [INFO] [stdout] test parsers::life_1_05_parser::test::should_handle_too_big_vertical_coords ... ok [INFO] [stdout] test parsers::life_1_05_parser::test::parse_rules_should_err ... ok [INFO] [stdout] test parsers::life_1_05_parser::test::should_handle_too_big_horizontal_coords ... ok [INFO] [stdout] test parsers::life_1_05_parser::test::should_raise_error_on_unexpected_character_in_block ... ok [INFO] [stdout] test parsers::life_1_05_parser::test::should_fail_on_unexpected_chars_outside_blocks ... ok [INFO] [stdout] test parsers::life_1_06_parser::test::should_fail_on_unexpected_chars ... ok [INFO] [stdout] test parsers::life_1_05_parser::test::should_throw_error_on_wrong_format_annotation ... ok [INFO] [stdout] test parsers::life_1_06_parser::test::should_handle_too_big_coordinates ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 20 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.37s [INFO] [stdout] [INFO] [stderr] Running tests/test_life_1_05.rs (/opt/rustwide/target/debug/deps/test_life_1_05-9f8cd11fe1801c16) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test parse_file ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/test_life_1_06.rs (/opt/rustwide/target/debug/deps/test_life_1_06-57d40ba79cc02170) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test parse_file ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests game_of_life_parsers [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 11) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.54s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a21561f2fc033b17cf8bb4d5ca3251f2eb1139a11f7194e526220ff8eeff3db6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a21561f2fc033b17cf8bb4d5ca3251f2eb1139a11f7194e526220ff8eeff3db6", kill_on_drop: false }` [INFO] [stdout] a21561f2fc033b17cf8bb4d5ca3251f2eb1139a11f7194e526220ff8eeff3db6