[INFO] fetching crate codex-app-server-sdk 0.5.1...
[INFO] testing codex-app-server-sdk-0.5.1 against 1.97.0-beta.6 for beta-1.98-1
[INFO] extracting crate codex-app-server-sdk 0.5.1 into /workspace/builds/worker-6-tc1/source
[INFO] started tweaking crates.io crate codex-app-server-sdk 0.5.1
[INFO] removed 0 missing examples
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate codex-app-server-sdk 0.5.1
[INFO] tweaked toml for crates.io crate codex-app-server-sdk 0.5.1 written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate codex-app-server-sdk 0.5.1 on toolchain 1.97.0-beta.6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate codex-app-server-sdk 0.5.1 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.97.0-beta.6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded codex-app-server-sdk-macros v0.1.1
[INFO] [stderr]   Downloaded rcgen v0.13.2
[INFO] [stderr]   Downloaded cc v1.2.57
[INFO] [stderr]   Downloaded aws-lc-rs v1.16.1
[INFO] [stderr]   Downloaded aws-lc-sys v0.38.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 305c43682cbbb9bdd63477053c63ffdc74ab9ef378edff6016c1cd27ffb8e1e8
[INFO] running `Command { std: "docker" "start" "305c43682cbbb9bdd63477053c63ffdc74ab9ef378edff6016c1cd27ffb8e1e8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "305c43682cbbb9bdd63477053c63ffdc74ab9ef378edff6016c1cd27ffb8e1e8", 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" "305c43682cbbb9bdd63477053c63ffdc74ab9ef378edff6016c1cd27ffb8e1e8" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "305c43682cbbb9bdd63477053c63ffdc74ab9ef378edff6016c1cd27ffb8e1e8", 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" "305c43682cbbb9bdd63477053c63ffdc74ab9ef378edff6016c1cd27ffb8e1e8" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling quote v1.0.44
[INFO] [stderr]    Compiling unicode-ident v1.0.23
[INFO] [stderr]    Compiling libc v0.2.182
[INFO] [stderr]    Compiling zeroize v1.8.2
[INFO] [stderr]    Compiling zerocopy v0.8.39
[INFO] [stderr]    Compiling cc v1.2.57
[INFO] [stderr]    Compiling rustls v0.23.37
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling once_cell v1.21.4
[INFO] [stderr]    Compiling crypto-common v0.1.7
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling http v1.4.0
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling data-encoding v2.10.0
[INFO] [stderr]    Compiling percent-encoding v2.3.2
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling rustls-pki-types v1.14.0
[INFO] [stderr]    Compiling indexmap v2.13.0
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling rustls-native-certs v0.8.3
[INFO] [stderr]    Compiling syn v2.0.115
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling errno v0.3.14
[INFO] [stderr]    Compiling socket2 v0.6.2
[INFO] [stderr]    Compiling mio v1.1.1
[INFO] [stderr]    Compiling rand_core v0.9.5
[INFO] [stderr]    Compiling signal-hook-registry v1.4.8
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling serde_derive_internals v0.29.1
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling ref-cast-impl v1.0.25
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling codex-app-server-sdk-macros v0.1.1
[INFO] [stderr]    Compiling schemars_derive v1.2.1
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[INFO] [stderr]    Compiling ref-cast v1.0.25
[INFO] [stderr]    Compiling tokio v1.49.0
[INFO] [stderr]    Compiling rand v0.9.2
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.1
[INFO] [stderr]    Compiling zerovec v0.11.5
[INFO] [stderr]    Compiling zerotrie v0.2.3
[INFO] [stderr]    Compiling rustls-webpki v0.103.9
[INFO] [stderr]    Compiling tinystr v0.8.2
[INFO] [stderr]    Compiling potential_utf v0.1.4
[INFO] [stderr]    Compiling icu_collections v2.1.1
[INFO] [stderr]    Compiling icu_locale_core v2.1.1
[INFO] [stderr]    Compiling icu_provider v2.1.1
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling icu_normalizer v2.1.1
[INFO] [stderr]    Compiling icu_properties v2.1.2
[INFO] [stderr]    Compiling schemars v1.2.1
[INFO] [stderr]    Compiling serde_yaml v0.9.34+deprecated
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling tokio-rustls v0.26.4
[INFO] [stderr]    Compiling tungstenite v0.28.0
[INFO] [stderr]    Compiling tokio-tungstenite v0.28.0
[INFO] [stderr]    Compiling codex-app-server-sdk v0.5.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 46.12s
[INFO] running `Command { std: "docker" "inspect" "305c43682cbbb9bdd63477053c63ffdc74ab9ef378edff6016c1cd27ffb8e1e8", 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" "305c43682cbbb9bdd63477053c63ffdc74ab9ef378edff6016c1cd27ffb8e1e8" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling dunce v1.0.5
[INFO] [stderr]    Compiling fs_extra v1.3.0
[INFO] [stderr]    Compiling aws-lc-rs v1.16.1
[INFO] [stderr]    Compiling rustls v0.23.37
[INFO] [stderr]    Compiling jobserver v0.1.34
[INFO] [stderr]    Compiling num-conv v0.2.0
[INFO] [stderr]    Compiling anyhow v1.0.101
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling time v0.3.47
[INFO] [stderr]    Compiling pem v3.0.6
[INFO] [stderr]    Compiling cc v1.2.57
[INFO] [stderr]    Compiling yasna v0.5.2
[INFO] [stderr]    Compiling cmake v0.1.57
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling aws-lc-sys v0.38.0
[INFO] [stderr]    Compiling rcgen v0.13.2
[INFO] [stderr]    Compiling rustls-webpki v0.103.9
[INFO] [stderr]    Compiling tungstenite v0.28.0
[INFO] [stderr]    Compiling tokio-rustls v0.26.4
[INFO] [stderr]    Compiling tokio-tungstenite v0.28.0
[INFO] [stderr]    Compiling codex-app-server-sdk v0.5.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 59.91s
[INFO] running `Command { std: "docker" "inspect" "305c43682cbbb9bdd63477053c63ffdc74ab9ef378edff6016c1cd27ffb8e1e8", 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" "305c43682cbbb9bdd63477053c63ffdc74ab9ef378edff6016c1cd27ffb8e1e8" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/codex_app_server_sdk-c8264f7ebed66a22)
[INFO] [stdout] 
[INFO] [stdout] running 26 tests
[INFO] [stdout] test api::tests::final_response_prefers_final_answer_phase ... ok
[INFO] [stdout] test api::tests::parse_missing_documented_thread_item_variants ... ok
[INFO] [stdout] test api::tests::parse_agent_message_item ... ok
[INFO] [stdout] test api::tests::parse_usage_from_token_usage_payload ... ok
[INFO] [stdout] test api::tests::select_latest_thread_id_falls_back_to_first_matching_thread_without_timestamps ... ok
[INFO] [stdout] test api::tests::thread_options_builder_maps_extended_protocol_fields ... ok
[INFO] [stdout] test api::tests::thread_options_builder_skip_git_repo_check_matches_cli_flag_semantics ... ok
[INFO] [stdout] test api::tests::turn_options_builder_clear_output_schema_overrides_previous_value ... ok
[INFO] [stdout] test api::tests::normalize_input_combines_text_and_images ... ok
[INFO] [stdout] test api::tests::turn_options_builder_overrides_thread_defaults ... ok
[INFO] [stdout] test api::tests::select_latest_thread_id_prefers_newest_matching_working_directory ... ok
[INFO] [stdout] test api::tests::turn_options_value_helpers_set_raw_and_typed_schemas ... ok
[INFO] [stdout] test api::tests::turn_options_builder_sets_typed_output_schema ... ok
[INFO] [stdout] test schema::tests::helper_serializes_and_deserializes_struct_values ... ok
[INFO] [stdout] test schema::tests::schema_helper_accepts_json_schema_types_directly ... ok
[INFO] [stdout] test transport::ws_daemon::tests::localhost_listen_url_is_normalized ... ok
[INFO] [stdout] test schema::tests::derives_openai_schema_without_meta_schema ... ok
[INFO] [stdout] test transport::ws_daemon::tests::remote_urls_are_connect_only ... ok
[INFO] [stdout] test client::tests::auto_handles_apply_patch_approval_when_handler_registered ... ok
[INFO] [stdout] test api::tests::parse_unknown_item_preserves_payload ... ok
[INFO] [stdout] test transport::ws_daemon::tests::explicit_start_config_supports_separate_listen_and_connect_urls ... ok
[INFO] [stdout] test transport::ws_daemon::tests::loopback_ws_urls_are_managed ... ok
[INFO] [stdout] test transport::ws_daemon::tests::invalid_and_missing_port_urls_are_rejected ... ok
[INFO] [stdout] test transport::ws::tests::connect_ws_transport_supports_wss_urls ... ok
[INFO] [stdout] test api::tests::select_latest_thread_id_keeps_newest_listed_match_when_later_entry_only_has_timestamp ... ok
[INFO] [stderr]      Running tests/integration_api_stdio.rs (/opt/rustwide/target/debug/deps/integration_api_stdio-bdda856ba01546e3)
[INFO] [stdout] test client::tests::unhandled_server_request_is_published_as_event ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 26 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.21s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 8 tests
[INFO] [stdout] test run_respects_output_schema_for_typed_deserialization ... FAILED
[INFO] [stdout] test codex_client_start_thread_runs_typed_api ... FAILED
[INFO] [stdout] test codex_resume_thread_by_id_reuses_existing_thread ... FAILED
[INFO] [stdout] test run_collects_typed_items_and_response ... FAILED
[INFO] [stdout] test codex_resume_latest_thread_uses_most_recent_matching_working_directory ... FAILED
[INFO] [stdout] test run_streamed_emits_turn_lifecycle_events ... FAILED
[INFO] [stdout] test ask_returns_final_response_only ... FAILED
[INFO] [stderr] error: test failed, to rerun pass `--test integration_api_stdio`
[INFO] [stdout] test codex_ask_with_options_returns_final_response_only ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- run_respects_output_schema_for_typed_deserialization stdout ----
[INFO] [stdout] Error: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" })
[INFO] [stdout] 
[INFO] [stdout] ---- codex_client_start_thread_runs_typed_api stdout ----
[INFO] [stdout] Error: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" })
[INFO] [stdout] 
[INFO] [stdout] ---- codex_resume_thread_by_id_reuses_existing_thread stdout ----
[INFO] [stdout] Error: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" })
[INFO] [stdout] 
[INFO] [stdout] ---- run_collects_typed_items_and_response stdout ----
[INFO] [stdout] Error: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" })
[INFO] [stdout] 
[INFO] [stdout] ---- codex_resume_latest_thread_uses_most_recent_matching_working_directory stdout ----
[INFO] [stdout] Error: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" })
[INFO] [stdout] 
[INFO] [stdout] ---- run_streamed_emits_turn_lifecycle_events stdout ----
[INFO] [stdout] Error: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" })
[INFO] [stdout] 
[INFO] [stdout] ---- ask_returns_final_response_only stdout ----
[INFO] [stdout] Error: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" })
[INFO] [stdout] 
[INFO] [stdout] ---- codex_ask_with_options_returns_final_response_only stdout ----
[INFO] [stdout] Error: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" })
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     ask_returns_final_response_only
[INFO] [stdout]     codex_ask_with_options_returns_final_response_only
[INFO] [stdout]     codex_client_start_thread_runs_typed_api
[INFO] [stdout]     codex_resume_latest_thread_uses_most_recent_matching_working_directory
[INFO] [stdout]     codex_resume_thread_by_id_reuses_existing_thread
[INFO] [stdout]     run_collects_typed_items_and_response
[INFO] [stdout]     run_respects_output_schema_for_typed_deserialization
[INFO] [stdout]     run_streamed_emits_turn_lifecycle_events
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 8 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "305c43682cbbb9bdd63477053c63ffdc74ab9ef378edff6016c1cd27ffb8e1e8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "305c43682cbbb9bdd63477053c63ffdc74ab9ef378edff6016c1cd27ffb8e1e8", kill_on_drop: false }`
[INFO] [stdout] 305c43682cbbb9bdd63477053c63ffdc74ab9ef378edff6016c1cd27ffb8e1e8
