[INFO] cloning repository https://github.com/mcl0vinit/cx
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mcl0vinit/cx" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmcl0vinit%2Fcx", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmcl0vinit%2Fcx'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f6fd0809ec03a54bd0577c3e1c0746b92ed5f538
[INFO] testing mcl0vinit/cx against 1.99.0-beta.1+cargoflags=--release for beta-release-1.99-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmcl0vinit%2Fcx" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/mcl0vinit/cx
[INFO] finished tweaking git repo https://github.com/mcl0vinit/cx
[INFO] tweaked toml for git repo https://github.com/mcl0vinit/cx written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/mcl0vinit/cx on toolchain 1.99.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/mcl0vinit/cx 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" "+1.99.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 92ba3855eb6e4c3faf542a52e64cf43a99598dab595dc5f877dc8b6d8555a8b9
[INFO] running `Command { std: "docker" "start" "92ba3855eb6e4c3faf542a52e64cf43a99598dab595dc5f877dc8b6d8555a8b9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "92ba3855eb6e4c3faf542a52e64cf43a99598dab595dc5f877dc8b6d8555a8b9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "92ba3855eb6e4c3faf542a52e64cf43a99598dab595dc5f877dc8b6d8555a8b9" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "92ba3855eb6e4c3faf542a52e64cf43a99598dab595dc5f877dc8b6d8555a8b9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "92ba3855eb6e4c3faf542a52e64cf43a99598dab595dc5f877dc8b6d8555a8b9" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling unicode-ident v1.0.24
[INFO] [stderr]    Compiling quote v1.0.45
[INFO] [stderr]    Compiling stable_deref_trait v1.2.1
[INFO] [stderr]    Compiling cfg-if v1.0.4
[INFO] [stderr]    Compiling shlex v2.0.1
[INFO] [stderr]    Compiling find-msvc-tools v0.1.9
[INFO] [stderr]    Compiling once_cell v1.21.4
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling libc v0.2.186
[INFO] [stderr]    Compiling litemap v0.8.2
[INFO] [stderr]    Compiling writeable v0.6.3
[INFO] [stderr]    Compiling icu_properties_data v2.2.0
[INFO] [stderr]    Compiling smallvec v1.15.2
[INFO] [stderr]    Compiling icu_normalizer_data v2.2.0
[INFO] [stderr]    Compiling utf8_iter v1.0.4
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling version_check v0.9.5
[INFO] [stderr]    Compiling zeroize v1.9.0
[INFO] [stderr]    Compiling zerocopy v0.8.52
[INFO] [stderr]    Compiling utf8parse v0.2.2
[INFO] [stderr]    Compiling cc v1.2.64
[INFO] [stderr]    Compiling rustls-pki-types v1.14.1
[INFO] [stderr]    Compiling colorchoice v1.0.5
[INFO] [stderr]    Compiling anstyle-query v1.1.5
[INFO] [stderr]    Compiling autocfg v1.5.1
[INFO] [stderr]    Compiling anstyle-parse v1.0.0
[INFO] [stderr]    Compiling untrusted v0.9.0
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling is_terminal_polyfill v1.70.2
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling pkg-config v0.3.33
[INFO] [stderr]    Compiling log v0.4.32
[INFO] [stderr]    Compiling anstyle v1.0.14
[INFO] [stderr]    Compiling crc32fast v1.5.0
[INFO] [stderr]    Compiling percent-encoding v2.3.2
[INFO] [stderr]    Compiling rustls v0.23.40
[INFO] [stderr]    Compiling anstream v1.0.0
[INFO] [stderr]    Compiling tracing-core v0.1.36
[INFO] [stderr]    Compiling heck v0.5.0
[INFO] [stderr]    Compiling clap_lex v1.1.0
[INFO] [stderr]    Compiling simd-adler32 v0.3.9
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling adler2 v2.0.1
[INFO] [stderr]    Compiling zmij v1.0.21
[INFO] [stderr]    Compiling hashbrown v0.17.1
[INFO] [stderr]    Compiling strsim v0.11.1
[INFO] [stderr]    Compiling equivalent v1.0.2
[INFO] [stderr]    Compiling webpki-roots v1.0.7
[INFO] [stderr]    Compiling clap_builder v4.6.0
[INFO] [stderr]    Compiling miniz_oxide v0.8.9
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling winnow v0.7.15
[INFO] [stderr]    Compiling toml_write v0.1.2
[INFO] [stderr]    Compiling anyhow v1.0.102
[INFO] [stderr]    Compiling option-ext v0.2.0
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling serde_json v1.0.150
[INFO] [stderr]    Compiling flate2 v1.1.9
[INFO] [stderr]    Compiling sharded-slab v0.1.7
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling webpki-roots v0.26.11
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling thread_local v1.1.9
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling iana-time-zone v0.1.65
[INFO] [stderr]    Compiling itoa v1.0.18
[INFO] [stderr]    Compiling indexmap v2.14.0
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]    Compiling libsqlite3-sys v0.30.1
[INFO] [stderr]    Compiling dirs-sys v0.5.0
[INFO] [stderr]    Compiling pin-project-lite v0.2.17
[INFO] [stderr]    Compiling bitflags v2.13.0
[INFO] [stderr]    Compiling memchr v2.8.2
[INFO] [stderr]    Compiling fallible-streaming-iterator v0.1.9
[INFO] [stderr]    Compiling fallible-iterator v0.3.0
[INFO] [stderr]    Compiling nu-ansi-term v0.50.3
[INFO] [stderr]    Compiling dirs v6.0.0
[INFO] [stderr]    Compiling shell-words v1.1.1
[INFO] [stderr]    Compiling tracing-subscriber v0.3.23
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling zerofrom-derive v0.1.7
[INFO] [stderr]    Compiling yoke-derive v0.8.2
[INFO] [stderr]    Compiling zerovec-derive v0.11.3
[INFO] [stderr]    Compiling displaydoc v0.2.6
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling clap_derive v4.6.1
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling zerofrom v0.1.8
[INFO] [stderr]    Compiling yoke v0.8.3
[INFO] [stderr]    Compiling zerovec v0.11.6
[INFO] [stderr]    Compiling zerotrie v0.2.4
[INFO] [stderr]    Compiling hashlink v0.9.1
[INFO] [stderr]    Compiling clap v4.6.1
[INFO] [stderr]    Compiling clap_complete v4.6.5
[INFO] [stderr]    Compiling tinystr v0.8.3
[INFO] [stderr]    Compiling potential_utf v0.1.5
[INFO] [stderr]    Compiling icu_collections v2.2.0
[INFO] [stderr]    Compiling icu_locale_core v2.2.0
[INFO] [stderr]    Compiling toml_datetime v0.6.11
[INFO] [stderr]    Compiling serde_spanned v0.6.9
[INFO] [stderr]    Compiling chrono v0.4.45
[INFO] [stderr]    Compiling icu_provider v2.2.0
[INFO] [stderr]    Compiling toml_edit v0.22.27
[INFO] [stderr]    Compiling icu_properties v2.2.0
[INFO] [stderr]    Compiling icu_normalizer v2.2.0
[INFO] [stderr]    Compiling idna_adapter v1.2.2
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling toml v0.8.23
[INFO] [stderr]    Compiling rustls-webpki v0.103.13
[INFO] [stderr]    Compiling ureq v2.12.1
[INFO] [stderr]    Compiling rusqlite v0.32.1
[INFO] [stderr]    Compiling cx v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 2m 52s
[INFO] running `Command { std: "docker" "inspect" "92ba3855eb6e4c3faf542a52e64cf43a99598dab595dc5f877dc8b6d8555a8b9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "92ba3855eb6e4c3faf542a52e64cf43a99598dab595dc5f877dc8b6d8555a8b9" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling cx v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 9.79s
[INFO] running `Command { std: "docker" "inspect" "92ba3855eb6e4c3faf542a52e64cf43a99598dab595dc5f877dc8b6d8555a8b9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "92ba3855eb6e4c3faf542a52e64cf43a99598dab595dc5f877dc8b6d8555a8b9" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "test" "--frozen" "--release", kill_on_drop: false }`
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.15s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/release/deps/cx-78bfff927871d149)
[INFO] [stdout] 
[INFO] [stdout] running 22 tests
[INFO] [stdout] test codex::tests::shell_command_uses_original_args ... ok
[INFO] [stdout] test limits::tests::backend_usage_maps_primary_to_five_hour_and_secondary_to_weekly ... ok
[INFO] [stdout] test account::tests::jwt_claim_reads_email_from_payload ... ok
[INFO] [stdout] test codex::tests::default_effort_maps_default_to_medium ... ok
[INFO] [stdout] test codex::tests::model_defaults_preserve_explicit_overrides ... ok
[INFO] [stdout] test limits::tests::consume_reset_response_decodes_backend_outcomes ... ok
[INFO] [stdout] test limits::tests::latest_snapshot_reads_newest_rate_limits ... ok
[INFO] [stdout] test limits::tests::usage_url_matches_codex_backend_path_styles ... ok
[INFO] [stdout] test config::tests::default_config_is_valid_toml ... ok
[INFO] [stdout] test resume::tests::rewrite_last_resume_uses_resolved_id ... ok
[INFO] [stdout] test resume::tests::session_file_attach_uses_shared_hardlink ... ok
[INFO] [stdout] test resume::tests::account_resume_auto_adopts_foreign_selector ... ok
[INFO] [stdout] test db::tests::rename_account_updates_registry_references ... ok
[INFO] [stdout] test limits::tests::cached_snapshot_avoids_rescanning_until_refresh ... ok
[INFO] [stdout] test resume::tests::find_session_uses_newest_duplicate_with_same_id ... ok
[INFO] [stdout] test pool::tests::limit_aware_strategy_selects_lowest_five_hour_usage ... ok
[INFO] [stdout] test resume::tests::adopt_session_refuses_multiple_target_copies ... ok
[INFO] [stdout] test resume::tests::account_resume_replaces_target_prefix_with_newest_canonical ... FAILED
[INFO] [stdout] test resume::tests::account_resume_preserves_session_model_and_effort ... ok
[INFO] [stdout] test resume::tests::resume_here_auto_adopts_latest_repo_session_to_target ... ok
[INFO] [stdout] test resume::tests::account_resume_uses_newest_duplicate_from_other_home ... ok
[INFO] [stdout] test resume::tests::adopt_session_copies_once_then_reports_already_adopted ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- resume::tests::account_resume_replaces_target_prefix_with_newest_canonical stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'resume::tests::account_resume_replaces_target_prefix_with_newest_canonical' (2458) panicked at src/resume.rs:1788:9:
[INFO] [stdout] assertion failed: same_file(&source_file, &target_file).unwrap()
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5b1d58983f21 - <<std[104cf6e2632825ea]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[7c831bd917ebf35f]::fmt::Display>::fmt
[INFO] [stdout]    1:     0x5b1d5899a75a - core[7c831bd917ebf35f]::fmt::write
[INFO] [stdout]    2:     0x5b1d58988c1c - <alloc[2fdc3f7464fcf288]::vec::Vec<u8> as core[7c831bd917ebf35f]::io::write::Write>::write_fmt
[INFO] [stdout]    3:     0x5b1d5895d836 - std[104cf6e2632825ea]::panicking::default_hook::{closure#0}
[INFO] [stdout]    4:     0x5b1d5897b049 - std[104cf6e2632825ea]::panicking::default_hook
[INFO] [stdout]    5:     0x5b1d5876bbe0 - test[73009c9f9aebf890]::test_main_inner::<test[73009c9f9aebf890]::test_main_static::{closure#0}>::{closure#0}
[INFO] [stdout]    6:     0x5b1d5897b202 - std[104cf6e2632825ea]::panicking::panic_with_hook
[INFO] [stdout]    7:     0x5b1d5895d914 - std[104cf6e2632825ea]::panicking::panic_handler::{closure#0}
[INFO] [stdout]    8:     0x5b1d58955579 - std[104cf6e2632825ea]::sys::backtrace::__rust_end_short_backtrace::<std[104cf6e2632825ea]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]    9:     0x5b1d5895e6dd - __rustc[b0d56fa5b193ad05]::rust_begin_unwind
[INFO] [stdout]   10:     0x5b1d5899aebc - core[7c831bd917ebf35f]::panicking::panic_fmt
[INFO] [stdout]   11:     0x5b1d5899ae82 - core[7c831bd917ebf35f]::panicking::panic
[INFO] [stdout]   12:     0x5b1d586ed1ff - cx[6a648ff2d09af155]::resume::tests::account_resume_replaces_target_prefix_with_newest_canonical
[INFO] [stdout]   13:     0x5b1d58713f89 - <cx[6a648ff2d09af155]::resume::tests::account_resume_replaces_target_prefix_with_newest_canonical::{closure#0} as core[7c831bd917ebf35f]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]   14:     0x5b1d5875eecb - test[73009c9f9aebf890]::__rust_begin_short_backtrace::<core[7c831bd917ebf35f]::result::Result<(), alloc[2fdc3f7464fcf288]::string::String>, fn() -> core[7c831bd917ebf35f]::result::Result<(), alloc[2fdc3f7464fcf288]::string::String>>
[INFO] [stdout]   15:     0x5b1d5876c535 - test[73009c9f9aebf890]::run_test::{closure#0}
[INFO] [stdout]   16:     0x5b1d587658f4 - std[104cf6e2632825ea]::sys::backtrace::__rust_begin_short_backtrace::<test[73009c9f9aebf890]::run_test::{closure#1}, ()>
[INFO] [stdout]   17:     0x5b1d5876f692 - <std[104cf6e2632825ea]::thread::lifecycle::spawn_unchecked<test[73009c9f9aebf890]::run_test::{closure#1}, ()>::{closure#1} as core[7c831bd917ebf35f]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]   18:     0x5b1d58982f49 - <std[104cf6e2632825ea]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]   19:     0x7f765114307a - <unknown>
[INFO] [stdout]   20:     0x7f76511d6534 - clone
[INFO] [stdout]   21:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     resume::tests::account_resume_replaces_target_prefix_with_newest_canonical
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 21 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--bin cx`
[INFO] running `Command { std: "docker" "inspect" "92ba3855eb6e4c3faf542a52e64cf43a99598dab595dc5f877dc8b6d8555a8b9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "92ba3855eb6e4c3faf542a52e64cf43a99598dab595dc5f877dc8b6d8555a8b9", kill_on_drop: false }`
[INFO] [stdout] 92ba3855eb6e4c3faf542a52e64cf43a99598dab595dc5f877dc8b6d8555a8b9
