[INFO] fetching crate terminal_graphics 0.1.5... [INFO] testing terminal_graphics-0.1.5 against 1.60.0 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 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 76bf85e8fc7f6fd8fb52168230455893b89531ce8b292cba195704fa7e993493 [INFO] running `Command { std: "docker" "start" "-a" "76bf85e8fc7f6fd8fb52168230455893b89531ce8b292cba195704fa7e993493", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "76bf85e8fc7f6fd8fb52168230455893b89531ce8b292cba195704fa7e993493", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76bf85e8fc7f6fd8fb52168230455893b89531ce8b292cba195704fa7e993493", kill_on_drop: false }` [INFO] [stdout] 76bf85e8fc7f6fd8fb52168230455893b89531ce8b292cba195704fa7e993493 [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" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5eaf0deeb5f38e40b2013a37080f43c9917203f25cfc9c49a88f4f30c48e5017 [INFO] running `Command { std: "docker" "start" "-a" "5eaf0deeb5f38e40b2013a37080f43c9917203f25cfc9c49a88f4f30c48e5017", 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 20.05s [INFO] running `Command { std: "docker" "inspect" "5eaf0deeb5f38e40b2013a37080f43c9917203f25cfc9c49a88f4f30c48e5017", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5eaf0deeb5f38e40b2013a37080f43c9917203f25cfc9c49a88f4f30c48e5017", kill_on_drop: false }` [INFO] [stdout] 5eaf0deeb5f38e40b2013a37080f43c9917203f25cfc9c49a88f4f30c48e5017 [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" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7ffeb954d5582f20b8de98deaff407ed8f9edfff38a93671c3c1d708d609c24a [INFO] running `Command { std: "docker" "start" "-a" "7ffeb954d5582f20b8de98deaff407ed8f9edfff38a93671c3c1d708d609c24a", kill_on_drop: false }` [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] [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/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.27s [INFO] running `Command { std: "docker" "inspect" "7ffeb954d5582f20b8de98deaff407ed8f9edfff38a93671c3c1d708d609c24a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ffeb954d5582f20b8de98deaff407ed8f9edfff38a93671c3c1d708d609c24a", kill_on_drop: false }` [INFO] [stdout] 7ffeb954d5582f20b8de98deaff407ed8f9edfff38a93671c3c1d708d609c24a [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" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a016cfed4c37b747299e32448519000b260936a8b42ed742b71e4a766dc72930 [INFO] running `Command { std: "docker" "start" "-a" "a016cfed4c37b747299e32448519000b260936a8b42ed742b71e4a766dc72930", 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] [stdout] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] running 2 tests [INFO] [stderr] --> src/graphics/mod.rs:72:58 [INFO] [stdout] test tests::it_works ... ok [INFO] [stderr] | [INFO] [stdout] test display::tests::it_works ... ok [INFO] [stderr] 72 | pub fn add_named(&mut self, name: &str, graphic: Box) { [INFO] [stdout] [INFO] [stderr] | ^^^^^^^ [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] [INFO] [stderr] = note: for more information, see [INFO] [stdout] running 0 tests [INFO] [stderr] help: use `dyn` [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] 72 - pub fn add_named(&mut self, name: &str, graphic: Box) { [INFO] [stdout] [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.01s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/terminal_graphics-db14a8d2125a189a) [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/main-8196b41441e3f30e) [INFO] [stderr] Doc-tests terminal_graphics [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/display/colour.rs - display::colour::Colour::variants (line 81) ... 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::of (line 29) ... ok [INFO] [stdout] test src/display/colour.rs - display::colour::Colour::get_rbg (line 177) ... 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" "a016cfed4c37b747299e32448519000b260936a8b42ed742b71e4a766dc72930", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a016cfed4c37b747299e32448519000b260936a8b42ed742b71e4a766dc72930", kill_on_drop: false }` [INFO] [stdout] a016cfed4c37b747299e32448519000b260936a8b42ed742b71e4a766dc72930