Canonical home manager configurations #112
Draft
Garnix CI / package tinty [x86_64-linux]
failed
Jun 13, 2024 in 16s
Run results
Build failed
Details
Last 100 lines of logs:
|
9 | pub const REPO_NAME: &str = env!("CARGO_PKG_NAME");
| ^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: constant `CURRENT_SCHEME_FILE_NAME` is never used
--> tests/common/mod.rs:11:11
|
11 | pub const CURRENT_SCHEME_FILE_NAME: &str = "current_scheme";
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: constant `CURRENT_SCHEME_FILE_NAME` is never used
--> tests/common/mod.rs:11:11
|
11 | pub const CURRENT_SCHEME_FILE_NAME: &str = "current_scheme";
| ^^^^^^^^^^^^^^^^^^^^^^^^
warning: function `read_file_to_string` is never used
--> tests/common/mod.rs:77:8
|
77 | pub fn read_file_to_string(path: &Path) -> Result<String> {
| ^^^^^^^^^^^^^^^^^^^
warning: function `run_install_command` is never used
--> tests/common/mod.rs:32:8
|
32 | pub fn run_install_command(config_path: &Path, data_path: &Path) -> Result<()> {
| ^^^^^^^^^^^^^^^^^^^
warning: `tinty` (test "cli_install_subcommand_tests") generated 4 warnings (4 duplicates)
warning: `tinty` (test "cli_generatecompletion_subcommand_tests") generated 4 warnings (1 duplicate)
warning: `tinty` (test "cli_info_subcommand_tests") generated 2 warnings (2 duplicates)
warning: `tinty` (test "cli_list_subcommand_tests") generated 2 warnings
warning: `tinty` (test "cli_current_subcommand_tests") generated 3 warnings (3 duplicates)
warning: `tinty` (test "cli_update_subcommand_tests") generated 2 warnings (2 duplicates)
Finished release [optimized] target(s) in 0.63s
Running unittests src/main.rs (target/x86_64-unknown-linux-gnu/release/deps/tinty-da19f1569c13114e)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running tests/cli_apply_subcommand_tests.rs (target/x86_64-unknown-linux-gnu/release/deps/cli_apply_subcommand_tests-dbdc9ecff82a8c5d)
running 7 tests
test test_cli_apply_subcommand_hook_with_setup ... FAILED
test test_cli_apply_subcommand_with_setup ... FAILED
test test_cli_apply_subcommand_without_setup ... FAILED
test test_cli_apply_subcommand_invalid_scheme_system ... FAILED
test test_cli_apply_subcommand_invalid_scheme_name ... FAILED
test test_cli_apply_subcommand_root_hooks_with_setup ... FAILED
test test_cli_apply_subcommand_no_scheme_system ... FAILED
failures:
---- test_cli_apply_subcommand_hook_with_setup stdout ----
thread 'test_cli_apply_subcommand_hook_with_setup' panicked at tests/common/mod.rs:40:10:
Failed to execute install command: Os { code: 2, kind: NotFound, message: "No such file or directory" }
---- test_cli_apply_subcommand_with_setup stdout ----
thread 'test_cli_apply_subcommand_with_setup' panicked at tests/common/mod.rs:40:10:
Failed to execute install command: Os { code: 2, kind: NotFound, message: "No such file or directory" }
---- test_cli_apply_subcommand_without_setup stdout ----
thread 'test_cli_apply_subcommand_without_setup' panicked at tests/common/mod.rs:17:10:
Failed to execute command: Os { code: 2, kind: NotFound, message: "No such file or directory" }
---- test_cli_apply_subcommand_invalid_scheme_system stdout ----
thread 'test_cli_apply_subcommand_invalid_scheme_system' panicked at tests/common/mod.rs:17:10:
Failed to execute command: Os { code: 2, kind: NotFound, message: "No such file or directory" }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
---- test_cli_apply_subcommand_invalid_scheme_name stdout ----
thread 'test_cli_apply_subcommand_invalid_scheme_name' panicked at tests/common/mod.rs:40:10:
Failed to execute install command: Os { code: 2, kind: NotFound, message: "No such file or directory" }
---- test_cli_apply_subcommand_root_hooks_with_setup stdout ----
thread 'test_cli_apply_subcommand_root_hooks_with_setup' panicked at tests/common/mod.rs:40:10:
Failed to execute install command: Os { code: 2, kind: NotFound, message: "No such file or directory" }
---- test_cli_apply_subcommand_no_scheme_system stdout ----
thread 'test_cli_apply_subcommand_no_scheme_system' panicked at tests/common/mod.rs:17:10:
Failed to execute command: Os { code: 2, kind: NotFound, message: "No such file or directory" }
failures:
test_cli_apply_subcommand_hook_with_setup
test_cli_apply_subcommand_invalid_scheme_name
test_cli_apply_subcommand_invalid_scheme_system
test_cli_apply_subcommand_no_scheme_system
test_cli_apply_subcommand_root_hooks_with_setup
test_cli_apply_subcommand_with_setup
test_cli_apply_subcommand_without_setup
test result: FAILED. 0 passed; 7 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
error: test failed, to rerun pass `--test cli_apply_subcommand_tests`
Loading