[INFO] cloning repository https://github.com/brdv/stck
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/brdv/stck" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrdv%2Fstck", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrdv%2Fstck'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9c9e6755961cdb1f88753b18a2772bd4152924a8
[INFO] testing brdv/stck 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%2Fbrdv%2Fstck" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/brdv/stck
[INFO] finished tweaking git repo https://github.com/brdv/stck
[INFO] tweaked toml for git repo https://github.com/brdv/stck written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/brdv/stck 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/brdv/stck 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-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] f8a93a2067ac71c464a799abf69f0f055e176278d4ac7a39059b6542b174c7c5
[INFO] running `Command { std: "docker" "start" "f8a93a2067ac71c464a799abf69f0f055e176278d4ac7a39059b6542b174c7c5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f8a93a2067ac71c464a799abf69f0f055e176278d4ac7a39059b6542b174c7c5", 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" "f8a93a2067ac71c464a799abf69f0f055e176278d4ac7a39059b6542b174c7c5" "/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" "f8a93a2067ac71c464a799abf69f0f055e176278d4ac7a39059b6542b174c7c5", 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" "f8a93a2067ac71c464a799abf69f0f055e176278d4ac7a39059b6542b174c7c5" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "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 zmij v1.0.20
[INFO] [stderr]    Compiling memchr v2.8.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling syn v2.0.114
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling clap_derive v4.5.55
[INFO] [stderr]    Compiling clap v4.5.57
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling stck v0.1.4 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.91s
[INFO] running `Command { std: "docker" "inspect" "f8a93a2067ac71c464a799abf69f0f055e176278d4ac7a39059b6542b174c7c5", 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" "f8a93a2067ac71c464a799abf69f0f055e176278d4ac7a39059b6542b174c7c5" "/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 libc v0.2.181
[INFO] [stderr]    Compiling regex-syntax v0.8.9
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling getrandom v0.4.1
[INFO] [stderr]    Compiling predicates-core v1.0.9
[INFO] [stderr]    Compiling rustix v1.1.3
[INFO] [stderr]    Compiling termtree v0.5.1
[INFO] [stderr]    Compiling bitflags v2.10.0
[INFO] [stderr]    Compiling linux-raw-sys v0.11.0
[INFO] [stderr]    Compiling difflib v0.4.0
[INFO] [stderr]    Compiling normalize-line-endings v0.3.0
[INFO] [stderr]    Compiling assert_cmd v2.1.2
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]    Compiling fastrand v2.3.0
[INFO] [stderr]    Compiling predicates-tree v1.0.12
[INFO] [stderr]    Compiling float-cmp v0.10.0
[INFO] [stderr]    Compiling wait-timeout v0.2.1
[INFO] [stderr]    Compiling regex-automata v0.4.14
[INFO] [stderr]    Compiling tempfile v3.25.0
[INFO] [stderr]    Compiling regex v1.12.3
[INFO] [stderr]    Compiling bstr v1.12.1
[INFO] [stderr]    Compiling predicates v3.1.3
[INFO] [stderr]    Compiling stck v0.1.4 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 15.03s
[INFO] running `Command { std: "docker" "inspect" "f8a93a2067ac71c464a799abf69f0f055e176278d4ac7a39059b6542b174c7c5", 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" "f8a93a2067ac71c464a799abf69f0f055e176278d4ac7a39059b6542b174c7c5" "/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.08s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/stck-7aa498ea36663e3b)
[INFO] [stdout] 
[INFO] [stdout] running 35 tests
[INFO] [stdout] test cli::tests::clap_definition_debug_asserts ... ok
[INFO] [stdout] test github::tests::builds_linear_stack_from_ancestor_to_descendant ... ok
[INFO] [stdout] test github::tests::closed_pr_does_not_cause_non_linear_error ... ok
[INFO] [stdout] test github::tests::errors_when_current_branch_pr_is_missing ... ok
[INFO] [stdout] test github::tests::errors_on_non_linear_descendants ... ok
[INFO] [stdout] test github::tests::excludes_closed_prs_from_child_discovery ... ok
[INFO] [stdout] test github::tests::parses_pull_request_list_json ... ok
[INFO] [stdout] test github::tests::parses_single_pull_request_json ... ok
[INFO] [stdout] test github::tests::fails_parsing_single_pull_request_when_required_fields_are_missing ... ok
[INFO] [stdout] test github::tests::errors_on_cycle_detection ... ok
[INFO] [stdout] test stack::tests::detects_first_open_branch_rooted_on_default ... ok
[INFO] [stdout] test github::tests::errors_when_parent_pr_is_missing ... ok
[INFO] [stdout] test stack::tests::push_branches_include_only_open_pr_branches ... ok
[INFO] [stdout] test github::tests::fails_parsing_pull_request_list_json_when_malformed ... ok
[INFO] [stdout] test stack::tests::filter_pending_retargets_skips_branches_already_on_target_base ... ok
[INFO] [stdout] test stack::tests::push_branches_skip_consecutive_merged_ancestors ... ok
[INFO] [stdout] test stack::tests::push_retargets_follow_sync_plan_targets ... ok
[INFO] [stdout] test stack::tests::push_retargets_with_consecutive_merged_ancestors ... ok
[INFO] [stdout] test stack::tests::reports_base_mismatch_and_needs_sync_together ... ok
[INFO] [stdout] test stack::tests::returns_none_when_first_open_branch_not_rooted_on_default ... ok
[INFO] [stdout] test stack::tests::reports_no_flags_for_aligned_open_stack ... ok
[INFO] [stdout] test stack::tests::reports_needs_sync_when_parent_is_merged ... ok
[INFO] [stdout] test stack::tests::sync_plan_restacks_child_of_merged_parent_and_descendants ... ok
[INFO] [stdout] test util::tests::returns_base_when_stderr_is_empty ... ok
[INFO] [stdout] test sync_state::tests::sync_state_with_no_failed_step_round_trips ... ok
[INFO] [stdout] test util::tests::returns_base_when_stderr_is_whitespace_only ... ok
[INFO] [stdout] test stack::tests::sync_plan_is_empty_when_open_stack_is_aligned ... ok
[INFO] [stdout] test stack::tests::sync_plan_restacks_on_base_mismatch ... ok
[INFO] [stdout] test stack::tests::sync_plan_skips_consecutive_merged_ancestors ... ok
[INFO] [stdout] test stack::tests::status_reports_needs_sync_with_consecutive_merged_ancestors ... ok
[INFO] [stdout] test util::tests::appends_stderr_detail_when_present ... ok
[INFO] [stdout] test sync_state::tests::last_sync_plan_round_trip ... ok
[INFO] [stdout] test sync_state::tests::push_state_round_trip ... ok
[INFO] [stdout] test sync_state::tests::sync_state_round_trip ... ok
[INFO] [stdout] test sync_state::tests::kind_tag_distinguishes_sync_from_push ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 35 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/stck-0ebe02d4ccf5e69b)
[INFO] [stdout] 
[INFO] [stderr]      Running tests/cli.rs (/opt/rustwide/target/debug/deps/cli-fa36ba459fe3469f)
[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 2 tests
[INFO] [stdout] test help_lists_all_commands ... ok
[INFO] [stdout] test version_prints_package_version ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/new.rs (/opt/rustwide/target/debug/deps/new-1191d5a5d167580c)
[INFO] [stdout] 
[INFO] [stdout] running 14 tests
[INFO] [stdout] test new_fails_when_new_branch_exists_on_origin ... ok
[INFO] [stdout] test new_skips_bootstrap_when_current_branch_has_upstream_and_pr ... ok
[INFO] [stdout] test new_rejects_invalid_branch_name ... ok
[INFO] [stdout] test new_fails_when_new_branch_exists_locally ... ok
[INFO] [stdout] test new_fails_when_pr_presence_check_errors ... ok
[INFO] [stdout] test new_fails_when_parent_discovery_errors ... ok
[INFO] [stdout] test commands_show_placeholder_when_preflight_passes ... ok
[INFO] [stdout] test new_from_default_branch_skips_default_branch_bootstrap ... ok
[INFO] [stdout] test new_bootstraps_current_branch_then_creates_stacked_branch_and_pr ... ok
[INFO] [stdout] test new_skips_push_when_upstream_exists_and_branch_is_up_to_date ... ok
[INFO] [stdout] test new_surfaces_checkout_failure ... ok
[INFO] [stdout] test new_reports_no_changes_for_new_branch_when_no_commits_exist ... ok
[INFO] [stdout] test new_from_stacked_branch_discovers_parent_base ... ok
[INFO] [stderr]      Running tests/push.rs (/opt/rustwide/target/debug/deps/push-52d6d3e134dc53d3)
[INFO] [stdout] test new_auto_pushes_when_upstream_exists_but_branch_needs_push ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.24s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 12 tests
[INFO] [stdout] test shows_detached_head_remediation ... ok
[INFO] [stdout] test push_shows_fetch_failure_remediation ... ok
[INFO] [stdout] test push_skips_branches_without_local_changes ... ok
[INFO] [stdout] test push_blocked_while_sync_state_exists ... ok
[INFO] [stdout] test push_executes_pushes_before_retargets_and_prints_summary ... ok
[INFO] [stdout] test push_skips_cached_sync_plan_retargets_that_are_already_satisfied ... ok
[INFO] [stdout] test push_resumes_after_partial_retarget_failure ... ok
[INFO] [stdout] test push_stops_before_retarget_when_a_push_fails ... ok
[INFO] [stdout] test push_resume_clears_stale_state_when_remaining_retargets_are_already_satisfied ... ok
[INFO] [stdout] test push_aborts_when_remote_has_commits_not_in_local_branch ... ok
[INFO] [stdout] test push_uses_cached_sync_plan_retargets_when_available ... ok
[INFO] [stdout] test sync_then_push_after_squash_merge_produces_correct_retargets ... ok
[INFO] [stderr]      Running tests/status.rs (/opt/rustwide/target/debug/deps/status-535efe72d2b7f776)
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.42s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 10 tests
[INFO] [stdout] test shows_auth_remediation_when_gh_is_not_authenticated ... ok
[INFO] [stdout] test status_shows_fetch_failure_remediation ... ok
[INFO] [stdout] test status_from_default_branch_shows_helpful_message ... ok
[INFO] [stdout] test shows_missing_origin_remediation ... ok
[INFO] [stdout] test status_shows_missing_pr_remediation ... ok
[INFO] [stdout] test status_fails_on_non_linear_stack ... ok
[INFO] [stdout] test status_reports_needs_push_when_branch_diverges_from_origin ... ok
[INFO] [stdout] test status_reports_needs_sync_when_default_branch_has_advanced ... ok
[INFO] [stdout] test status_discovers_linear_stack_in_order ... ok
[INFO] [stdout] test status_skips_needs_push_for_merged_branches ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.15s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/submit.rs (/opt/rustwide/target/debug/deps/submit-a2c9ad85b850efcf)
[INFO] [stdout] 
[INFO] [stdout] running 9 tests
[INFO] [stdout] test submit_rejects_default_branch ... ok
[INFO] [stdout] test submit_creates_pr_with_base_override ... ok
[INFO] [stdout] test submit_explicit_base_overrides_parent_discovery ... ok
[INFO] [stdout] test submit_auto_pushes_when_upstream_exists_but_branch_needs_push ... ok
[INFO] [stdout] test submit_fails_when_parent_discovery_errors ... ok
[INFO] [stdout] test submit_noops_when_pr_exists ... ok
[INFO] [stdout] test submit_defaults_base_to_default_branch ... ok
[INFO] [stdout] test submit_discovers_parent_base_for_stacked_branch ... ok
[INFO] [stderr]      Running tests/sync.rs (/opt/rustwide/target/debug/deps/sync-ef9b0f216c93e743)
[INFO] [stdout] test submit_falls_back_to_default_when_no_parent_pr ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 22 tests
[INFO] [stdout] test sync_rejects_continue_and_reset_together ... ok
[INFO] [stdout] test shows_dirty_tree_remediation ... ok
[INFO] [stdout] test sync_continue_requires_existing_state ... ok
[INFO] [stdout] test sync_fails_early_when_rebase_is_already_in_progress ... ok
[INFO] [stdout] test sync_reports_noop_when_stack_is_already_up_to_date ... ok
[INFO] [stdout] test sync_includes_rebase_stderr_on_failure ... ok
[INFO] [stdout] test sync_blocked_while_push_state_exists ... ok
[INFO] [stdout] test sync_chained_rebase_uses_local_ref_for_previously_rebased_branch ... ok
[INFO] [stdout] test sync_plain_retry_requires_continue_or_reset_after_failure ... ok
[INFO] [stdout] test sync_after_squash_merge_uses_merge_base_for_old_base ... ok
[INFO] [stdout] test sync_surfaces_rebase_failure_with_guidance ... ok
[INFO] [stdout] test sync_from_mid_stack_rebases_current_and_descendants ... ok
[INFO] [stdout] test sync_rebases_when_default_branch_has_advanced ... ok
[INFO] [stdout] test sync_executes_rebase_plan_and_prints_success_message ... ok
[INFO] [stdout] test sync_falls_back_to_remote_ref_when_merge_base_fails ... ok
[INFO] [stdout] test sync_continue_fails_when_rebase_was_aborted ... ok
[INFO] [stdout] test sync_reset_recomputes_from_scratch_after_failure ... ok
[INFO] [stdout] test sync_continue_resumes_after_previous_failure ... ok
[INFO] [stdout] test sync_continue_uses_merge_base_for_remaining_steps ... ok
[INFO] [stdout] test sync_uses_remote_old_base_when_local_old_base_is_missing ... ok
[INFO] [stdout] test sync_reset_with_merge_base_recomputes_correctly ... ok
[INFO] [stdout] test sync_uses_remote_main_when_local_main_is_stale ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 22 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.50s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests stck
[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" "f8a93a2067ac71c464a799abf69f0f055e176278d4ac7a39059b6542b174c7c5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f8a93a2067ac71c464a799abf69f0f055e176278d4ac7a39059b6542b174c7c5", kill_on_drop: false }`
[INFO] [stdout] f8a93a2067ac71c464a799abf69f0f055e176278d4ac7a39059b6542b174c7c5
