[INFO] fetching crate nixpkgs-fmt-rnix 1.2.0... [INFO] building nixpkgs-fmt-rnix-1.2.0 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate nixpkgs-fmt-rnix 1.2.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate nixpkgs-fmt-rnix 1.2.0 [INFO] finished tweaking crates.io crate nixpkgs-fmt-rnix 1.2.0 [INFO] tweaked toml for crates.io crate nixpkgs-fmt-rnix 1.2.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate nixpkgs-fmt-rnix 1.2.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-rnix 1.2.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 itoa v0.4.5 [INFO] [stderr] Downloaded ryu v1.0.3 [INFO] [stderr] Downloaded text-size v1.1.0 [INFO] [stderr] Downloaded memoffset v0.6.1 [INFO] [stderr] Downloaded rowan v0.12.6 [INFO] [stderr] Downloaded smol_str v0.1.17 [INFO] [stderr] Downloaded memchr v2.3.3 [INFO] [stderr] Downloaded thread_local v1.0.1 [INFO] [stderr] Downloaded fnv v1.0.6 [INFO] [stderr] Downloaded countme v2.0.4 [INFO] [stderr] Downloaded globset v0.4.5 [INFO] [stderr] Downloaded hermit-abi v0.1.8 [INFO] [stderr] Downloaded crossbeam-channel v0.4.2 [INFO] [stderr] Downloaded cbitset v0.2.0 [INFO] [stderr] Downloaded regex v1.3.5 [INFO] [stderr] Downloaded num-traits v0.2.11 [INFO] [stderr] Downloaded crossbeam-channel v0.3.9 [INFO] [stderr] Downloaded aho-corasick v0.7.10 [INFO] [stderr] Downloaded regex-syntax v0.6.17 [INFO] [stderr] Downloaded winapi-util v0.1.3 [INFO] [stderr] Downloaded ignore v0.4.13 [INFO] [stderr] Downloaded rnix v0.10.1 [INFO] [stderr] Downloaded serde v1.0.105 [INFO] [stderr] Downloaded serde_json v1.0.48 [INFO] [stderr] Downloaded autocfg v1.0.0 [INFO] [stderr] Downloaded walkdir v2.3.1 [INFO] [stderr] Downloaded unindent v0.1.5 [INFO] [stderr] Downloaded bstr v0.2.12 [INFO] [stderr] Downloaded libc v0.2.68 [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] cecc64871c7e8acf6ee19b6b3befd021ed788599b6d84451e599292c8f8a0d69 [INFO] running `Command { std: "docker" "start" "-a" "cecc64871c7e8acf6ee19b6b3befd021ed788599b6d84451e599292c8f8a0d69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cecc64871c7e8acf6ee19b6b3befd021ed788599b6d84451e599292c8f8a0d69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cecc64871c7e8acf6ee19b6b3befd021ed788599b6d84451e599292c8f8a0d69", kill_on_drop: false }` [INFO] [stdout] cecc64871c7e8acf6ee19b6b3befd021ed788599b6d84451e599292c8f8a0d69 [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] 6031e686d99b792d44f16b0ffb1144e6e631cc1ce5f48ef6143a12b48e382b44 [INFO] running `Command { std: "docker" "start" "-a" "6031e686d99b792d44f16b0ffb1144e6e631cc1ce5f48ef6143a12b48e382b44", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling serde v1.0.105 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling bstr v0.2.12 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling countme v2.0.4 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling crossbeam-channel v0.4.2 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling smol_str v0.1.17 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling cbitset v0.2.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling crossbeam-channel v0.3.9 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling regex v1.3.5 [INFO] [stderr] Compiling text-size v1.1.0 [INFO] [stderr] Compiling serde_json v1.0.48 [INFO] [stderr] Compiling rowan v0.12.6 [INFO] [stderr] Compiling globset v0.4.5 [INFO] [stderr] Compiling rnix v0.10.1 [INFO] [stderr] Compiling ignore v0.4.13 [INFO] [stderr] Compiling nixpkgs-fmt-rnix v1.2.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: 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:153:39 [INFO] [stdout] | [INFO] [stdout] 153 | 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] 153 | 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 30.90s [INFO] running `Command { std: "docker" "inspect" "6031e686d99b792d44f16b0ffb1144e6e631cc1ce5f48ef6143a12b48e382b44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6031e686d99b792d44f16b0ffb1144e6e631cc1ce5f48ef6143a12b48e382b44", kill_on_drop: false }` [INFO] [stdout] 6031e686d99b792d44f16b0ffb1144e6e631cc1ce5f48ef6143a12b48e382b44 [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] 332dbba62ef31aa27ec7639f1a151be43b80f07124c54a7f8aae0ad2c15c4ade [INFO] running `Command { std: "docker" "start" "-a" "332dbba62ef31aa27ec7639f1a151be43b80f07124c54a7f8aae0ad2c15c4ade", kill_on_drop: false }` [INFO] [stderr] Compiling unindent v0.1.5 [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: 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:153:39 [INFO] [stdout] | [INFO] [stdout] 153 | 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] 153 | fn convert_to_unix_line_endings(text: &str) -> (Cow<'_, str>, LineEndings) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling nixpkgs-fmt-rnix v1.2.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: 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:153:39 [INFO] [stdout] | [INFO] [stdout] 153 | 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] 153 | fn convert_to_unix_line_endings(text: &str) -> (Cow<'_, str>, LineEndings) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/rules.rs:813:29 [INFO] [stdout] | [INFO] [stdout] 813 | .map_err(|e| panic!(e)) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 813 | .map_err(|e| panic!("{}", e)) [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.94s [INFO] running `Command { std: "docker" "inspect" "332dbba62ef31aa27ec7639f1a151be43b80f07124c54a7f8aae0ad2c15c4ade", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "332dbba62ef31aa27ec7639f1a151be43b80f07124c54a7f8aae0ad2c15c4ade", kill_on_drop: false }` [INFO] [stdout] 332dbba62ef31aa27ec7639f1a151be43b80f07124c54a7f8aae0ad2c15c4ade