[INFO] fetching crate terminal_graphics 0.1.5... [INFO] testing terminal_graphics-0.1.5 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate terminal_graphics 0.1.5 into /workspace/builds/worker-58/source [INFO] validating manifest of crates.io crate terminal_graphics 0.1.5 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate terminal_graphics 0.1.5 [INFO] finished tweaking crates.io crate terminal_graphics 0.1.5 [INFO] tweaked toml for crates.io crate terminal_graphics 0.1.5 written to /workspace/builds/worker-58/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-58/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-58/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d2e696a5840eb955f260e9163bb4147f7276b8bbcb97ced50f058572f35cfab5 [INFO] running `Command { std: "docker" "start" "-a" "d2e696a5840eb955f260e9163bb4147f7276b8bbcb97ced50f058572f35cfab5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d2e696a5840eb955f260e9163bb4147f7276b8bbcb97ced50f058572f35cfab5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2e696a5840eb955f260e9163bb4147f7276b8bbcb97ced50f058572f35cfab5", kill_on_drop: false }` [INFO] [stdout] d2e696a5840eb955f260e9163bb4147f7276b8bbcb97ced50f058572f35cfab5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-58/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-58/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3e1bbd9f3be7a5dfa69a5661ea57268dc77eb04bc148966afe92f40d9e2b0d8a [INFO] running `Command { std: "docker" "start" "-a" "3e1bbd9f3be7a5dfa69a5661ea57268dc77eb04bc148966afe92f40d9e2b0d8a", kill_on_drop: false }` [INFO] [stderr] Compiling terminal_graphics v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graphics/container.rs:17:29 [INFO] [stdout] | [INFO] [stdout] 17 | content: Option<&'a mut Graphic>, [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 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 - content: Option<&'a mut Graphic>, [INFO] [stdout] 17 + content: Option<&'a mut dyn Graphic>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graphics/mod.rs:48:35 [INFO] [stdout] | [INFO] [stdout] 48 | graphics: HashMap>, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 48 - graphics: HashMap>, [INFO] [stdout] 48 + graphics: HashMap>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graphics/mod.rs:72:58 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn add_named(&mut self, name: &str, graphic: 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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 72 - pub fn add_named(&mut self, name: &str, graphic: Box) { [INFO] [stdout] 72 + pub fn add_named(&mut self, name: &str, graphic: Box) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graphics/mod.rs:77:68 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn get_mut_named(&mut self, name: &str) -> Option<&mut 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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 77 - pub fn get_mut_named(&mut self, name: &str) -> Option<&mut Box> { [INFO] [stdout] 77 + pub fn get_mut_named(&mut self, name: &str) -> Option<&mut Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graphics/mod.rs:82:56 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn get_named(&self, name: &str) -> Option<&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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 82 - pub fn get_named(&self, name: &str) -> Option<&Box> { [INFO] [stdout] 82 + pub fn get_named(&self, name: &str) -> Option<&Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graphics/container.rs:41:26 [INFO] [stdout] | [INFO] [stdout] 41 | graphic: &'a mut Graphic, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 41 - graphic: &'a mut Graphic, [INFO] [stdout] 41 + graphic: &'a mut dyn Graphic, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graphics/container.rs:62:52 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn set_content(&mut self, graphic: &'a mut Graphic) { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 62 - pub fn set_content(&mut self, graphic: &'a mut Graphic) { [INFO] [stdout] 62 + pub fn set_content(&mut self, graphic: &'a mut dyn Graphic) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/display/display.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | for mut pixel in pixels { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.99s [INFO] running `Command { std: "docker" "inspect" "3e1bbd9f3be7a5dfa69a5661ea57268dc77eb04bc148966afe92f40d9e2b0d8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e1bbd9f3be7a5dfa69a5661ea57268dc77eb04bc148966afe92f40d9e2b0d8a", kill_on_drop: false }` [INFO] [stdout] 3e1bbd9f3be7a5dfa69a5661ea57268dc77eb04bc148966afe92f40d9e2b0d8a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-58/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-58/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aaa086e8ea0276b4a05e2e188d3fc322d31bba63b6f4816ff9fac1064d2fa16c [INFO] running `Command { std: "docker" "start" "-a" "aaa086e8ea0276b4a05e2e188d3fc322d31bba63b6f4816ff9fac1064d2fa16c", kill_on_drop: false }` [INFO] [stderr] Compiling terminal_graphics v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graphics/container.rs:17:29 [INFO] [stdout] | [INFO] [stdout] 17 | content: Option<&'a mut Graphic>, [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 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 - content: Option<&'a mut Graphic>, [INFO] [stdout] 17 + content: Option<&'a mut dyn Graphic>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graphics/mod.rs:48:35 [INFO] [stdout] | [INFO] [stdout] 48 | graphics: HashMap>, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 48 - graphics: HashMap>, [INFO] [stdout] 48 + graphics: HashMap>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graphics/mod.rs:72:58 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn add_named(&mut self, name: &str, graphic: 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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 72 - pub fn add_named(&mut self, name: &str, graphic: Box) { [INFO] [stdout] 72 + pub fn add_named(&mut self, name: &str, graphic: Box) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graphics/mod.rs:77:68 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn get_mut_named(&mut self, name: &str) -> Option<&mut 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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 77 - pub fn get_mut_named(&mut self, name: &str) -> Option<&mut Box> { [INFO] [stdout] 77 + pub fn get_mut_named(&mut self, name: &str) -> Option<&mut Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graphics/mod.rs:82:56 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn get_named(&self, name: &str) -> Option<&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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 82 - pub fn get_named(&self, name: &str) -> Option<&Box> { [INFO] [stdout] 82 + pub fn get_named(&self, name: &str) -> Option<&Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graphics/container.rs:41:26 [INFO] [stdout] | [INFO] [stdout] 41 | graphic: &'a mut Graphic, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 41 - graphic: &'a mut Graphic, [INFO] [stdout] 41 + graphic: &'a mut dyn Graphic, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graphics/container.rs:62:52 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn set_content(&mut self, graphic: &'a mut Graphic) { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 62 - pub fn set_content(&mut self, graphic: &'a mut Graphic) { [INFO] [stdout] 62 + pub fn set_content(&mut self, graphic: &'a mut dyn Graphic) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/display/display.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | for mut pixel in pixels { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graphics/container.rs:17:29 [INFO] [stdout] | [INFO] [stdout] 17 | content: Option<&'a mut Graphic>, [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 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 - content: Option<&'a mut Graphic>, [INFO] [stdout] 17 + content: Option<&'a mut dyn Graphic>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graphics/mod.rs:48:35 [INFO] [stdout] | [INFO] [stdout] 48 | graphics: HashMap>, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 48 - graphics: HashMap>, [INFO] [stdout] 48 + graphics: HashMap>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graphics/mod.rs:72:58 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn add_named(&mut self, name: &str, graphic: 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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 72 - pub fn add_named(&mut self, name: &str, graphic: Box) { [INFO] [stdout] 72 + pub fn add_named(&mut self, name: &str, graphic: Box) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graphics/mod.rs:77:68 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn get_mut_named(&mut self, name: &str) -> Option<&mut 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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 77 - pub fn get_mut_named(&mut self, name: &str) -> Option<&mut Box> { [INFO] [stdout] 77 + pub fn get_mut_named(&mut self, name: &str) -> Option<&mut Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graphics/mod.rs:82:56 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn get_named(&self, name: &str) -> Option<&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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 82 - pub fn get_named(&self, name: &str) -> Option<&Box> { [INFO] [stdout] 82 + pub fn get_named(&self, name: &str) -> Option<&Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graphics/container.rs:41:26 [INFO] [stdout] | [INFO] [stdout] 41 | graphic: &'a mut Graphic, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 41 - graphic: &'a mut Graphic, [INFO] [stdout] 41 + graphic: &'a mut dyn Graphic, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graphics/container.rs:62:52 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn set_content(&mut self, graphic: &'a mut Graphic) { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 62 - pub fn set_content(&mut self, graphic: &'a mut Graphic) { [INFO] [stdout] 62 + pub fn set_content(&mut self, graphic: &'a mut dyn Graphic) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/display/display.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | for mut pixel in pixels { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.79s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/terminal_graphics-f69d671998af0a2b) [INFO] [stderr] Executable unittests src/bin/main.rs (/opt/rustwide/target/debug/deps/main-fb0e076d4090eb5e) [INFO] running `Command { std: "docker" "inspect" "aaa086e8ea0276b4a05e2e188d3fc322d31bba63b6f4816ff9fac1064d2fa16c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aaa086e8ea0276b4a05e2e188d3fc322d31bba63b6f4816ff9fac1064d2fa16c", kill_on_drop: false }` [INFO] [stdout] aaa086e8ea0276b4a05e2e188d3fc322d31bba63b6f4816ff9fac1064d2fa16c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-58/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-58/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c42eb9d9689760ac28df343212b712a56cf8d4be6ea91417a6cb370974e77f43 [INFO] running `Command { std: "docker" "start" "-a" "c42eb9d9689760ac28df343212b712a56cf8d4be6ea91417a6cb370974e77f43", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/graphics/container.rs:17:29 [INFO] [stderr] | [INFO] [stderr] 17 | content: Option<&'a mut Graphic>, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stderr] | [INFO] [stderr] 17 - content: Option<&'a mut Graphic>, [INFO] [stderr] 17 + content: Option<&'a mut dyn Graphic>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/graphics/mod.rs:48:35 [INFO] [stderr] | [INFO] [stderr] 48 | graphics: HashMap>, [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: use `dyn` [INFO] [stderr] | [INFO] [stderr] 48 - graphics: HashMap>, [INFO] [stderr] 48 + graphics: HashMap>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/graphics/mod.rs:72:58 [INFO] [stderr] | [INFO] [stderr] 72 | pub fn add_named(&mut self, name: &str, graphic: 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: use `dyn` [INFO] [stderr] | [INFO] [stderr] 72 - pub fn add_named(&mut self, name: &str, graphic: Box) { [INFO] [stderr] 72 + pub fn add_named(&mut self, name: &str, graphic: Box) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/graphics/mod.rs:77:68 [INFO] [stderr] | [INFO] [stderr] 77 | pub fn get_mut_named(&mut self, name: &str) -> Option<&mut 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: use `dyn` [INFO] [stderr] | [INFO] [stderr] 77 - pub fn get_mut_named(&mut self, name: &str) -> Option<&mut Box> { [INFO] [stderr] 77 + pub fn get_mut_named(&mut self, name: &str) -> Option<&mut Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/graphics/mod.rs:82:56 [INFO] [stderr] | [INFO] [stderr] 82 | pub fn get_named(&self, name: &str) -> Option<&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: use `dyn` [INFO] [stderr] | [INFO] [stderr] 82 - pub fn get_named(&self, name: &str) -> Option<&Box> { [INFO] [stderr] 82 + pub fn get_named(&self, name: &str) -> Option<&Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/graphics/container.rs:41:26 [INFO] [stderr] | [INFO] [stderr] 41 | graphic: &'a mut Graphic, [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: use `dyn` [INFO] [stderr] | [INFO] [stderr] 41 - graphic: &'a mut Graphic, [INFO] [stderr] 41 + graphic: &'a mut dyn Graphic, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/graphics/container.rs:62:52 [INFO] [stderr] | [INFO] [stderr] 62 | pub fn set_content(&mut self, graphic: &'a mut Graphic) { [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: use `dyn` [INFO] [stderr] | [INFO] [stderr] 62 - pub fn set_content(&mut self, graphic: &'a mut Graphic) { [INFO] [stderr] 62 + pub fn set_content(&mut self, graphic: &'a mut dyn Graphic) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/display/display.rs:48:17 [INFO] [stderr] | [INFO] [stderr] 48 | for mut pixel in pixels { [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `terminal_graphics` (lib) generated 8 warnings [INFO] [stderr] warning: `terminal_graphics` (lib test) generated 8 warnings (8 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/terminal_graphics-f69d671998af0a2b) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::it_works ... ok [INFO] [stdout] test display::tests::it_works ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/main.rs (/opt/rustwide/target/debug/deps/main-fb0e076d4090eb5e) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests terminal_graphics [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/display/colour.rs - display::colour::Colour::get_rbg (line 177) ... ok [INFO] [stdout] test src/display/colour.rs - display::colour::Colour::get_codes (line 145) ... ok [INFO] [stdout] test src/display/colour.rs - display::colour::Colour::from_rgb (line 110) ... ok [INFO] [stdout] test src/display/colour.rs - display::colour::Colour::variants (line 81) ... ok [INFO] [stdout] test src/display/colour.rs - display::colour::Colour::of (line 29) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.37s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c42eb9d9689760ac28df343212b712a56cf8d4be6ea91417a6cb370974e77f43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c42eb9d9689760ac28df343212b712a56cf8d4be6ea91417a6cb370974e77f43", kill_on_drop: false }` [INFO] [stdout] c42eb9d9689760ac28df343212b712a56cf8d4be6ea91417a6cb370974e77f43