[INFO] cloning repository https://github.com/mpdrescher/run-info [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mpdrescher/run-info" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmpdrescher%2Frun-info", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmpdrescher%2Frun-info'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6084269161e9ba2396eecc56480629a1c791e359 [INFO] checking mpdrescher/run-info against master#cb06d12710575a0d7ff71d6fe108f3bcff4f9195 for pr-128425-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmpdrescher%2Frun-info" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mpdrescher/run-info on toolchain cb06d12710575a0d7ff71d6fe108f3bcff4f9195 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cb06d12710575a0d7ff71d6fe108f3bcff4f9195" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mpdrescher/run-info [INFO] finished tweaking git repo https://github.com/mpdrescher/run-info [INFO] tweaked toml for git repo https://github.com/mpdrescher/run-info written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/mpdrescher/run-info already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cb06d12710575a0d7ff71d6fe108f3bcff4f9195" "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 ansi_term v0.8.0 [INFO] [stderr] Downloaded term_size v0.1.1 [INFO] [stderr] Downloaded clap v2.11.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+cb06d12710575a0d7ff71d6fe108f3bcff4f9195" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4b491afb782c56d4ef1a254cb9fd9b9bcc3da20ea9c62b13c9d06ecd79e89a72 [INFO] running `Command { std: "docker" "start" "-a" "4b491afb782c56d4ef1a254cb9fd9b9bcc3da20ea9c62b13c9d06ecd79e89a72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4b491afb782c56d4ef1a254cb9fd9b9bcc3da20ea9c62b13c9d06ecd79e89a72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b491afb782c56d4ef1a254cb9fd9b9bcc3da20ea9c62b13c9d06ecd79e89a72", kill_on_drop: false }` [INFO] [stdout] 4b491afb782c56d4ef1a254cb9fd9b9bcc3da20ea9c62b13c9d06ecd79e89a72 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+cb06d12710575a0d7ff71d6fe108f3bcff4f9195" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 44a86ac60d3ad9c3cbbae6db574c5ab4f84847549844e048910cce4dfd4275ab [INFO] running `Command { std: "docker" "start" "-a" "44a86ac60d3ad9c3cbbae6db574c5ab4f84847549844e048910cce4dfd4275ab", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking libc v0.2.15 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking ansi_term v0.8.0 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Checking vec_map v0.6.0 [INFO] [stderr] Checking unicode-width v0.1.3 [INFO] [stderr] Checking strsim v0.5.1 [INFO] [stderr] Checking unicode-segmentation v0.1.2 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking term_size v0.1.1 [INFO] [stderr] Checking term v0.4.4 [INFO] [stderr] Checking time v0.1.35 [INFO] [stderr] Checking clap v2.11.0 [INFO] [stderr] Checking run-info v0.5.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/meminfo.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let map = try!(MemInfo::read_mem()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/meminfo.rs:52:15 [INFO] [stdout] | [INFO] [stdout] 52 | let plain = try!(read_file("/proc/meminfo")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/meminfo.rs:88:2 [INFO] [stdout] | [INFO] [stdout] 88 | try!(file.read_to_string(&mut ret_val)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/meminfo.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | let mut file = try!(File::open(location)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cpuinfo.rs:34:15 [INFO] [stdout] | [INFO] [stdout] 34 | let plain = try!(read_file("/proc/stat")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cpuinfo.rs:111:2 [INFO] [stdout] | [INFO] [stdout] 111 | try!(file.read_to_string(&mut ret_val)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cpuinfo.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | let mut file = try!(File::open(location)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/printutils.rs:22:42 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn print_progress_bar(term: &mut Box + Send>, settings: &Settings, [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)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 | pub fn print_progress_bar(term: &mut Box + Send>, settings: &Settings, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/printutils.rs:41:41 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn print_highlighted(term: &mut Box + Send>, settings: &Settings, [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] 41 | pub fn print_highlighted(term: &mut Box + Send>, settings: &Settings, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/printutils.rs:49:36 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn print_header(term: &mut Box + Send>, settings: &Settings, [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] 49 | pub fn print_header(term: &mut Box + Send>, settings: &Settings, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/printutils.rs:69:35 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn print_graph(term: &mut Box + Send>, settings: &Settings, graph: &Graph) { [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] 69 | pub fn print_graph(term: &mut Box + Send>, settings: &Settings, graph: &Graph) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/printutils.rs:100:33 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn attribute(term: &mut Box + Send>, settings: &Settings, attrib: Attr) { [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] 100 | pub fn attribute(term: &mut Box + Send>, settings: &Settings, attrib: Attr) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/printutils.rs:106:29 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn reset(term: &mut Box + Send>, settings: &Settings) { [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] 106 | pub fn reset(term: &mut Box + Send>, settings: &Settings) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/printutils.rs:112:32 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn colorize(term: &mut Box + Send>, settings: &Settings, color_code: u16) { [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] 112 | pub fn colorize(term: &mut Box + Send>, settings: &Settings, color_code: u16) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/printer.rs:34:33 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn print(mut term: &mut Box + Send>, settings: &Settings, [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] 34 | pub fn print(mut term: &mut Box + Send>, settings: &Settings, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/printer.rs:116:44 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn print_small_mode(mut term: &mut Box + Send>, settings: &Settings, [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] 116 | pub fn print_small_mode(mut term: &mut Box + Send>, settings: &Settings, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/printer.rs:158:42 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn print_log_mode(mut term: &mut Box + Send>, settings: &Settings, [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] 158 | pub fn print_log_mode(mut term: &mut Box + Send>, settings: &Settings, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/meminfo.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let map = try!(MemInfo::read_mem()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/meminfo.rs:52:15 [INFO] [stdout] | [INFO] [stdout] 52 | let plain = try!(read_file("/proc/meminfo")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/meminfo.rs:88:2 [INFO] [stdout] | [INFO] [stdout] 88 | try!(file.read_to_string(&mut ret_val)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/meminfo.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | let mut file = try!(File::open(location)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cpuinfo.rs:34:15 [INFO] [stdout] | [INFO] [stdout] 34 | let plain = try!(read_file("/proc/stat")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cpuinfo.rs:111:2 [INFO] [stdout] | [INFO] [stdout] 111 | try!(file.read_to_string(&mut ret_val)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cpuinfo.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | let mut file = try!(File::open(location)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/printutils.rs:22:42 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn print_progress_bar(term: &mut Box + Send>, settings: &Settings, [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)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 | pub fn print_progress_bar(term: &mut Box + Send>, settings: &Settings, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/printutils.rs:41:41 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn print_highlighted(term: &mut Box + Send>, settings: &Settings, [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] 41 | pub fn print_highlighted(term: &mut Box + Send>, settings: &Settings, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/printutils.rs:49:36 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn print_header(term: &mut Box + Send>, settings: &Settings, [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] 49 | pub fn print_header(term: &mut Box + Send>, settings: &Settings, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/printutils.rs:69:35 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn print_graph(term: &mut Box + Send>, settings: &Settings, graph: &Graph) { [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] 69 | pub fn print_graph(term: &mut Box + Send>, settings: &Settings, graph: &Graph) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/printutils.rs:100:33 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn attribute(term: &mut Box + Send>, settings: &Settings, attrib: Attr) { [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] 100 | pub fn attribute(term: &mut Box + Send>, settings: &Settings, attrib: Attr) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/printutils.rs:106:29 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn reset(term: &mut Box + Send>, settings: &Settings) { [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] 106 | pub fn reset(term: &mut Box + Send>, settings: &Settings) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/printutils.rs:112:32 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn colorize(term: &mut Box + Send>, settings: &Settings, color_code: u16) { [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] 112 | pub fn colorize(term: &mut Box + Send>, settings: &Settings, color_code: u16) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/printer.rs:34:33 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn print(mut term: &mut Box + Send>, settings: &Settings, [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] 34 | pub fn print(mut term: &mut Box + Send>, settings: &Settings, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/printer.rs:116:44 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn print_small_mode(mut term: &mut Box + Send>, settings: &Settings, [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] 116 | pub fn print_small_mode(mut term: &mut Box + Send>, settings: &Settings, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/printer.rs:158:42 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn print_log_mode(mut term: &mut Box + Send>, settings: &Settings, [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] 158 | pub fn print_log_mode(mut term: &mut Box + Send>, settings: &Settings, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/printer.rs:116:25 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn print_small_mode(mut term: &mut Box + Send>, settings: &Settings, [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: variable does not need to be mutable [INFO] [stdout] --> src/printer.rs:158:23 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn print_log_mode(mut term: &mut Box + Send>, settings: &Settings, [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pad_string` is never used [INFO] [stdout] --> src/printutils.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn pad_string(mut str: String, size: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/printer.rs:116:25 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn print_small_mode(mut term: &mut Box + Send>, settings: &Settings, [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: variable does not need to be mutable [INFO] [stdout] --> src/printer.rs:158:23 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn print_log_mode(mut term: &mut Box + Send>, settings: &Settings, [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pad_string` is never used [INFO] [stdout] --> src/printutils.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn pad_string(mut str: String, size: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.47s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.7.0, clap v2.11.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "44a86ac60d3ad9c3cbbae6db574c5ab4f84847549844e048910cce4dfd4275ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44a86ac60d3ad9c3cbbae6db574c5ab4f84847549844e048910cce4dfd4275ab", kill_on_drop: false }` [INFO] [stdout] 44a86ac60d3ad9c3cbbae6db574c5ab4f84847549844e048910cce4dfd4275ab