[INFO] cloning repository https://github.com/cyanglee/claude-time-tracker
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cyanglee/claude-time-tracker" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcyanglee%2Fclaude-time-tracker", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcyanglee%2Fclaude-time-tracker'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ca89bbce5f9c82de2da9a126c329ee7783af039d
[INFO] testing cyanglee/claude-time-tracker 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%2Fcyanglee%2Fclaude-time-tracker" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/cyanglee/claude-time-tracker
[INFO] finished tweaking git repo https://github.com/cyanglee/claude-time-tracker
[INFO] tweaked toml for git repo https://github.com/cyanglee/claude-time-tracker written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/cyanglee/claude-time-tracker 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/cyanglee/claude-time-tracker 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-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 7b7a0c209ed2c864a2aa6c1650058a3751c438567cda465b430ba59d10a596b8
[INFO] running `Command { std: "docker" "start" "7b7a0c209ed2c864a2aa6c1650058a3751c438567cda465b430ba59d10a596b8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7b7a0c209ed2c864a2aa6c1650058a3751c438567cda465b430ba59d10a596b8", 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" "7b7a0c209ed2c864a2aa6c1650058a3751c438567cda465b430ba59d10a596b8" "/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" "7b7a0c209ed2c864a2aa6c1650058a3751c438567cda465b430ba59d10a596b8", 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" "7b7a0c209ed2c864a2aa6c1650058a3751c438567cda465b430ba59d10a596b8" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling unicode-ident v1.0.22
[INFO] [stderr]    Compiling quote v1.0.43
[INFO] [stderr]    Compiling libc v0.2.180
[INFO] [stderr]    Compiling memchr v2.7.6
[INFO] [stderr]    Compiling regex-syntax v0.8.8
[INFO] [stderr]    Compiling gix-trace v0.1.17
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling faster-hex v0.9.0
[INFO] [stderr]    Compiling tinyvec v1.10.0
[INFO] [stderr]    Compiling simd-adler32 v0.3.8
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling prodash v28.0.0
[INFO] [stderr]    Compiling sha1_smol v1.0.1
[INFO] [stderr]    Compiling zerocopy v0.8.33
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling itoa v1.0.17
[INFO] [stderr]    Compiling walkdir v2.5.0
[INFO] [stderr]    Compiling allocator-api2 v0.2.21
[INFO] [stderr]    Compiling jiff v0.2.18
[INFO] [stderr]    Compiling miniz_oxide v0.8.9
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling rustix v1.1.3
[INFO] [stderr]    Compiling linux-raw-sys v0.11.0
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling unicode-normalization v0.1.25
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]    Compiling winnow v0.6.26
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]    Compiling flate2 v1.1.8
[INFO] [stderr]    Compiling unicode-bom v2.0.3
[INFO] [stderr]    Compiling linux-raw-sys v0.4.15
[INFO] [stderr]    Compiling percent-encoding v2.3.2
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling kstring v2.0.2
[INFO] [stderr]    Compiling home v0.5.12
[INFO] [stderr]    Compiling gix-utils v0.1.14
[INFO] [stderr]    Compiling find-msvc-tools v0.1.8
[INFO] [stderr]    Compiling syn v2.0.114
[INFO] [stderr]    Compiling option-ext v0.2.0
[INFO] [stderr]    Compiling rustversion v1.0.22
[INFO] [stderr]    Compiling cc v1.2.53
[INFO] [stderr]    Compiling pkg-config v0.3.32
[INFO] [stderr]    Compiling utf8parse v0.2.2
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling hashbrown v0.15.5
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling memmap2 v0.9.9
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling gix-sec v0.10.12
[INFO] [stderr]    Compiling filetime v0.2.27
[INFO] [stderr]    Compiling anstyle-parse v0.2.7
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling anstyle-query v1.1.5
[INFO] [stderr]    Compiling colorchoice v1.0.4
[INFO] [stderr]    Compiling clru v0.6.2
[INFO] [stderr]    Compiling zmij v1.0.16
[INFO] [stderr]    Compiling is_terminal_polyfill v1.70.2
[INFO] [stderr]    Compiling anstyle v1.0.13
[INFO] [stderr]    Compiling indexmap v2.13.0
[INFO] [stderr]    Compiling imara-diff v0.1.8
[INFO] [stderr]    Compiling anstream v0.6.21
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling arc-swap v1.8.0
[INFO] [stderr]    Compiling dirs-sys v0.5.0
[INFO] [stderr]    Compiling regex-automata v0.4.13
[INFO] [stderr]    Compiling strsim v0.11.1
[INFO] [stderr]    Compiling clap_lex v0.7.7
[INFO] [stderr]    Compiling tempfile v3.24.0
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling clap_builder v4.5.54
[INFO] [stderr]    Compiling dirs v6.0.0
[INFO] [stderr]    Compiling libsqlite3-sys v0.30.1
[INFO] [stderr]    Compiling dirs-sys v0.4.1
[INFO] [stderr]    Compiling dashmap v6.1.0
[INFO] [stderr]    Compiling hashlink v0.9.1
[INFO] [stderr]    Compiling csv-core v0.1.13
[INFO] [stderr]    Compiling ryu v1.0.22
[INFO] [stderr]    Compiling fallible-streaming-iterator v0.1.9
[INFO] [stderr]    Compiling iana-time-zone v0.1.64
[INFO] [stderr]    Compiling fallible-iterator v0.3.0
[INFO] [stderr]    Compiling dirs v5.0.1
[INFO] [stderr]    Compiling shellexpand v3.1.1
[INFO] [stderr]    Compiling csv v1.4.0
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling maybe-async v0.2.10
[INFO] [stderr]    Compiling clap_derive v4.5.49
[INFO] [stderr]    Compiling bstr v1.12.1
[INFO] [stderr]    Compiling regex v1.12.2
[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 clap v4.5.54
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]    Compiling gix-validate v0.10.1
[INFO] [stderr]    Compiling gix-date v0.9.4
[INFO] [stderr]    Compiling gix-validate v0.9.4
[INFO] [stderr]    Compiling gix-chunk v0.4.12
[INFO] [stderr]    Compiling gix-quote v0.4.15
[INFO] [stderr]    Compiling gix-bitmap v0.2.15
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling gix-hash v0.14.2
[INFO] [stderr]    Compiling gix-packetline-blocking v0.17.5
[INFO] [stderr]    Compiling gix-packetline v0.17.6
[INFO] [stderr]    Compiling gix-path v0.10.22
[INFO] [stderr]    Compiling gix-actor v0.32.0
[INFO] [stderr]    Compiling gix-features v0.38.2
[INFO] [stderr]    Compiling gix-hashtable v0.5.2
[INFO] [stderr]    Compiling gix-config-value v0.14.12
[INFO] [stderr]    Compiling gix-command v0.3.11
[INFO] [stderr]    Compiling gix-object v0.44.0
[INFO] [stderr]    Compiling gix-fs v0.11.3
[INFO] [stderr]    Compiling gix-commitgraph v0.24.3
[INFO] [stderr]    Compiling gix-glob v0.16.5
[INFO] [stderr]    Compiling gix-prompt v0.8.9
[INFO] [stderr]    Compiling gix-tempfile v14.0.2
[INFO] [stderr]    Compiling tinystr v0.8.2
[INFO] [stderr]    Compiling potential_utf v0.1.4
[INFO] [stderr]    Compiling gix-attributes v0.22.5
[INFO] [stderr]    Compiling gix-ignore v0.11.4
[INFO] [stderr]    Compiling gix-lock v14.0.0
[INFO] [stderr]    Compiling icu_collections v2.1.1
[INFO] [stderr]    Compiling icu_locale_core v2.1.1
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling gix-pathspec v0.7.7
[INFO] [stderr]    Compiling icu_provider v2.1.1
[INFO] [stderr]    Compiling serde_spanned v0.6.9
[INFO] [stderr]    Compiling toml_datetime v0.6.11
[INFO] [stderr]    Compiling chrono v0.4.43
[INFO] [stderr]    Compiling icu_properties v2.1.2
[INFO] [stderr]    Compiling icu_normalizer v2.1.1
[INFO] [stderr]    Compiling toml_edit v0.22.27
[INFO] [stderr]    Compiling gix-revwalk v0.15.0
[INFO] [stderr]    Compiling gix-ref v0.47.0
[INFO] [stderr]    Compiling gix-pack v0.53.0
[INFO] [stderr]    Compiling gix-filter v0.13.0
[INFO] [stderr]    Compiling gix-traverse v0.41.0
[INFO] [stderr]    Compiling gix-revision v0.29.0
[INFO] [stderr]    Compiling gix-negotiate v0.15.0
[INFO] [stderr]    Compiling gix-index v0.35.0
[INFO] [stderr]    Compiling gix-refspec v0.25.0
[INFO] [stderr]    Compiling gix-worktree v0.36.0
[INFO] [stderr]    Compiling gix-config v0.40.0
[INFO] [stderr]    Compiling gix-discover v0.35.0
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling gix-odb v0.63.0
[INFO] [stderr]    Compiling gix-diff v0.46.0
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling gix-url v0.27.5
[INFO] [stderr]    Compiling toml v0.8.23
[INFO] [stderr]    Compiling gix-transport v0.42.3
[INFO] [stderr]    Compiling gix-credentials v0.24.5
[INFO] [stderr]    Compiling gix-submodule v0.14.0
[INFO] [stderr]    Compiling gix-protocol v0.45.3
[INFO] [stderr]    Compiling gix v0.66.0
[INFO] [stderr]    Compiling rusqlite v0.32.1
[INFO] [stderr]    Compiling claude-time-tracker v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: method `get_last_heartbeat` is never used
[INFO] [stdout]    --> src/db.rs:359:12
[INFO] [stdout]     |
[INFO] [stdout]  13 | impl Database {
[INFO] [stdout]     | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 359 |     pub fn get_last_heartbeat(&self, session_id: i64) -> Result<Option<Heartbeat>> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_git_repo` is never used
[INFO] [stdout]    --> src/git.rs:140:8
[INFO] [stdout]     |
[INFO] [stdout] 140 | pub fn is_git_repo(path: &Path) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 16s
[INFO] running `Command { std: "docker" "inspect" "7b7a0c209ed2c864a2aa6c1650058a3751c438567cda465b430ba59d10a596b8", 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" "7b7a0c209ed2c864a2aa6c1650058a3751c438567cda465b430ba59d10a596b8" "/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 claude-time-tracker v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: method `get_last_heartbeat` is never used
[INFO] [stdout]    --> src/db.rs:359:12
[INFO] [stdout]     |
[INFO] [stdout]  13 | impl Database {
[INFO] [stdout]     | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 359 |     pub fn get_last_heartbeat(&self, session_id: i64) -> Result<Option<Heartbeat>> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2.87s
[INFO] running `Command { std: "docker" "inspect" "7b7a0c209ed2c864a2aa6c1650058a3751c438567cda465b430ba59d10a596b8", 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" "7b7a0c209ed2c864a2aa6c1650058a3751c438567cda465b430ba59d10a596b8" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr] warning: method `get_last_heartbeat` is never used
[INFO] [stderr]    --> src/db.rs:359:12
[INFO] [stderr]     |
[INFO] [stderr]  13 | impl Database {
[INFO] [stderr]     | ------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 359 |     pub fn get_last_heartbeat(&self, session_id: i64) -> Result<Option<Heartbeat>> {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `claude-time-tracker` (bin "claude-time-tracker" test) generated 1 warning
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.28s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/claude_time_tracker-4ab02df9f3783bff)
[INFO] [stdout] 
[INFO] [stdout] running 12 tests
[INFO] [stdout] test config::tests::test_default_config ... ok
[INFO] [stdout] test config::tests::test_expand_path ... ok
[INFO] [stdout] test report::csv::tests::test_generate_csv ... ok
[INFO] [stdout] test report::json::tests::test_generate_json ... ok
[INFO] [stdout] test report::markdown::tests::test_generate_markdown ... ok
[INFO] [stdout] test report::tsv::tests::test_generate_tsv ... ok
[INFO] [stdout] test tracker::tests::test_calculate_active_time ... ok
[INFO] [stdout] test git::tests::test_is_git_repo ... ok
[INFO] [stdout] test tracker::tests::test_format_duration ... ok
[INFO] [stdout] test tracker::tests::test_extract_work_item ... ok
[INFO] [stdout] test db::tests::test_database_creation ... ok
[INFO] [stdout] test db::tests::test_session_lifecycle ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "7b7a0c209ed2c864a2aa6c1650058a3751c438567cda465b430ba59d10a596b8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7b7a0c209ed2c864a2aa6c1650058a3751c438567cda465b430ba59d10a596b8", kill_on_drop: false }`
[INFO] [stdout] 7b7a0c209ed2c864a2aa6c1650058a3751c438567cda465b430ba59d10a596b8
