[INFO] fetching crate terminal_graphics 0.1.5... [INFO] testing terminal_graphics-0.1.5 against beta-2022-02-22 for beta-1.60-1 [INFO] extracting crate terminal_graphics 0.1.5 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate terminal_graphics 0.1.5 on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "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-13/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a4e3341401cecfbb07771206da50aec1cc353622d660c56780291575396f3dbf [INFO] running `Command { std: "docker" "start" "-a" "a4e3341401cecfbb07771206da50aec1cc353622d660c56780291575396f3dbf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a4e3341401cecfbb07771206da50aec1cc353622d660c56780291575396f3dbf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4e3341401cecfbb07771206da50aec1cc353622d660c56780291575396f3dbf", kill_on_drop: false }` [INFO] [stdout] a4e3341401cecfbb07771206da50aec1cc353622d660c56780291575396f3dbf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 38ceed01c02efa59ed4302ea85860fa439a71a14deddef4eabee9d4bcbfa4be4 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "38ceed01c02efa59ed4302ea85860fa439a71a14deddef4eabee9d4bcbfa4be4", 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 2.36s [INFO] running `Command { std: "docker" "inspect" "38ceed01c02efa59ed4302ea85860fa439a71a14deddef4eabee9d4bcbfa4be4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38ceed01c02efa59ed4302ea85860fa439a71a14deddef4eabee9d4bcbfa4be4", kill_on_drop: false }` [INFO] [stdout] 38ceed01c02efa59ed4302ea85860fa439a71a14deddef4eabee9d4bcbfa4be4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f5fac7ea311aaf79fd25596060331db35db0dd9bf8aefe37d48615e74cf64a34 [INFO] running `Command { std: "docker" "start" "-a" "f5fac7ea311aaf79fd25596060331db35db0dd9bf8aefe37d48615e74cf64a34", 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] [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: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] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.86s [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f5fac7ea311aaf79fd25596060331db35db0dd9bf8aefe37d48615e74cf64a34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5fac7ea311aaf79fd25596060331db35db0dd9bf8aefe37d48615e74cf64a34", kill_on_drop: false }` [INFO] [stdout] f5fac7ea311aaf79fd25596060331db35db0dd9bf8aefe37d48615e74cf64a34 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 0a50a7fac794a82c33aa6b8ebb4c1f2a6b564c1341f51363c14acd52a8b9c2f2 [INFO] running `Command { std: "docker" "start" "-a" "0a50a7fac794a82c33aa6b8ebb4c1f2a6b564c1341f51363c14acd52a8b9c2f2", 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.01s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/terminal_graphics-f69d671998af0a2b) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test display::tests::it_works ... ok [INFO] [stdout] test 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.01s [INFO] [stdout] [INFO] [stderr] Running unittests (/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 1.16s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0a50a7fac794a82c33aa6b8ebb4c1f2a6b564c1341f51363c14acd52a8b9c2f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a50a7fac794a82c33aa6b8ebb4c1f2a6b564c1341f51363c14acd52a8b9c2f2", kill_on_drop: false }` [INFO] [stdout] 0a50a7fac794a82c33aa6b8ebb4c1f2a6b564c1341f51363c14acd52a8b9c2f2