Running phase: unpackPhase unpacking source archive /nix/store/wyllbymh7frw4qriwjc27dbry6v825rx-source source root is source Executing cargoSetupPostUnpackHook Finished cargoSetupPostUnpackHook Running phase: patchPhase Executing cargoSetupPostPatchHook Validating consistency between /build/source/Cargo.lock and /build/loc-0.4.1-unstable-2022-02-20-vendor/Cargo.lock Finished cargoSetupPostPatchHook Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase Running phase: buildPhase Executing cargoBuildHook cargoBuildHook flags: -j 48 --target x86_64-unknown-linux-gnu --offline --profile release warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` Compiling memchr v2.4.1 Compiling libc v0.2.119 Compiling cfg-if v1.0.0 Compiling log v0.4.14 Compiling regex-syntax v0.6.25 Compiling crossbeam-utils v0.8.7 Compiling once_cell v1.9.0 Compiling unicode-width v0.1.9 Compiling same-file v1.0.6 Compiling fnv v1.0.7 Compiling lazy_static v1.4.0 Compiling strsim v0.8.0 Compiling bitflags v1.3.2 Compiling ansi_term v0.12.1 Compiling vec_map v0.8.2 Compiling smallvec v1.8.0 Compiling edit-distance v2.1.0 Compiling deque v0.3.2 Compiling textwrap v0.11.0 Compiling walkdir v2.3.2 Compiling thread_local v1.1.4 Compiling atty v0.2.14 Compiling num_cpus v1.13.1 Compiling aho-corasick v0.7.18 Compiling bstr v0.2.17 Compiling clap v2.34.0 Compiling regex v1.5.4 Compiling globset v0.4.8 Compiling ignore v0.4.18 Compiling loc v0.5.0 (/build/source) warning: variable does not need to be mutable --> src/lib.rs:693:29 | 693 | let (_, mut end) = multi_stack.last().expect("stack last"); | ----^^^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default warning: hiding a lifetime that's elided elsewhere is confusing --> src/lib.rs:564:14 | 564 | fn lines(&self) -> ByteLinesState { | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default help: use `'_` for type paths | 564 | fn lines(&self) -> ByteLinesState<'_> { | ++++ warning: `loc` (lib) generated 2 warnings (run `cargo fix --lib -p loc` to apply 2 suggestions) Finished `release` profile [optimized] target(s) in 21.25s Executing cargoInstallPostBuildHook Finished cargoInstallPostBuildHook Finished cargoBuildHook Running phase: checkPhase Executing cargoCheckHook cargoCheckHook flags: -j 48 --profile release --target x86_64-unknown-linux-gnu --offline -- warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` warning: variable does not need to be mutable --> src/lib.rs:693:29 | 693 | let (_, mut end) = multi_stack.last().expect("stack last"); | ----^^^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default warning: hiding a lifetime that's elided elsewhere is confusing --> src/lib.rs:564:14 | 564 | fn lines(&self) -> ByteLinesState { | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default help: use `'_` for type paths | 564 | fn lines(&self) -> ByteLinesState<'_> { | ++++ Compiling loc v0.5.0 (/build/source) warning: `loc` (lib) generated 2 warnings (run `cargo fix --lib -p loc` to apply 2 suggestions) warning: `loc` (lib test) generated 2 warnings (2 duplicates) Finished `release` profile [optimized] target(s) in 7.83s Running unittests src/lib.rs (target/x86_64-unknown-linux-gnu/release/deps/loc-11bd97141db2c7f4) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running unittests src/main.rs (target/x86_64-unknown-linux-gnu/release/deps/loc-1c4d49483e4faf58) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running tests/count.rs (target/x86_64-unknown-linux-gnu/release/deps/count-0e682342d76237b8) running 95 tests test ada_code ... ok test dumb_blank ... ok test ada_count ... ok test ada_comment ... ok test ada_lines ... ok test ada_blank ... ok test gherkin_lines ... ok test gherkin_code ... ok test dumb_code ... ok test dumb_lines ... ok test gherkin_count ... ok test dumb_comment ... ok test gherkin_blank ... ok test gherkin_comment ... ok test dumb_count ... ok test evc_blank ... ok test ebc_comment ... ok test ebc_lines ... ok test ebc_code ... ok test ebc_count ... ok test groovy_comment ... ok test groovy_code ... ok test groovy_count ... ok test groovy_blank ... ok test handlebars_blank ... ok test groovy_lines ... ok test handlebars_code ... ok test handlebars_comment ... ok test handlebars_count ... ok test handlebars_lines ... ok test ipl_code ... ok test ipl_blank ... ok test ipl_count ... ok test ipl_comment ... ok test ipl_lines ... ok test lua_blank ... ok test lua_code ... ok test lua_comment ... ok test lua_count ... ok test lua_lines ... ok test nested_haskell_comment ... ok test nested_haskell_code ... ok test nested_haskell_blank ... ok test nested_haskell_count ... ok test nested_haskell_lines ... ok test nix_code ... ok test nix_comment ... ok test nix_blank ... ok test nix_count ... ok test nix_lines ... ok test ocaml_code ... ok test ocaml_blank ... ok test ocaml_comment ... ok test ocaml_count ... ok test ocaml_lines ... ok test powershell_comment ... ok test powershell_code ... ok test powershell_blank ... ok test powershell_count ... ok test powershell_lines ... ok test reason_comment ... ok test reason_count ... ok test reason_code ... ok test reason_blank ... ok test reason_lines ... ok test ruby_blank ... ok test ruby_code ... ok test ruby_comment ... ok test ruby_count ... ok test ruby_lines ... ok test solidity_count ... ok test solidity_blank ... ok test solidity_comment ... ok test solidity_code ... ok test solidity_lines ... ok test terraform_comment ... ok test terraform_blank ... ok test terraform_code ... ok test terraform_count ... ok test terraform_lines ... ok test test_fe_lines ... ok test test_fe_blank ... ok test test_fe_code ... ok test test_fe_comment ... ok test test_fe_count ... ok test zig_code ... ok test zig_count ... ok test zig_blank ... ok test zig_lines ... ok test zig_comment ... ok test t_plasma_comment ... ok test t_plasma_blank ... ok test t_plasma_code ... ok test t_plasma_count ... ok test t_plasma_lines ... ok test result: ok. 95 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s Doc-tests loc running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Finished cargoCheckHook Running phase: installPhase Executing cargoInstallHook Finished cargoInstallHook Running phase: fixupPhase shrinking RPATHs of ELF executables and libraries in /nix/store/h4b1pn2vqnni573w42qa52cgnf2nn5gl-loc-0.4.1-unstable-2022-02-20 shrinking /nix/store/h4b1pn2vqnni573w42qa52cgnf2nn5gl-loc-0.4.1-unstable-2022-02-20/bin/loc checking for references to /build/ in /nix/store/h4b1pn2vqnni573w42qa52cgnf2nn5gl-loc-0.4.1-unstable-2022-02-20... patching script interpreter paths in /nix/store/h4b1pn2vqnni573w42qa52cgnf2nn5gl-loc-0.4.1-unstable-2022-02-20 stripping (with command strip and flags -S -p) in /nix/store/h4b1pn2vqnni573w42qa52cgnf2nn5gl-loc-0.4.1-unstable-2022-02-20/bin Running phase: installCheckPhase