[INFO] fetching crate git-commit-helper 0.1.7... [INFO] testing git-commit-helper-0.1.7 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate git-commit-helper 0.1.7 into /workspace/builds/worker-1-tc2/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-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate git-commit-helper 0.1.7 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 646ef51f9aa5142c021ee6b3f1389e6d344504fc44673d28ef5a5d9890f69bd3 [INFO] running `Command { std: "docker" "start" "-a" "646ef51f9aa5142c021ee6b3f1389e6d344504fc44673d28ef5a5d9890f69bd3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "646ef51f9aa5142c021ee6b3f1389e6d344504fc44673d28ef5a5d9890f69bd3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "646ef51f9aa5142c021ee6b3f1389e6d344504fc44673d28ef5a5d9890f69bd3", kill_on_drop: false }` [INFO] [stdout] 646ef51f9aa5142c021ee6b3f1389e6d344504fc44673d28ef5a5d9890f69bd3 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 02c4a92437287edbef9db8ef9302e45d37ff5ce74dc7aa4b78c43f2a79e525a8 [INFO] running `Command { std: "docker" "start" "-a" "02c4a92437287edbef9db8ef9302e45d37ff5ce74dc7aa4b78c43f2a79e525a8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling rustls-pki-types v1.11.0 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling rustls v0.23.27 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling rustls-native-certs v0.8.1 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling schemars v0.8.22 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling dyn-clone v1.0.19 [INFO] [stderr] Compiling clap_builder v4.5.37 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling cc v1.2.21 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling eventsource-stream v0.2.3 [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 zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [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 tracing-attributes v0.1.28 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling tokio v1.45.0 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling schemars_derive v0.8.22 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling async-openai-macros v0.1.0 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling rustls-webpki v0.103.2 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling thiserror v1.0.69 [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 tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Compiling derive_builder v0.20.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling secrecy v0.10.3 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling backoff v0.4.0 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling hyper-util v0.1.11 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [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 hyper-rustls v0.27.5 [INFO] [stderr] Compiling hyper-tls v0.6.0 [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 36s [INFO] running `Command { std: "docker" "inspect" "02c4a92437287edbef9db8ef9302e45d37ff5ce74dc7aa4b78c43f2a79e525a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02c4a92437287edbef9db8ef9302e45d37ff5ce74dc7aa4b78c43f2a79e525a8", kill_on_drop: false }` [INFO] [stdout] 02c4a92437287edbef9db8ef9302e45d37ff5ce74dc7aa4b78c43f2a79e525a8 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 22da9c8c641856415006a6699bf5acd202e5ac443f6d5b4a12b499dcf943602f [INFO] running `Command { std: "docker" "start" "-a" "22da9c8c641856415006a6699bf5acd202e5ac443f6d5b4a12b499dcf943602f", 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.39s [INFO] running `Command { std: "docker" "inspect" "22da9c8c641856415006a6699bf5acd202e5ac443f6d5b4a12b499dcf943602f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22da9c8c641856415006a6699bf5acd202e5ac443f6d5b4a12b499dcf943602f", kill_on_drop: false }` [INFO] [stdout] 22da9c8c641856415006a6699bf5acd202e5ac443f6d5b4a12b499dcf943602f [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c4cf35ef0456918da290976293dffd78d1e51b20d9991f4e936ab3394447e83c [INFO] running `Command { std: "docker" "start" "-a" "c4cf35ef0456918da290976293dffd78d1e51b20d9991f4e936ab3394447e83c", 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.28s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/git_commit_helper-d5e802edb6b62b35) [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 unittests src/main.rs (/opt/rustwide/target/debug/deps/git_commit_helper-ddfec799ac721822) [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 git_commit_helper [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/git.rs - git::commit_with_git (line 140) ... FAILED [INFO] [stdout] test src/llm.rs - llm::call_openai (line 44) - compile ... ok [INFO] [stdout] test src/git.rs - git::get_recent_commit_message (line 78) ... FAILED [INFO] [stdout] test src/git.rs - git::get_staged_diff (line 34) ... 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_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' (88) 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: 0x643ecfcd8aba - std[e72de78501789eb0]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x643ecfcd8aba - std[e72de78501789eb0]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x643ecfcd8aba - std[e72de78501789eb0]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x643ecfcd8aba - <::print::DisplayBacktrace as core[6aaeda2c7ad07a48]::fmt::Display>::fmt [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x643ecfce90ea - ::fmt [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x643ecfce90ea - core[6aaeda2c7ad07a48]::fmt::write [INFO] [stdout] 6: 0x643ecfcdc4d2 - std[e72de78501789eb0]::io::default_write_fmt:: [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x643ecfcdc4d2 - ::write_fmt [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/io/mod.rs:1994:13 [INFO] [stdout] 8: 0x643ecfcc409f - ::print [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x643ecfcc409f - std[e72de78501789eb0]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x643ecfcd4b81 - std[e72de78501789eb0]::panicking::default_hook [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:319:9 [INFO] [stdout] 11: 0x643ecfcd4dfb - std[e72de78501789eb0]::panicking::panic_with_hook [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:825:13 [INFO] [stdout] 12: 0x643ecfcc4158 - std[e72de78501789eb0]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:698:13 [INFO] [stdout] 13: 0x643ecfcbbbc9 - std[e72de78501789eb0]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 14: 0x643ecfcc4a5d - __rustc[78a4cf188af856fc]::rust_begin_unwind [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:689:5 [INFO] [stdout] 15: 0x643ecfce983c - core[6aaeda2c7ad07a48]::panicking::panic_fmt [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/panicking.rs:80:14 [INFO] [stdout] 16: 0x643ecfce95b2 - core[6aaeda2c7ad07a48]::result::unwrap_failed [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/result.rs:1867:5 [INFO] [stdout] 17: 0x643ecfc0520a - >::expect [INFO] [stdout] 18: 0x643ecfc0528f - rust_out[992bb7df40d5d539]::main::_doctest_main_src_git_rs_78_0 [INFO] [stdout] 19: 0x643ecfc05196 - rust_out[992bb7df40d5d539]::main [INFO] [stdout] 20: 0x643ecfc054c3 - >::call_once [INFO] [stdout] 21: 0x643ecfc05156 - std[e72de78501789eb0]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 22: 0x643ecfc05169 - std[e72de78501789eb0]::rt::lang_start::<()>::{closure#0} [INFO] [stdout] 23: 0x643ecfcd4214 - <&dyn core[6aaeda2c7ad07a48]::ops::function::Fn<(), Output = i32> + core[6aaeda2c7ad07a48]::marker::Sync + core[6aaeda2c7ad07a48]::panic::unwind_safe::RefUnwindSafe as core[6aaeda2c7ad07a48]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/ops/function.rs:287:21 [INFO] [stdout] 24: 0x643ecfcd4214 - std[e72de78501789eb0]::panicking::catch_unwind::do_call::<&dyn core[6aaeda2c7ad07a48]::ops::function::Fn<(), Output = i32> + core[6aaeda2c7ad07a48]::marker::Sync + core[6aaeda2c7ad07a48]::panic::unwind_safe::RefUnwindSafe, i32> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:581:40 [INFO] [stdout] 25: 0x643ecfcd4214 - std[e72de78501789eb0]::panicking::catch_unwind:: + core[6aaeda2c7ad07a48]::marker::Sync + core[6aaeda2c7ad07a48]::panic::unwind_safe::RefUnwindSafe> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:544:19 [INFO] [stdout] 26: 0x643ecfcd4214 - std[e72de78501789eb0]::panic::catch_unwind::<&dyn core[6aaeda2c7ad07a48]::ops::function::Fn<(), Output = i32> + core[6aaeda2c7ad07a48]::marker::Sync + core[6aaeda2c7ad07a48]::panic::unwind_safe::RefUnwindSafe, i32> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panic.rs:359:14 [INFO] [stdout] 27: 0x643ecfcd4214 - std[e72de78501789eb0]::rt::lang_start_internal::{closure#0} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/rt.rs:175:24 [INFO] [stdout] 28: 0x643ecfcd4214 - std[e72de78501789eb0]::panicking::catch_unwind::do_call:: [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:581:40 [INFO] [stdout] 29: 0x643ecfcd4214 - std[e72de78501789eb0]::panicking::catch_unwind:: [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:544:19 [INFO] [stdout] 30: 0x643ecfcd4214 - std[e72de78501789eb0]::panic::catch_unwind:: [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x643ecfcd4214 - std[e72de78501789eb0]::rt::lang_start_internal [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/rt.rs:171:5 [INFO] [stdout] 32: 0x643ecfc05141 - std[e72de78501789eb0]::rt::lang_start::<()> [INFO] [stdout] 33: 0x643ecfc05525 - main [INFO] [stdout] 34: 0x7356cdb7a1ca - [INFO] [stdout] 35: 0x7356cdb7a28b - __libc_start_main [INFO] [stdout] 36: 0x643ecfc04985 - _start [INFO] [stdout] 37: 0x0 - [INFO] [stdout] [INFO] [stdout] [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' (89) 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: 0x55a0c588a83a - std[e72de78501789eb0]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x55a0c588a83a - std[e72de78501789eb0]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x55a0c588a83a - std[e72de78501789eb0]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x55a0c588a83a - <::print::DisplayBacktrace as core[6aaeda2c7ad07a48]::fmt::Display>::fmt [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x55a0c589b77a - ::fmt [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x55a0c589b77a - core[6aaeda2c7ad07a48]::fmt::write [INFO] [stdout] 6: 0x55a0c588e6e2 - std[e72de78501789eb0]::io::default_write_fmt:: [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x55a0c588e6e2 - ::write_fmt [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/io/mod.rs:1994:13 [INFO] [stdout] 8: 0x55a0c5875d1f - ::print [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x55a0c5875d1f - std[e72de78501789eb0]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x55a0c5886801 - std[e72de78501789eb0]::panicking::default_hook [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:319:9 [INFO] [stdout] 11: 0x55a0c5886a7b - std[e72de78501789eb0]::panicking::panic_with_hook [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:825:13 [INFO] [stdout] 12: 0x55a0c5875dd8 - std[e72de78501789eb0]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:698:13 [INFO] [stdout] 13: 0x55a0c586d849 - std[e72de78501789eb0]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 14: 0x55a0c58766dd - __rustc[78a4cf188af856fc]::rust_begin_unwind [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:689:5 [INFO] [stdout] 15: 0x55a0c589befc - core[6aaeda2c7ad07a48]::panicking::panic_fmt [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/panicking.rs:80:14 [INFO] [stdout] 16: 0x55a0c589bc72 - core[6aaeda2c7ad07a48]::result::unwrap_failed [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/result.rs:1867:5 [INFO] [stdout] 17: 0x55a0c57a1a8a - >::expect [INFO] [stdout] 18: 0x55a0c57a1b0f - rust_out[992bb7df40d5d539]::main::_doctest_main_src_git_rs_34_0 [INFO] [stdout] 19: 0x55a0c57a1a16 - rust_out[992bb7df40d5d539]::main [INFO] [stdout] 20: 0x55a0c57a1d43 - >::call_once [INFO] [stdout] 21: 0x55a0c57a19d6 - std[e72de78501789eb0]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 22: 0x55a0c57a19e9 - std[e72de78501789eb0]::rt::lang_start::<()>::{closure#0} [INFO] [stdout] 23: 0x55a0c5885e94 - <&dyn core[6aaeda2c7ad07a48]::ops::function::Fn<(), Output = i32> + core[6aaeda2c7ad07a48]::marker::Sync + core[6aaeda2c7ad07a48]::panic::unwind_safe::RefUnwindSafe as core[6aaeda2c7ad07a48]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/ops/function.rs:287:21 [INFO] [stdout] 24: 0x55a0c5885e94 - std[e72de78501789eb0]::panicking::catch_unwind::do_call::<&dyn core[6aaeda2c7ad07a48]::ops::function::Fn<(), Output = i32> + core[6aaeda2c7ad07a48]::marker::Sync + core[6aaeda2c7ad07a48]::panic::unwind_safe::RefUnwindSafe, i32> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:581:40 [INFO] [stdout] 25: 0x55a0c5885e94 - std[e72de78501789eb0]::panicking::catch_unwind:: + core[6aaeda2c7ad07a48]::marker::Sync + core[6aaeda2c7ad07a48]::panic::unwind_safe::RefUnwindSafe> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:544:19 [INFO] [stdout] 26: 0x55a0c5885e94 - std[e72de78501789eb0]::panic::catch_unwind::<&dyn core[6aaeda2c7ad07a48]::ops::function::Fn<(), Output = i32> + core[6aaeda2c7ad07a48]::marker::Sync + core[6aaeda2c7ad07a48]::panic::unwind_safe::RefUnwindSafe, i32> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panic.rs:359:14 [INFO] [stdout] 27: 0x55a0c5885e94 - std[e72de78501789eb0]::rt::lang_start_internal::{closure#0} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/rt.rs:175:24 [INFO] [stdout] 28: 0x55a0c5885e94 - std[e72de78501789eb0]::panicking::catch_unwind::do_call:: [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:581:40 [INFO] [stdout] 29: 0x55a0c5885e94 - std[e72de78501789eb0]::panicking::catch_unwind:: [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:544:19 [INFO] [stdout] 30: 0x55a0c5885e94 - std[e72de78501789eb0]::panic::catch_unwind:: [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x55a0c5885e94 - std[e72de78501789eb0]::rt::lang_start_internal [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/rt.rs:171:5 [INFO] [stdout] 32: 0x55a0c57a19c1 - std[e72de78501789eb0]::rt::lang_start::<()> [INFO] [stdout] 33: 0x55a0c57a1da5 - main [INFO] [stdout] 34: 0x735a2970c1ca - [INFO] [stdout] 35: 0x735a2970c28b - __libc_start_main [INFO] [stdout] 36: 0x55a0c57a1205 - _start [INFO] [stdout] 37: 0x0 - [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.82s [INFO] [stdout] [INFO] [stdout] all doctests ran in 1.99s; merged doctests compilation took 0.16s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "c4cf35ef0456918da290976293dffd78d1e51b20d9991f4e936ab3394447e83c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4cf35ef0456918da290976293dffd78d1e51b20d9991f4e936ab3394447e83c", kill_on_drop: false }` [INFO] [stdout] c4cf35ef0456918da290976293dffd78d1e51b20d9991f4e936ab3394447e83c