[INFO] fetching crate codex-git 0.1.1... [INFO] testing codex-git-0.1.1 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate codex-git 0.1.1 into /workspace/builds/worker-7-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-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate codex-git 0.1.1 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 167 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.0.0) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.16) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 050c436c77ec7f46d4815f7c9a8e495008c8c60f09902aab3107707f7f7894c3 [INFO] running `Command { std: "docker" "start" "-a" "050c436c77ec7f46d4815f7c9a8e495008c8c60f09902aab3107707f7f7894c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "050c436c77ec7f46d4815f7c9a8e495008c8c60f09902aab3107707f7f7894c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "050c436c77ec7f46d4815f7c9a8e495008c8c60f09902aab3107707f7f7894c3", kill_on_drop: false }` [INFO] [stdout] 050c436c77ec7f46d4815f7c9a8e495008c8c60f09902aab3107707f7f7894c3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8abfda7a956dfb35968a3a6afed6a50f947480bcb8965cdc0117decebcf5dce6 [INFO] running `Command { std: "docker" "start" "-a" "8abfda7a956dfb35968a3a6afed6a50f947480bcb8965cdc0117decebcf5dce6", kill_on_drop: false }` [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling libz-sys v1.1.22 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling libssh2-sys v0.2.23 [INFO] [stderr] Compiling libgit2-sys v0.12.26+1.3.0 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling time-core v0.1.5 [INFO] [stderr] Compiling deranged v0.5.3 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Compiling time-macros v0.2.23 [INFO] [stderr] Compiling colored v1.9.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling dirs v3.0.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling humantime v2.2.0 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling time v0.3.42 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Compiling simple_logger v1.16.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling test-env-log v0.2.8 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling console v0.14.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling dialoguer v0.8.0 [INFO] [stderr] Compiling getset v0.1.6 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling pest v2.8.1 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling pest_derive v2.8.1 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling ron v0.7.1 [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 { [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> { [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 { [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> { [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> { [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>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 48.03s [INFO] running `Command { std: "docker" "inspect" "8abfda7a956dfb35968a3a6afed6a50f947480bcb8965cdc0117decebcf5dce6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8abfda7a956dfb35968a3a6afed6a50f947480bcb8965cdc0117decebcf5dce6", kill_on_drop: false }` [INFO] [stdout] 8abfda7a956dfb35968a3a6afed6a50f947480bcb8965cdc0117decebcf5dce6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 686b1ed43b4b5552ea218505a8212b931090848acd6ca190ba48d40cff40b0e1 [INFO] running `Command { std: "docker" "start" "-a" "686b1ed43b4b5552ea218505a8212b931090848acd6ca190ba48d40cff40b0e1", kill_on_drop: false }` [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 { [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> { [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 { [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> { [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> { [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>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [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 { [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> { [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 { [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> { [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> { [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>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.78s [INFO] running `Command { std: "docker" "inspect" "686b1ed43b4b5552ea218505a8212b931090848acd6ca190ba48d40cff40b0e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "686b1ed43b4b5552ea218505a8212b931090848acd6ca190ba48d40cff40b0e1", kill_on_drop: false }` [INFO] [stdout] 686b1ed43b4b5552ea218505a8212b931090848acd6ca190ba48d40cff40b0e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cdba6b4030387f0a01d296f684c4d898abdfcbe8999d8be5e98e522de9bc7aab [INFO] running `Command { std: "docker" "start" "-a" "cdba6b4030387f0a01d296f684c4d898abdfcbe8999d8be5e98e522de9bc7aab", 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 { [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> { [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 { [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> { [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> { [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>> { [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.20s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/codex_git-940724e714ca733f) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::basic ... FAILED [INFO] [stdout] test tests::multirepo ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- tests::basic stdout ---- [INFO] [stdout] 2025-09-01 07:54:33,853 TRACE [codex_git::tests] b: starting basic test (src/tests.rs:25) [INFO] [stdout] 2025-09-01 07:54:33,857 TRACE [codex_git::tests] test dir path is /tmp/.tmpbmZvua (src/tests.rs:140) [INFO] [stdout] 2025-09-01 07:54:33,857 TRACE [codex_git::tests] current dir is "/opt/rustwide/workdir", remote URL is file:///tmp/codex-test/remote (src/tests.rs:146) [INFO] [stdout] 2025-09-01 07:54:33,857 TRACE [codex_git] repo does not exist "/tmp/.tmpbmZvua/remote" (src/lib.rs:123) [INFO] [stdout] 2025-09-01 07:54:33,857 TRACE [codex_git::tests] b: test data is 'now is 2025-09-01T07:54:33.857841604+00:00 from prog' (src/tests.rs:30) [INFO] [stdout] 2025-09-01 07:54:33,857 TRACE [codex_git::tests] --- creating repo, writing to test.txt --- (src/tests.rs:32) [INFO] [stdout] 2025-09-01 07:54:33,857 TRACE [codex_git::tests] b: cloning repo (src/tests.rs:33) [INFO] [stdout] 2025-09-01 07:54:33,857 TRACE [codex_git] cloning repo "file:///tmp/codex-test/remote" to "/tmp/.tmpbmZvua" (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::multirepo stdout ---- [INFO] [stdout] 2025-09-01 07:54:33,853 TRACE [codex_git::tests] mr: starting multirepo test (src/tests.rs:69) [INFO] [stdout] 2025-09-01 07:54:33,856 TRACE [codex_git::tests] test dir path is /tmp/.tmpvFsAh3 (src/tests.rs:140) [INFO] [stdout] 2025-09-01 07:54:33,856 TRACE [codex_git::tests] current dir is "/opt/rustwide/workdir", remote URL is file:///tmp/codex-test/remote (src/tests.rs:146) [INFO] [stdout] 2025-09-01 07:54:33,856 TRACE [codex_git] repo does not exist "/tmp/.tmpvFsAh3/remote" (src/lib.rs:123) [INFO] [stdout] 2025-09-01 07:54:33,856 TRACE [codex_git::tests] mr: test file name is /tmp/.tmpvFsAh3/remote/test2.txt (src/tests.rs:74) [INFO] [stdout] 2025-09-01 07:54:33,856 TRACE [codex_git::tests] mr: old test data is 'mr/old is 2025-09-01T07:54:33.856523804+00:00 from prog' (src/tests.rs:76) [INFO] [stdout] 2025-09-01 07:54:33,856 TRACE [codex_git::tests] mr: new test data is 'mr/new is 2025-09-01T07:54:33.856629254+00:00 from prog' (src/tests.rs:78) [INFO] [stdout] 2025-09-01 07:54:33,856 TRACE [codex_git::tests] --- cloning first repo, writing old data to test2.txt --- (src/tests.rs:81) [INFO] [stdout] 2025-09-01 07:54:33,856 TRACE [codex_git::tests] mr: cloning repo 1 (src/tests.rs:85) [INFO] [stdout] 2025-09-01 07:54:33,856 TRACE [codex_git] cloning repo "file:///tmp/codex-test/remote" to "/tmp/.tmpvFsAh3" (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.13s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "cdba6b4030387f0a01d296f684c4d898abdfcbe8999d8be5e98e522de9bc7aab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cdba6b4030387f0a01d296f684c4d898abdfcbe8999d8be5e98e522de9bc7aab", kill_on_drop: false }` [INFO] [stdout] cdba6b4030387f0a01d296f684c4d898abdfcbe8999d8be5e98e522de9bc7aab