[INFO] cloning repository https://github.com/FoxCode-JF/code_cnt [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/FoxCode-JF/code_cnt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFoxCode-JF%2Fcode_cnt", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFoxCode-JF%2Fcode_cnt'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1fc7009823824d6056e41d8fd429e4d06d6e20bf [INFO] testing FoxCode-JF/code_cnt against try#db823df02fd0c2cf67b43025ac3fef3f2d743245 for pr-150681 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFoxCode-JF%2Fcode_cnt" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/FoxCode-JF/code_cnt [INFO] finished tweaking git repo https://github.com/FoxCode-JF/code_cnt [INFO] tweaked toml for git repo https://github.com/FoxCode-JF/code_cnt written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/FoxCode-JF/code_cnt 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/FoxCode-JF/code_cnt 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded globset v0.4.18 [INFO] [stderr] Downloaded ignore v0.4.25 [INFO] [stderr] Downloaded bstr v1.12.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 975b9e56e2a44a110c4d13692083a0226a878f582959c5a0d41ae8d966ca6020 [INFO] running `Command { std: "docker" "start" "-a" "975b9e56e2a44a110c4d13692083a0226a878f582959c5a0d41ae8d966ca6020", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "975b9e56e2a44a110c4d13692083a0226a878f582959c5a0d41ae8d966ca6020", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "975b9e56e2a44a110c4d13692083a0226a878f582959c5a0d41ae8d966ca6020", kill_on_drop: false }` [INFO] [stdout] 975b9e56e2a44a110c4d13692083a0226a878f582959c5a0d41ae8d966ca6020 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] ebbaeef661044382f707de5c35dbe548022dde95a6955e4e3996d9354a798c3c [INFO] running `Command { std: "docker" "start" "-a" "ebbaeef661044382f707de5c35dbe548022dde95a6955e4e3996d9354a798c3c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling anstyle-query v1.1.5 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.2 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling anstyle v1.0.13 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling anstream v0.6.21 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling clap_lex v0.7.6 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling clap_builder v4.5.53 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling bstr v1.12.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Compiling globset v0.4.18 [INFO] [stderr] Compiling ignore v0.4.25 [INFO] [stderr] Compiling clap v4.5.53 [INFO] [stderr] Compiling code_cnt v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.51s [INFO] running `Command { std: "docker" "inspect" "ebbaeef661044382f707de5c35dbe548022dde95a6955e4e3996d9354a798c3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebbaeef661044382f707de5c35dbe548022dde95a6955e4e3996d9354a798c3c", kill_on_drop: false }` [INFO] [stdout] ebbaeef661044382f707de5c35dbe548022dde95a6955e4e3996d9354a798c3c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 699ff54999427184a3becd784602b7b9ec2e4fc71df3345eba4d6a317af3dbb2 [INFO] running `Command { std: "docker" "start" "-a" "699ff54999427184a3becd784602b7b9ec2e4fc71df3345eba4d6a317af3dbb2", kill_on_drop: false }` [INFO] [stderr] Compiling code_cnt v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.32s [INFO] running `Command { std: "docker" "inspect" "699ff54999427184a3becd784602b7b9ec2e4fc71df3345eba4d6a317af3dbb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "699ff54999427184a3becd784602b7b9ec2e4fc71df3345eba4d6a317af3dbb2", kill_on_drop: false }` [INFO] [stdout] 699ff54999427184a3becd784602b7b9ec2e4fc71df3345eba4d6a317af3dbb2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] d58b03622acbaecffa0f0596737f2191e987bc6d1a03122d5fd3a55b41e6c0cc [INFO] running `Command { std: "docker" "start" "-a" "d58b03622acbaecffa0f0596737f2191e987bc6d1a03122d5fd3a55b41e6c0cc", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/code_cnt-3c7796313d432aa0) [INFO] [stdout] [INFO] [stdout] running 23 tests [INFO] [stdout] test analysis::tests::count_lines::not_a_file ... ok [INFO] [stdout] test analysis::tests::is_block_comment::block_comment_valid_single_line_c_style_inside_multiline_no_code ... ok [INFO] [stdout] test analysis::tests::is_block_comment::block_comment_valid_single_line_c_style_no_code ... ok [INFO] [stdout] test analysis::tests::is_block_comment::block_comment_valid_single_line_c_style_with_code_and_multiline_end ... ok [INFO] [stdout] test analysis::tests::is_block_comment::block_comment_valid_single_line_c_style_with_code_and_multiline_start ... ok [INFO] [stdout] test analysis::tests::is_single_line_comment::single_line_comment_latex ... ok [INFO] [stdout] test analysis::tests::is_single_line_comment::single_line_comment_c_style ... ok [INFO] [stdout] test analysis::tests::is_single_line_comment::single_line_comment_not_a_comment ... ok [INFO] [stdout] test analysis::tests::is_single_line_comment::single_line_comment_python ... ok [INFO] [stdout] test analysis::tests::count_lines::block_comments_no_end ... ok [INFO] [stdout] test analysis::tests::count_lines::block_comments_multi_line_code_before ... ok [INFO] [stdout] test analysis::tests::count_lines::block_comments_single_line_code_after ... ok [INFO] [stdout] test analysis::tests::count_lines::block_comments_single_line_interleaved ... ok [INFO] [stdout] test analysis::tests::count_lines::block_comments_single_line_code_before ... ok [INFO] [stdout] test analysis::tests::count_lines::block_comments_single_line_no_code ... ok [INFO] [stdout] test analysis::tests::count_lines::block_multi_line_code_after ... ok [INFO] [stdout] test analysis::tests::count_lines::block_multi_line_no_code ... ok [INFO] [stdout] test analysis::tests::count_lines::empty_file ... ok [INFO] [stdout] test analysis::tests::count_lines::comments_inside_string ... ok [INFO] [stdout] test analysis::tests::count_lines::mixed_line_and_block_comments ... ok [INFO] [stdout] test analysis::tests::count_lines::single_line_comment_after_code ... ok [INFO] [stdout] test analysis::tests::count_lines::only_comments_and_newlines ... ok [INFO] [stdout] test analysis::tests::count_lines::single_line_comments_with_code ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 23 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/code_cnt-eecb9c74a1fb9e4a) [INFO] [stdout] [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] [stderr] Doc-tests code_cnt [INFO] [stdout] [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] running `Command { std: "docker" "inspect" "d58b03622acbaecffa0f0596737f2191e987bc6d1a03122d5fd3a55b41e6c0cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d58b03622acbaecffa0f0596737f2191e987bc6d1a03122d5fd3a55b41e6c0cc", kill_on_drop: false }` [INFO] [stdout] d58b03622acbaecffa0f0596737f2191e987bc6d1a03122d5fd3a55b41e6c0cc