[INFO] cloning repository https://github.com/piuro-works/piuroforge
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/piuro-works/piuroforge" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpiuro-works%2Fpiuroforge", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpiuro-works%2Fpiuroforge'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 19f1fb449f7ddb1fc59e77bba805d17340b37810
[INFO] testing piuro-works/piuroforge against 1.98.0-beta.1 for beta-1.98-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpiuro-works%2Fpiuroforge" "/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/piuro-works/piuroforge
[INFO] finished tweaking git repo https://github.com/piuro-works/piuroforge
[INFO] tweaked toml for git repo https://github.com/piuro-works/piuroforge written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/piuro-works/piuroforge on toolchain 1.98.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/piuro-works/piuroforge 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.98.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:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] e3a3be549ab00330a2a4594809e26b8440f37f9fa12d8c4c09403ec20e60e215
[INFO] running `Command { std: "docker" "start" "e3a3be549ab00330a2a4594809e26b8440f37f9fa12d8c4c09403ec20e60e215", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e3a3be549ab00330a2a4594809e26b8440f37f9fa12d8c4c09403ec20e60e215", 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" "e3a3be549ab00330a2a4594809e26b8440f37f9fa12d8c4c09403ec20e60e215" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e3a3be549ab00330a2a4594809e26b8440f37f9fa12d8c4c09403ec20e60e215", 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" "e3a3be549ab00330a2a4594809e26b8440f37f9fa12d8c4c09403ec20e60e215" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling hashbrown v0.16.1
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling winnow v0.7.15
[INFO] [stderr]    Compiling toml_write v0.1.2
[INFO] [stderr]    Compiling indexmap v2.13.0
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling clap_derive v4.6.0
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]    Compiling clap v4.6.0
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling toml_datetime v0.6.11
[INFO] [stderr]    Compiling serde_spanned v0.6.9
[INFO] [stderr]    Compiling toml_edit v0.22.27
[INFO] [stderr]    Compiling toml v0.8.23
[INFO] [stderr]    Compiling piuroforge v1.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.27s
[INFO] running `Command { std: "docker" "inspect" "e3a3be549ab00330a2a4594809e26b8440f37f9fa12d8c4c09403ec20e60e215", 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" "e3a3be549ab00330a2a4594809e26b8440f37f9fa12d8c4c09403ec20e60e215" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling tempfile v3.27.0
[INFO] [stderr]    Compiling piuroforge v1.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 6.96s
[INFO] running `Command { std: "docker" "inspect" "e3a3be549ab00330a2a4594809e26b8440f37f9fa12d8c4c09403ec20e60e215", 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" "e3a3be549ab00330a2a4594809e26b8440f37f9fa12d8c4c09403ec20e60e215" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/piuroforge-910a513f32776586)
[INFO] [stdout] 
[INFO] [stdout] running 21 tests
[INFO] [stdout] test agents::planner::tests::keeps_open_conflicts_unchanged_when_short ... ok
[INFO] [stdout] test agents::planner::tests::reduces_open_conflicts_to_recent_window_when_long ... ok
[INFO] [stdout] test launch_contract::tests::launch_contract_warns_when_enabled_but_empty ... ok
[INFO] [stdout] test memory_manager::tests::keeps_story_memory_untouched_when_under_budget ... ok
[INFO] [stdout] test memory_manager::tests::compacts_large_story_memory_but_keeps_recent_high_signal_sections ... ok
[INFO] [stdout] test novel_backend::tests::parse_review_outcome_keeps_array_compatibility ... ok
[INFO] [stdout] test novel_backend::tests::cli_novel_backend_rejects_invalid_critic_payload ... ok
[INFO] [stdout] test agents::planner::tests::build_prompt_includes_previous_scene_context_and_transition_rules ... ok
[INFO] [stdout] test novel_backend::tests::cli_novel_backend_rejects_invalid_planner_payload ... ok
[INFO] [stdout] test novel_backend::tests::parse_scene_plan_normalizes_mismatched_role_with_warning ... ok
[INFO] [stdout] test novel_backend::tests::parse_scene_plan_rejects_missing_required_fields ... ok
[INFO] [stdout] test novel_backend::tests::parse_review_outcome_reads_object_score ... ok
[INFO] [stdout] test novel_backend::tests::parse_review_outcome_rejects_freeform_text ... ok
[INFO] [stdout] test memory_manager::tests::upsert_story_memory_entry_replaces_existing_section ... ok
[INFO] [stdout] test novel_backend::tests::cli_novel_backend_supports_fixture_runner_integration ... ok
[INFO] [stdout] test story_foundation::tests::narrative_style_guide_extracts_safe_style_sections ... ok
[INFO] [stdout] test story_foundation::tests::character_voice_guide_extracts_voice_sections ... ok
[INFO] [stdout] test launch_contract::tests::launch_contract_detects_late_and_missing_beats ... ok
[INFO] [stdout] test story_foundation::tests::ignores_scaffold_readmes_and_counts_real_docs ... ok
[INFO] [stdout] test story_foundation::tests::reports_missing_foundation_items_when_workspace_is_thin ... ok
[INFO] [stdout] test story_foundation::tests::agent_specific_views_keep_only_relevant_sections ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 21 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/piuroforge-f42f20bd7ff24bfd)
[INFO] [stdout] 
[INFO] [stderr]      Running tests/claude_code_runner.rs (/opt/rustwide/target/debug/deps/claude_code_runner-74450255367cf8ec)
[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] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test run_prompt_returns_stdout_from_subprocess ... ok
[INFO] [stdout] test run_prompt_writes_opt_in_prompt_log ... ok
[INFO] [stdout] test run_prompt_times_out_when_command_hangs ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.30s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/cli_output.rs (/opt/rustwide/target/debug/deps/cli_output-baf8b0cde6070514)
[INFO] [stdout] 
[INFO] [stdout] running 30 tests
[INFO] [stdout] test capabilities_agent_text_is_compact_key_value_output ... ok
[INFO] [stdout] test help_mentions_json_output_and_examples ... ok
[INFO] [stdout] test next_bundle_json_error_for_gapped_sequence_is_structured ... ok
[INFO] [stdout] test capabilities_json_reports_agent_contract ... ok
[INFO] [stdout] test doctor_json_reports_setup_issues_without_workspace ... ok
[INFO] [stdout] test memory_json_output_is_structured ... ok
[INFO] [stdout] test doctor_json_reports_launch_contract_conflicts ... ok
[INFO] [stdout] test init_json_creates_ready_workspace_without_prompting ... ok
[INFO] [stdout] test expand_world_json_output_updates_story_memory ... ok
[INFO] [stdout] test next_bundle_json_error_without_scenes_is_structured ... ok
[INFO] [stdout] test approve_json_output_marks_scene_and_state_as_approved ... ok
[INFO] [stdout] test next_bundle_json_error_when_bundle_is_incomplete ... ok
[INFO] [stdout] test next_scene_json_error_when_codex_unavailable_by_default ... ok
[INFO] [stdout] test next_scene_json_auto_detects_workspace_from_nested_directory ... ok
[INFO] [stdout] test next_scene_json_error_contains_remediation ... ok
[INFO] [stdout] test proofread_json_output_uses_current_scene_when_scene_id_is_omitted ... ok
[INFO] [stdout] test next_scene_json_error_when_launch_contract_conflicts ... ok
[INFO] [stdout] test review_json_error_without_current_scene_is_structured ... ok
[INFO] [stdout] test next_scene_json_with_opt_in_dummy_fallback_surfaces_warning ... ok
[INFO] [stdout] test next_bundle_json_output_includes_short_title_and_slugged_path ... ok
[INFO] [stdout] test next_scene_json_error_after_bundle_scene_target_is_reached ... ok
[INFO] [stdout] test polish_json_output_uses_current_scene_when_scene_id_is_omitted ... ok
[INFO] [stdout] test status_json_auto_detects_workspace_from_nested_directory ... ok
[INFO] [stdout] test show_json_error_for_missing_scene_is_structured ... ok
[INFO] [stdout] test review_json_output_is_structured ... ok
[INFO] [stdout] test status_json_output_is_structured ... ok
[INFO] [stdout] test rewrite_json_output_preserves_history_and_updates_scene ... ok
[INFO] [stdout] test status_json_error_for_unsupported_llm_backend_is_structured ... ok
[INFO] [stdout] test show_json_output_is_structured ... ok
[INFO] [stderr]      Running tests/codex_runner.rs (/opt/rustwide/target/debug/deps/codex_runner-30c7fe6a38edae10)
[INFO] [stdout] test workspace_auto_commit_initializes_repo_and_tracks_mutations ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 30 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.65s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test run_prompt_named_prefers_output_last_message_file_when_present ... ok
[INFO] [stdout] test run_prompt_writes_opt_in_prompt_log ... ok
[INFO] [stdout] test run_prompt_retries_once_after_failure ... ok
[INFO] [stdout] test run_prompt_times_out_and_does_not_retry ... ok
[INFO] [stderr]      Running tests/gemini_runner.rs (/opt/rustwide/target/debug/deps/gemini_runner-b0ae652bc0a6bf93)
[INFO] [stdout] test critic_uses_longer_timeout_than_base_runner_timeout ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.01s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stdout] test run_prompt_returns_invocation_error_when_subprocess_fails ... ok
[INFO] [stdout] test run_prompt_returns_stdout_from_subprocess ... ok
[INFO] [stdout] test run_prompt_writes_opt_in_prompt_log ... ok
[INFO] [stdout] test run_prompt_times_out_when_command_hangs ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.30s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/smoke.rs (/opt/rustwide/target/debug/deps/smoke-d2975ca4206c0e06)
[INFO] [stdout] 
[INFO] [stdout] running 12 tests
[INFO] [stdout] test config_layers_remain_separated ... ok
[INFO] [stdout] test generate_next_scene_rejects_launch_contract_conflict ... ok
[INFO] [stdout] test init_project_creates_workspace_scaffold ... ok
[INFO] [stdout] test generate_next_scene_requires_initial_novel_metadata ... ok
[INFO] [stdout] test next_bundle_rejects_gapped_scene_sequence ... ok
[INFO] [stdout] test generate_next_scene_saves_dummy_scene_markdown ... ok
[INFO] [stdout] test review_and_rewrite_persist_artifacts ... ok
[INFO] [stdout] test novel_engine_can_use_injected_backend ... ok
[INFO] [stdout] test generate_next_scene_stops_after_bundle_scene_target ... ok
[INFO] [stdout] test generate_next_bundle_saves_slugged_markdown ... ok
[INFO] [stdout] test serialized_workflow_auto_advances_internal_bundle_after_approval ... ok
[INFO] [stdout] test serialized_workflow_can_compile_previous_completed_bundle ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests piuroforge
[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] running `Command { std: "docker" "inspect" "e3a3be549ab00330a2a4594809e26b8440f37f9fa12d8c4c09403ec20e60e215", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e3a3be549ab00330a2a4594809e26b8440f37f9fa12d8c4c09403ec20e60e215", kill_on_drop: false }`
[INFO] [stdout] e3a3be549ab00330a2a4594809e26b8440f37f9fa12d8c4c09403ec20e60e215
