[INFO] cloning repository https://github.com/dima-antonenko/line_counter
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dima-antonenko/line_counter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdima-antonenko%2Fline_counter", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdima-antonenko%2Fline_counter'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ce388e3820b2cfacc142322a70c4e203004bde5c
[INFO] testing dima-antonenko/line_counter against try#db823df02fd0c2cf67b43025ac3fef3f2d743245 for pr-150681
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdima-antonenko%2Fline_counter" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/dima-antonenko/line_counter
[INFO] finished tweaking git repo https://github.com/dima-antonenko/line_counter
[INFO] tweaked toml for git repo https://github.com/dima-antonenko/line_counter written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/dima-antonenko/line_counter on toolchain db823df02fd0c2cf67b43025ac3fef3f2d743245
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/dima-antonenko/line_counter 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" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 21d40404bab618ed95b3799fc7ff6ca7dbe6c3e5d7b8c1134e630c63a98ea965
[INFO] running `Command { std: "docker" "start" "-a" "21d40404bab618ed95b3799fc7ff6ca7dbe6c3e5d7b8c1134e630c63a98ea965", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "21d40404bab618ed95b3799fc7ff6ca7dbe6c3e5d7b8c1134e630c63a98ea965", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "21d40404bab618ed95b3799fc7ff6ca7dbe6c3e5d7b8c1134e630c63a98ea965", kill_on_drop: false }`
[INFO] [stdout] 21d40404bab618ed95b3799fc7ff6ca7dbe6c3e5d7b8c1134e630c63a98ea965
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d1d35b911805d0f1e71b990b94c64e39b5c08cd7402fe7f645d551e061ba70ac
[INFO] running `Command { std: "docker" "start" "-a" "d1d35b911805d0f1e71b990b94c64e39b5c08cd7402fe7f645d551e061ba70ac", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]    Compiling quote v1.0.41
[INFO] [stderr]    Compiling unicode-ident v1.0.19
[INFO] [stderr]    Compiling libc v0.2.176
[INFO] [stderr]    Compiling bitflags v2.9.4
[INFO] [stderr]    Compiling nix v0.30.1
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling clap_lex v0.7.5
[INFO] [stderr]    Compiling anstream v0.6.20
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling iana-time-zone v0.1.64
[INFO] [stderr]    Compiling colored v2.2.0
[INFO] [stderr]    Compiling clap_builder v4.5.48
[INFO] [stderr]    Compiling rustix v1.1.2
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling tempfile v3.23.0
[INFO] [stderr]    Compiling ctrlc v3.5.0
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling clap_derive v4.5.47
[INFO] [stderr]    Compiling ctor v0.2.9
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling clap v4.5.48
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]    Compiling line_counter v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.29s
[INFO] running `Command { std: "docker" "inspect" "d1d35b911805d0f1e71b990b94c64e39b5c08cd7402fe7f645d551e061ba70ac", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d1d35b911805d0f1e71b990b94c64e39b5c08cd7402fe7f645d551e061ba70ac", kill_on_drop: false }`
[INFO] [stdout] d1d35b911805d0f1e71b990b94c64e39b5c08cd7402fe7f645d551e061ba70ac
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5e94e2c37cb98a73952e8f670cc1e52128f65670420e62c7f4964e0809bb49c3
[INFO] running `Command { std: "docker" "start" "-a" "5e94e2c37cb98a73952e8f670cc1e52128f65670420e62c7f4964e0809bb49c3", kill_on_drop: false }`
[INFO] [stderr]    Compiling cfg-if v1.0.3
[INFO] [stderr]    Compiling bitflags v2.9.4
[INFO] [stderr]    Compiling utf8parse v0.2.2
[INFO] [stderr]    Compiling anstyle-query v1.1.4
[INFO] [stderr]    Compiling colorchoice v1.0.4
[INFO] [stderr]    Compiling anstyle v1.0.13
[INFO] [stderr]    Compiling is_terminal_polyfill v1.70.1
[INFO] [stderr]    Compiling libc v0.2.176
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling rustix v1.1.2
[INFO] [stderr]    Compiling nix v0.30.1
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling strsim v0.11.1
[INFO] [stderr]    Compiling linux-raw-sys v0.11.0
[INFO] [stderr]    Compiling clap_lex v0.7.5
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]    Compiling itoa v1.0.15
[INFO] [stderr]    Compiling iana-time-zone v0.1.64
[INFO] [stderr]    Compiling fastrand v2.3.0
[INFO] [stderr]    Compiling ryu v1.0.20
[INFO] [stderr]    Compiling anstyle-parse v0.2.7
[INFO] [stderr]    Compiling memchr v2.7.6
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling anstream v0.6.20
[INFO] [stderr]    Compiling walkdir v2.5.0
[INFO] [stderr]    Compiling colored v2.2.0
[INFO] [stderr]    Compiling clap_builder v4.5.48
[INFO] [stderr]    Compiling tempfile v3.23.0
[INFO] [stderr]    Compiling clap v4.5.48
[INFO] [stderr]    Compiling ctrlc v3.5.0
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]    Compiling line_counter v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [optimized + debuginfo] target(s) in 31.95s
[INFO] running `Command { std: "docker" "inspect" "5e94e2c37cb98a73952e8f670cc1e52128f65670420e62c7f4964e0809bb49c3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5e94e2c37cb98a73952e8f670cc1e52128f65670420e62c7f4964e0809bb49c3", kill_on_drop: false }`
[INFO] [stdout] 5e94e2c37cb98a73952e8f670cc1e52128f65670420e62c7f4964e0809bb49c3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 14e4b6bd01866f57d819a2fc8c7569087b55058a7707d5acad8f62e053484a30
[INFO] running `Command { std: "docker" "start" "-a" "14e4b6bd01866f57d819a2fc8c7569087b55058a7707d5acad8f62e053484a30", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [optimized + debuginfo] target(s) in 0.12s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/line_counter-e67b93ccda1bcbd6)
[INFO] [stdout] 
[INFO] [stdout] running 21 tests
[INFO] [stdout] test analyzer::tests::test_content_analysis_rust ... ok
[INFO] [stdout] test analyzer::tests::test_file_analyzer_builder ... ok
[INFO] [stdout] test analyzer::tests::test_pattern_matching ... ok
[INFO] [stdout] test cli::tests::test_output_formatter ... ok
[INFO] [stdout] test cli::tests::test_cli_validator ... ok
[INFO] [stdout] test cli::tests::test_verbose_level_should_print ... ok
[INFO] [stdout] test cli::tests::test_cli_settings_from_cli ... ok
[INFO] [stdout] test file_types::tests::test_file_type_python ... ok
[INFO] [stdout] test file_types::tests::test_file_type_detector ... ok
[INFO] [stdout] test file_types::tests::test_file_type_detector_case_insensitive ... ok
[INFO] [stdout] test statistics::tests::test_statistics_builder ... ok
[INFO] [stdout] test statistics::tests::test_empty_statistics ... ok
[INFO] [stdout] test file_types::tests::test_file_type_rust ... ok
[INFO] [stdout] test statistics::tests::test_top_file_types ... ok
[INFO] [stdout] test utils::tests::test_file_system_utils ... ok
[INFO] [stdout] test utils::tests::test_format_utils ... ok
[INFO] [stdout] test utils::tests::test_math_utils ... ok
[INFO] [stdout] test utils::tests::test_validation_utils ... ok
[INFO] [stdout] test statistics::tests::test_statistics_json ... ok
[INFO] [stdout] test utils::tests::test_time_utils ... ok
[INFO] [stdout] test analyzer::tests::test_content_analysis_python ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 21 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/line_counter-804661021b1e2760)
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests line_counter
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 23 tests
[INFO] [stdout] test src/statistics.rs - statistics::Statistics::save_to_json (line 372) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 24) ... FAILED
[INFO] [stdout] test src/lib.rs - LineCounter::new (line 134) ... FAILED
[INFO] [stdout] test src/statistics.rs - statistics::StatisticsBuilder::build (line 157) ... FAILED
[INFO] [stdout] test src/file_types.rs - file_types::FileTypeDetector::detect_file_type (line 406) ... FAILED
[INFO] [stdout] test src/file_types.rs - file_types::FileTypeDetector::new (line 359) ... FAILED
[INFO] [stdout] test src/file_types.rs - file_types::FileType::extensions (line 242) ... FAILED
[INFO] [stdout] test src/analyzer.rs - analyzer::FileAnalyzer<'a>::analyze_file (line 144) ... FAILED
[INFO] [stdout] test src/statistics.rs - statistics::Statistics::to_json (line 351) ... FAILED
[INFO] [stdout] test src/analyzer.rs - analyzer::FileAnalyzer<'a>::analyze_directory (line 64) ... FAILED
[INFO] [stdout] test src/statistics.rs - statistics::Statistics::format_summary (line 295) ... FAILED
[INFO] [stdout] test src/statistics.rs - statistics::StatisticsBuilder::add_results (line 137) ... FAILED
[INFO] [stdout] test src/lib.rs - LineCounter (line 72) ... FAILED
[INFO] [stdout] test src/analyzer.rs - analyzer::FileAnalyzer<'a>::new (line 40) ... FAILED
[INFO] [stdout] test src/utils.rs - utils::FormatUtils::format_progress_bar (line 250) ... FAILED
[INFO] [stdout] test src/lib.rs - LineCounter::with_settings (line 152) ... FAILED
[INFO] [stdout] test src/utils.rs - utils::FormatUtils::format_duration (line 214) ... FAILED
[INFO] [stdout] test src/statistics.rs - statistics::StatisticsBuilder::add_file_result (line 116) ... FAILED
[INFO] [stdout] test src/statistics.rs - statistics::StatisticsBuilder::new (line 97) ... FAILED
[INFO] [stdout] test src/utils.rs - utils::FormatUtils::format_percentage (line 193) ... FAILED
[INFO] [stdout] test src/utils.rs - utils::FormatUtils::format_number (line 161) ... FAILED
[INFO] [stdout] test src/lib.rs - LineCounter::analyze_directory (line 179) ... FAILED
[INFO] [stdout] test src/utils.rs - utils::FileSystemUtils::normalize_path (line 32) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/statistics.rs - statistics::Statistics::save_to_json (line 372) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Statistics`
[INFO] [stdout]    --> src/statistics.rs:373:13
[INFO] [stdout]     |
[INFO] [stdout] 373 | let stats = Statistics::empty();
[INFO] [stdout]     |             ^^^^^^^^^^ use of undeclared type `Statistics`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 372 + use line_counter::Statistics;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 24) stdout ----
[INFO] [stdout] error: unknown start of token: \u{251c}
[INFO] [stdout]   --> src/lib.rs:26:1
[INFO] [stdout]    |
[INFO] [stdout] 26 | ├── src/
[INFO] [stdout]    | ^
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \u{2500}
[INFO] [stdout]   --> src/lib.rs:26:2
[INFO] [stdout]    |
[INFO] [stdout] 26 | ├── src/
[INFO] [stdout]    |  ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: character appears once more
[INFO] [stdout] help: Unicode character '─' (Box Drawings Light Horizontal) looks like '-' (Minus/Hyphen), but it is not
[INFO] [stdout]    |
[INFO] [stdout] 26 - ├── src/
[INFO] [stdout] 26 + ├-- src/
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \u{2500}
[INFO] [stdout]   --> src/lib.rs:26:3
[INFO] [stdout]    |
[INFO] [stdout] 26 | ├── src/
[INFO] [stdout]    |   ^
[INFO] [stdout]    |
[INFO] [stdout] help: Unicode character '─' (Box Drawings Light Horizontal) looks like '-' (Minus/Hyphen), but it is not
[INFO] [stdout]    |
[INFO] [stdout] 26 - ├── src/
[INFO] [stdout] 26 + ├─- src/
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \u{2502}
[INFO] [stdout]   --> src/lib.rs:27:1
[INFO] [stdout]    |
[INFO] [stdout] 27 | │   ├── main.rs          # Application entry point
[INFO] [stdout]    | ^
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \u{251c}
[INFO] [stdout]   --> src/lib.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | │   ├── main.rs          # Application entry point
[INFO] [stdout]    |     ^
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \u{2500}
[INFO] [stdout]   --> src/lib.rs:27:6
[INFO] [stdout]    |
[INFO] [stdout] 27 | │   ├── main.rs          # Application entry point
[INFO] [stdout]    |      ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: character appears once more
[INFO] [stdout] help: Unicode character '─' (Box Drawings Light Horizontal) looks like '-' (Minus/Hyphen), but it is not
[INFO] [stdout]    |
[INFO] [stdout] 27 - │   ├── main.rs          # Application entry point
[INFO] [stdout] 27 + │   ├-- main.rs          # Application entry point
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \u{2500}
[INFO] [stdout]   --> src/lib.rs:27:7
[INFO] [stdout]    |
[INFO] [stdout] 27 | │   ├── main.rs          # Application entry point
[INFO] [stdout]    |       ^
[INFO] [stdout]    |
[INFO] [stdout] help: Unicode character '─' (Box Drawings Light Horizontal) looks like '-' (Minus/Hyphen), but it is not
[INFO] [stdout]    |
[INFO] [stdout] 27 - │   ├── main.rs          # Application entry point
[INFO] [stdout] 27 + │   ├─- main.rs          # Application entry point
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \u{2502}
[INFO] [stdout]   --> src/lib.rs:28:1
[INFO] [stdout]    |
[INFO] [stdout] 28 | │   ├── lib.rs           # Library interface
[INFO] [stdout]    | ^
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \u{251c}
[INFO] [stdout]   --> src/lib.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 28 | │   ├── lib.rs           # Library interface
[INFO] [stdout]    |     ^
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \u{2500}
[INFO] [stdout]   --> src/lib.rs:28:6
[INFO] [stdout]    |
[INFO] [stdout] 28 | │   ├── lib.rs           # Library interface
[INFO] [stdout]    |      ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: character appears once more
[INFO] [stdout] help: Unicode character '─' (Box Drawings Light Horizontal) looks like '-' (Minus/Hyphen), but it is not
[INFO] [stdout]    |
[INFO] [stdout] 28 - │   ├── lib.rs           # Library interface
[INFO] [stdout] 28 + │   ├-- lib.rs           # Library interface
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \u{2500}
[INFO] [stdout]   --> src/lib.rs:28:7
[INFO] [stdout]    |
[INFO] [stdout] 28 | │   ├── lib.rs           # Library interface
[INFO] [stdout]    |       ^
[INFO] [stdout]    |
[INFO] [stdout] help: Unicode character '─' (Box Drawings Light Horizontal) looks like '-' (Minus/Hyphen), but it is not
[INFO] [stdout]    |
[INFO] [stdout] 28 - │   ├── lib.rs           # Library interface
[INFO] [stdout] 28 + │   ├─- lib.rs           # Library interface
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \u{2502}
[INFO] [stdout]   --> src/lib.rs:29:1
[INFO] [stdout]    |
[INFO] [stdout] 29 | │   ├── cli.rs           # Command line interface
[INFO] [stdout]    | ^
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \u{251c}
[INFO] [stdout]   --> src/lib.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | │   ├── cli.rs           # Command line interface
[INFO] [stdout]    |     ^
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \u{2500}
[INFO] [stdout]   --> src/lib.rs:29:6
[INFO] [stdout]    |
[INFO] [stdout] 29 | │   ├── cli.rs           # Command line interface
[INFO] [stdout]    |      ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: character appears once more
[INFO] [stdout] help: Unicode character '─' (Box Drawings Light Horizontal) looks like '-' (Minus/Hyphen), but it is not
[INFO] [stdout]    |
[INFO] [stdout] 29 - │   ├── cli.rs           # Command line interface
[INFO] [stdout] 29 + │   ├-- cli.rs           # Command line interface
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \u{2500}
[INFO] [stdout]   --> src/lib.rs:29:7
[INFO] [stdout]    |
[INFO] [stdout] 29 | │   ├── cli.rs           # Command line interface
[INFO] [stdout]    |       ^
[INFO] [stdout]    |
[INFO] [stdout] help: Unicode character '─' (Box Drawings Light Horizontal) looks like '-' (Minus/Hyphen), but it is not
[INFO] [stdout]    |
[INFO] [stdout] 29 - │   ├── cli.rs           # Command line interface
[INFO] [stdout] 29 + │   ├─- cli.rs           # Command line interface
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \u{2502}
[INFO] [stdout]   --> src/lib.rs:30:1
[INFO] [stdout]    |
[INFO] [stdout] 30 | │   ├── analyzer.rs     # File analysis and line counting
[INFO] [stdout]    | ^
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \u{251c}
[INFO] [stdout]   --> src/lib.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 30 | │   ├── analyzer.rs     # File analysis and line counting
[INFO] [stdout]    |     ^
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \u{2500}
[INFO] [stdout]   --> src/lib.rs:30:6
[INFO] [stdout]    |
[INFO] [stdout] 30 | │   ├── analyzer.rs     # File analysis and line counting
[INFO] [stdout]    |      ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: character appears once more
[INFO] [stdout] help: Unicode character '─' (Box Drawings Light Horizontal) looks like '-' (Minus/Hyphen), but it is not
[INFO] [stdout]    |
[INFO] [stdout] 30 - │   ├── analyzer.rs     # File analysis and line counting
[INFO] [stdout] 30 + │   ├-- analyzer.rs     # File analysis and line counting
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \u{2500}
[INFO] [stdout]   --> src/lib.rs:30:7
[INFO] [stdout]    |
[INFO] [stdout] 30 | │   ├── analyzer.rs     # File analysis and line counting
[INFO] [stdout]    |       ^
[INFO] [stdout]    |
[INFO] [stdout] help: Unicode character '─' (Box Drawings Light Horizontal) looks like '-' (Minus/Hyphen), but it is not
[INFO] [stdout]    |
[INFO] [stdout] 30 - │   ├── analyzer.rs     # File analysis and line counting
[INFO] [stdout] 30 + │   ├─- analyzer.rs     # File analysis and line counting
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \u{2502}
[INFO] [stdout]   --> src/lib.rs:31:1
[INFO] [stdout]    |
[INFO] [stdout] 31 | │   ├── file_types.rs   # File type definitions
[INFO] [stdout]    | ^
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \u{251c}
[INFO] [stdout]   --> src/lib.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | │   ├── file_types.rs   # File type definitions
[INFO] [stdout]    |     ^
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \u{2500}
[INFO] [stdout]   --> src/lib.rs:31:6
[INFO] [stdout]    |
[INFO] [stdout] 31 | │   ├── file_types.rs   # File type definitions
[INFO] [stdout]    |      ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: character appears once more
[INFO] [stdout] help: Unicode character '─' (Box Drawings Light Horizontal) looks like '-' (Minus/Hyphen), but it is not
[INFO] [stdout]    |
[INFO] [stdout] 31 - │   ├── file_types.rs   # File type definitions
[INFO] [stdout] 31 + │   ├-- file_types.rs   # File type definitions
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \u{2500}
[INFO] [stdout]   --> src/lib.rs:31:7
[INFO] [stdout]    |
[INFO] [stdout] 31 | │   ├── file_types.rs   # File type definitions
[INFO] [stdout]    |       ^
[INFO] [stdout]    |
[INFO] [stdout] help: Unicode character '─' (Box Drawings Light Horizontal) looks like '-' (Minus/Hyphen), but it is not
[INFO] [stdout]    |
[INFO] [stdout] 31 - │   ├── file_types.rs   # File type definitions
[INFO] [stdout] 31 + │   ├─- file_types.rs   # File type definitions
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \u{2502}
[INFO] [stdout]   --> src/lib.rs:32:1
[INFO] [stdout]    |
[INFO] [stdout] 32 | │   ├── statistics.rs    # Statistics and reports
[INFO] [stdout]    | ^
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \u{251c}
[INFO] [stdout]   --> src/lib.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 | │   ├── statistics.rs    # Statistics and reports
[INFO] [stdout]    |     ^
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \u{2500}
[INFO] [stdout]   --> src/lib.rs:32:6
[INFO] [stdout]    |
[INFO] [stdout] 32 | │   ├── statistics.rs    # Statistics and reports
[INFO] [stdout]    |      ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: character appears once more
[INFO] [stdout] help: Unicode character '─' (Box Drawings Light Horizontal) looks like '-' (Minus/Hyphen), but it is not
[INFO] [stdout]    |
[INFO] [stdout] 32 - │   ├── statistics.rs    # Statistics and reports
[INFO] [stdout] 32 + │   ├-- statistics.rs    # Statistics and reports
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \u{2500}
[INFO] [stdout]   --> src/lib.rs:32:7
[INFO] [stdout]    |
[INFO] [stdout] 32 | │   ├── statistics.rs    # Statistics and reports
[INFO] [stdout]    |       ^
[INFO] [stdout]    |
[INFO] [stdout] help: Unicode character '─' (Box Drawings Light Horizontal) looks like '-' (Minus/Hyphen), but it is not
[INFO] [stdout]    |
[INFO] [stdout] 32 - │   ├── statistics.rs    # Statistics and reports
[INFO] [stdout] 32 + │   ├─- statistics.rs    # Statistics and reports
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \u{2502}
[INFO] [stdout]   --> src/lib.rs:33:1
[INFO] [stdout]    |
[INFO] [stdout] 33 | │   └── utils.rs        # Utility functions
[INFO] [stdout]    | ^
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \u{2514}
[INFO] [stdout]   --> src/lib.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 33 | │   └── utils.rs        # Utility functions
[INFO] [stdout]    |     ^
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \u{2500}
[INFO] [stdout]   --> src/lib.rs:33:6
[INFO] [stdout]    |
[INFO] [stdout] 33 | │   └── utils.rs        # Utility functions
[INFO] [stdout]    |      ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: character appears once more
[INFO] [stdout] help: Unicode character '─' (Box Drawings Light Horizontal) looks like '-' (Minus/Hyphen), but it is not
[INFO] [stdout]    |
[INFO] [stdout] 33 - │   └── utils.rs        # Utility functions
[INFO] [stdout] 33 + │   └-- utils.rs        # Utility functions
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \u{2500}
[INFO] [stdout]   --> src/lib.rs:33:7
[INFO] [stdout]    |
[INFO] [stdout] 33 | │   └── utils.rs        # Utility functions
[INFO] [stdout]    |       ^
[INFO] [stdout]    |
[INFO] [stdout] help: Unicode character '─' (Box Drawings Light Horizontal) looks like '-' (Minus/Hyphen), but it is not
[INFO] [stdout]    |
[INFO] [stdout] 33 - │   └── utils.rs        # Utility functions
[INFO] [stdout] 33 + │   └─- utils.rs        # Utility functions
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `!` or `::`, found `/`
[INFO] [stdout]   --> src/lib.rs:25:13
[INFO] [stdout]    |
[INFO] [stdout] 25 | line_counter/
[INFO] [stdout]    |             ^ expected one of `!` or `::`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 32 previous errors
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - LineCounter::new (line 134) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LineCounter`
[INFO] [stdout]    --> src/lib.rs:135:15
[INFO] [stdout]     |
[INFO] [stdout] 135 | let counter = LineCounter::new();
[INFO] [stdout]     |               ^^^^^^^^^^^ use of undeclared type `LineCounter`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 134 + use line_counter::LineCounter;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/statistics.rs - statistics::StatisticsBuilder::build (line 157) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `builder` in this scope
[INFO] [stdout]    --> src/statistics.rs:158:18
[INFO] [stdout]     |
[INFO] [stdout] 158 | let statistics = builder.build();
[INFO] [stdout]     |                  ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/file_types.rs - file_types::FileTypeDetector::detect_file_type (line 406) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FileTypeDetector`
[INFO] [stdout]    --> src/file_types.rs:407:16
[INFO] [stdout]     |
[INFO] [stdout] 407 | let detector = FileTypeDetector::new();
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^ use of undeclared type `FileTypeDetector`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 406 + use line_counter::FileTypeDetector;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/file_types.rs - file_types::FileTypeDetector::new (line 359) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FileTypeDetector`
[INFO] [stdout]    --> src/file_types.rs:360:16
[INFO] [stdout]     |
[INFO] [stdout] 360 | let detector = FileTypeDetector::new();
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^ use of undeclared type `FileTypeDetector`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 359 + use line_counter::FileTypeDetector;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/file_types.rs - file_types::FileType::extensions (line 242) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FileType`
[INFO] [stdout]    --> src/file_types.rs:243:17
[INFO] [stdout]     |
[INFO] [stdout] 243 | let rust_type = FileType::rust();
[INFO] [stdout]     |                 ^^^^^^^^ use of undeclared type `FileType`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 242 + use std::fs::FileType;
[INFO] [stdout]     |
[INFO] [stdout] 242 + use line_counter::FileType;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/analyzer.rs - analyzer::FileAnalyzer<'a>::analyze_file (line 144) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FileAnalyzer`
[INFO] [stdout]    --> src/analyzer.rs:145:16
[INFO] [stdout]     |
[INFO] [stdout] 145 | let analyzer = FileAnalyzer::new(&settings, &detector);
[INFO] [stdout]     |                ^^^^^^^^^^^^ use of undeclared type `FileAnalyzer`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 144 + use line_counter::FileAnalyzer;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `settings` in this scope
[INFO] [stdout]    --> src/analyzer.rs:145:35
[INFO] [stdout]     |
[INFO] [stdout] 145 | let analyzer = FileAnalyzer::new(&settings, &detector);
[INFO] [stdout]     |                                   ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `detector` in this scope
[INFO] [stdout]    --> src/analyzer.rs:145:46
[INFO] [stdout]     |
[INFO] [stdout] 145 | let analyzer = FileAnalyzer::new(&settings, &detector);
[INFO] [stdout]     |                                              ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/statistics.rs - statistics::Statistics::to_json (line 351) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Statistics`
[INFO] [stdout]    --> src/statistics.rs:352:13
[INFO] [stdout]     |
[INFO] [stdout] 352 | let stats = Statistics::empty();
[INFO] [stdout]     |             ^^^^^^^^^^ use of undeclared type `Statistics`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 351 + use line_counter::Statistics;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/analyzer.rs - analyzer::FileAnalyzer<'a>::analyze_directory (line 64) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FileAnalyzer`
[INFO] [stdout]   --> src/analyzer.rs:65:16
[INFO] [stdout]    |
[INFO] [stdout] 65 | let analyzer = FileAnalyzer::new(&settings, &detector);
[INFO] [stdout]    |                ^^^^^^^^^^^^ use of undeclared type `FileAnalyzer`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 64 + use line_counter::FileAnalyzer;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `settings` in this scope
[INFO] [stdout]   --> src/analyzer.rs:65:35
[INFO] [stdout]    |
[INFO] [stdout] 65 | let analyzer = FileAnalyzer::new(&settings, &detector);
[INFO] [stdout]    |                                   ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `detector` in this scope
[INFO] [stdout]   --> src/analyzer.rs:65:46
[INFO] [stdout]    |
[INFO] [stdout] 65 | let analyzer = FileAnalyzer::new(&settings, &detector);
[INFO] [stdout]    |                                              ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/analyzer.rs:67:50
[INFO] [stdout]    |
[INFO] [stdout] 67 |     Ok(results) => println!("Analyzed {} files", results.len()),
[INFO] [stdout]    |                                                  ^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/statistics.rs - statistics::Statistics::format_summary (line 295) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Statistics`
[INFO] [stdout]    --> src/statistics.rs:296:13
[INFO] [stdout]     |
[INFO] [stdout] 296 | let stats = Statistics::empty();
[INFO] [stdout]     |             ^^^^^^^^^^ use of undeclared type `Statistics`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 295 + use line_counter::Statistics;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/statistics.rs - statistics::StatisticsBuilder::add_results (line 137) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatisticsBuilder`
[INFO] [stdout]    --> src/statistics.rs:138:19
[INFO] [stdout]     |
[INFO] [stdout] 138 | let mut builder = StatisticsBuilder::new();
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^ use of undeclared type `StatisticsBuilder`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 137 + use line_counter::StatisticsBuilder;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `analysis_results` in this scope
[INFO] [stdout]    --> src/statistics.rs:139:21
[INFO] [stdout]     |
[INFO] [stdout] 139 | builder.add_results(analysis_results);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - LineCounter (line 72) stdout ----
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/lib.rs:77:47
[INFO] [stdout]    |
[INFO] [stdout] 73 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_72_0() {
[INFO] [stdout]    |                                      ---------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 77 | let result = counter.analyze_directory("src/")?;
[INFO] [stdout]    |                                               ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 73 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_72_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 74 | use line_counter::LineCounter;
[INFO] [stdout] ...
[INFO] [stdout] 78 | println!("Found {} lines of code", result.total_lines);
[INFO] [stdout] 79 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/analyzer.rs - analyzer::FileAnalyzer<'a>::new (line 40) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AnalysisSettings`
[INFO] [stdout]   --> src/analyzer.rs:41:16
[INFO] [stdout]    |
[INFO] [stdout] 41 | let settings = AnalysisSettings::default();
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^ use of undeclared type `AnalysisSettings`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 40 + use line_counter::AnalysisSettings;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FileTypeDetector`
[INFO] [stdout]   --> src/analyzer.rs:42:16
[INFO] [stdout]    |
[INFO] [stdout] 42 | let detector = FileTypeDetector::new();
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^ use of undeclared type `FileTypeDetector`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 40 + use line_counter::FileTypeDetector;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FileAnalyzer`
[INFO] [stdout]   --> src/analyzer.rs:43:16
[INFO] [stdout]    |
[INFO] [stdout] 43 | let analyzer = FileAnalyzer::new(&settings, &detector);
[INFO] [stdout]    |                ^^^^^^^^^^^^ use of undeclared type `FileAnalyzer`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 40 + use line_counter::FileAnalyzer;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/utils.rs - utils::FormatUtils::format_progress_bar (line 250) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FormatUtils`
[INFO] [stdout]    --> src/utils.rs:251:16
[INFO] [stdout]     |
[INFO] [stdout] 251 | let progress = FormatUtils::format_progress_bar(30, 100, 20);
[INFO] [stdout]     |                ^^^^^^^^^^^ use of undeclared type `FormatUtils`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 250 + use line_counter::utils::FormatUtils;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - LineCounter::with_settings (line 152) stdout ----
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `AnalysisSettings` in this scope
[INFO] [stdout]    --> src/lib.rs:153:16
[INFO] [stdout]     |
[INFO] [stdout] 153 | let settings = AnalysisSettings {
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 152 + use line_counter::AnalysisSettings;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LineCounter`
[INFO] [stdout]    --> src/lib.rs:158:15
[INFO] [stdout]     |
[INFO] [stdout] 158 | let counter = LineCounter::with_settings(settings);
[INFO] [stdout]     |               ^^^^^^^^^^^ use of undeclared type `LineCounter`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 152 + use line_counter::LineCounter;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0422, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/utils.rs - utils::FormatUtils::format_duration (line 214) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration`
[INFO] [stdout]    --> src/utils.rs:215:16
[INFO] [stdout]     |
[INFO] [stdout] 215 | let duration = Duration::from_millis(1234);
[INFO] [stdout]     |                ^^^^^^^^ use of undeclared type `Duration`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 214 + use std::time::Duration;
[INFO] [stdout]     |
[INFO] [stdout] 214 + use chrono::Duration;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FormatUtils`
[INFO] [stdout]    --> src/utils.rs:216:12
[INFO] [stdout]     |
[INFO] [stdout] 216 | assert_eq!(FormatUtils::format_duration(duration), "1.234s");
[INFO] [stdout]     |            ^^^^^^^^^^^ use of undeclared type `FormatUtils`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 214 + use line_counter::utils::FormatUtils;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/statistics.rs - statistics::StatisticsBuilder::add_file_result (line 116) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatisticsBuilder`
[INFO] [stdout]    --> src/statistics.rs:117:19
[INFO] [stdout]     |
[INFO] [stdout] 117 | let mut builder = StatisticsBuilder::new();
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^ use of undeclared type `StatisticsBuilder`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 116 + use line_counter::StatisticsBuilder;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `result` in this scope
[INFO] [stdout]    --> src/statistics.rs:118:25
[INFO] [stdout]     |
[INFO] [stdout] 118 | builder.add_file_result(result);
[INFO] [stdout]     |                         ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/statistics.rs - statistics::StatisticsBuilder::new (line 97) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatisticsBuilder`
[INFO] [stdout]   --> src/statistics.rs:98:15
[INFO] [stdout]    |
[INFO] [stdout] 98 | let builder = StatisticsBuilder::new();
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^ use of undeclared type `StatisticsBuilder`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 97 + use line_counter::StatisticsBuilder;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/utils.rs - utils::FormatUtils::format_percentage (line 193) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FormatUtils`
[INFO] [stdout]    --> src/utils.rs:194:12
[INFO] [stdout]     |
[INFO] [stdout] 194 | assert_eq!(FormatUtils::format_percentage(0.1234, 1), "12.3%");
[INFO] [stdout]     |            ^^^^^^^^^^^ use of undeclared type `FormatUtils`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 193 + use line_counter::utils::FormatUtils;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FormatUtils`
[INFO] [stdout]    --> src/utils.rs:195:12
[INFO] [stdout]     |
[INFO] [stdout] 195 | assert_eq!(FormatUtils::format_percentage(0.5, 0), "50%");
[INFO] [stdout]     |            ^^^^^^^^^^^ use of undeclared type `FormatUtils`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 193 + use line_counter::utils::FormatUtils;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/utils.rs - utils::FormatUtils::format_number (line 161) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FormatUtils`
[INFO] [stdout]    --> src/utils.rs:162:12
[INFO] [stdout]     |
[INFO] [stdout] 162 | assert_eq!(FormatUtils::format_number(1234567), "1,234,567");
[INFO] [stdout]     |            ^^^^^^^^^^^ use of undeclared type `FormatUtils`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 161 + use line_counter::utils::FormatUtils;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FormatUtils`
[INFO] [stdout]    --> src/utils.rs:163:12
[INFO] [stdout]     |
[INFO] [stdout] 163 | assert_eq!(FormatUtils::format_number(123), "123");
[INFO] [stdout]     |            ^^^^^^^^^^^ use of undeclared type `FormatUtils`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 161 + use line_counter::utils::FormatUtils;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - LineCounter::analyze_directory (line 179) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LineCounter`
[INFO] [stdout]    --> src/lib.rs:180:19
[INFO] [stdout]     |
[INFO] [stdout] 180 | let mut counter = LineCounter::new();
[INFO] [stdout]     |                   ^^^^^^^^^^^ use of undeclared type `LineCounter`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 179 + use line_counter::LineCounter;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/utils.rs - utils::FileSystemUtils::normalize_path (line 32) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FileSystemUtils`
[INFO] [stdout]   --> src/utils.rs:33:18
[INFO] [stdout]    |
[INFO] [stdout] 33 | let normalized = FileSystemUtils::normalize_path("src//main.rs");
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^ use of undeclared type `FileSystemUtils`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 32 + use line_counter::utils::FileSystemUtils;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PathBuf`
[INFO] [stdout]   --> src/utils.rs:34:24
[INFO] [stdout]    |
[INFO] [stdout] 34 | assert_eq!(normalized, PathBuf::from("src/main.rs"));
[INFO] [stdout]    |                        ^^^^^^^ use of undeclared type `PathBuf`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 32 + use std::path::PathBuf;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/analyzer.rs - analyzer::FileAnalyzer<'a>::analyze_directory (line 64)
[INFO] [stdout]     src/analyzer.rs - analyzer::FileAnalyzer<'a>::analyze_file (line 144)
[INFO] [stdout]     src/analyzer.rs - analyzer::FileAnalyzer<'a>::new (line 40)
[INFO] [stdout]     src/file_types.rs - file_types::FileType::extensions (line 242)
[INFO] [stdout]     src/file_types.rs - file_types::FileTypeDetector::detect_file_type (line 406)
[INFO] [stdout]     src/file_types.rs - file_types::FileTypeDetector::new (line 359)
[INFO] [stdout]     src/lib.rs - (line 24)
[INFO] [stdout]     src/lib.rs - LineCounter (line 72)
[INFO] [stdout]     src/lib.rs - LineCounter::analyze_directory (line 179)
[INFO] [stdout]     src/lib.rs - LineCounter::new (line 134)
[INFO] [stdout]     src/lib.rs - LineCounter::with_settings (line 152)
[INFO] [stdout]     src/statistics.rs - statistics::Statistics::format_summary (line 295)
[INFO] [stdout]     src/statistics.rs - statistics::Statistics::save_to_json (line 372)
[INFO] [stdout]     src/statistics.rs - statistics::Statistics::to_json (line 351)
[INFO] [stdout]     src/statistics.rs - statistics::StatisticsBuilder::add_file_result (line 116)
[INFO] [stdout]     src/statistics.rs - statistics::StatisticsBuilder::add_results (line 137)
[INFO] [stdout]     src/statistics.rs - statistics::StatisticsBuilder::build (line 157)
[INFO] [stdout]     src/statistics.rs - statistics::StatisticsBuilder::new (line 97)
[INFO] [stdout]     src/utils.rs - utils::FileSystemUtils::normalize_path (line 32)
[INFO] [stdout]     src/utils.rs - utils::FormatUtils::format_duration (line 214)
[INFO] [stdout]     src/utils.rs - utils::FormatUtils::format_number (line 161)
[INFO] [stdout]     src/utils.rs - utils::FormatUtils::format_percentage (line 193)
[INFO] [stdout]     src/utils.rs - utils::FormatUtils::format_progress_bar (line 250)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 23 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.78s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "14e4b6bd01866f57d819a2fc8c7569087b55058a7707d5acad8f62e053484a30", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "14e4b6bd01866f57d819a2fc8c7569087b55058a7707d5acad8f62e053484a30", kill_on_drop: false }`
[INFO] [stdout] 14e4b6bd01866f57d819a2fc8c7569087b55058a7707d5acad8f62e053484a30
