[INFO] fetching crate nixpkgs-fmt 1.3.0...
[INFO] building nixpkgs-fmt-1.3.0 against try#4987e9d4227139400384ab59296ffee3b0fb1183 for pr-146237-2
[INFO] extracting crate nixpkgs-fmt 1.3.0 into /workspace/builds/worker-4-tc2/source
[INFO] started tweaking crates.io crate nixpkgs-fmt 1.3.0
[INFO] finished tweaking crates.io crate nixpkgs-fmt 1.3.0
[INFO] tweaked toml for crates.io crate nixpkgs-fmt 1.3.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate nixpkgs-fmt 1.3.0 on toolchain 4987e9d4227139400384ab59296ffee3b0fb1183
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate nixpkgs-fmt 1.3.0 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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8323655f234bf9059b6947bbe5ba97cfaa9609970a20c055586159ea4394d85a
[INFO] running `Command { std: "docker" "start" "-a" "8323655f234bf9059b6947bbe5ba97cfaa9609970a20c055586159ea4394d85a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8323655f234bf9059b6947bbe5ba97cfaa9609970a20c055586159ea4394d85a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8323655f234bf9059b6947bbe5ba97cfaa9609970a20c055586159ea4394d85a", kill_on_drop: false }`
[INFO] [stdout] 8323655f234bf9059b6947bbe5ba97cfaa9609970a20c055586159ea4394d85a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c62a57ef16d6e9668eed131a8894afaca497b8eb6342dc2310010dab2493d2bf
[INFO] running `Command { std: "docker" "start" "-a" "c62a57ef16d6e9668eed131a8894afaca497b8eb6342dc2310010dab2493d2bf", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.130
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling libc v0.2.108
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling crossbeam-utils v0.8.5
[INFO] [stderr]    Compiling regex-syntax v0.6.26
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]    Compiling serde_json v1.0.71
[INFO] [stderr]    Compiling unicode-width v0.1.9
[INFO] [stderr]    Compiling hashbrown v0.9.1
[INFO] [stderr]    Compiling countme v2.0.4
[INFO] [stderr]    Compiling walkdir v2.3.2
[INFO] [stderr]    Compiling thread_local v1.1.3
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling itoa v0.4.8
[INFO] [stderr]    Compiling ansi_term v0.11.0
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling aho-corasick v0.7.18
[INFO] [stderr]    Compiling bstr v0.2.17
[INFO] [stderr]    Compiling crossbeam-channel v0.4.4
[INFO] [stderr]    Compiling cbitset v0.2.0
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling clap v2.33.3
[INFO] [stderr]    Compiling regex v1.5.6
[INFO] [stderr]    Compiling text-size v1.1.0
[INFO] [stderr]    Compiling smol_str v0.1.21
[INFO] [stderr]    Compiling rowan v0.12.6
[INFO] [stderr]    Compiling globset v0.4.8
[INFO] [stderr]    Compiling rnix v0.10.2
[INFO] [stderr]    Compiling ignore v0.4.18
[INFO] [stderr]    Compiling nixpkgs-fmt v1.3.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/pattern.rs:28:19
[INFO] [stdout]    |
[INFO] [stdout] 28 |     pred: Arc<dyn (Fn(&SyntaxElement) -> bool)>,
[INFO] [stdout]    |                   ^                          ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 28 -     pred: Arc<dyn (Fn(&SyntaxElement) -> bool)>,
[INFO] [stdout] 28 +     pred: Arc<dyn Fn(&SyntaxElement) -> bool>,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/lib.rs:90:10
[INFO] [stdout]    |
[INFO] [stdout] 90 |     let (mut text, line_endings) = convert_to_unix_line_endings(text);
[INFO] [stdout]    |          ----^^^^
[INFO] [stdout]    |          |
[INFO] [stdout]    |          help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `indent_value` is never read
[INFO] [stdout]    --> src/dsl.rs:300:16
[INFO] [stdout]     |
[INFO] [stdout] 275 | pub(crate) struct IndentRule {
[INFO] [stdout]     |                   ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 300 |     pub(crate) indent_value: IndentValue,
[INFO] [stdout]     |                ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `IndentRule` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:148:39
[INFO] [stdout]     |
[INFO] [stdout] 148 | fn convert_to_unix_line_endings(text: &str) -> (Cow<str>, LineEndings) {
[INFO] [stdout]     |                                       ^^^^      ^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                                       |
[INFO] [stdout]     |                                       the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 148 | fn convert_to_unix_line_endings(text: &str) -> (Cow<'_, str>, LineEndings) {
[INFO] [stdout]     |                                                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.08s
[INFO] running `Command { std: "docker" "inspect" "c62a57ef16d6e9668eed131a8894afaca497b8eb6342dc2310010dab2493d2bf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c62a57ef16d6e9668eed131a8894afaca497b8eb6342dc2310010dab2493d2bf", kill_on_drop: false }`
[INFO] [stdout] c62a57ef16d6e9668eed131a8894afaca497b8eb6342dc2310010dab2493d2bf
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a89772804f013e8a20170db04f22f644f73a932840c73c842b326845a0694b78
[INFO] running `Command { std: "docker" "start" "-a" "a89772804f013e8a20170db04f22f644f73a932840c73c842b326845a0694b78", kill_on_drop: false }`
[INFO] [stderr]    Compiling unindent v0.1.7
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/pattern.rs:28:19
[INFO] [stdout]    |
[INFO] [stdout] 28 |     pred: Arc<dyn (Fn(&SyntaxElement) -> bool)>,
[INFO] [stdout]    |                   ^                          ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 28 -     pred: Arc<dyn (Fn(&SyntaxElement) -> bool)>,
[INFO] [stdout] 28 +     pred: Arc<dyn Fn(&SyntaxElement) -> bool>,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/lib.rs:90:10
[INFO] [stdout]    |
[INFO] [stdout] 90 |     let (mut text, line_endings) = convert_to_unix_line_endings(text);
[INFO] [stdout]    |          ----^^^^
[INFO] [stdout]    |          |
[INFO] [stdout]    |          help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `indent_value` is never read
[INFO] [stdout]    --> src/dsl.rs:300:16
[INFO] [stdout]     |
[INFO] [stdout] 275 | pub(crate) struct IndentRule {
[INFO] [stdout]     |                   ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 300 |     pub(crate) indent_value: IndentValue,
[INFO] [stdout]     |                ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `IndentRule` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:148:39
[INFO] [stdout]     |
[INFO] [stdout] 148 | fn convert_to_unix_line_endings(text: &str) -> (Cow<str>, LineEndings) {
[INFO] [stdout]     |                                       ^^^^      ^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                                       |
[INFO] [stdout]     |                                       the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 148 | fn convert_to_unix_line_endings(text: &str) -> (Cow<'_, str>, LineEndings) {
[INFO] [stdout]     |                                                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling nixpkgs-fmt v1.3.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/pattern.rs:28:19
[INFO] [stdout]    |
[INFO] [stdout] 28 |     pred: Arc<dyn (Fn(&SyntaxElement) -> bool)>,
[INFO] [stdout]    |                   ^                          ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 28 -     pred: Arc<dyn (Fn(&SyntaxElement) -> bool)>,
[INFO] [stdout] 28 +     pred: Arc<dyn Fn(&SyntaxElement) -> bool>,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/lib.rs:90:10
[INFO] [stdout]    |
[INFO] [stdout] 90 |     let (mut text, line_endings) = convert_to_unix_line_endings(text);
[INFO] [stdout]    |          ----^^^^
[INFO] [stdout]    |          |
[INFO] [stdout]    |          help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `indent_value` is never read
[INFO] [stdout]    --> src/dsl.rs:300:16
[INFO] [stdout]     |
[INFO] [stdout] 275 | pub(crate) struct IndentRule {
[INFO] [stdout]     |                   ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 300 |     pub(crate) indent_value: IndentValue,
[INFO] [stdout]     |                ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `IndentRule` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:148:39
[INFO] [stdout]     |
[INFO] [stdout] 148 | fn convert_to_unix_line_endings(text: &str) -> (Cow<str>, LineEndings) {
[INFO] [stdout]     |                                       ^^^^      ^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                                       |
[INFO] [stdout]     |                                       the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 148 | fn convert_to_unix_line_endings(text: &str) -> (Cow<'_, str>, LineEndings) {
[INFO] [stdout]     |                                                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.99s
[INFO] running `Command { std: "docker" "inspect" "a89772804f013e8a20170db04f22f644f73a932840c73c842b326845a0694b78", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a89772804f013e8a20170db04f22f644f73a932840c73c842b326845a0694b78", kill_on_drop: false }`
[INFO] [stdout] a89772804f013e8a20170db04f22f644f73a932840c73c842b326845a0694b78
