[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 1.94.0 for beta-1.95-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAllenWu233%2Fkaguya" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-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-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/AllenWu233/kaguya on toolchain 1.94.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.94.0" "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" "+1.94.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded toml v0.9.10+spec-1.1.0
[INFO] [stderr]   Downloaded redox_syscall v0.6.0
[INFO] [stderr]   Downloaded sqlite-wasm-rs v0.5.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.94.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6975d1ffb3af4b0ead4d3ec122eed083422cf0c8147218294e37884f71ee539a
[INFO] running `Command { std: "docker" "start" "-a" "6975d1ffb3af4b0ead4d3ec122eed083422cf0c8147218294e37884f71ee539a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6975d1ffb3af4b0ead4d3ec122eed083422cf0c8147218294e37884f71ee539a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6975d1ffb3af4b0ead4d3ec122eed083422cf0c8147218294e37884f71ee539a", kill_on_drop: false }`
[INFO] [stdout] 6975d1ffb3af4b0ead4d3ec122eed083422cf0c8147218294e37884f71ee539a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=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.94.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d5c7b96e7ef18131ba57bd1cb0f30dc9a964ed572e4a39d32cd6f7e143588faa
[INFO] running `Command { std: "docker" "start" "-a" "d5c7b96e7ef18131ba57bd1cb0f30dc9a964ed572e4a39d32cd6f7e143588faa", kill_on_drop: false }`
[INFO] [stderr]    Compiling zerocopy v0.8.31
[INFO] [stderr]    Compiling cc v1.2.50
[INFO] [stderr]    Compiling rustix v1.1.3
[INFO] [stderr]    Compiling linux-raw-sys v0.11.0
[INFO] [stderr]    Compiling clap_lex v0.7.6
[INFO] [stderr]    Compiling syn v2.0.111
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling hashbrown v0.16.1
[INFO] [stderr]    Compiling iana-time-zone v0.1.64
[INFO] [stderr]    Compiling winnow v0.7.14
[INFO] [stderr]    Compiling crypto-common v0.1.7
[INFO] [stderr]    Compiling dirs-sys v0.5.0
[INFO] [stderr]    Compiling toml_datetime v0.7.5+spec-1.1.0
[INFO] [stderr]    Compiling serde_spanned v1.0.4
[INFO] [stderr]    Compiling filetime v0.2.26
[INFO] [stderr]    Compiling toml_writer v1.0.6+spec-1.1.0
[INFO] [stderr]    Compiling clap_builder v4.5.53
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]    Compiling rand_core v0.9.3
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling fallible-iterator v0.3.0
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling fallible-streaming-iterator v0.1.9
[INFO] [stderr]    Compiling dirs v6.0.0
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling hashlink v0.11.0
[INFO] [stderr]    Compiling libsqlite3-sys v0.36.0
[INFO] [stderr]    Compiling toml_parser v1.0.6+spec-1.1.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling toml v0.9.10+spec-1.1.0
[INFO] [stderr]    Compiling xattr v1.6.1
[INFO] [stderr]    Compiling tar v0.4.44
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[INFO] [stderr]    Compiling rand v0.9.2
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling clap_derive v4.5.49
[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 26.02s
[INFO] running `Command { std: "docker" "inspect" "d5c7b96e7ef18131ba57bd1cb0f30dc9a964ed572e4a39d32cd6f7e143588faa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d5c7b96e7ef18131ba57bd1cb0f30dc9a964ed572e4a39d32cd6f7e143588faa", kill_on_drop: false }`
[INFO] [stdout] d5c7b96e7ef18131ba57bd1cb0f30dc9a964ed572e4a39d32cd6f7e143588faa
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=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.94.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b173d1031b440f011ef9fdfe7fb4188a29af782bb70f257e498f991b05edb6bf
[INFO] running `Command { std: "docker" "start" "-a" "b173d1031b440f011ef9fdfe7fb4188a29af782bb70f257e498f991b05edb6bf", kill_on_drop: false }`
[INFO] [stderr]    Compiling kaguya v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.98s
[INFO] running `Command { std: "docker" "inspect" "b173d1031b440f011ef9fdfe7fb4188a29af782bb70f257e498f991b05edb6bf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b173d1031b440f011ef9fdfe7fb4188a29af782bb70f257e498f991b05edb6bf", kill_on_drop: false }`
[INFO] [stdout] b173d1031b440f011ef9fdfe7fb4188a29af782bb70f257e498f991b05edb6bf
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=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.94.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] aaf12035e6993f83cdc273e7def27732eb731e1d52d57cada044958cc6ec944d
[INFO] running `Command { std: "docker" "start" "-a" "aaf12035e6993f83cdc273e7def27732eb731e1d52d57cada044958cc6ec944d", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/kaguya-c9bd1ad8abeabca5)
[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] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/kaguya-eba98e5393b767d6)
[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] [stderr]    Doc-tests kaguya
[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/restore.rs - fs_utils::restore::restore_archive (line 16) ... FAILED
[INFO] [stdout] test src/fs_utils/archive.rs - fs_utils::archive::compress_to_tar_gz (line 16) ... FAILED
[INFO] [stdout] test src/utils/path.rs - utils::path::shrink_path (line 18) ... FAILED
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[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/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/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/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.26s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 0.45s; merged doctests compilation took 0.17s
[INFO] running `Command { std: "docker" "inspect" "aaf12035e6993f83cdc273e7def27732eb731e1d52d57cada044958cc6ec944d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "aaf12035e6993f83cdc273e7def27732eb731e1d52d57cada044958cc6ec944d", kill_on_drop: false }`
[INFO] [stdout] aaf12035e6993f83cdc273e7def27732eb731e1d52d57cada044958cc6ec944d
