[INFO] cloning repository https://github.com/iwatakeshi/head
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/iwatakeshi/head" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiwatakeshi%2Fhead", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiwatakeshi%2Fhead'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] fa9b8193a22d14874669d95a11afdbcb5e0780f2
[INFO] testing iwatakeshi/head against 1.98.0-beta.1 for beta-1.98-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiwatakeshi%2Fhead" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/iwatakeshi/head
[INFO] finished tweaking git repo https://github.com/iwatakeshi/head
[INFO] tweaked toml for git repo https://github.com/iwatakeshi/head written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/iwatakeshi/head on toolchain 1.98.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/iwatakeshi/head 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" "+1.98.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 65a3dae93fbf1c55086bb4bcf9694f3465a82cf6dce4ac976d1f7be2d8b46ec1
[INFO] running `Command { std: "docker" "start" "65a3dae93fbf1c55086bb4bcf9694f3465a82cf6dce4ac976d1f7be2d8b46ec1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "65a3dae93fbf1c55086bb4bcf9694f3465a82cf6dce4ac976d1f7be2d8b46ec1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "65a3dae93fbf1c55086bb4bcf9694f3465a82cf6dce4ac976d1f7be2d8b46ec1" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "65a3dae93fbf1c55086bb4bcf9694f3465a82cf6dce4ac976d1f7be2d8b46ec1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "65a3dae93fbf1c55086bb4bcf9694f3465a82cf6dce4ac976d1f7be2d8b46ec1" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]    Compiling clap_derive v4.6.0
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]    Compiling clap v4.6.0
[INFO] [stderr]    Compiling head v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.04s
[INFO] running `Command { std: "docker" "inspect" "65a3dae93fbf1c55086bb4bcf9694f3465a82cf6dce4ac976d1f7be2d8b46ec1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "65a3dae93fbf1c55086bb4bcf9694f3465a82cf6dce4ac976d1f7be2d8b46ec1" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling memchr v2.8.0
[INFO] [stderr]    Compiling regex-syntax v0.8.10
[INFO] [stderr]    Compiling getrandom v0.4.2
[INFO] [stderr]    Compiling predicates-core v1.0.10
[INFO] [stderr]    Compiling assert_cmd v2.2.0
[INFO] [stderr]    Compiling normalize-line-endings v0.3.0
[INFO] [stderr]    Compiling difflib v0.4.0
[INFO] [stderr]    Compiling termtree v0.5.1
[INFO] [stderr]    Compiling once_cell v1.21.4
[INFO] [stderr]    Compiling wait-timeout v0.2.1
[INFO] [stderr]    Compiling float-cmp v0.10.0
[INFO] [stderr]    Compiling predicates-tree v1.0.13
[INFO] [stderr]    Compiling tempfile v3.27.0
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]    Compiling regex-automata v0.4.14
[INFO] [stderr]    Compiling regex v1.12.3
[INFO] [stderr]    Compiling bstr v1.12.1
[INFO] [stderr]    Compiling predicates v3.1.4
[INFO] [stderr]    Compiling head v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 13.63s
[INFO] running `Command { std: "docker" "inspect" "65a3dae93fbf1c55086bb4bcf9694f3465a82cf6dce4ac976d1f7be2d8b46ec1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "65a3dae93fbf1c55086bb4bcf9694f3465a82cf6dce4ac976d1f7be2d8b46ec1" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/head_lib-f7b9f99fbc96ce05)
[INFO] [stdout] 
[INFO] [stdout] running 28 tests
[INFO] [stdout] test cli::tests::test_legacy_shorthand ... ok
[INFO] [stdout] test cli::tests::test_non_numeric_flags_untouched ... ok
[INFO] [stdout] test cli::tests::test_normal_n_value_not_preprocessed ... ok
[INFO] [stdout] test cli::tests::test_end_of_options ... ok
[INFO] [stdout] test cli::tests::test_negative_value_not_preprocessed ... ok
[INFO] [stdout] test processor::tests::all_but_last_n_bytes_zero ... ok
[INFO] [stdout] test processor::tests::all_but_last_n_lines_basic ... ok
[INFO] [stdout] test processor::tests::all_but_last_n_exceeds_line_count ... ok
[INFO] [stdout] test processor::tests::all_but_last_n_bytes_exact ... ok
[INFO] [stdout] test processor::tests::all_but_last_n_bytes_basic ... ok
[INFO] [stdout] test processor::tests::all_but_last_n_lines_exact ... ok
[INFO] [stdout] test processor::tests::all_but_last_n_bytes_exceeds ... ok
[INFO] [stdout] test processor::tests::first_n_bytes_more_than_exist ... ok
[INFO] [stdout] test processor::tests::first_n_bytes_zero ... ok
[INFO] [stdout] test processor::tests::all_but_last_n_lines_zero ... ok
[INFO] [stdout] test processor::tests::first_n_bytes_basic ... ok
[INFO] [stdout] test processor::tests::first_n_lines_basic ... ok
[INFO] [stdout] test processor::tests::first_n_lines_more_than_exist ... ok
[INFO] [stdout] test processor::tests::first_n_lines_no_trailing_newline ... ok
[INFO] [stdout] test processor::tests::first_n_lines_nul_delimiter ... ok
[INFO] [stdout] test processor::tests::first_n_lines_zero ... ok
[INFO] [stdout] test size::tests::test_binary_suffixes ... ok
[INFO] [stdout] test size::tests::test_invalid_suffix ... ok
[INFO] [stdout] test size::tests::test_invalid_number ... ok
[INFO] [stdout] test size::tests::test_overflow ... ok
[INFO] [stdout] test size::tests::test_plain_numbers ... ok
[INFO] [stdout] test size::tests::test_block_suffix ... ok
[INFO] [stdout] test size::tests::test_si_suffixes ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 28 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/head-21c3a9aae1e5429f)
[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]      Running tests/integration_tests.rs (/opt/rustwide/target/debug/deps/integration_tests-712a25cf1a098399)
[INFO] [stdout] 
[INFO] [stdout] running 35 tests
[INFO] [stdout] test bytes_flag_long ... ok
[INFO] [stdout] test bytes_all_but_last_long_form ... ok
[INFO] [stdout] test blank_line_between_multiple_files ... ok
[INFO] [stdout] test bytes_all_but_last ... ok
[INFO] [stdout] test invalid_bytes_count_exits_nonzero ... ok
[INFO] [stdout] test bytes_zero ... ok
[INFO] [stdout] test default_first_10_lines ... ok
[INFO] [stdout] test lines_all_but_last_exceeds_total ... ok
[INFO] [stdout] test lines_flag_long ... ok
[INFO] [stdout] test legacy_shorthand_lines ... ok
[INFO] [stdout] test bytes_flag_short ... ok
[INFO] [stdout] test invalid_lines_count_exits_nonzero ... ok
[INFO] [stdout] test multiple_files_headers ... ok
[INFO] [stdout] test nonexistent_file_exits_nonzero ... ok
[INFO] [stdout] test default_fewer_than_10_lines ... ok
[INFO] [stdout] test lines_all_but_last_long_form ... ok
[INFO] [stdout] test lines_zero ... ok
[INFO] [stdout] test single_file_no_header_by_default ... ok
[INFO] [stdout] test silent_alias ... ok
[INFO] [stdout] test stdin_default ... ok
[INFO] [stdout] test bytes_suffix_b ... ok
[INFO] [stdout] test quiet_suppresses_headers ... ok
[INFO] [stdout] test verbose_long ... ok
[INFO] [stdout] test bytes_suffix_k ... ok
[INFO] [stdout] test stdin_explicit_dash ... ok
[INFO] [stdout] test version_flag ... ok
[INFO] [stdout] test zero_terminated_long ... ok
[INFO] [stdout] test verbose_single_file ... ok
[INFO] [stdout] test zero_terminated_lines ... ok
[INFO] [stdout] test lines_flag_short ... ok
[INFO] [stdout] test quiet_long ... ok
[INFO] [stdout] test no_trailing_newline_partial_output ... ok
[INFO] [stdout] test help_flag ... ok
[INFO] [stdout] test no_trailing_newline_last_line_included ... ok
[INFO] [stdout] test lines_all_but_last_negative_value ... ok
[INFO] [stderr]    Doc-tests head_lib
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 35 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.15s
[INFO] [stdout] 
[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" "65a3dae93fbf1c55086bb4bcf9694f3465a82cf6dce4ac976d1f7be2d8b46ec1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "65a3dae93fbf1c55086bb4bcf9694f3465a82cf6dce4ac976d1f7be2d8b46ec1", kill_on_drop: false }`
[INFO] [stdout] 65a3dae93fbf1c55086bb4bcf9694f3465a82cf6dce4ac976d1f7be2d8b46ec1
