[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] checking zyxw59/formatting against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzyxw59%2Fformatting" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zyxw59/formatting on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", 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-2/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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cfg-if v0.1.2 [INFO] [stderr] Downloaded synstructure v0.6.1 [INFO] [stderr] Downloaded failure_derive v0.1.1 [INFO] [stderr] Downloaded cc v1.0.13 [INFO] [stderr] Downloaded backtrace-sys v0.1.16 [INFO] [stderr] Downloaded libc v0.2.40 [INFO] [stderr] Downloaded backtrace v0.3.6 [INFO] [stderr] Downloaded rustc-demangle v0.1.7 [INFO] [stderr] Downloaded failure v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a8bceb0a073427d291516a56166c7ae09ccf0e6d03fa1d0b100bed378a4504e3 [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" "a8bceb0a073427d291516a56166c7ae09ccf0e6d03fa1d0b100bed378a4504e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a8bceb0a073427d291516a56166c7ae09ccf0e6d03fa1d0b100bed378a4504e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8bceb0a073427d291516a56166c7ae09ccf0e6d03fa1d0b100bed378a4504e3", kill_on_drop: false }` [INFO] [stdout] a8bceb0a073427d291516a56166c7ae09ccf0e6d03fa1d0b100bed378a4504e3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3345fab8ea7703afe9a9e176bca49e7faccc81a95ad9c067443af04cf0b97531 [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" "3345fab8ea7703afe9a9e176bca49e7faccc81a95ad9c067443af04cf0b97531", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.13 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking libc v0.2.40 [INFO] [stderr] Checking cfg-if v0.1.2 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling backtrace-sys v0.1.16 [INFO] [stderr] Compiling synstructure v0.6.1 [INFO] [stderr] Compiling failure_derive v0.1.1 [INFO] [stderr] Checking backtrace v0.3.6 [INFO] [stderr] Checking failure v0.1.1 [INFO] [stderr] Checking 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: 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] | ^^^^ help: use `dyn`: `dyn Fail` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` 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: 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: 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] | ^^^^ help: use `dyn`: `dyn Fail` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` 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: 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] [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] [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] [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] [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: 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: 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] [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] [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] [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] [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: 19 warnings emitted [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: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 30.66s [INFO] running `Command { std: "docker" "inspect" "3345fab8ea7703afe9a9e176bca49e7faccc81a95ad9c067443af04cf0b97531", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3345fab8ea7703afe9a9e176bca49e7faccc81a95ad9c067443af04cf0b97531", kill_on_drop: false }` [INFO] [stdout] 3345fab8ea7703afe9a9e176bca49e7faccc81a95ad9c067443af04cf0b97531