Kwxm/nix/update flake again #6722
Closed
IOG Hydra / ci/hydra-build:x86_64-darwin.ghc96.devShells.default
failed
Dec 2, 2024 in 0s
Build dependency failed
1 failed steps
Details
Failed Steps
Step 1
Derivation
/nix/store/7nyakvb8agdalimc8bd3wpdgbvgznsnl-nixpkgs-fmt-1.3.0.drv
Log
Running phase: unpackPhase
unpacking source archive /nix/store/xf2gc66ys09dr2qv3n6nmxz5fr69vq3q-source
source root is source
Executing cargoSetupPostUnpackHook
unpacking source archive /nix/store/92rsdh5kva2ikdj42msic2khnvpczzn8-nixpkgs-fmt-1.3.0-vendor.tar.gz
Finished cargoSetupPostUnpackHook
Running phase: patchPhase
Executing cargoSetupPostPatchHook
Validating consistency between /private/tmp/nix-build-nixpkgs-fmt-1.3.0.drv-0/source/Cargo.lock and /private/tmp/nix-build-nixpkgs-fmt-1.3.0.drv-0/nixpkgs-fmt-1.3.0-vendor.tar.gz/Cargo.lock
Finished cargoSetupPostPatchHook
Running phase: configurePhase
Running phase: buildPhase
Executing cargoBuildHook
cargoBuildHook flags: -j 8 --target x86_64-apple-darwin --offline --profile release
Compiling autocfg v1.0.1
Compiling memchr v2.4.1
Compiling serde v1.0.130
Compiling log v0.4.14
Compiling lazy_static v1.4.0
Compiling cfg-if v1.0.0
Compiling libc v0.2.108
Compiling ryu v1.0.5
Compiling maybe-uninit v2.0.0
Compiling crossbeam-utils v0.8.5
Compiling num-traits v0.2.14
Compiling memoffset v0.6.4
Compiling crossbeam-utils v0.7.2
Compiling regex-syntax v0.6.26
Compiling aho-corasick v0.7.18
Compiling bstr v0.2.17
Compiling cfg-if v0.1.10
Compiling once_cell v1.8.0
Compiling unicode-width v0.1.9
Compiling fnv v1.0.7
Compiling regex v1.5.6
Compiling countme v2.0.4
Compiling same-file v1.0.6
Compiling rustc-hash v1.1.0
Compiling serde_json v1.0.71
Compiling hashbrown v0.9.1
Compiling walkdir v2.3.2
Compiling textwrap v0.11.0
Compiling text-size v1.1.0
Compiling smol_str v0.1.21
Compiling globset v0.4.8
Compiling thread_local v1.1.3
Compiling rowan v0.12.6
Compiling cbitset v0.2.0
Compiling atty v0.2.14
Compiling itoa v0.4.8
Compiling ansi_term v0.11.0
Compiling bitflags v1.3.2
Compiling vec_map v0.8.2
Compiling strsim v0.8.0
Compiling rnix v0.10.2
Compiling clap v2.33.3
Compiling ignore v0.4.18
Compiling crossbeam-channel v0.4.4
Compiling nixpkgs-fmt v1.3.0 (/private/tmp/nix-build-nixpkgs-fmt-1.3.0.drv-0/source)
warning: variable does not need to be mutable
--> src/lib.rs:90:10
|
90 | let (mut text, line_endings) = convert_to_unix_line_endings(text);
| ----^^^^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` on by default
warning: field `indent_value` is never read
--> src/dsl.rs:300:16
|
275 | pub(crate) struct IndentRule {
| ---------- field in this struct
...
300 | pub(crate) indent_value: IndentValue,
| ^^^^^^^^^^^^
|
= note: `IndentRule` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
= note: `#[warn(dead_code)]` on by default
warning: `nixpkgs-fmt` (lib) generated 2 warnings (run `cargo fix --lib -p nixpkgs-fmt` to apply 1 suggestion)
Finished `release` profile [optimized] target(s) in 42.85s
Executing cargoInstallPostBuildHook
Finished cargoInstallPostBuildHook
Finished cargoBuildHook
buildPhase completed in 47 seconds
Running phase: checkPhase
Executing cargoCheckHook
cargoCheckHook flags: -j 8 --profile release --target x86_64-apple-darwin --offline -- --test-threads=8
Compiling unindent v0.1.7
warning: variable does not need to be mutable
--> src/lib.rs:90:10
|
90 | let (mut text, line_endings) = convert_to_unix_line_endings(text);
| ----^^^^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` on by default
warning: field `indent_value` is never read
--> src/dsl.rs:300:16
|
275 | pub(crate) struct IndentRule {
| ---------- field in this struct
...
300 | pub(crate) indent_value: IndentValue,
| ^^^^^^^^^^^^
|
= note: `IndentRule` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
= note: `#[warn(dead_code)]` on by default
warning: `nixpkgs-fmt` (lib) generated 2 warnings (run `cargo fix --lib -p nixpkgs-fmt` to apply 1 suggestion)
Compiling nixpkgs-fmt v1.3.0 (/private/tmp/nix-build-nixpkgs-fmt-1.3.0.drv-0/source)
warning: `nixpkgs-fmt` (lib test) generated 2 warnings (2 duplicates)
Finished `release` profile [optimized] target(s) in 3.20s
Running unittests src/lib.rs (target/x86_64-apple-darwin/release/deps/nixpkgs_fmt-a8989ec912b5190d)
running 11 tests
test engine::fixes::tests::test_node_indent_ranges ... ok(B
test tests::converts_tabs_to_spaces ... ok(B
test rules::tests::smoke ... ok(B
test tests::explain_smoke_test ... ok(B
test rules::tests::test_syntax_errors_tests ... ok(B
test rules::tests::test_fuzz_failures ... ok(B
test tests::preserves_dos_line_endings ... ok(B
test rules::tests::test_inline_indentation_tests ... ok(B
test rules::tests::test_inline_spacing_tests ... ok(B
test rules::tests::test_nixpkgs_repository_bad_good_tests ... ok(B
test rules::tests::test_bad_good_tests ... ok(B
test result: ok(B. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s
Running unittests src/main.rs (target/x86_64-apple-darwin/release/deps/nixpkgs_fmt-f5781b567f685529)
running 0 tests
test result: ok(B. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running tests/integration_tests.rs (target/x86_64-apple-darwin/release/deps/integration_tests-d79ae673d8177473)
running 3 tests
test stdout_closed ... ok(B
test stdout_closed_parse ... ok(B
test stdout_closed_explain ... FAILED(B
failures:
---- stdout_closed_explain stdout ----
thread 'stdout_closed_explain' panicked at tests/integration_tests.rs:42:5:
assertion failed: WIFSIGNALED(wstatus)
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
failures:
stdout_closed_explain
test result: FAILED(B. 2 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.28s
error: test failed, to rerun pass `--test integration_tests`
Loading