[INFO] cloning repository https://github.com/AllenWu233/kaguya
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AllenWu233/kaguya" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAllenWu233%2Fkaguya", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAllenWu233%2Fkaguya'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] da6d11c4be7c49a58fa56091c4ac36cb96a4d60f
[INFO] testing AllenWu233/kaguya against master#2fd6efc32704647e64d3d646d21c4c68eae100e4 for pr-149852-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAllenWu233%2Fkaguya" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/AllenWu233/kaguya
[INFO] finished tweaking git repo https://github.com/AllenWu233/kaguya
[INFO] tweaked toml for git repo https://github.com/AllenWu233/kaguya written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/AllenWu233/kaguya on toolchain 2fd6efc32704647e64d3d646d21c4c68eae100e4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/AllenWu233/kaguya 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" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded libredox v0.1.11
[INFO] [stderr]   Downloaded redox_syscall v0.6.0
[INFO] [stderr]   Downloaded rusqlite v0.38.0
[INFO] [stderr]   Downloaded sqlite-wasm-rs v0.5.1
[INFO] [stderr]   Downloaded libsqlite3-sys v0.36.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6709f0d6d3c5def613b46eda43c67af1a7f62ea2fcf799c5ea7adfa2e6b68f47
[INFO] running `Command { std: "docker" "start" "-a" "6709f0d6d3c5def613b46eda43c67af1a7f62ea2fcf799c5ea7adfa2e6b68f47", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6709f0d6d3c5def613b46eda43c67af1a7f62ea2fcf799c5ea7adfa2e6b68f47", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6709f0d6d3c5def613b46eda43c67af1a7f62ea2fcf799c5ea7adfa2e6b68f47", kill_on_drop: false }`
[INFO] [stdout] 6709f0d6d3c5def613b46eda43c67af1a7f62ea2fcf799c5ea7adfa2e6b68f47
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8e6a6944342d7cd4aaa92011a0a7c12572c6637dd7f86d0c17e7eab1e12c1dad
[INFO] running `Command { std: "docker" "start" "-a" "8e6a6944342d7cd4aaa92011a0a7c12572c6637dd7f86d0c17e7eab1e12c1dad", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.178
[INFO] [stderr]    Compiling typenum v1.19.0
[INFO] [stderr]    Compiling rustix v1.1.3
[INFO] [stderr]    Compiling cc v1.2.50
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling foldhash v0.2.0
[INFO] [stderr]    Compiling syn v2.0.111
[INFO] [stderr]    Compiling clap_lex v0.7.6
[INFO] [stderr]    Compiling simd-adler32 v0.3.8
[INFO] [stderr]    Compiling winnow v0.7.14
[INFO] [stderr]    Compiling serde_spanned v1.0.4
[INFO] [stderr]    Compiling toml_datetime v0.7.5+spec-1.1.0
[INFO] [stderr]    Compiling fallible-iterator v0.3.0
[INFO] [stderr]    Compiling toml_writer v1.0.6+spec-1.1.0
[INFO] [stderr]    Compiling hashbrown v0.16.1
[INFO] [stderr]    Compiling clap_builder v4.5.53
[INFO] [stderr]    Compiling miniz_oxide v0.8.9
[INFO] [stderr]    Compiling hashlink v0.11.0
[INFO] [stderr]    Compiling flate2 v1.1.5
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling filetime v0.2.26
[INFO] [stderr]    Compiling dirs-sys v0.5.0
[INFO] [stderr]    Compiling rand_core v0.9.3
[INFO] [stderr]    Compiling dirs v6.0.0
[INFO] [stderr]    Compiling libsqlite3-sys v0.36.0
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[INFO] [stderr]    Compiling toml_parser v1.0.6+spec-1.1.0
[INFO] [stderr]    Compiling rand v0.9.2
[INFO] [stderr]    Compiling xattr v1.6.1
[INFO] [stderr]    Compiling tar v0.4.44
[INFO] [stderr]    Compiling crypto-common v0.1.7
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling toml v0.9.10+spec-1.1.0
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]    Compiling clap_derive v4.5.49
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling thiserror v2.0.17
[INFO] [stderr]    Compiling clap v4.5.53
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling rusqlite v0.38.0
[INFO] [stderr]    Compiling kaguya v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.97s
[INFO] running `Command { std: "docker" "inspect" "8e6a6944342d7cd4aaa92011a0a7c12572c6637dd7f86d0c17e7eab1e12c1dad", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8e6a6944342d7cd4aaa92011a0a7c12572c6637dd7f86d0c17e7eab1e12c1dad", kill_on_drop: false }`
[INFO] [stdout] 8e6a6944342d7cd4aaa92011a0a7c12572c6637dd7f86d0c17e7eab1e12c1dad
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c0018aa40b706eeb973a373b199560e8be437204dd84fedf03100618535cda6f
[INFO] running `Command { std: "docker" "start" "-a" "c0018aa40b706eeb973a373b199560e8be437204dd84fedf03100618535cda6f", kill_on_drop: false }`
[INFO] [stderr]    Compiling kaguya v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.37s
[INFO] running `Command { std: "docker" "inspect" "c0018aa40b706eeb973a373b199560e8be437204dd84fedf03100618535cda6f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c0018aa40b706eeb973a373b199560e8be437204dd84fedf03100618535cda6f", kill_on_drop: false }`
[INFO] [stdout] c0018aa40b706eeb973a373b199560e8be437204dd84fedf03100618535cda6f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 4c6b3205eb57ba6d0c1692eb4c41ef4fdca26bbc99853620edca28714a38aa34
[INFO] running `Command { std: "docker" "start" "-a" "4c6b3205eb57ba6d0c1692eb4c41ef4fdca26bbc99853620edca28714a38aa34", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/kaguya-5cc905f5a198c0c6)
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/kaguya-c1ef03e6c6693877)
[INFO] [stdout] running 0 tests
[INFO] [stderr]    Doc-tests kaguya
[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 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 5 tests
[INFO] [stdout] test src/utils/path.rs - utils::path::transform_paths_option (line 95) ... FAILED
[INFO] [stdout] test src/fs_utils/archive.rs - fs_utils::archive::decompress_from_tar_gz (line 55) ... FAILED
[INFO] [stdout] test src/fs_utils/archive.rs - fs_utils::archive::compress_to_tar_gz (line 16) ... FAILED
[INFO] [stdout] test src/fs_utils/restore.rs - fs_utils::restore::restore_archive (line 16) ... FAILED
[INFO] [stdout] test src/utils/path.rs - utils::path::shrink_path (line 18) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/utils/path.rs - utils::path::transform_paths_option (line 95) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `transform_paths_option` in this scope
[INFO] [stdout]   --> src/utils/path.rs:97:17
[INFO] [stdout]    |
[INFO] [stdout] 97 | let abs_paths = transform_paths_option(paths, to_absolute_path)?;
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 95 + use kaguya::utils::path::transform_paths_option;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `paths` in this scope
[INFO] [stdout]   --> src/utils/path.rs:97:40
[INFO] [stdout]    |
[INFO] [stdout] 97 | let abs_paths = transform_paths_option(paths, to_absolute_path)?;
[INFO] [stdout]    |                                        ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `to_absolute_path` in this scope
[INFO] [stdout]   --> src/utils/path.rs:97:47
[INFO] [stdout]    |
[INFO] [stdout] 97 | let abs_paths = transform_paths_option(paths, to_absolute_path)?;
[INFO] [stdout]    |                                               ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 95 + use kaguya::utils::path::to_absolute_path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `transform_paths_option` in this scope
[INFO] [stdout]    --> src/utils/path.rs:100:19
[INFO] [stdout]     |
[INFO] [stdout] 100 | let short_paths = transform_paths_option(paths, shrink_path)?;
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]  95 + use kaguya::utils::path::transform_paths_option;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `paths` in this scope
[INFO] [stdout]    --> src/utils/path.rs:100:42
[INFO] [stdout]     |
[INFO] [stdout] 100 | let short_paths = transform_paths_option(paths, shrink_path)?;
[INFO] [stdout]     |                                          ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `shrink_path` in this scope
[INFO] [stdout]    --> src/utils/path.rs:100:49
[INFO] [stdout]     |
[INFO] [stdout] 100 | let short_paths = transform_paths_option(paths, shrink_path)?;
[INFO] [stdout]     |                                                 ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]  95 + use kaguya::utils::path::shrink_path;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/fs_utils/archive.rs - fs_utils::archive::decompress_from_tar_gz (line 55) stdout ----
[INFO] [stdout] error: expected `;`, found keyword `let`
[INFO] [stdout]   --> src/fs_utils/archive.rs:57:90
[INFO] [stdout]    |
[INFO] [stdout] 57 | let src: PathBuf = "~/.local/share/kaguya/vault/backups/2025-12-25_10-00-00/saves.tar.gz"
[INFO] [stdout]    |                                                                                          ^ help: add `;` here
[INFO] [stdout] 58 | let dst: PathBuf = "~/games/game-a"
[INFO] [stdout]    | --- unexpected token
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found `decompress_from_tar_gz`
[INFO] [stdout]   --> src/fs_utils/archive.rs:58:36
[INFO] [stdout]    |
[INFO] [stdout] 58 | let dst: PathBuf = "~/games/game-a"
[INFO] [stdout]    |                                    ^ help: add `;` here
[INFO] [stdout] ...
[INFO] [stdout] 61 | decompress_from_tar_gz(src, dst)?;
[INFO] [stdout]    | ---------------------- unexpected token
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `PathBuf` in this scope
[INFO] [stdout]   --> src/fs_utils/archive.rs:57:10
[INFO] [stdout]    |
[INFO] [stdout] 57 | let src: PathBuf = "~/.local/share/kaguya/vault/backups/2025-12-25_10-00-00/saves.tar.gz"
[INFO] [stdout]    |          ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 54 + use std::path::PathBuf;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `PathBuf` in this scope
[INFO] [stdout]   --> src/fs_utils/archive.rs:58:10
[INFO] [stdout]    |
[INFO] [stdout] 58 | let dst: PathBuf = "~/games/game-a"
[INFO] [stdout]    |          ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 54 + use std::path::PathBuf;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `decompress_from_tar_gz` in this scope
[INFO] [stdout]   --> src/fs_utils/archive.rs:61:1
[INFO] [stdout]    |
[INFO] [stdout] 61 | decompress_from_tar_gz(src, dst)?;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 54 + use kaguya::fs_utils::archive::decompress_from_tar_gz;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/fs_utils/archive.rs - fs_utils::archive::compress_to_tar_gz (line 16) stdout ----
[INFO] [stdout] error: expected `;`, found keyword `let`
[INFO] [stdout]   --> src/fs_utils/archive.rs:18:42
[INFO] [stdout]    |
[INFO] [stdout] 18 | let src: PathBuf = "~/games/game-a/saves"
[INFO] [stdout]    |                                          ^ help: add `;` here
[INFO] [stdout] 19 | let dst: PathBuf = "~/.local/share/kaguya/vault/backups/2025-12-25_10-00-00/saves.tar.gz"
[INFO] [stdout]    | --- unexpected token
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found `compress_to_tar_gz`
[INFO] [stdout]   --> src/fs_utils/archive.rs:19:90
[INFO] [stdout]    |
[INFO] [stdout] 19 | let dst: PathBuf = "~/.local/share/kaguya/vault/backups/2025-12-25_10-00-00/saves.tar.gz"
[INFO] [stdout]    |                                                                                          ^ help: add `;` here
[INFO] [stdout] 20 |
[INFO] [stdout] 21 | compress_to_tar_gz(src, dst);
[INFO] [stdout]    | ------------------ unexpected token
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `PathBuf` in this scope
[INFO] [stdout]   --> src/fs_utils/archive.rs:18:10
[INFO] [stdout]    |
[INFO] [stdout] 18 | let src: PathBuf = "~/games/game-a/saves"
[INFO] [stdout]    |          ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 15 + use std::path::PathBuf;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `PathBuf` in this scope
[INFO] [stdout]   --> src/fs_utils/archive.rs:19:10
[INFO] [stdout]    |
[INFO] [stdout] 19 | let dst: PathBuf = "~/.local/share/kaguya/vault/backups/2025-12-25_10-00-00/saves.tar.gz"
[INFO] [stdout]    |          ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 15 + use std::path::PathBuf;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `compress_to_tar_gz` in this scope
[INFO] [stdout]   --> src/fs_utils/archive.rs:21:1
[INFO] [stdout]    |
[INFO] [stdout] 21 | compress_to_tar_gz(src, dst);
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 15 + use kaguya::fs_utils::archive::compress_to_tar_gz;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/fs_utils/restore.rs - fs_utils::restore::restore_archive (line 16) stdout ----
[INFO] [stdout] error: expected `;`, found keyword `let`
[INFO] [stdout]   --> src/fs_utils/restore.rs:18:90
[INFO] [stdout]    |
[INFO] [stdout] 18 | let src: PathBuf = "~/.local/share/kaguya/vault/backups/2025-12-25_10-00-00/saves.tar.gz"
[INFO] [stdout]    |                                                                                          ^ help: add `;` here
[INFO] [stdout] 19 | let dst: PathBuf = "~/games/game-a/saves"
[INFO] [stdout]    | --- unexpected token
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found `restore_archive`
[INFO] [stdout]   --> src/fs_utils/restore.rs:19:42
[INFO] [stdout]    |
[INFO] [stdout] 19 | let dst: PathBuf = "~/games/game-a/saves"
[INFO] [stdout]    |                                          ^ help: add `;` here
[INFO] [stdout] ...
[INFO] [stdout] 22 | restore_archive(src, dst)?;
[INFO] [stdout]    | --------------- unexpected token
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `PathBuf` in this scope
[INFO] [stdout]   --> src/fs_utils/restore.rs:18:10
[INFO] [stdout]    |
[INFO] [stdout] 18 | let src: PathBuf = "~/.local/share/kaguya/vault/backups/2025-12-25_10-00-00/saves.tar.gz"
[INFO] [stdout]    |          ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 15 + use std::path::PathBuf;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `PathBuf` in this scope
[INFO] [stdout]   --> src/fs_utils/restore.rs:19:10
[INFO] [stdout]    |
[INFO] [stdout] 19 | let dst: PathBuf = "~/games/game-a/saves"
[INFO] [stdout]    |          ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 15 + use std::path::PathBuf;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `restore_archive` in this scope
[INFO] [stdout]   --> src/fs_utils/restore.rs:22:1
[INFO] [stdout]    |
[INFO] [stdout] 22 | restore_archive(src, dst)?;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 15 + use kaguya::fs_utils::restore::restore_archive;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/utils/path.rs - utils::path::shrink_path (line 18) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `shrink_path` in this scope
[INFO] [stdout]   --> src/utils/path.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | assert_eq!(shrink_path(&path), PathBuf::from("~/Documents"));
[INFO] [stdout]    |            ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 17 + use kaguya::utils::path::shrink_path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `shrink_path` in this scope
[INFO] [stdout]   --> src/utils/path.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 27 | assert_eq!(shrink_path(&path), PathBuf::from("~/.config/kaguya"));
[INFO] [stdout]    |            ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 17 + use kaguya::utils::path::shrink_path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `dir`
[INFO] [stdout]   --> src/utils/path.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | let home = dir::home_dir().unwrap();
[INFO] [stdout]    |            ^^^ use of unresolved module or unlinked crate `dir`
[INFO] [stdout]    |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 21 | let home = dirs::home_dir().unwrap();
[INFO] [stdout]    |               +
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/fs_utils/archive.rs - fs_utils::archive::compress_to_tar_gz (line 16)
[INFO] [stdout]     src/fs_utils/archive.rs - fs_utils::archive::decompress_from_tar_gz (line 55)
[INFO] [stdout]     src/fs_utils/restore.rs - fs_utils::restore::restore_archive (line 16)
[INFO] [stdout]     src/utils/path.rs - utils::path::shrink_path (line 18)
[INFO] [stdout]     src/utils/path.rs - utils::path::transform_paths_option (line 95)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.50s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 0.74s; merged doctests compilation took 0.23s
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "4c6b3205eb57ba6d0c1692eb4c41ef4fdca26bbc99853620edca28714a38aa34", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4c6b3205eb57ba6d0c1692eb4c41ef4fdca26bbc99853620edca28714a38aa34", kill_on_drop: false }`
[INFO] [stdout] 4c6b3205eb57ba6d0c1692eb4c41ef4fdca26bbc99853620edca28714a38aa34
