[INFO] fetching crate codex-git 0.1.1...
[INFO] testing codex-git-0.1.1 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7
[INFO] extracting crate codex-git 0.1.1 into /workspace/builds/worker-1-tc2/source
[INFO] started tweaking crates.io crate codex-git 0.1.1
[INFO] finished tweaking crates.io crate codex-git 0.1.1
[INFO] tweaked toml for crates.io crate codex-git 0.1.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate codex-git 0.1.1 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 147 packages to latest compatible versions
[INFO] [stderr]       Adding env_logger v0.9.3 (available: v0.11.8)
[INFO] [stderr]       Adding git2 v0.13.25 (available: v0.20.2)
[INFO] [stderr]       Adding git2_credentials v0.7.3 (available: v0.15.0)
[INFO] [stderr]       Adding ron v0.7.1 (available: v0.11.0)
[INFO] [stderr]       Adding simple_logger v1.16.0 (available: v5.1.0)
[INFO] [stderr]       Adding thiserror v1.0.69 (available: v2.0.17)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1b4fd8e6593e0ab52a44986c9746e1ace1849b552259557047a1ef86030edb80
[INFO] running `Command { std: "docker" "start" "-a" "1b4fd8e6593e0ab52a44986c9746e1ace1849b552259557047a1ef86030edb80", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1b4fd8e6593e0ab52a44986c9746e1ace1849b552259557047a1ef86030edb80", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1b4fd8e6593e0ab52a44986c9746e1ace1849b552259557047a1ef86030edb80", kill_on_drop: false }`
[INFO] [stdout] 1b4fd8e6593e0ab52a44986c9746e1ace1849b552259557047a1ef86030edb80
[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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 86e928f4f36c27d161eb9344589d299a8106e0da0df2bcbd6437d87db2ed7638
[INFO] running `Command { std: "docker" "start" "-a" "86e928f4f36c27d161eb9344589d299a8106e0da0df2bcbd6437d87db2ed7638", kill_on_drop: false }`
[INFO] [stderr]    Compiling regex-automata v0.4.13
[INFO] [stderr]    Compiling rustix v1.1.2
[INFO] [stderr]    Compiling terminal_size v0.1.17
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling proc-macro-error-attr2 v2.0.0
[INFO] [stderr]    Compiling pest_generator v2.8.3
[INFO] [stderr]    Compiling deranged v0.5.5
[INFO] [stderr]    Compiling time-macros v0.2.24
[INFO] [stderr]    Compiling openssl-sys v0.9.111
[INFO] [stderr]    Compiling libz-sys v1.1.22
[INFO] [stderr]    Compiling libssh2-sys v0.2.23
[INFO] [stderr]    Compiling libgit2-sys v0.12.26+1.3.0
[INFO] [stderr]    Compiling num_threads v0.1.7
[INFO] [stderr]    Compiling dirs v3.0.2
[INFO] [stderr]    Compiling colored v1.9.4
[INFO] [stderr]    Compiling url v2.5.7
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling ron v0.7.1
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]    Compiling test-env-log v0.2.8
[INFO] [stderr]    Compiling proc-macro-error2 v2.0.1
[INFO] [stderr]    Compiling getset v0.1.6
[INFO] [stderr]    Compiling pest_derive v2.8.3
[INFO] [stderr]    Compiling tempfile v3.23.0
[INFO] [stderr]    Compiling time v0.3.44
[INFO] [stderr]    Compiling regex v1.12.2
[INFO] [stderr]    Compiling console v0.14.1
[INFO] [stderr]    Compiling env_logger v0.9.3
[INFO] [stderr]    Compiling simple_logger v1.16.0
[INFO] [stderr]    Compiling dialoguer v0.8.0
[INFO] [stderr]    Compiling git2 v0.13.25
[INFO] [stderr]    Compiling git2_credentials v0.7.3
[INFO] [stderr]    Compiling codex-git v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around closure body
[INFO] [stdout]    --> src/lib.rs:479:46
[INFO] [stdout]     |
[INFO] [stdout] 479 |         Ok(self.last_commit()?.ok_or_else(|| (anyhow!("no commit")))?)
[INFO] [stdout]     |                                              ^                    ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 479 -         Ok(self.last_commit()?.ok_or_else(|| (anyhow!("no commit")))?)
[INFO] [stdout] 479 +         Ok(self.last_commit()?.ok_or_else(|| anyhow!("no commit"))?)
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:157:22
[INFO] [stdout]     |
[INFO] [stdout] 157 |     fn fetch_options(&self) -> Result<FetchOptions> {
[INFO] [stdout]     |                      ^^^^^            ^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 157 |     fn fetch_options(&self) -> Result<FetchOptions<'_>> {
[INFO] [stdout]     |                                                   ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:163:18
[INFO] [stdout]     |
[INFO] [stdout] 163 |     fn callbacks(&self) -> Result<RemoteCallbacks> {
[INFO] [stdout]     |                  ^^^^^            ^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                  |
[INFO] [stdout]     |                  the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 163 |     fn callbacks(&self) -> Result<RemoteCallbacks<'_>> {
[INFO] [stdout]     |                                                  ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:482:20
[INFO] [stdout]     |
[INFO] [stdout] 482 |     fn last_commit(&self) -> Result<Option<Commit>> {
[INFO] [stdout]     |                    ^^^^^                   ^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 482 |     fn last_commit(&self) -> Result<Option<Commit<'_>>> {
[INFO] [stdout]     |                                                  ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.75s
[INFO] running `Command { std: "docker" "inspect" "86e928f4f36c27d161eb9344589d299a8106e0da0df2bcbd6437d87db2ed7638", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "86e928f4f36c27d161eb9344589d299a8106e0da0df2bcbd6437d87db2ed7638", kill_on_drop: false }`
[INFO] [stdout] 86e928f4f36c27d161eb9344589d299a8106e0da0df2bcbd6437d87db2ed7638
[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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2efb61f4f5905cff940cbefb3219e57d6e6d5422f618e40a8f75b4b140e0cc90
[INFO] running `Command { std: "docker" "start" "-a" "2efb61f4f5905cff940cbefb3219e57d6e6d5422f618e40a8f75b4b140e0cc90", kill_on_drop: false }`
[INFO] [stderr]    Compiling codex-git v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around closure body
[INFO] [stdout]    --> src/lib.rs:479:46
[INFO] [stdout]     |
[INFO] [stdout] 479 |         Ok(self.last_commit()?.ok_or_else(|| (anyhow!("no commit")))?)
[INFO] [stdout]     |                                              ^                    ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 479 -         Ok(self.last_commit()?.ok_or_else(|| (anyhow!("no commit")))?)
[INFO] [stdout] 479 +         Ok(self.last_commit()?.ok_or_else(|| anyhow!("no commit"))?)
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:157:22
[INFO] [stdout]     |
[INFO] [stdout] 157 |     fn fetch_options(&self) -> Result<FetchOptions> {
[INFO] [stdout]     |                      ^^^^^            ^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 157 |     fn fetch_options(&self) -> Result<FetchOptions<'_>> {
[INFO] [stdout]     |                                                   ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:163:18
[INFO] [stdout]     |
[INFO] [stdout] 163 |     fn callbacks(&self) -> Result<RemoteCallbacks> {
[INFO] [stdout]     |                  ^^^^^            ^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                  |
[INFO] [stdout]     |                  the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 163 |     fn callbacks(&self) -> Result<RemoteCallbacks<'_>> {
[INFO] [stdout]     |                                                  ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:482:20
[INFO] [stdout]     |
[INFO] [stdout] 482 |     fn last_commit(&self) -> Result<Option<Commit>> {
[INFO] [stdout]     |                    ^^^^^                   ^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 482 |     fn last_commit(&self) -> Result<Option<Commit<'_>>> {
[INFO] [stdout]     |                                                  ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around closure body
[INFO] [stdout]    --> src/lib.rs:479:46
[INFO] [stdout]     |
[INFO] [stdout] 479 |         Ok(self.last_commit()?.ok_or_else(|| (anyhow!("no commit")))?)
[INFO] [stdout]     |                                              ^                    ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 479 -         Ok(self.last_commit()?.ok_or_else(|| (anyhow!("no commit")))?)
[INFO] [stdout] 479 +         Ok(self.last_commit()?.ok_or_else(|| anyhow!("no commit"))?)
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:157:22
[INFO] [stdout]     |
[INFO] [stdout] 157 |     fn fetch_options(&self) -> Result<FetchOptions> {
[INFO] [stdout]     |                      ^^^^^            ^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 157 |     fn fetch_options(&self) -> Result<FetchOptions<'_>> {
[INFO] [stdout]     |                                                   ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:163:18
[INFO] [stdout]     |
[INFO] [stdout] 163 |     fn callbacks(&self) -> Result<RemoteCallbacks> {
[INFO] [stdout]     |                  ^^^^^            ^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                  |
[INFO] [stdout]     |                  the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 163 |     fn callbacks(&self) -> Result<RemoteCallbacks<'_>> {
[INFO] [stdout]     |                                                  ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:482:20
[INFO] [stdout]     |
[INFO] [stdout] 482 |     fn last_commit(&self) -> Result<Option<Commit>> {
[INFO] [stdout]     |                    ^^^^^                   ^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 482 |     fn last_commit(&self) -> Result<Option<Commit<'_>>> {
[INFO] [stdout]     |                                                  ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.99s
[INFO] running `Command { std: "docker" "inspect" "2efb61f4f5905cff940cbefb3219e57d6e6d5422f618e40a8f75b4b140e0cc90", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2efb61f4f5905cff940cbefb3219e57d6e6d5422f618e40a8f75b4b140e0cc90", kill_on_drop: false }`
[INFO] [stdout] 2efb61f4f5905cff940cbefb3219e57d6e6d5422f618e40a8f75b4b140e0cc90
[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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 6104a7e99101e6b8f14a8e54e2a2bb3f1b55e6c73aba98ab477d5bdeee01593e
[INFO] running `Command { std: "docker" "start" "-a" "6104a7e99101e6b8f14a8e54e2a2bb3f1b55e6c73aba98ab477d5bdeee01593e", kill_on_drop: false }`
[INFO] [stderr] warning: unnecessary parentheses around closure body
[INFO] [stderr]    --> src/lib.rs:479:46
[INFO] [stderr]     |
[INFO] [stderr] 479 |         Ok(self.last_commit()?.ok_or_else(|| (anyhow!("no commit")))?)
[INFO] [stderr]     |                                              ^                    ^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 479 -         Ok(self.last_commit()?.ok_or_else(|| (anyhow!("no commit")))?)
[INFO] [stderr] 479 +         Ok(self.last_commit()?.ok_or_else(|| anyhow!("no commit"))?)
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]    --> src/lib.rs:157:22
[INFO] [stderr]     |
[INFO] [stderr] 157 |     fn fetch_options(&self) -> Result<FetchOptions> {
[INFO] [stderr]     |                      ^^^^^            ^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]     |                      |
[INFO] [stderr]     |                      the lifetime is elided here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]     |
[INFO] [stderr] 157 |     fn fetch_options(&self) -> Result<FetchOptions<'_>> {
[INFO] [stderr]     |                                                   ++++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]    --> src/lib.rs:163:18
[INFO] [stderr]     |
[INFO] [stderr] 163 |     fn callbacks(&self) -> Result<RemoteCallbacks> {
[INFO] [stderr]     |                  ^^^^^            ^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]     |                  |
[INFO] [stderr]     |                  the lifetime is elided here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]     |
[INFO] [stderr] 163 |     fn callbacks(&self) -> Result<RemoteCallbacks<'_>> {
[INFO] [stderr]     |                                                  ++++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]    --> src/lib.rs:482:20
[INFO] [stderr]     |
[INFO] [stderr] 482 |     fn last_commit(&self) -> Result<Option<Commit>> {
[INFO] [stderr]     |                    ^^^^^                   ^^^^^^ the same lifetime is hidden here
[INFO] [stderr]     |                    |
[INFO] [stderr]     |                    the lifetime is elided here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]     |
[INFO] [stderr] 482 |     fn last_commit(&self) -> Result<Option<Commit<'_>>> {
[INFO] [stderr]     |                                                  ++++
[INFO] [stderr] 
[INFO] [stderr] warning: `codex-git` (lib) generated 4 warnings (run `cargo fix --lib -p codex-git` to apply 4 suggestions)
[INFO] [stderr] warning: `codex-git` (lib test) generated 4 warnings (4 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.27s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/codex_git-7218fffaa5a77c54)
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test tests::multirepo ... FAILED
[INFO] [stdout] test tests::basic ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- tests::multirepo stdout ----
[INFO] [stdout] 2025-11-11 09:20:04,040 TRACE [codex_git::tests] [40;36mmr: starting multirepo test[0m (src/tests.rs:69)
[INFO] [stdout] 2025-11-11 09:20:04,043 TRACE [codex_git::tests] [40;36mtest dir path is /tmp/.tmpCvuzKe[0m (src/tests.rs:140)
[INFO] [stdout] 2025-11-11 09:20:04,043 TRACE [codex_git::tests] [40;36mcurrent dir is "/opt/rustwide/workdir", remote URL is file:///tmp/codex-test/remote[0m (src/tests.rs:146)
[INFO] [stdout] 2025-11-11 09:20:04,043 TRACE [codex_git] [46;30mrepo does not exist "/tmp/.tmpCvuzKe/remote"[0m (src/lib.rs:123)
[INFO] [stdout] 2025-11-11 09:20:04,043 TRACE [codex_git::tests] [40;36mmr: test file name is /tmp/.tmpCvuzKe/remote/test2.txt[0m (src/tests.rs:74)
[INFO] [stdout] 2025-11-11 09:20:04,043 TRACE [codex_git::tests] [40;36mmr: old test data is 'mr/old is 2025-11-11T09:20:04.043613738+00:00 from prog'[0m (src/tests.rs:76)
[INFO] [stdout] 2025-11-11 09:20:04,043 TRACE [codex_git::tests] [40;36mmr: new test data is 'mr/new is 2025-11-11T09:20:04.043742738+00:00 from prog'[0m (src/tests.rs:78)
[INFO] [stdout] 2025-11-11 09:20:04,043 TRACE [codex_git::tests] [40;36m--- cloning first repo, writing old data to test2.txt ---[0m (src/tests.rs:81)
[INFO] [stdout] 2025-11-11 09:20:04,043 TRACE [codex_git::tests] [40;36mmr: cloning repo 1[0m (src/tests.rs:85)
[INFO] [stdout] 2025-11-11 09:20:04,043 TRACE [codex_git] [46;30mcloning repo "file:///tmp/codex-test/remote" to "/tmp/.tmpCvuzKe"[0m (src/lib.rs:140)
[INFO] [stdout] Error: Git { source: Error { code: -1, klass: 2, message: "failed to resolve path '/tmp/codex-test/remote': No such file or directory" } }
[INFO] [stdout] 
[INFO] [stdout] ---- tests::basic stdout ----
[INFO] [stdout] 2025-11-11 09:20:04,041 TRACE [codex_git::tests] [40;36mb: starting basic test[0m (src/tests.rs:25)
[INFO] [stdout] 2025-11-11 09:20:04,043 TRACE [codex_git::tests] [40;36mtest dir path is /tmp/.tmplLOIj2[0m (src/tests.rs:140)
[INFO] [stdout] 2025-11-11 09:20:04,043 TRACE [codex_git::tests] [40;36mcurrent dir is "/opt/rustwide/workdir", remote URL is file:///tmp/codex-test/remote[0m (src/tests.rs:146)
[INFO] [stdout] 2025-11-11 09:20:04,043 TRACE [codex_git] [46;30mrepo does not exist "/tmp/.tmplLOIj2/remote"[0m (src/lib.rs:123)
[INFO] [stdout] 2025-11-11 09:20:04,043 TRACE [codex_git::tests] [40;36mb: test data is 'now is 2025-11-11T09:20:04.043602738+00:00 from prog'[0m (src/tests.rs:30)
[INFO] [stdout] 2025-11-11 09:20:04,043 TRACE [codex_git::tests] [40;36m--- creating repo, writing to test.txt ---[0m (src/tests.rs:32)
[INFO] [stdout] 2025-11-11 09:20:04,043 TRACE [codex_git::tests] [40;36mb: cloning repo[0m (src/tests.rs:33)
[INFO] [stdout] 2025-11-11 09:20:04,043 TRACE [codex_git] [46;30mcloning repo "file:///tmp/codex-test/remote" to "/tmp/.tmplLOIj2"[0m (src/lib.rs:140)
[INFO] [stdout] Error: Git { source: Error { code: -1, klass: 2, message: "failed to resolve path '/tmp/codex-test/remote': No such file or directory" } }
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     tests::basic
[INFO] [stdout]     tests::multirepo
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] running `Command { std: "docker" "inspect" "6104a7e99101e6b8f14a8e54e2a2bb3f1b55e6c73aba98ab477d5bdeee01593e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6104a7e99101e6b8f14a8e54e2a2bb3f1b55e6c73aba98ab477d5bdeee01593e", kill_on_drop: false }`
[INFO] [stdout] 6104a7e99101e6b8f14a8e54e2a2bb3f1b55e6c73aba98ab477d5bdeee01593e
