==> Synchronizing chroot copy [/home/alhp/workspace/chroot/root] -> [build_26603e6f-d6ba-49ea-a7c8-e2e441e7383b]...done ==> Making package: shy 0.1.10-3.1 (Sun Dec 15 16:17:49 2024) ==> Retrieving sources... -> Downloading shy-0.1.10.tar.gz... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 123k 0 123k 0 0 221k 0 --:--:-- --:--:-- --:--:-- 221k ==> Validating source files with sha256sums... shy-0.1.10.tar.gz ... Passed ==> Making package: shy 0.1.10-3.1 (Sun Dec 15 15:17:51 2024) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... Package (3) New Version Net Change core/libedit 20240517_3.1-1 0.27 MiB extra/llvm-libs 18.1.8-4 128.31 MiB extra/rust 1:1.83.0-1 275.05 MiB Total Installed Size: 403.62 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing libedit... installing llvm-libs... installing rust... Optional dependencies for rust gdb: rust-gdb script lldb: rust-lldb script :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate... ==> Retrieving sources... -> Found shy-0.1.10.tar.gz ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources... -> Extracting shy-0.1.10.tar.gz with bsdtar ==> Starting build()... warning: `/startdir/src/shy-0.1.10/.cargo/config` is deprecated in favor of `config.toml` note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` Updating crates.io index Downloading crates ... Downloaded indexmap v1.3.2 Downloaded spin v0.5.2 Downloaded arc-swap v0.4.6 Downloaded numtoa v0.1.0 Downloaded fuzzy-matcher v0.3.5 Downloaded termion v1.5.5 Downloaded lazy_static v1.4.0 Downloaded flume v0.7.1 Downloaded autocfg v1.0.0 Downloaded thread_local v1.0.1 Downloaded signal-hook-registry v1.2.0 Downloaded libc v0.2.69 Downloaded signal-hook v0.1.14 Compiling libc v0.2.69 Compiling autocfg v1.0.0 Compiling arc-swap v0.4.6 Compiling lazy_static v1.4.0 Compiling numtoa v0.1.0 Compiling spin v0.5.2 Compiling thread_local v1.0.1 Compiling flume v0.7.1 Compiling fuzzy-matcher v0.3.5 Compiling indexmap v1.3.2 Compiling signal-hook-registry v1.2.0 Compiling termion v1.5.5 Compiling signal-hook v0.1.14 Compiling shy v0.1.10 (/startdir/src/shy-0.1.10) Finished `release` profile [optimized] target(s) in 8.33s ==> Starting check()... warning: `/startdir/src/shy-0.1.10/.cargo/config` is deprecated in favor of `config.toml` note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` Compiling shy v0.1.10 (/startdir/src/shy-0.1.10) Finished `release` profile [optimized] target(s) in 9.04s Running unittests src/lib.rs (target/release/deps/shy-c5c2d532ec30c621) running 2 tests test color::tests::test_colors ... ok test ssh_config::tests::test_config ... ok test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running unittests src/main.rs (target/release/deps/shy-2f2a2d9f6ae3c286) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests shy running 3 tests test src/color.rs - color::color_string (line 12) ... FAILED test src/color.rs - color::color (line 27) ... FAILED test src/color.rs - color::define_color (line 41) ... FAILED failures: ---- src/color.rs - color::color_string (line 12) stdout ---- error: cannot find macro `color_string` in this scope --> src/color.rs:13:9 | 3 | let s = color_string!("Red string", Red); | ^^^^^^^^^^^^ error: cannot find macro `color_string` in this scope --> src/color.rs:14:11 | 4 | let x = color_string!("Hyperlink-ish", Blue, Underline); | ^^^^^^^^^^^^ error: aborting due to 2 previous errors Couldn't compile the test. ---- src/color.rs - color::color (line 27) stdout ---- error: cannot find macro `color` in this scope --> src/color.rs:29:14 | 4 | o.push_str(color!(Blue)); | ^^^^^ error: cannot find macro `color` in this scope --> src/color.rs:30:14 | 5 | o.push_str(color!(Underline)); | ^^^^^ error: cannot find macro `color` in this scope --> src/color.rs:32:14 | 7 | o.push_str(color!(Reset)); | ^^^^^ error: aborting due to 3 previous errors Couldn't compile the test. ---- src/color.rs - color::define_color (line 41) stdout ---- error[E0425]: cannot find value `Red` in this scope --> src/color.rs:42:14 | 3 | define_color(Red, 91); | ^^^ not found in this scope | help: consider importing one of these unit structs | 2 + use shy::color::Red; | 2 + use termion::color::Red; | error[E0425]: cannot find value `Reset` in this scope --> src/color.rs:43:16 | 4 | define_color(Reset, 0); | ^^^^^ not found in this scope | help: consider importing one of these unit structs | 2 + use shy::color::Reset; | 2 + use termion::color::Reset; | 2 + use termion::style::Reset; | error[E0433]: failed to resolve: use of undeclared crate or module `color` --> src/color.rs:45:29 | 6 | println!("{}Error: {}{}", color::Red, msg, color::Reset); | ^^^^^ use of undeclared crate or module `color` | help: consider importing one of these modules | 2 + use shy::color; | 2 + use termion::color; | error[E0425]: cannot find value `msg` in this scope --> src/color.rs:45:41 | 6 | println!("{}Error: {}{}", color::Red, msg, color::Reset); | ^^^ not found in this scope error[E0433]: failed to resolve: use of undeclared crate or module `color` --> src/color.rs:45:46 | 6 | println!("{}Error: {}{}", color::Red, msg, color::Reset); | ^^^^^ use of undeclared crate or module `color` | help: consider importing one of these modules | 2 + use shy::color; | 2 + use termion::color; | error[E0425]: cannot find function `define_color` in this scope --> src/color.rs:42:1 | 3 | define_color(Red, 91); | ^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find function `define_color` in this scope --> src/color.rs:43:3 | 4 | define_color(Reset, 0); | ^^^^^^^^^^^^ not found in this scope error: aborting due to 7 previous errors Some errors have detailed explanations: E0425, E0433. For more information about an error, try `rustc --explain E0425`. Couldn't compile the test. failures: src/color.rs - color::color (line 27) src/color.rs - color::color_string (line 12) src/color.rs - color::define_color (line 41) test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s error: doctest failed, to rerun pass `--doc` ==> ERROR: A failure occurred in check(). Aborting... ==> ERROR: Build failed, check /home/alhp/workspace/chroot/build_26603e6f-d6ba-49ea-a7c8-e2e441e7383b/build