[INFO] fetching crate nixpkgs-fmt 1.3.0... [INFO] building nixpkgs-fmt-1.3.0 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate nixpkgs-fmt 1.3.0 into /workspace/builds/worker-4-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate nixpkgs-fmt 1.3.0 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unindent v0.1.7 [INFO] [stderr] Downloaded text-size v1.1.0 [INFO] [stderr] Downloaded countme v2.0.4 [INFO] [stderr] Downloaded cbitset v0.2.0 [INFO] [stderr] Downloaded ignore v0.4.18 [INFO] [stderr] Downloaded smol_str v0.1.21 [INFO] [stderr] Downloaded rowan v0.12.6 [INFO] [stderr] Downloaded crossbeam-utils v0.8.5 [INFO] [stderr] Downloaded globset v0.4.8 [INFO] [stderr] Downloaded serde_json v1.0.71 [INFO] [stderr] Downloaded rnix v0.10.2 [INFO] [stderr] Downloaded regex-syntax v0.6.26 [INFO] [stderr] Downloaded crossbeam-channel v0.4.4 [INFO] [stderr] Downloaded bstr v0.2.17 [INFO] [stderr] Downloaded regex v1.5.6 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e6db35959f245dfb524bd77f6990cb98e773927b32c4cae516b3605e4ccbe0db [INFO] running `Command { std: "docker" "start" "-a" "e6db35959f245dfb524bd77f6990cb98e773927b32c4cae516b3605e4ccbe0db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e6db35959f245dfb524bd77f6990cb98e773927b32c4cae516b3605e4ccbe0db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6db35959f245dfb524bd77f6990cb98e773927b32c4cae516b3605e4ccbe0db", kill_on_drop: false }` [INFO] [stdout] e6db35959f245dfb524bd77f6990cb98e773927b32c4cae516b3605e4ccbe0db [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d700b5ee54715355840cadc4de661d3caf3cb60324973dab841adb670f05dd23 [INFO] running `Command { std: "docker" "start" "-a" "d700b5ee54715355840cadc4de661d3caf3cb60324973dab841adb670f05dd23", 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 libc v0.2.108 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling serde_json v1.0.71 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling countme v2.0.4 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling textwrap v0.11.0 [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 globset v0.4.8 [INFO] [stderr] Compiling ignore v0.4.18 [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 rnix v0.10.2 [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 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 bool)>, [INFO] [stdout] 28 + pred: Arc 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, 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 15.33s [INFO] running `Command { std: "docker" "inspect" "d700b5ee54715355840cadc4de661d3caf3cb60324973dab841adb670f05dd23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d700b5ee54715355840cadc4de661d3caf3cb60324973dab841adb670f05dd23", kill_on_drop: false }` [INFO] [stdout] d700b5ee54715355840cadc4de661d3caf3cb60324973dab841adb670f05dd23 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1fccd81149d73f367814e102f7588689ef1861e96026ca6d22e37b63696352e3 [INFO] running `Command { std: "docker" "start" "-a" "1fccd81149d73f367814e102f7588689ef1861e96026ca6d22e37b63696352e3", 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 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 bool)>, [INFO] [stdout] 28 + pred: Arc 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, 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 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 bool)>, [INFO] [stdout] 28 + pred: Arc 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, 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 2.51s [INFO] running `Command { std: "docker" "inspect" "1fccd81149d73f367814e102f7588689ef1861e96026ca6d22e37b63696352e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1fccd81149d73f367814e102f7588689ef1861e96026ca6d22e37b63696352e3", kill_on_drop: false }` [INFO] [stdout] 1fccd81149d73f367814e102f7588689ef1861e96026ca6d22e37b63696352e3