[INFO] fetching crate tacks 0.2.4... [INFO] testing tacks-0.2.4 against 1.97.0-beta.1 for beta-1.97-3-v2 [INFO] extracting crate tacks 0.2.4 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate tacks 0.2.4 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate tacks 0.2.4 [INFO] tweaked toml for crates.io crate tacks 0.2.4 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tacks 0.2.4 on toolchain 1.97.0-beta.1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.97.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate tacks 0.2.4 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.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/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 49d7f4973e160dbcb00592574ad25a777a9040561620935a9fd010dd6212b607 [INFO] running `Command { std: "docker" "start" "-a" "49d7f4973e160dbcb00592574ad25a777a9040561620935a9fd010dd6212b607", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "49d7f4973e160dbcb00592574ad25a777a9040561620935a9fd010dd6212b607", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49d7f4973e160dbcb00592574ad25a777a9040561620935a9fd010dd6212b607", kill_on_drop: false }` [INFO] [stdout] 49d7f4973e160dbcb00592574ad25a777a9040561620935a9fd010dd6212b607 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 40a5db5033178b9268726b4fdef31799a9d06703705f4085c6562ca4de9d83d0 [INFO] running `Command { std: "docker" "start" "-a" "40a5db5033178b9268726b4fdef31799a9d06703705f4085c6562ca4de9d83d0", 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.44 [INFO] [stderr] Compiling itoa v1.0.17 [INFO] [stderr] Compiling libc v0.2.182 [INFO] [stderr] Compiling bytes v1.11.1 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling futures-core v0.3.32 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling futures-task v0.3.32 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling find-msvc-tools v0.1.9 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling socket2 v0.6.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling cc v1.2.56 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling unicode-width v0.2.2 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling libsqlite3-sys v0.31.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling getrandom v0.4.1 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling winnow v0.7.14 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling bitflags v2.11.0 [INFO] [stderr] Compiling anstyle v1.0.13 [INFO] [stderr] Compiling anstyle-query v1.1.5 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.2 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling rust-embed-utils v8.11.0 [INFO] [stderr] Compiling anstream v0.6.21 [INFO] [stderr] Compiling basic-toml v0.1.10 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling bytecount v0.6.9 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling clap_lex v1.0.0 [INFO] [stderr] Compiling ryu v1.0.23 [INFO] [stderr] Compiling pulldown-cmark v0.13.1 [INFO] [stderr] Compiling clap_builder v4.5.60 [INFO] [stderr] Compiling papergrid v0.13.0 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling axum-core v0.5.6 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling rust-embed-impl v8.11.0 [INFO] [stderr] Compiling clap_derive v4.5.55 [INFO] [stderr] Compiling getopts v0.2.24 [INFO] [stderr] Compiling serde_path_to_error v0.1.20 [INFO] [stderr] Compiling pulldown-cmark-escape v0.11.0 [INFO] [stderr] Compiling unicase v2.9.0 [INFO] [stderr] Compiling tabled_derive v0.9.0 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling iana-time-zone v0.1.65 [INFO] [stderr] Compiling askama_parser v0.13.0 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling tower v0.5.3 [INFO] [stderr] Compiling fallible-iterator v0.3.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Compiling tabled v0.17.0 [INFO] [stderr] Compiling clap v4.5.60 [INFO] [stderr] Compiling axum-htmx v0.6.0 [INFO] [stderr] Compiling hyper-util v0.1.20 [INFO] [stderr] Compiling axum v0.8.8 [INFO] [stderr] Compiling rust-embed v8.11.0 [INFO] [stderr] Compiling uuid v1.21.0 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling colored v3.1.1 [INFO] [stderr] Compiling askama_derive v0.13.1 [INFO] [stderr] Compiling askama v0.13.1 [INFO] [stderr] Compiling rusqlite v0.33.0 [INFO] [stderr] Compiling tacks v0.2.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 32.75s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: proc-macro-error2 v2.0.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "40a5db5033178b9268726b4fdef31799a9d06703705f4085c6562ca4de9d83d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40a5db5033178b9268726b4fdef31799a9d06703705f4085c6562ca4de9d83d0", kill_on_drop: false }` [INFO] [stdout] 40a5db5033178b9268726b4fdef31799a9d06703705f4085c6562ca4de9d83d0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b3b71a4bdc41010aa3f6557028d83324f706d19cb34bbf29285b6dbcbdafba47 [INFO] running `Command { std: "docker" "start" "-a" "b3b71a4bdc41010aa3f6557028d83324f706d19cb34bbf29285b6dbcbdafba47", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling futures-sink v0.3.32 [INFO] [stderr] Compiling bitflags v2.11.0 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling futures-io v0.3.32 [INFO] [stderr] Compiling futures-task v0.3.32 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling linux-raw-sys v0.12.1 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling indexmap v2.13.0 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling nom_locate v4.2.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling terminal_size v0.4.3 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling clap_builder v4.5.60 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling bstr v1.12.1 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling sealed v0.5.0 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling synthez-core v0.3.1 [INFO] [stderr] Compiling clap_derive v4.5.55 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling basic-toml v0.1.10 [INFO] [stderr] Compiling askama_parser v0.13.0 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling iri-string v0.7.10 [INFO] [stderr] Compiling peg-runtime v0.6.3 [INFO] [stderr] Compiling openssl-probe v0.2.1 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling tower v0.5.3 [INFO] [stderr] Compiling h2 v0.4.13 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling peg-macros v0.6.3 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling rust-embed-impl v8.11.0 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling clap v4.5.60 [INFO] [stderr] Compiling gherkin v0.14.0 [INFO] [stderr] Compiling askama_derive v0.13.1 [INFO] [stderr] Compiling synthez-codegen v0.3.1 [INFO] [stderr] Compiling globset v0.4.18 [INFO] [stderr] Compiling tabled_derive v0.9.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling typed-builder-macro v0.15.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling axum-core v0.5.6 [INFO] [stderr] Compiling predicates-core v1.0.10 [INFO] [stderr] Compiling anyhow v1.0.102 [INFO] [stderr] Compiling unicode-linebreak v0.1.5 [INFO] [stderr] Compiling smawk v0.3.2 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling tabled v0.17.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling textwrap v0.16.2 [INFO] [stderr] Compiling rusqlite v0.33.0 [INFO] [stderr] Compiling axum-htmx v0.6.0 [INFO] [stderr] Compiling typed-builder v0.15.2 [INFO] [stderr] Compiling pulldown-cmark v0.13.1 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Compiling ignore v0.4.25 [INFO] [stderr] Compiling peg v0.6.3 [INFO] [stderr] Compiling synthez v0.3.1 [INFO] [stderr] Compiling rust-embed v8.11.0 [INFO] [stderr] Compiling cucumber-expressions v0.3.0 [INFO] [stderr] Compiling askama v0.13.1 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling futures-executor v0.3.32 [INFO] [stderr] Compiling lazy-regex-proc_macros v3.6.0 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling hyper-util v0.1.20 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling float-cmp v0.10.0 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling assert_cmd v2.1.2 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling inflections v1.1.1 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling termtree v0.5.1 [INFO] [stderr] Compiling lazy-regex v3.6.0 [INFO] [stderr] Compiling rustls-pki-types v1.14.0 [INFO] [stderr] Compiling predicates-tree v1.0.13 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling futures v0.3.32 [INFO] [stderr] Compiling globwalk v0.9.1 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling predicates v3.1.4 [INFO] [stderr] Compiling smart-default v0.7.1 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling axum v0.8.8 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling drain_filter_polyfill v0.1.3 [INFO] [stderr] Compiling humantime v2.3.0 [INFO] [stderr] Compiling inventory v0.3.22 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling cucumber-codegen v0.21.1 [INFO] [stderr] Compiling tempfile v3.26.0 [INFO] [stderr] Compiling reqwest v0.12.28 [INFO] [stderr] Compiling cucumber v0.21.1 [INFO] [stderr] Compiling tacks v0.2.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `assert_cmd::Command::cargo_bin`: incompatible with a custom cargo build-dir, see instead `cargo::cargo_bin_cmd!` [INFO] [stdout] --> src/commands/prime.rs:140:32 [INFO] [stdout] | [INFO] [stdout] 140 | let mut cmd = Command::cargo_bin("tk").expect("tk binary not found"); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `assert_cmd::Command::cargo_bin`: incompatible with a custom cargo build-dir, see instead `cargo::cargo_bin_cmd!` [INFO] [stdout] --> src/commands/prime.rs:154:18 [INFO] [stdout] | [INFO] [stdout] 154 | Command::cargo_bin("tk") [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 37.26s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: proc-macro-error2 v2.0.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "b3b71a4bdc41010aa3f6557028d83324f706d19cb34bbf29285b6dbcbdafba47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3b71a4bdc41010aa3f6557028d83324f706d19cb34bbf29285b6dbcbdafba47", kill_on_drop: false }` [INFO] [stdout] b3b71a4bdc41010aa3f6557028d83324f706d19cb34bbf29285b6dbcbdafba47 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.1" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] efd638ca98ef575ea870423a4652a814738a88c035099d9ae75740984c74efb0 [INFO] running `Command { std: "docker" "start" "-a" "efd638ca98ef575ea870423a4652a814738a88c035099d9ae75740984c74efb0", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated associated function `assert_cmd::Command::cargo_bin`: incompatible with a custom cargo build-dir, see instead `cargo::cargo_bin_cmd!` [INFO] [stderr] --> src/commands/prime.rs:140:32 [INFO] [stderr] | [INFO] [stderr] 140 | let mut cmd = Command::cargo_bin("tk").expect("tk binary not found"); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `assert_cmd::Command::cargo_bin`: incompatible with a custom cargo build-dir, see instead `cargo::cargo_bin_cmd!` [INFO] [stderr] --> src/commands/prime.rs:154:18 [INFO] [stderr] | [INFO] [stderr] 154 | Command::cargo_bin("tk") [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `tacks` (bin "tk" test) generated 2 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.27s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: proc-macro-error2 v2.0.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tacks-91bd8536cc57bab6) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test db::tests::test_dependency_chain_empty_no_deps ... ok [INFO] [stdout] test web::tests::test_render_markdown_basics ... ok [INFO] [stdout] test db::tests::test_list_tasks_completed_after_none_returns_all ... ok [INFO] [stdout] test db::tests::test_dependency_chain_invalid_direction ... ok [INFO] [stdout] test db::tests::test_dependency_chain_single_dep ... ok [INFO] [stdout] test db::tests::test_list_tasks_completed_after_filters_by_updated_at ... ok [INFO] [stdout] test db::tests::test_dependency_chain_linear_chain ... ok [INFO] [stdout] test db::tests::test_dependency_chain_both_direction ... ok [INFO] [stdout] test db::tests::test_dependency_chain_diamond ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/tk-c2ad30042a83c2f0) [INFO] [stdout] [INFO] [stdout] running 16 tests [INFO] [stdout] test commands::tests::test_print_tasks_with_multibyte_chars ... ok [INFO] [stdout] test commands::prime::tests::test_prime_silent_exit_when_no_db ... ok [INFO] [stdout] test db::tests::test_dependency_chain_both_direction ... ok [INFO] [stdout] test db::tests::test_dependency_chain_diamond ... ok [INFO] [stdout] test db::tests::test_dependency_chain_empty_no_deps ... ok [INFO] [stdout] test commands::prime::tests::test_prime_markdown_empty_db ... ok [INFO] [stdout] test commands::prime::tests::test_prime_json_empty_db ... ok [INFO] [stdout] test commands::prime::tests::test_prime_shows_ready_tasks ... ok [INFO] [stdout] test web::tests::test_render_markdown_basics ... ok [INFO] [stdout] test db::tests::test_dependency_chain_invalid_direction ... ok [INFO] [stdout] test commands::prime::tests::test_prime_shows_in_progress_tasks ... ok [INFO] [stdout] test commands::prime::tests::test_prime_json_in_progress_and_ready ... ok [INFO] [stdout] test db::tests::test_dependency_chain_linear_chain ... ok [INFO] [stdout] test db::tests::test_dependency_chain_single_dep ... ok [INFO] [stdout] test db::tests::test_list_tasks_completed_after_filters_by_updated_at ... ok [INFO] [stdout] test db::tests::test_list_tasks_completed_after_none_returns_all ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 16 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s [INFO] [stdout] [INFO] [stderr] Running tests/bdd/main.rs (/opt/rustwide/target/debug/deps/bdd-28b8df9552212aa3) [INFO] [stdout] Feature: Agent workflow commands [INFO] [stdout] Scenario: tk update --claim sets status to in_progress and assignee [INFO] [stdout] ✔> Given a tacks database is initialized [INFO] [stdout] ✔ Given I have a task called "work" with title "Feature to implement" [INFO] [stdout] ✔ When I claim the task "work" [INFO] [stdout] ✔ Then the task "work" has status "in_progress" [INFO] [stdout] ✔ And the task "work" has assignee "agent" [INFO] [stdout] Scenario: tk comment adds a comment visible in tk show [INFO] [stdout] ✔> Given a tacks database is initialized [INFO] [stdout] ✔ Given I have a task called "commented" with title "Task to comment on" [INFO] [stdout] ✔ When I add a comment "Making progress" to the task "commented" [INFO] [stdout] ✔ And I show the task "commented" [INFO] [stdout] ✔ Then the task details show a comment with body "Making progress" [INFO] [stdout] Scenario: tk stats shows correct counts by status [INFO] [stdout] ✔> Given a tacks database is initialized [INFO] [stdout] ✔ Given I have a task called "t1" with title "Open task one" [INFO] [stdout] ✔ And I have a task called "t2" with title "Open task two" [INFO] [stdout] ✔ And I close the task "t2" [INFO] [stdout] ✔ When I run tk stats with json output [INFO] [stdout] ✔ Then the stats JSON shows "open" count of 1 [INFO] [stdout] ✔ And the stats JSON shows "done" count of 1 [INFO] [stdout] Scenario: tk stats --oneline outputs compact format [INFO] [stdout] ✔> Given a tacks database is initialized [INFO] [stdout] ✔ Given I have a task called "t1" with title "One open task" [INFO] [stdout] ✔ When I run tk stats with oneline output [INFO] [stdout] ✔ Then the oneline output contains "open" [INFO] [stdout] Scenario: tk stats --json outputs structured JSON [INFO] [stdout] ✔> Given a tacks database is initialized [INFO] [stdout] ✔ Given I have a task called "t1" with title "Tagged stats task" and tag "backend" [INFO] [stdout] ✔ When I run tk stats with json output [INFO] [stdout] ✔ Then the stats JSON has a "by_status" field [INFO] [stdout] ✔ And the stats JSON has a "by_priority" field [INFO] [stdout] ✔ And the stats JSON has a "by_tag" field [INFO] [stdout] Scenario: tk ready --limit 1 returns only one task [INFO] [stdout] ✔> Given a tacks database is initialized [INFO] [stdout] ✔ Given I have a task called "a" with title "Ready task A" [INFO] [stdout] ✔ And I have a task called "b" with title "Ready task B" [INFO] [stdout] ✔ And I have a task called "c" with title "Ready task C" [INFO] [stdout] ✔ When I run tk ready with limit 1 [INFO] [stdout] ✔ Then the ready list contains exactly 1 task [INFO] [stdout] Scenario: tk ready with no ready tasks returns empty list [INFO] [stdout] ✔> Given a tacks database is initialized [INFO] [stdout] ✔ Given I have a task called "blocker" with title "The blocker" [INFO] [stdout] ✔ And I have a task called "blocked" with title "The blocked" [INFO] [stdout] ✔ When I add a dependency so "blocked" is blocked by "blocker" [INFO] [stdout] ✔ And I close the task "blocker" [INFO] [stdout] ✔ And I close the task "blocked" [INFO] [stdout] ✔ When I run tk ready with json output [INFO] [stdout] ✔ Then the ready list is empty [INFO] [stdout] Feature: Blocked task listing [INFO] [stdout] Scenario: Blocked tasks are shown when dependencies exist [INFO] [stdout] ✔> Given a tacks database is initialized [INFO] [stdout] ✔ Given I have a task called "blocker" with title "Must finish first" [INFO] [stdout] ✔ And I have a task called "blocked" with title "Waiting on blocker" [INFO] [stdout] ✔ When I add a dependency so "blocked" is blocked by "blocker" [INFO] [stdout] ✔ And I run tk blocked with JSON [INFO] [stdout] ✔ Then the blocked output contains "Waiting on blocker" [INFO] [stdout] ✔ And the blocked output does not contain "Must finish first" [INFO] [stdout] Scenario: No blocked tasks shows empty list [INFO] [stdout] ✔> Given a tacks database is initialized [INFO] [stdout] ✔ Given I have a task called "free" with title "Free task" [INFO] [stdout] ✔ When I run tk blocked with JSON [INFO] [stdout] ✔ Then the JSON output is an empty array [INFO] [stdout] Scenario: Resolved blocker removes task from blocked list [INFO] [stdout] ✔> Given a tacks database is initialized [INFO] [stdout] ✔ Given I have a task called "blocker" with title "Resolve me" [INFO] [stdout] ✔ And I have a task called "blocked" with title "Waiting task" [INFO] [stdout] ✔ When I add a dependency so "blocked" is blocked by "blocker" [INFO] [stdout] ✔ And I close task "blocker" with reason "done" [INFO] [stdout] ✔ And I run tk blocked with JSON [INFO] [stdout] ✔ Then the JSON output is an empty array [INFO] [stdout] Feature: Board done column filtering by done_since [INFO] [stdout] Scenario: Default filter hides done tasks older than 3 days [INFO] [stdout] ✔> Given a tacks database is initialized [INFO] [stdout] ✔> And the web server is running [INFO] [stdout] ✔ Given I created a task via API with title "Recent task" as "recent" [INFO] [stdout] ✔ And I created a task via API with title "Old task" as "old" [INFO] [stdout] ✔ And I closed the API task "recent" [INFO] [stdout] ✔ And I closed the API task "old" 4 days ago [INFO] [stdout] ✔ When I GET "/board" [INFO] [stdout] ✔ Then the response status is 200 [INFO] [stdout] ✔ And the response body contains "Recent task" [INFO] [stdout] ✔ And the response body does not contain "Old task" [INFO] [stdout] Scenario: done_since=7d shows recently closed task [INFO] [stdout] ✔> Given a tacks database is initialized [INFO] [stdout] ✔> And the web server is running [INFO] [stdout] ✔ Given I created a task via API with title "Week-old task" as "week-task" [INFO] [stdout] ✔ And I closed the API task "week-task" [INFO] [stdout] ✔ When I GET "/board?done_since=7d" [INFO] [stdout] ✔ Then the response status is 200 [INFO] [stdout] ✔ And the response body contains "Week-old task" [INFO] [stdout] Scenario: done_since=7d hides task closed 8 days ago [INFO] [stdout] ✔> Given a tacks database is initialized [INFO] [stdout] ✔> And the web server is running [INFO] [stdout] ✔ Given I created a task via API with title "Stale task" as "stale" [INFO] [stdout] ✔ And I closed the API task "stale" 8 days ago [INFO] [stdout] ✔ When I GET "/board?done_since=7d" [INFO] [stdout] ✔ Then the response status is 200 [INFO] [stdout] ✔ And the response body does not contain "Stale task" [INFO] [stdout] Scenario: done_since=all shows all done tasks regardless of age [INFO] [stdout] ✔> Given a tacks database is initialized [INFO] [stdout] ✔> And the web server is running [INFO] [stdout] ✔ Given I created a task via API with title "Very old task" as "very-old" [INFO] [stdout] ✔ And I closed the API task "very-old" 60 days ago [INFO] [stdout] ✔ When I GET "/board?done_since=all" [INFO] [stdout] ✔ Then the response status is 200 [INFO] [stdout] ✔ And the response body contains "Very old task" [INFO] [stdout] Scenario: done_since=3d shows task closed 2 days ago [INFO] [stdout] ✔> Given a tacks database is initialized [INFO] [stdout] ✔> And the web server is running [INFO] [stdout] ✔ Given I created a task via API with title "Three-day-window task" as "threeday" [INFO] [stdout] ✔ And I closed the API task "threeday" 2 days ago [INFO] [stdout] ✔ When I GET "/board?done_since=3d" [INFO] [stdout] ✔ Then the response status is 200 [INFO] [stdout] ✔ And the response body contains "Three-day-window task" [INFO] [stdout] Scenario: done_since=3d hides task closed 8 days ago [INFO] [stdout] ✔> Given a tacks database is initialized [INFO] [stdout] ✔> And the web server is running [INFO] [stdout] ✔ Given I created a task via API with title "Older than 3 days" as "old-3" [INFO] [stdout] ✔ And I closed the API task "old-3" 8 days ago [INFO] [stdout] ✔ When I GET "/board?done_since=3d" [INFO] [stdout] ✔ Then the response status is 200 [INFO] [stdout] ✔ And the response body does not contain "Older than 3 days" [INFO] [stdout] Scenario: done_since=30d shows task closed 20 days ago [INFO] [stdout] ✔> Given a tacks database is initialized [INFO] [stdout] ✔> And the web server is running [INFO] [stdout] ✔ Given I created a task via API with title "Month window task" as "monthly" [INFO] [stdout] ✔ And I closed the API task "monthly" 20 days ago [INFO] [stdout] ✔ When I GET "/board?done_since=30d" [INFO] [stdout] ✔ Then the response status is 200 [INFO] [stdout] ✔ And the response body contains "Month window task" [INFO] [stdout] Scenario: Board with no done tasks renders without error [INFO] [stdout] ✔> Given a tacks database is initialized [INFO] [stdout] ✔> And the web server is running [INFO] [stdout] ✔ Given I created a task via API with title "Undone task" as "undone" [INFO] [stdout] ✔ When I GET "/board" [INFO] [stdout] ✔ Then the response status is 200 [INFO] [stdout] ✔ And the response body contains "Undone task" [INFO] [stdout] Scenario: Default filter on epic board shows all done subtasks regardless of age [INFO] [stdout] ✔> Given a tacks database is initialized [INFO] [stdout] ✔> And the web server is running [INFO] [stdout] ✔ Given I created a task via API with title "My epic" as "epic" [INFO] [stdout] ✔ And I created a subtask via API with title "Old subtask" under "epic" as "old-sub" [INFO] [stdout] ✔ And I closed the API task "old-sub" 8 days ago [INFO] [stdout] ✔ When I GET the epic board for "epic" [INFO] [stdout] ✔ Then the response status is 200 [INFO] [stdout] ✔ And the response body contains "Old subtask" [INFO] [stdout] Scenario: done_since=all on epic board shows old done subtask [INFO] [stdout] ✔> Given a tacks database is initialized [INFO] [stdout] ✔> And the web server is running [INFO] [stdout] ✔ Given I created a task via API with title "Full epic" as "full-epic" [INFO] [stdout] ✔ And I created a subtask via API with title "Ancient subtask" under "full-epic" as "ancient-sub" [INFO] [stdout] ✔ And I closed the API task "ancient-sub" 60 days ago [INFO] [stdout] ✔ When I GET the epic board for "full-epic" with done_since "all" [INFO] [stdout] ✔ Then the response status is 200 [INFO] [stdout] ✔ And the response body contains "Ancient subtask" [INFO] [stdout] Scenario: Epic completion stats are unaffected by done_since filter [INFO] [stdout] ✔> Given a tacks database is initialized [INFO] [stdout] ✔> And the web server is running [INFO] [stdout] ✔ Given I created a task via API with title "Stats epic" as "stats-epic" [INFO] [stdout] ✔ And I created a subtask via API with title "New done subtask" under "stats-epic" as "new-sub" [INFO] [stdout] ✔ And I created a subtask via API with title "Old done subtask" under "stats-epic" as "old-sub2" [INFO] [stdout] ✔ And I closed the API task "new-sub" [INFO] [stdout] ✔ And I closed the API task "old-sub2" 30 days ago [INFO] [stdout] ✔ When I GET the API task "stats-epic" [INFO] [stdout] ✔ Then the response status is 200 [INFO] [stdout] ✔ And the response JSON field "status" equals "done" [INFO] [stdout] Feature: Board drag-and-drop status transitions [INFO] [stdout] Scenario: Drag task from Open to In Progress [INFO] [stdout] ✔> Given a tacks database is initialized [INFO] [stdout] ✔> And the web server is running [INFO] [stdout] ✔ Given I created a task via API with title "New feature" as "feature" [INFO] [stdout] ✔ When I PATCH the API task "feature" with body '{"status":"in_progress"}' [INFO] [stdout] ✔ Then the response status is 200 [INFO] [stdout] ✔ And the response JSON field "status" equals "in_progress" [INFO] [stdout] ✔ When I GET the API task "feature" [INFO] [stdout] ✔ Then the response status is 200 [INFO] [stdout] ✔ And the response JSON field "status" equals "in_progress" [INFO] [stdout] Scenario: Drag task from In Progress to Done [INFO] [stdout] ✔> Given a tacks database is initialized [INFO] [stdout] ✔> And the web server is running [INFO] [stdout] ✔ Given I created a task via API with title "Work in progress" as "wip" [INFO] [stdout] ✔ When I PATCH the API task "wip" with body '{"status":"in_progress"}' [INFO] [stdout] ✔ And I PATCH the API task "wip" with body '{"status":"done"}' [INFO] [stdout] ✔ Then the response status is 200 [INFO] [stdout] ✔ And the response JSON field "status" equals "done" [INFO] [stdout] ✔ When I GET the API task "wip" [INFO] [stdout] ✔ Then the response status is 200 [INFO] [stdout] ✔ And the response JSON field "status" equals "done" [INFO] [stdout] Scenario: Drag task to Blocked column [INFO] [stdout] ✔> Given a tacks database is initialized [INFO] [stdout] ✔> And the web server is running [INFO] [stdout] ✔ Given I created a task via API with title "Waiting on dependency" as "waiting" [INFO] [stdout] ✔ When I PATCH the API task "waiting" with body '{"status":"blocked"}' [INFO] [stdout] ✔ Then the response status is 200 [INFO] [stdout] ✔ And the response JSON field "status" equals "blocked" [INFO] [stdout] ✔ When I GET the API task "waiting" [INFO] [stdout] ✔ Then the response status is 200 [INFO] [stdout] ✔ And the response JSON field "status" equals "blocked" [INFO] [stdout] Scenario: Drag task back from Done to Open [INFO] [stdout] ✔> Given a tacks database is initialized [INFO] [stdout] ✔> And the web server is running [INFO] [stdout] ✔ Given I created a task via API with title "Reopened task" as "reopened" [INFO] [stdout] ✔ When I PATCH the API task "reopened" with body '{"status":"done"}' [INFO] [stdout] ✔ And I PATCH the API task "reopened" with body '{"status":"open"}' [INFO] [stdout] ✔ Then the response status is 200 [INFO] [stdout] ✔ And the response JSON field "status" equals "open" [INFO] [stdout] ✔ When I GET the API task "reopened" [INFO] [stdout] ✔ Then the response status is 200 [INFO] [stdout] ✔ And the response JSON field "status" equals "open" [INFO] [stdout] Scenario: Drop on same column is a no-op [INFO] [stdout] ✔> Given a tacks database is initialized [INFO] [stdout] ✔> And the web server is running [INFO] [stdout] ✔ Given I created a task via API with title "Stable task" as "stable" [INFO] [stdout] ✔ When I PATCH the API task "stable" with body '{"status":"open"}' [INFO] [stdout] ✔ Then the response status is 200 [INFO] [stdout] ✔ And the response JSON field "status" equals "open" [INFO] [stdout] ✔ When I GET the API task "stable" [INFO] [stdout] ✔ Then the response status is 200 [INFO] [stdout] ✔ And the response JSON field "status" equals "open" [INFO] [stdout] Scenario: Drag-and-drop on epic detail board updates subtask and syncs epic [INFO] [stdout] ✔> Given a tacks database is initialized [INFO] [stdout] ✔> And the web server is running [INFO] [stdout] ✔ Given I created a task via API with title "My epic" as "epic" [INFO] [stdout] ✔ And I created a subtask via API with title "Subtask one" under "epic" as "subtask" [INFO] [stdout] ✔ When I PATCH the API task "subtask" with body '{"status":"in_progress"}' [INFO] [stdout] ✔ Then the response status is 200 [INFO] [stdout] ✔ And the response JSON field "status" equals "in_progress" [INFO] [stdout] ✔ When I GET the API task "epic" [INFO] [stdout] ✔ Then the response status is 200 [INFO] [stdout] ✔ And the response JSON field "status" equals "in_progress" [INFO] [stdout] ✔ When I GET the API task "subtask" [INFO] [stdout] ✔ Then the response status is 200 [INFO] [stdout] ✔ And the response JSON field "status" equals "in_progress" [INFO] [stdout] Feature: List child tasks [INFO] [stdout] Scenario: Listing children of a parent task [INFO] [stdout] ✔> Given a tacks database is initialized [INFO] [stdout] ✔ Given I have a task called "parent" with title "Epic task" [INFO] [stdout] ✔ When I create a subtask of "parent" with title "Child one" [INFO] [stdout] ✔ And I create a subtask of "parent" with title "Child two" [INFO] [stdout] ✔ And I run tk children for "parent" [INFO] [stdout] ✔ Then the output contains "Child one" [INFO] [stdout] ✔ And the output contains "Child two" [INFO] [stdout] Scenario: Children of a task with no children shows empty [INFO] [stdout] ✔> Given a tacks database is initialized [INFO] [stdout] ✔ Given I have a task called "leaf" with title "Leaf task" [INFO] [stdout] ✔ When I run tk children for "leaf" with JSON [INFO] [stdout] ✔ Then the JSON output is an empty array [INFO] [stdout] Scenario: Children command with invalid ID fails [INFO] [stdout] ✔> Given a tacks database is initialized [INFO] [stdout] ✔ When I run tk children for "tk-0000" [INFO] [stdout] ✔ Then the command should fail [INFO] [stdout] ✔ And the error output contains "not found" [INFO] [stdout] Feature: Close guard for tasks with open subtasks [INFO] [stdout] Scenario: Closing a task with open subtasks is rejected [INFO] [stdout] ✔> Given a tacks database is initialized [INFO] [stdout] ✔ Given I have a task called "parent" with title "Core module" [INFO] [stdout] ✔ When I create a subtask of "parent" with title "Open subtask" [INFO] [stdout] ✔ And I try to close task "parent" [INFO] [stdout] ✔ Then the command should fail [INFO] [stdout] ✔ And the error output contains "open dependent" [INFO] [stdout] Scenario: Closing a task with --force bypasses the guard [INFO] [stdout] ✔> Given a tacks database is initialized [INFO] [stdout] ✔ Given I have a task called "parent" with title "Forceable task" [INFO] [stdout] ✔ When I create a subtask of "parent" with title "Dependent subtask" [INFO] [stdout] ✔ And I force close task "parent" [INFO] [stdout] ✔ And I show task "parent" in JSON [INFO] [stdout] ✔ Then the task details show status "done" [INFO] [stdout] Scenario: Closing a task with no subtasks works normally [INFO] [stdout] ✔> Given a tacks database is initialized [INFO] [stdout] ✔ Given I have a task called "solo" with title "No subtasks" [INFO] [stdout] ✔ When I close task "solo" with reason "done" [INFO] [stdout] ✔ And I show task "solo" in JSON [INFO] [stdout] ✔ Then the task details show status "done" [INFO] [stdout] Scenario: Closing a task whose subtasks are already done works [INFO] [stdout] ✔> Given a tacks database is initialized [INFO] [stdout] ✔ Given I have a task called "parent" with title "Already clear" [INFO] [stdout] ✔ When I create a subtask of "parent" with title "Already done child" [INFO] [stdout] ✔ And I force close subtask "Already done child" [INFO] [stdout] ✔ And I close task "parent" with reason "done" [INFO] [stdout] ✔ And I show task "parent" in JSON [INFO] [stdout] ✔ Then the task details show status "done" [INFO] [stdout] Feature: Close reason tracking [INFO] [stdout] Scenario: Closing a task with default reason [INFO] [stdout] ✔> Given a tacks database is initialized [INFO] [stdout] ✔ When I create a task with title "Default close" [INFO] [stdout] ✔ And I close the task [INFO] [stdout] ✔ And I show the task [INFO] [stdout] ✔ Then the task details show close_reason "done" [INFO] [stdout] Scenario: Closing a task with explicit reason [INFO] [stdout] ✔> Given a tacks database is initialized [INFO] [stdout] ✔ Given I have a task called "dup" with title "Duplicate work" [INFO] [stdout] ✔ When I close task "dup" with reason "duplicate" [INFO] [stdout] ✔ And I show task "dup" in JSON [INFO] [stdout] ✔ Then the task details show close_reason "duplicate" [INFO] [stdout] Scenario: Closing a task with stale reason [INFO] [stdout] ✔> Given a tacks database is initialized [INFO] [stdout] ✔ Given I have a task called "old" with title "Stale task" [INFO] [stdout] ✔ When I close task "old" with reason "stale" [INFO] [stdout] ✔ And I show task "old" in JSON [INFO] [stdout] ✔ Then the task details show close_reason "stale" [INFO] [stdout] Scenario: Invalid close reason is rejected [INFO] [stdout] ✔> Given a tacks database is initialized [INFO] [stdout] ✔ Given I have a task called "bad" with title "Bad reason" [INFO] [stdout] ✔ When I try to close task "bad" with reason "invalid_reason" [INFO] [stdout] ✔ Then the command should fail [INFO] [stdout] ✔ And the error output contains "invalid close reason" [INFO] [stdout] Feature: Task creation modal [INFO] [stdout] Scenario: Modal endpoint returns HTML fragment [INFO] [stdout] ✔> Given a tacks database is initialized [INFO] [stdout] ✔> And the web server is running [INFO] [stdout] ✔ When I GET "/tasks/new/modal" [INFO] [stdout] ✔ Then the response status is 200 [INFO] [stdout] ✔ And the response content type is "text/html" [INFO] [stdout] Scenario: Modal form contains a form element [INFO] [stdout] ✔> Given a tacks database is initialized [INFO] [stdout] ✔> And the web server is running [INFO] [stdout] ✔ When I GET "/tasks/new/modal" [INFO] [stdout] ✔ Then the response status is 200 [INFO] [stdout] ✔ And the response body contains "