[INFO] fetching crate git-commit-helper 0.1.7...
[INFO] testing git-commit-helper-0.1.7 against master#0d162b25edd5bf0dba9a22e83b614f1113e90474 for pr-150681
[INFO] extracting crate git-commit-helper 0.1.7 into /workspace/builds/worker-2-tc1/source
[INFO] started tweaking crates.io crate git-commit-helper 0.1.7
[INFO] finished tweaking crates.io crate git-commit-helper 0.1.7
[INFO] tweaked toml for crates.io crate git-commit-helper 0.1.7 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate git-commit-helper 0.1.7 on toolchain 0d162b25edd5bf0dba9a22e83b614f1113e90474
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate git-commit-helper 0.1.7 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" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded errno v0.3.12
[INFO] [stderr]   Downloaded async-openai-macros v0.1.0
[INFO] [stderr]   Downloaded secrecy v0.10.3
[INFO] [stderr]   Downloaded serde_derive_internals v0.29.1
[INFO] [stderr]   Downloaded redox_syscall v0.5.12
[INFO] [stderr]   Downloaded backoff v0.4.0
[INFO] [stderr]   Downloaded clap_derive v4.5.32
[INFO] [stderr]   Downloaded schemars v0.8.22
[INFO] [stderr]   Downloaded rustls-webpki v0.103.2
[INFO] [stderr]   Downloaded async-openai v0.28.1
[INFO] [stderr]   Downloaded cc v1.2.21
[INFO] [stderr]   Downloaded clap v4.5.37
[INFO] [stderr]   Downloaded clap_builder v4.5.37
[INFO] [stderr]   Downloaded ollama-rs v0.3.1
[INFO] [stderr]   Downloaded quinn v0.11.7
[INFO] [stderr]   Downloaded schemars_derive v0.8.22
[INFO] [stderr]   Downloaded quinn-proto v0.11.11
[INFO] [stderr]   Downloaded libssh2-sys v0.3.1
[INFO] [stderr]   Downloaded libgit2-sys v0.18.1+1.9.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f927fbdb4eb5fb49a870af5a3126bb5fad49b58eb8d48956e1bff6b52edc4085
[INFO] running `Command { std: "docker" "start" "-a" "f927fbdb4eb5fb49a870af5a3126bb5fad49b58eb8d48956e1bff6b52edc4085", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f927fbdb4eb5fb49a870af5a3126bb5fad49b58eb8d48956e1bff6b52edc4085", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f927fbdb4eb5fb49a870af5a3126bb5fad49b58eb8d48956e1bff6b52edc4085", kill_on_drop: false }`
[INFO] [stdout] f927fbdb4eb5fb49a870af5a3126bb5fad49b58eb8d48956e1bff6b52edc4085
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 25e5b47f8e91af1f60c774ff10bced29fd2ad089327a282e8bef5c9ce3ffb624
[INFO] running `Command { std: "docker" "start" "-a" "25e5b47f8e91af1f60c774ff10bced29fd2ad089327a282e8bef5c9ce3ffb624", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.101
[INFO] [stderr]    Compiling libc v0.2.172
[INFO] [stderr]    Compiling autocfg v1.4.0
[INFO] [stderr]    Compiling pkg-config v0.3.32
[INFO] [stderr]    Compiling smallvec v1.15.0
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]    Compiling icu_locid_transform_data v1.5.1
[INFO] [stderr]    Compiling writeable v0.5.5
[INFO] [stderr]    Compiling litemap v0.7.5
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling icu_properties_data v1.5.1
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling icu_normalizer_data v1.5.1
[INFO] [stderr]    Compiling openssl-probe v0.1.6
[INFO] [stderr]    Compiling rustls-pki-types v1.11.0
[INFO] [stderr]    Compiling write16 v1.0.0
[INFO] [stderr]    Compiling utf16_iter v1.0.5
[INFO] [stderr]    Compiling openssl v0.10.73
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling bitflags v2.9.0
[INFO] [stderr]    Compiling tracing-core v0.1.33
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling log v0.4.27
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling rustls v0.23.27
[INFO] [stderr]    Compiling ident_case v1.0.1
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling zerocopy v0.8.25
[INFO] [stderr]    Compiling unicase v2.8.1
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling sync_wrapper v1.0.2
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling anstyle-parse v0.2.6
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling colorchoice v1.0.3
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling anstyle-query v1.1.2
[INFO] [stderr]    Compiling anstyle v1.0.10
[INFO] [stderr]    Compiling is_terminal_polyfill v1.70.1
[INFO] [stderr]    Compiling schemars v0.8.22
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]    Compiling rustls-native-certs v0.8.1
[INFO] [stderr]    Compiling rustls-pemfile v2.2.0
[INFO] [stderr]    Compiling instant v0.1.13
[INFO] [stderr]    Compiling dyn-clone v1.0.19
[INFO] [stderr]    Compiling clap_lex v0.7.4
[INFO] [stderr]    Compiling static_assertions v1.1.0
[INFO] [stderr]    Compiling anstream v0.6.18
[INFO] [stderr]    Compiling jobserver v0.1.33
[INFO] [stderr]    Compiling socket2 v0.5.9
[INFO] [stderr]    Compiling signal-hook-registry v1.4.5
[INFO] [stderr]    Compiling mio v1.0.3
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling cc v1.2.21
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling clap_builder v4.5.37
[INFO] [stderr]    Compiling eventsource-stream v0.2.3
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling openssl-sys v0.9.109
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling libz-sys v1.1.22
[INFO] [stderr]    Compiling libssh2-sys v0.3.1
[INFO] [stderr]    Compiling libgit2-sys v0.18.1+1.9.0
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling darling_core v0.20.11
[INFO] [stderr]    Compiling serde_derive_internals v0.29.1
[INFO] [stderr]    Compiling zerovec-derive v0.10.3
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.7.5
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling tracing-attributes v0.1.28
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]    Compiling tokio v1.45.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling schemars_derive v0.8.22
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling async-openai-macros v0.1.0
[INFO] [stderr]    Compiling rustls-webpki v0.103.2
[INFO] [stderr]    Compiling async-stream v0.3.6
[INFO] [stderr]    Compiling clap_derive v4.5.32
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling yoke v0.7.5
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]    Compiling zerovec v0.10.4
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]    Compiling derive_builder_core v0.20.2
[INFO] [stderr]    Compiling clap v4.5.37
[INFO] [stderr]    Compiling derive_builder_macro v0.20.2
[INFO] [stderr]    Compiling tinystr v0.7.6
[INFO] [stderr]    Compiling icu_collections v1.5.0
[INFO] [stderr]    Compiling derive_builder v0.20.2
[INFO] [stderr]    Compiling icu_locid v1.5.0
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling icu_provider v1.5.0
[INFO] [stderr]    Compiling icu_locid_transform v1.5.0
[INFO] [stderr]    Compiling icu_properties v1.5.1
[INFO] [stderr]    Compiling hyper v1.6.0
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling tokio-util v0.7.15
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]    Compiling backoff v0.4.0
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling secrecy v0.10.3
[INFO] [stderr]    Compiling hyper-util v0.1.11
[INFO] [stderr]    Compiling tokio-rustls v0.26.2
[INFO] [stderr]    Compiling icu_normalizer v1.5.0
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling hyper-rustls v0.27.5
[INFO] [stderr]    Compiling idna_adapter v1.2.0
[INFO] [stderr]    Compiling idna v1.0.3
[INFO] [stderr]    Compiling url v2.5.4
[INFO] [stderr]    Compiling reqwest v0.12.15
[INFO] [stderr]    Compiling git2 v0.20.2
[INFO] [stderr]    Compiling reqwest-eventsource v0.6.0
[INFO] [stderr]    Compiling ollama-rs v0.3.1
[INFO] [stderr]    Compiling async-openai v0.28.1
[INFO] [stderr]    Compiling git-commit-helper v0.1.7 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `arg`
[INFO] [stdout]   --> src/main.rs:19:20
[INFO] [stdout]    |
[INFO] [stdout] 19 | use clap::{Parser, arg};
[INFO] [stdout]    |                    ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 32s
[INFO] running `Command { std: "docker" "inspect" "25e5b47f8e91af1f60c774ff10bced29fd2ad089327a282e8bef5c9ce3ffb624", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "25e5b47f8e91af1f60c774ff10bced29fd2ad089327a282e8bef5c9ce3ffb624", kill_on_drop: false }`
[INFO] [stdout] 25e5b47f8e91af1f60c774ff10bced29fd2ad089327a282e8bef5c9ce3ffb624
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 96c10c306833766f48b0c3ed9e7d42b96594a9fc13d045fe57cb31cacbce9b8c
[INFO] running `Command { std: "docker" "start" "-a" "96c10c306833766f48b0c3ed9e7d42b96594a9fc13d045fe57cb31cacbce9b8c", kill_on_drop: false }`
[INFO] [stderr]    Compiling git-commit-helper v0.1.7 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `arg`
[INFO] [stdout]   --> src/main.rs:19:20
[INFO] [stdout]    |
[INFO] [stdout] 19 | use clap::{Parser, arg};
[INFO] [stdout]    |                    ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2.43s
[INFO] running `Command { std: "docker" "inspect" "96c10c306833766f48b0c3ed9e7d42b96594a9fc13d045fe57cb31cacbce9b8c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "96c10c306833766f48b0c3ed9e7d42b96594a9fc13d045fe57cb31cacbce9b8c", kill_on_drop: false }`
[INFO] [stdout] 96c10c306833766f48b0c3ed9e7d42b96594a9fc13d045fe57cb31cacbce9b8c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 5dc0fb4033592eed73a0c4d6bf702de1e9a66b5516758f19ec70f2637e7f3865
[INFO] running `Command { std: "docker" "start" "-a" "5dc0fb4033592eed73a0c4d6bf702de1e9a66b5516758f19ec70f2637e7f3865", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `arg`
[INFO] [stderr]   --> src/main.rs:19:20
[INFO] [stderr]    |
[INFO] [stderr] 19 | use clap::{Parser, arg};
[INFO] [stderr]    |                    ^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `git-commit-helper` (bin "git-commit-helper" test) generated 1 warning (run `cargo fix --bin "git-commit-helper" -p git-commit-helper --tests` to apply 1 suggestion)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.27s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/git_commit_helper-d5e802edb6b62b35)
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/git_commit_helper-ddfec799ac721822)
[INFO] [stdout] running 0 tests
[INFO] [stderr]    Doc-tests git_commit_helper
[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 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 4 tests
[INFO] [stdout] test src/llm.rs - llm::call_openai (line 44) - compile ... ok
[INFO] [stdout] test src/git.rs - git::commit_with_git (line 140) ... FAILED
[INFO] [stdout] test src/git.rs - git::get_staged_diff (line 34) ... FAILED
[INFO] [stdout] test src/git.rs - git::get_recent_commit_message (line 78) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/git.rs - git::commit_with_git (line 140) stdout ----
[INFO] [stdout] error[E0061]: this function takes 4 arguments but 2 arguments were supplied
[INFO] [stdout]    --> src/git.rs:147:19
[INFO] [stdout]     |
[INFO] [stdout] 147 | if let Err(err) = commit_with_git(&repo, message) {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^---------------- two arguments of type `bool` and `Option<&str>` are missing
[INFO] [stdout]     |
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/git.rs:150:8
[INFO] [stdout]     |
[INFO] [stdout] 150 | pub fn commit_with_git(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] help: provide the arguments
[INFO] [stdout]     |
[INFO] [stdout] 147 | if let Err(err) = commit_with_git(&repo, message, /* bool */, /* Option<&str> */) {
[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 E0061`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/git.rs - git::get_staged_diff (line 34) stdout ----
[INFO] [stdout] Test executable failed (exit status: 101).
[INFO] [stdout] 
[INFO] [stdout] stderr:
[INFO] [stdout] 
[INFO] [stdout] thread 'main' (97) panicked at src/git.rs:8:38:
[INFO] [stdout] Not a git repository: Error { code: -3, klass: 6, message: "could not find repository at '.'" }
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x58e6f5922022 - std[3b51380354919863]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x58e6f5922022 - std[3b51380354919863]::backtrace_rs::backtrace::trace_unsynchronized::<std[3b51380354919863]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x58e6f5922022 - std[3b51380354919863]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x58e6f5922022 - <<std[3b51380354919863]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[27de1724e4349be2]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x58e6f5933b5a - <core[27de1724e4349be2]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x58e6f5933b5a - core[27de1724e4349be2]::fmt::write
[INFO] [stdout]    6:     0x58e6f59266c6 - std[3b51380354919863]::io::default_write_fmt::<std[3b51380354919863]::sys::stdio::unix::Stderr>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x58e6f59266c6 - <std[3b51380354919863]::sys::stdio::unix::Stderr as std[3b51380354919863]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x58e6f590c8bf - <std[3b51380354919863]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x58e6f590c8bf - std[3b51380354919863]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x58e6f591ded1 - std[3b51380354919863]::panicking::default_hook
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:319:9
[INFO] [stdout]   11:     0x58e6f591e13b - std[3b51380354919863]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:825:13
[INFO] [stdout]   12:     0x58e6f590c978 - std[3b51380354919863]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:698:13
[INFO] [stdout]   13:     0x58e6f5901cc9 - std[3b51380354919863]::sys::backtrace::__rust_end_short_backtrace::<std[3b51380354919863]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   14:     0x58e6f590d2bd - __rustc[d79c0ace40940972]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:689:5
[INFO] [stdout]   15:     0x58e6f593425c - core[27de1724e4349be2]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/panicking.rs:80:14
[INFO] [stdout]   16:     0x58e6f5933fd2 - core[27de1724e4349be2]::result::unwrap_failed
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/result.rs:1867:5
[INFO] [stdout]   17:     0x58e6f5836e6a - <core[27de1724e4349be2]::result::Result<git2[a79cc732e1108245]::repo::Repository, git2[a79cc732e1108245]::error::Error>>::expect
[INFO] [stdout]   18:     0x58e6f5836eef - rust_out[8e547ba4386cb4c9]::main::_doctest_main_src_git_rs_34_0
[INFO] [stdout]   19:     0x58e6f5836df6 - rust_out[8e547ba4386cb4c9]::main
[INFO] [stdout]   20:     0x58e6f5837123 - <fn() as core[27de1724e4349be2]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]   21:     0x58e6f5836db6 - std[3b51380354919863]::sys::backtrace::__rust_begin_short_backtrace::<fn(), ()>
[INFO] [stdout]   22:     0x58e6f5836dc9 - std[3b51380354919863]::rt::lang_start::<()>::{closure#0}
[INFO] [stdout]   23:     0x58e6f591d4b6 - <&dyn core[27de1724e4349be2]::ops::function::Fn<(), Output = i32> + core[27de1724e4349be2]::marker::Sync + core[27de1724e4349be2]::panic::unwind_safe::RefUnwindSafe as core[27de1724e4349be2]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/ops/function.rs:287:21
[INFO] [stdout]   24:     0x58e6f591d4b6 - std[3b51380354919863]::panicking::catch_unwind::do_call::<&dyn core[27de1724e4349be2]::ops::function::Fn<(), Output = i32> + core[27de1724e4349be2]::marker::Sync + core[27de1724e4349be2]::panic::unwind_safe::RefUnwindSafe, i32>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:581:40
[INFO] [stdout]   25:     0x58e6f591d4b6 - std[3b51380354919863]::panicking::catch_unwind::<i32, &dyn core[27de1724e4349be2]::ops::function::Fn<(), Output = i32> + core[27de1724e4349be2]::marker::Sync + core[27de1724e4349be2]::panic::unwind_safe::RefUnwindSafe>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:544:19
[INFO] [stdout]   26:     0x58e6f591d4b6 - std[3b51380354919863]::panic::catch_unwind::<&dyn core[27de1724e4349be2]::ops::function::Fn<(), Output = i32> + core[27de1724e4349be2]::marker::Sync + core[27de1724e4349be2]::panic::unwind_safe::RefUnwindSafe, i32>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panic.rs:359:14
[INFO] [stdout]   27:     0x58e6f591d4b6 - std[3b51380354919863]::rt::lang_start_internal::{closure#0}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/rt.rs:175:24
[INFO] [stdout]   28:     0x58e6f591d4b6 - std[3b51380354919863]::panicking::catch_unwind::do_call::<std[3b51380354919863]::rt::lang_start_internal::{closure#0}, isize>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:581:40
[INFO] [stdout]   29:     0x58e6f591d4b6 - std[3b51380354919863]::panicking::catch_unwind::<isize, std[3b51380354919863]::rt::lang_start_internal::{closure#0}>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:544:19
[INFO] [stdout]   30:     0x58e6f591d4b6 - std[3b51380354919863]::panic::catch_unwind::<std[3b51380354919863]::rt::lang_start_internal::{closure#0}, isize>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panic.rs:359:14
[INFO] [stdout]   31:     0x58e6f591d4b6 - std[3b51380354919863]::rt::lang_start_internal
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/rt.rs:171:5
[INFO] [stdout]   32:     0x58e6f5836da1 - std[3b51380354919863]::rt::lang_start::<()>
[INFO] [stdout]   33:     0x58e6f5837185 - main
[INFO] [stdout]   34:     0x7dcc6459c1ca - <unknown>
[INFO] [stdout]   35:     0x7dcc6459c28b - __libc_start_main
[INFO] [stdout]   36:     0x58e6f58365e5 - _start
[INFO] [stdout]   37:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] ---- src/git.rs - git::get_recent_commit_message (line 78) stdout ----
[INFO] [stdout] Test executable failed (exit status: 101).
[INFO] [stdout] 
[INFO] [stdout] stderr:
[INFO] [stdout] 
[INFO] [stdout] thread 'main' (98) panicked at src/git.rs:8:38:
[INFO] [stdout] Not a git repository: Error { code: -3, klass: 6, message: "could not find repository at '.'" }
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x624dc5de12c2 - std[3b51380354919863]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x624dc5de12c2 - std[3b51380354919863]::backtrace_rs::backtrace::trace_unsynchronized::<std[3b51380354919863]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x624dc5de12c2 - std[3b51380354919863]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x624dc5de12c2 - <<std[3b51380354919863]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[27de1724e4349be2]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x624dc5df24da - <core[27de1724e4349be2]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x624dc5df24da - core[27de1724e4349be2]::fmt::write
[INFO] [stdout]    6:     0x624dc5de54b6 - std[3b51380354919863]::io::default_write_fmt::<std[3b51380354919863]::sys::stdio::unix::Stderr>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x624dc5de54b6 - <std[3b51380354919863]::sys::stdio::unix::Stderr as std[3b51380354919863]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x624dc5dcbc5f - <std[3b51380354919863]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x624dc5dcbc5f - std[3b51380354919863]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x624dc5ddd271 - std[3b51380354919863]::panicking::default_hook
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:319:9
[INFO] [stdout]   11:     0x624dc5ddd4db - std[3b51380354919863]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:825:13
[INFO] [stdout]   12:     0x624dc5dcbd18 - std[3b51380354919863]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:698:13
[INFO] [stdout]   13:     0x624dc5dc1069 - std[3b51380354919863]::sys::backtrace::__rust_end_short_backtrace::<std[3b51380354919863]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   14:     0x624dc5dcc65d - __rustc[d79c0ace40940972]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:689:5
[INFO] [stdout]   15:     0x624dc5df2bac - core[27de1724e4349be2]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/panicking.rs:80:14
[INFO] [stdout]   16:     0x624dc5df2922 - core[27de1724e4349be2]::result::unwrap_failed
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/result.rs:1867:5
[INFO] [stdout]   17:     0x624dc5d0bfca - <core[27de1724e4349be2]::result::Result<git2[a79cc732e1108245]::repo::Repository, git2[a79cc732e1108245]::error::Error>>::expect
[INFO] [stdout]   18:     0x624dc5d0c04f - rust_out[8e547ba4386cb4c9]::main::_doctest_main_src_git_rs_78_0
[INFO] [stdout]   19:     0x624dc5d0bf56 - rust_out[8e547ba4386cb4c9]::main
[INFO] [stdout]   20:     0x624dc5d0c283 - <fn() as core[27de1724e4349be2]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]   21:     0x624dc5d0bf16 - std[3b51380354919863]::sys::backtrace::__rust_begin_short_backtrace::<fn(), ()>
[INFO] [stdout]   22:     0x624dc5d0bf29 - std[3b51380354919863]::rt::lang_start::<()>::{closure#0}
[INFO] [stdout]   23:     0x624dc5ddc856 - <&dyn core[27de1724e4349be2]::ops::function::Fn<(), Output = i32> + core[27de1724e4349be2]::marker::Sync + core[27de1724e4349be2]::panic::unwind_safe::RefUnwindSafe as core[27de1724e4349be2]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/ops/function.rs:287:21
[INFO] [stdout]   24:     0x624dc5ddc856 - std[3b51380354919863]::panicking::catch_unwind::do_call::<&dyn core[27de1724e4349be2]::ops::function::Fn<(), Output = i32> + core[27de1724e4349be2]::marker::Sync + core[27de1724e4349be2]::panic::unwind_safe::RefUnwindSafe, i32>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:581:40
[INFO] [stdout]   25:     0x624dc5ddc856 - std[3b51380354919863]::panicking::catch_unwind::<i32, &dyn core[27de1724e4349be2]::ops::function::Fn<(), Output = i32> + core[27de1724e4349be2]::marker::Sync + core[27de1724e4349be2]::panic::unwind_safe::RefUnwindSafe>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:544:19
[INFO] [stdout]   26:     0x624dc5ddc856 - std[3b51380354919863]::panic::catch_unwind::<&dyn core[27de1724e4349be2]::ops::function::Fn<(), Output = i32> + core[27de1724e4349be2]::marker::Sync + core[27de1724e4349be2]::panic::unwind_safe::RefUnwindSafe, i32>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panic.rs:359:14
[INFO] [stdout]   27:     0x624dc5ddc856 - std[3b51380354919863]::rt::lang_start_internal::{closure#0}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/rt.rs:175:24
[INFO] [stdout]   28:     0x624dc5ddc856 - std[3b51380354919863]::panicking::catch_unwind::do_call::<std[3b51380354919863]::rt::lang_start_internal::{closure#0}, isize>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:581:40
[INFO] [stdout]   29:     0x624dc5ddc856 - std[3b51380354919863]::panicking::catch_unwind::<isize, std[3b51380354919863]::rt::lang_start_internal::{closure#0}>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:544:19
[INFO] [stdout]   30:     0x624dc5ddc856 - std[3b51380354919863]::panic::catch_unwind::<std[3b51380354919863]::rt::lang_start_internal::{closure#0}, isize>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panic.rs:359:14
[INFO] [stdout]   31:     0x624dc5ddc856 - std[3b51380354919863]::rt::lang_start_internal
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/rt.rs:171:5
[INFO] [stdout]   32:     0x624dc5d0bf01 - std[3b51380354919863]::rt::lang_start::<()>
[INFO] [stdout]   33:     0x624dc5d0c2e5 - main
[INFO] [stdout]   34:     0x7ab778c6f1ca - <unknown>
[INFO] [stdout]   35:     0x7ab778c6f28b - __libc_start_main
[INFO] [stdout]   36:     0x624dc5d0b745 - _start
[INFO] [stdout]   37:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/git.rs - git::commit_with_git (line 140)
[INFO] [stdout]     src/git.rs - git::get_recent_commit_message (line 78)
[INFO] [stdout]     src/git.rs - git::get_staged_diff (line 34)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 1 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.26s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 1.41s; merged doctests compilation took 0.15s
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "5dc0fb4033592eed73a0c4d6bf702de1e9a66b5516758f19ec70f2637e7f3865", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5dc0fb4033592eed73a0c4d6bf702de1e9a66b5516758f19ec70f2637e7f3865", kill_on_drop: false }`
[INFO] [stdout] 5dc0fb4033592eed73a0c4d6bf702de1e9a66b5516758f19ec70f2637e7f3865
