[INFO] fetching crate nixpkgs-fmt 1.3.0... [INFO] building nixpkgs-fmt-1.3.0 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [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 d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 530057bceb13adc456db59f294966523fddf4ccc21b5ae72de0f9228bf9d7e8f [INFO] running `Command { std: "docker" "start" "-a" "530057bceb13adc456db59f294966523fddf4ccc21b5ae72de0f9228bf9d7e8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "530057bceb13adc456db59f294966523fddf4ccc21b5ae72de0f9228bf9d7e8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "530057bceb13adc456db59f294966523fddf4ccc21b5ae72de0f9228bf9d7e8f", kill_on_drop: false }` [INFO] [stdout] 530057bceb13adc456db59f294966523fddf4ccc21b5ae72de0f9228bf9d7e8f [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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d3d6628ef31bf8292c9089747962a5c273224539329d5ec5604c55a0e8665427 [INFO] running `Command { std: "docker" "start" "-a" "d3d6628ef31bf8292c9089747962a5c273224539329d5ec5604c55a0e8665427", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling memoffset v0.6.4 [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 maybe-uninit v2.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Compiling countme v2.0.4 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling serde_json v1.0.71 [INFO] [stderr] Compiling thread_local v1.1.3 [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 atty v0.2.14 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling cbitset v0.2.0 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling crossbeam-channel v0.4.4 [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 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: 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] [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.31s [INFO] running `Command { std: "docker" "inspect" "d3d6628ef31bf8292c9089747962a5c273224539329d5ec5604c55a0e8665427", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3d6628ef31bf8292c9089747962a5c273224539329d5ec5604c55a0e8665427", kill_on_drop: false }` [INFO] [stdout] d3d6628ef31bf8292c9089747962a5c273224539329d5ec5604c55a0e8665427 [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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f4bf04bafea01a12c2d7d16e192c8475132d5dc9ba9723101d6dcf594d19cad4 [INFO] running `Command { std: "docker" "start" "-a" "f4bf04bafea01a12c2d7d16e192c8475132d5dc9ba9723101d6dcf594d19cad4", 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: 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] [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] [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 3.19s [INFO] running `Command { std: "docker" "inspect" "f4bf04bafea01a12c2d7d16e192c8475132d5dc9ba9723101d6dcf594d19cad4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4bf04bafea01a12c2d7d16e192c8475132d5dc9ba9723101d6dcf594d19cad4", kill_on_drop: false }` [INFO] [stdout] f4bf04bafea01a12c2d7d16e192c8475132d5dc9ba9723101d6dcf594d19cad4