[INFO] fetching crate kaguya 0.1.1... [INFO] testing kaguya-0.1.1 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate kaguya 0.1.1 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate kaguya 0.1.1 [INFO] finished tweaking crates.io crate kaguya 0.1.1 [INFO] tweaked toml for crates.io crate kaguya 0.1.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate kaguya 0.1.1 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate kaguya 0.1.1 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5b669752c22aec4d6af6328406ed5539c27a95a0d9f63c276b1c68fffe6089f8 [INFO] running `Command { std: "docker" "start" "-a" "5b669752c22aec4d6af6328406ed5539c27a95a0d9f63c276b1c68fffe6089f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5b669752c22aec4d6af6328406ed5539c27a95a0d9f63c276b1c68fffe6089f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b669752c22aec4d6af6328406ed5539c27a95a0d9f63c276b1c68fffe6089f8", kill_on_drop: false }` [INFO] [stdout] 5b669752c22aec4d6af6328406ed5539c27a95a0d9f63c276b1c68fffe6089f8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 24bfe49f5991e8f681f9668b2d4877282e415fa11e6c1005f919ef8ec5e3be63 [INFO] running `Command { std: "docker" "start" "-a" "24bfe49f5991e8f681f9668b2d4877282e415fa11e6c1005f919ef8ec5e3be63", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling find-msvc-tools v0.1.5 [INFO] [stderr] Compiling zerocopy v0.8.31 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling simd-adler32 v0.3.8 [INFO] [stderr] Compiling clap_lex v0.7.6 [INFO] [stderr] Compiling winnow v0.7.14 [INFO] [stderr] Compiling toml_datetime v0.7.5+spec-1.1.0 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling serde_spanned v1.0.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling filetime v0.2.26 [INFO] [stderr] Compiling toml_writer v1.0.6+spec-1.1.0 [INFO] [stderr] Compiling cc v1.2.50 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling fallible-iterator v0.3.0 [INFO] [stderr] Compiling dirs v6.0.0 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling clap_builder v4.5.53 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling flate2 v1.1.5 [INFO] [stderr] Compiling hashlink v0.11.0 [INFO] [stderr] Compiling libsqlite3-sys v0.36.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.9.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 clap_derive v4.5.49 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling toml_parser v1.0.6+spec-1.1.0 [INFO] [stderr] Compiling toml v0.9.10+spec-1.1.0 [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.81s [INFO] running `Command { std: "docker" "inspect" "24bfe49f5991e8f681f9668b2d4877282e415fa11e6c1005f919ef8ec5e3be63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24bfe49f5991e8f681f9668b2d4877282e415fa11e6c1005f919ef8ec5e3be63", kill_on_drop: false }` [INFO] [stdout] 24bfe49f5991e8f681f9668b2d4877282e415fa11e6c1005f919ef8ec5e3be63 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 48fe8017fea60505de225b07de2fc72405ba59cb3179ca40ae8dda1cc2163ee9 [INFO] running `Command { std: "docker" "start" "-a" "48fe8017fea60505de225b07de2fc72405ba59cb3179ca40ae8dda1cc2163ee9", 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.11s [INFO] running `Command { std: "docker" "inspect" "48fe8017fea60505de225b07de2fc72405ba59cb3179ca40ae8dda1cc2163ee9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48fe8017fea60505de225b07de2fc72405ba59cb3179ca40ae8dda1cc2163ee9", kill_on_drop: false }` [INFO] [stdout] 48fe8017fea60505de225b07de2fc72405ba59cb3179ca40ae8dda1cc2163ee9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0f4c0ac677e41bde716b5e21d30644b882b765c11b81f5d9093d966a2a9b5bce [INFO] running `Command { std: "docker" "start" "-a" "0f4c0ac677e41bde716b5e21d30644b882b765c11b81f5d9093d966a2a9b5bce", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/kaguya-5cc905f5a198c0c6) [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-c1ef03e6c6693877) [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/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/fs_utils/archive.rs - fs_utils::archive::decompress_from_tar_gz (line 55) ... FAILED [INFO] [stdout] test src/utils/path.rs - utils::path::shrink_path (line 18) ... FAILED [INFO] [stdout] test src/utils/path.rs - utils::path::transform_paths_option (line 95) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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/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/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]: cannot find module or crate `dir` in this scope [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] ---- 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] [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.42s [INFO] [stdout] [INFO] [stdout] all doctests ran in 1.73s; merged doctests compilation took 1.30s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "0f4c0ac677e41bde716b5e21d30644b882b765c11b81f5d9093d966a2a9b5bce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f4c0ac677e41bde716b5e21d30644b882b765c11b81f5d9093d966a2a9b5bce", kill_on_drop: false }` [INFO] [stdout] 0f4c0ac677e41bde716b5e21d30644b882b765c11b81f5d9093d966a2a9b5bce