[INFO] cloning repository https://github.com/zyxw59/formatting [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zyxw59/formatting" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzyxw59%2Fformatting", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzyxw59%2Fformatting'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 201fdeb35234149de913dc022610b556cbe79666 [INFO] testing zyxw59/formatting against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzyxw59%2Fformatting" "/workspace/builds/worker-28/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-28/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zyxw59/formatting 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 git repo https://github.com/zyxw59/formatting [INFO] finished tweaking git repo https://github.com/zyxw59/formatting [INFO] tweaked toml for git repo https://github.com/zyxw59/formatting written to /workspace/builds/worker-28/source/Cargo.toml [INFO] crate git repo https://github.com/zyxw59/formatting already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/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] d744d3dbc8321c5db44cfd4ed37ad22919c425c0b6b123c6c24c9968abd5e6fa [INFO] running `Command { std: "docker" "start" "-a" "d744d3dbc8321c5db44cfd4ed37ad22919c425c0b6b123c6c24c9968abd5e6fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d744d3dbc8321c5db44cfd4ed37ad22919c425c0b6b123c6c24c9968abd5e6fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d744d3dbc8321c5db44cfd4ed37ad22919c425c0b6b123c6c24c9968abd5e6fa", kill_on_drop: false }` [INFO] [stdout] d744d3dbc8321c5db44cfd4ed37ad22919c425c0b6b123c6c24c9968abd5e6fa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/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] 119bdd044b57b65df5cf511004e4cc21bb3b8cdff93641c90fbf4be60de8bfe1 [INFO] running `Command { std: "docker" "start" "-a" "119bdd044b57b65df5cf511004e4cc21bb3b8cdff93641c90fbf4be60de8bfe1", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.13 [INFO] [stderr] Compiling libc v0.2.40 [INFO] [stderr] Compiling rustc-demangle v0.1.7 [INFO] [stderr] Compiling cfg-if v0.1.2 [INFO] [stderr] Compiling synstructure v0.6.1 [INFO] [stderr] Compiling failure_derive v0.1.1 [INFO] [stderr] Compiling backtrace-sys v0.1.16 [INFO] [stderr] Compiling backtrace v0.3.6 [INFO] [stderr] Compiling failure v0.1.1 [INFO] [stderr] Compiling formatting v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Backtrace`, `Context`, `Fail`, `ResultExt` [INFO] [stdout] --> src/parser/mod.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use failure::{Backtrace, Context, Fail, ResultExt}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ ^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ErrorKind`, `Error` [INFO] [stdout] --> src/parser/mod.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use errors::{Error, ErrorKind}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Backtrace`, `Context`, `Fail` [INFO] [stdout] --> src/parser/bufread.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use failure::{Backtrace, Context, Fail, ResultExt}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | fn cause(&self) -> Option<&Fail> { [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] 18 - fn cause(&self) -> Option<&Fail> { [INFO] [stdout] 18 + fn cause(&self) -> Option<&dyn Fail> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `kind` [INFO] [stdout] --> src/errors.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn kind(&self) -> ErrorKind { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `EndOfInput` [INFO] [stdout] --> src/errors.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | EndOfInput, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ErrorKind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/errors.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(Clone, Copy, Debug, Eq, Fail, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UnclosedVerbatim` [INFO] [stdout] --> src/errors.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | UnclosedVerbatim(usize, usize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ErrorKind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/errors.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(Clone, Copy, Debug, Eq, Fail, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Unicode` [INFO] [stdout] --> src/errors.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | Unicode(usize), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ErrorKind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/errors.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(Clone, Copy, Debug, Eq, Fail, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Io` [INFO] [stdout] --> src/errors.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | Io(usize), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ErrorKind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/errors.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(Clone, Copy, Debug, Eq, Fail, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_io` [INFO] [stdout] --> src/errors.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn from_io(err: &io::Error, line: usize) -> ErrorKind { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `input` [INFO] [stdout] --> src/parser/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | input: BufReadIter, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Parser` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/parser/mod.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `input` [INFO] [stdout] --> src/parser/bufread.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | input: R, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BufReadIter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/parser/bufread.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `str_buf` [INFO] [stdout] --> src/parser/bufread.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | str_buf: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BufReadIter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/parser/bufread.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `vec_buf` [INFO] [stdout] --> src/parser/bufread.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | vec_buf: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BufReadIter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/parser/bufread.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `column` [INFO] [stdout] --> src/parser/bufread.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | column: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BufReadIter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/parser/bufread.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `line` [INFO] [stdout] --> src/parser/bufread.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | line: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BufReadIter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/parser/bufread.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/parser/bufread.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new(input: R) -> BufReadIter { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `column` [INFO] [stdout] --> src/parser/bufread.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn column(&self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `line` [INFO] [stdout] --> src/parser/bufread.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn line(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fill_buffer` [INFO] [stdout] --> src/parser/bufread.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | fn fill_buffer(&mut self) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next` [INFO] [stdout] --> src/parser/bufread.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn next(&mut self) -> Result, Error> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `expect_next` [INFO] [stdout] --> src/parser/bufread.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn expect_next(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `current` [INFO] [stdout] --> src/parser/bufread.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn current(&self) -> Option<&char> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `peek` [INFO] [stdout] --> src/parser/bufread.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn peek(&self) -> Option<&char> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 13.56s [INFO] running `Command { std: "docker" "inspect" "119bdd044b57b65df5cf511004e4cc21bb3b8cdff93641c90fbf4be60de8bfe1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "119bdd044b57b65df5cf511004e4cc21bb3b8cdff93641c90fbf4be60de8bfe1", kill_on_drop: false }` [INFO] [stdout] 119bdd044b57b65df5cf511004e4cc21bb3b8cdff93641c90fbf4be60de8bfe1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/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] ae9b2caca3eefd54afc93dba4d1d4c905d0faa52d970af6c8409829341b5850c [INFO] running `Command { std: "docker" "start" "-a" "ae9b2caca3eefd54afc93dba4d1d4c905d0faa52d970af6c8409829341b5850c", kill_on_drop: false }` [INFO] [stderr] Compiling formatting v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Backtrace`, `Context`, `Fail`, `ResultExt` [INFO] [stdout] --> src/parser/mod.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use failure::{Backtrace, Context, Fail, ResultExt}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ ^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ErrorKind`, `Error` [INFO] [stdout] --> src/parser/mod.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use errors::{Error, ErrorKind}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Backtrace`, `Context`, `Fail` [INFO] [stdout] --> src/parser/bufread.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use failure::{Backtrace, Context, Fail, ResultExt}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | fn cause(&self) -> Option<&Fail> { [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] 18 - fn cause(&self) -> Option<&Fail> { [INFO] [stdout] 18 + fn cause(&self) -> Option<&dyn Fail> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `kind` [INFO] [stdout] --> src/errors.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn kind(&self) -> ErrorKind { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `EndOfInput` [INFO] [stdout] --> src/errors.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | EndOfInput, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ErrorKind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/errors.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(Clone, Copy, Debug, Eq, Fail, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UnclosedVerbatim` [INFO] [stdout] --> src/errors.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | UnclosedVerbatim(usize, usize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ErrorKind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/errors.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(Clone, Copy, Debug, Eq, Fail, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Unicode` [INFO] [stdout] --> src/errors.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | Unicode(usize), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ErrorKind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/errors.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(Clone, Copy, Debug, Eq, Fail, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Io` [INFO] [stdout] --> src/errors.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | Io(usize), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ErrorKind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/errors.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(Clone, Copy, Debug, Eq, Fail, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_io` [INFO] [stdout] --> src/errors.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn from_io(err: &io::Error, line: usize) -> ErrorKind { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `input` [INFO] [stdout] --> src/parser/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | input: BufReadIter, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Parser` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/parser/mod.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `input` [INFO] [stdout] --> src/parser/bufread.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | input: R, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BufReadIter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/parser/bufread.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `str_buf` [INFO] [stdout] --> src/parser/bufread.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | str_buf: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BufReadIter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/parser/bufread.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `vec_buf` [INFO] [stdout] --> src/parser/bufread.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | vec_buf: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BufReadIter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/parser/bufread.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `column` [INFO] [stdout] --> src/parser/bufread.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | column: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BufReadIter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/parser/bufread.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `line` [INFO] [stdout] --> src/parser/bufread.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | line: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BufReadIter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/parser/bufread.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/parser/bufread.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new(input: R) -> BufReadIter { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `column` [INFO] [stdout] --> src/parser/bufread.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn column(&self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `line` [INFO] [stdout] --> src/parser/bufread.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn line(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fill_buffer` [INFO] [stdout] --> src/parser/bufread.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | fn fill_buffer(&mut self) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next` [INFO] [stdout] --> src/parser/bufread.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn next(&mut self) -> Result, Error> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `expect_next` [INFO] [stdout] --> src/parser/bufread.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn expect_next(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `current` [INFO] [stdout] --> src/parser/bufread.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn current(&self) -> Option<&char> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `peek` [INFO] [stdout] --> src/parser/bufread.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn peek(&self) -> Option<&char> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.90s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/formatting-4a79488703593979) [INFO] running `Command { std: "docker" "inspect" "ae9b2caca3eefd54afc93dba4d1d4c905d0faa52d970af6c8409829341b5850c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae9b2caca3eefd54afc93dba4d1d4c905d0faa52d970af6c8409829341b5850c", kill_on_drop: false }` [INFO] [stdout] ae9b2caca3eefd54afc93dba4d1d4c905d0faa52d970af6c8409829341b5850c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/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] 822fcc0c24518c00b7cca3800858c60fb0c5ba339feb09733940d6910f925575 [INFO] running `Command { std: "docker" "start" "-a" "822fcc0c24518c00b7cca3800858c60fb0c5ba339feb09733940d6910f925575", kill_on_drop: false }` [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/main.rs:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Backtrace`, `Context`, `Fail`, `ResultExt` [INFO] [stderr] --> src/parser/mod.rs:1:15 [INFO] [stderr] | [INFO] [stderr] 1 | use failure::{Backtrace, Context, Fail, ResultExt}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^ ^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ErrorKind`, `Error` [INFO] [stderr] --> src/parser/mod.rs:3:14 [INFO] [stderr] | [INFO] [stderr] 3 | use errors::{Error, ErrorKind}; [INFO] [stderr] | ^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Backtrace`, `Context`, `Fail` [INFO] [stderr] --> src/parser/bufread.rs:3:15 [INFO] [stderr] | [INFO] [stderr] 3 | use failure::{Backtrace, Context, Fail, ResultExt}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^ ^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/errors.rs:18:32 [INFO] [stderr] | [INFO] [stderr] 18 | fn cause(&self) -> Option<&Fail> { [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] 18 - fn cause(&self) -> Option<&Fail> { [INFO] [stderr] 18 + fn cause(&self) -> Option<&dyn Fail> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `kind` [INFO] [stderr] --> src/errors.rs:12:12 [INFO] [stderr] | [INFO] [stderr] 12 | pub fn kind(&self) -> ErrorKind { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `EndOfInput` [INFO] [stderr] --> src/errors.rs:50:5 [INFO] [stderr] | [INFO] [stderr] 50 | EndOfInput, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ErrorKind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/errors.rs:47:10 [INFO] [stderr] | [INFO] [stderr] 47 | #[derive(Clone, Copy, Debug, Eq, Fail, PartialEq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `UnclosedVerbatim` [INFO] [stderr] --> src/errors.rs:52:5 [INFO] [stderr] | [INFO] [stderr] 52 | UnclosedVerbatim(usize, usize), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ErrorKind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/errors.rs:47:10 [INFO] [stderr] | [INFO] [stderr] 47 | #[derive(Clone, Copy, Debug, Eq, Fail, PartialEq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Unicode` [INFO] [stderr] --> src/errors.rs:54:5 [INFO] [stderr] | [INFO] [stderr] 54 | Unicode(usize), [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ErrorKind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/errors.rs:47:10 [INFO] [stderr] | [INFO] [stderr] 47 | #[derive(Clone, Copy, Debug, Eq, Fail, PartialEq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Io` [INFO] [stderr] --> src/errors.rs:56:5 [INFO] [stderr] | [INFO] [stderr] 56 | Io(usize), [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ErrorKind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/errors.rs:47:10 [INFO] [stderr] | [INFO] [stderr] 47 | #[derive(Clone, Copy, Debug, Eq, Fail, PartialEq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `from_io` [INFO] [stderr] --> src/errors.rs:60:12 [INFO] [stderr] | [INFO] [stderr] 60 | pub fn from_io(err: &io::Error, line: usize) -> ErrorKind { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `input` [INFO] [stderr] --> src/parser/mod.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | input: BufReadIter, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Parser` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/parser/mod.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `input` [INFO] [stderr] --> src/parser/bufread.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | input: R, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `BufReadIter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/parser/bufread.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `str_buf` [INFO] [stderr] --> src/parser/bufread.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | str_buf: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `BufReadIter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/parser/bufread.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `vec_buf` [INFO] [stderr] --> src/parser/bufread.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | vec_buf: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `BufReadIter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/parser/bufread.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `column` [INFO] [stderr] --> src/parser/bufread.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | column: usize, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `BufReadIter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/parser/bufread.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `line` [INFO] [stderr] --> src/parser/bufread.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | line: usize, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `BufReadIter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/parser/bufread.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/parser/bufread.rs:22:12 [INFO] [stderr] | [INFO] [stderr] 22 | pub fn new(input: R) -> BufReadIter { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `column` [INFO] [stderr] --> src/parser/bufread.rs:33:12 [INFO] [stderr] | [INFO] [stderr] 33 | pub fn column(&self) -> usize { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `line` [INFO] [stderr] --> src/parser/bufread.rs:38:12 [INFO] [stderr] | [INFO] [stderr] 38 | pub fn line(&self) -> usize { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `fill_buffer` [INFO] [stderr] --> src/parser/bufread.rs:43:8 [INFO] [stderr] | [INFO] [stderr] 43 | fn fill_buffer(&mut self) -> Result<(), Error> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `next` [INFO] [stderr] --> src/parser/bufread.rs:55:12 [INFO] [stderr] | [INFO] [stderr] 55 | pub fn next(&mut self) -> Result, Error> { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `expect_next` [INFO] [stderr] --> src/parser/bufread.rs:66:12 [INFO] [stderr] | [INFO] [stderr] 66 | pub fn expect_next(&mut self) -> Result { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `current` [INFO] [stderr] --> src/parser/bufread.rs:72:12 [INFO] [stderr] | [INFO] [stderr] 72 | pub fn current(&self) -> Option<&char> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `peek` [INFO] [stderr] --> src/parser/bufread.rs:78:12 [INFO] [stderr] | [INFO] [stderr] 78 | pub fn peek(&self) -> Option<&char> { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: `formatting` (bin "formatting" test) generated 25 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/formatting-4a79488703593979) [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] running `Command { std: "docker" "inspect" "822fcc0c24518c00b7cca3800858c60fb0c5ba339feb09733940d6910f925575", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "822fcc0c24518c00b7cca3800858c60fb0c5ba339feb09733940d6910f925575", kill_on_drop: false }` [INFO] [stdout] 822fcc0c24518c00b7cca3800858c60fb0c5ba339feb09733940d6910f925575