[INFO] cloning repository https://github.com/yamd1/headr [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yamd1/headr" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyamd1%2Fheadr", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyamd1%2Fheadr'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8ce5bc5f0ac3c30a3aee6c61efab090a3640e207 [INFO] testing yamd1/headr against master#ebf0cf75d368c035f4c7e7246d203bd469ee4a51 for pr-137940 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyamd1%2Fheadr" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yamd1/headr on toolchain ebf0cf75d368c035f4c7e7246d203bd469ee4a51 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/yamd1/headr [INFO] finished tweaking git repo https://github.com/yamd1/headr [INFO] tweaked toml for git repo https://github.com/yamd1/headr written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/yamd1/headr 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" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded assert_cmd v2.0.13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 58e5e54accc0121b194facc8050c80567c07c997d9c367273a5daf4ddd940a52 [INFO] running `Command { std: "docker" "start" "-a" "58e5e54accc0121b194facc8050c80567c07c997d9c367273a5daf4ddd940a52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "58e5e54accc0121b194facc8050c80567c07c997d9c367273a5daf4ddd940a52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58e5e54accc0121b194facc8050c80567c07c997d9c367273a5daf4ddd940a52", kill_on_drop: false }` [INFO] [stdout] 58e5e54accc0121b194facc8050c80567c07c997d9c367273a5daf4ddd940a52 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ab4341d4fc49e406f5cea9b19aa579717552d55ed45d63751e0e4ac47a0ecc5f [INFO] running `Command { std: "docker" "start" "-a" "ab4341d4fc49e406f5cea9b19aa579717552d55ed45d63751e0e4ac47a0ecc5f", kill_on_drop: false }` [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling anstyle v1.0.6 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling strsim v0.11.0 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling anstream v0.6.12 [INFO] [stderr] Compiling clap_builder v4.5.1 [INFO] [stderr] Compiling clap v4.5.1 [INFO] [stderr] Compiling headr v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.28s [INFO] running `Command { std: "docker" "inspect" "ab4341d4fc49e406f5cea9b19aa579717552d55ed45d63751e0e4ac47a0ecc5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab4341d4fc49e406f5cea9b19aa579717552d55ed45d63751e0e4ac47a0ecc5f", kill_on_drop: false }` [INFO] [stdout] ab4341d4fc49e406f5cea9b19aa579717552d55ed45d63751e0e4ac47a0ecc5f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 930d50f15b083361d79385140c550d7bcc3dddaed2c0fbd3a5a478484ae86222 [INFO] running `Command { std: "docker" "start" "-a" "930d50f15b083361d79385140c550d7bcc3dddaed2c0fbd3a5a478484ae86222", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling predicates-core v1.0.6 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling termtree v0.4.1 [INFO] [stderr] Compiling predicates-tree v1.0.9 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling predicates v3.1.0 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling float-cmp v0.9.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Compiling bstr v1.9.0 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling predicates v2.1.5 [INFO] [stderr] Compiling assert_cmd v2.0.13 [INFO] [stderr] Compiling headr v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 24.69s [INFO] running `Command { std: "docker" "inspect" "930d50f15b083361d79385140c550d7bcc3dddaed2c0fbd3a5a478484ae86222", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "930d50f15b083361d79385140c550d7bcc3dddaed2c0fbd3a5a478484ae86222", kill_on_drop: false }` [INFO] [stdout] 930d50f15b083361d79385140c550d7bcc3dddaed2c0fbd3a5a478484ae86222 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2f78caca543a5459dfef6f48762da3841e24ec5bf1f0bbc1fa598ddacf5c0043 [INFO] running `Command { std: "docker" "start" "-a" "2f78caca543a5459dfef6f48762da3841e24ec5bf1f0bbc1fa598ddacf5c0043", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/headr-77bf0c954a2a82fe) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_parse_positive_int ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 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/headr-8755708522e0f186) [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/cli.rs (/opt/rustwide/target/debug/deps/cli-11f973cb3652b9a2) [INFO] [stdout] [INFO] [stdout] running 57 tests [INFO] [stdout] test empty_c4 ... ok [INFO] [stdout] test multiple_files ... ok [INFO] [stdout] test dies_bytes_and_lines ... ok [INFO] [stdout] test empty ... ok [INFO] [stdout] test empty_n2 ... ok [INFO] [stdout] test dies_bad_lines ... ok [INFO] [stdout] test empty_n4 ... ok [INFO] [stdout] test empty_c2 ... ok [INFO] [stdout] test multiple_files_c2 ... ok [INFO] [stdout] test one_c1 ... ok [INFO] [stdout] test multiple_files_n4 ... ok [INFO] [stdout] test one ... ok [INFO] [stdout] test one_c2_stdin ... ok [INFO] [stdout] test one_c2 ... ok [INFO] [stdout] test one_c1_stdin ... ok [INFO] [stdout] test one_c4 ... ok [INFO] [stdout] test one_n2_stdin ... ok [INFO] [stdout] test one_n4_stdin ... ok [INFO] [stdout] test one_n2 ... ok [INFO] [stdout] test skips_bad_file ... ok [INFO] [stdout] test multiple_files_c1 ... ok [INFO] [stdout] test dies_bad_bytes ... ok [INFO] [stdout] test one_c4_stdin ... ok [INFO] [stdout] test ten_c2 ... ok [INFO] [stdout] test ten_c4_stdin ... ok [INFO] [stdout] test multiple_files_n2 ... ok [INFO] [stdout] test one_n4 ... ok [INFO] [stdout] test ten_n2 ... ok [INFO] [stdout] test ten ... ok [INFO] [stdout] test ten_n4 ... ok [INFO] [stdout] test ten_c4 ... ok [INFO] [stdout] test multiple_files_c4 ... ok [INFO] [stdout] test ten_c2_stdin ... ok [INFO] [stdout] test one_stdin ... ok [INFO] [stdout] test ten_n2_stdin ... ok [INFO] [stdout] test three ... ok [INFO] [stdout] test three_c2_stdin ... ok [INFO] [stdout] test three_c2 ... ok [INFO] [stdout] test ten_n4_stdin ... ok [INFO] [stdout] test three_n4 ... ok [INFO] [stdout] test three_c4 ... ok [INFO] [stdout] test ten_stdin ... ok [INFO] [stdout] test three_n2 ... ok [INFO] [stdout] test three_c4_stdin ... ok [INFO] [stdout] test three_n2_stdin ... ok [INFO] [stdout] test three_stdin ... ok [INFO] [stdout] test three_n4_stdin ... ok [INFO] [stdout] test two_c4_stdin ... ok [INFO] [stdout] test two_c2 ... ok [INFO] [stdout] test two_c2_stdin ... ok [INFO] [stdout] test two ... ok [INFO] [stdout] test two_n4 ... ok [INFO] [stdout] test two_n2 ... ok [INFO] [stdout] test two_c4 ... ok [INFO] [stdout] test two_stdin ... ok [INFO] [stdout] test two_n2_stdin ... ok [INFO] [stdout] test two_n4_stdin ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 57 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.17s [INFO] [stdout] [INFO] [stderr] Doc-tests headr [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" "2f78caca543a5459dfef6f48762da3841e24ec5bf1f0bbc1fa598ddacf5c0043", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f78caca543a5459dfef6f48762da3841e24ec5bf1f0bbc1fa598ddacf5c0043", kill_on_drop: false }` [INFO] [stdout] 2f78caca543a5459dfef6f48762da3841e24ec5bf1f0bbc1fa598ddacf5c0043