==> Synchronizing chroot copy [/home/alhp/workspace/chroot/root] -> [build_1960f5b8-8df5-48cd-a31b-88b4c2f5969b]...done ==> Making package: shy 0.1.10-3.1 (Mon Mar 11 19:05:18 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 245k 0 --:--:-- --:--:-- --:--:-- 245k ==> Validating source files with sha256sums... shy-0.1.10.tar.gz ... Passed ==> Making package: shy 0.1.10-3.1 (Mon Mar 11 19:05:20 2024) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (3) New Version Net Change core/libedit 20230828_3.1-1 0.28 MiB extra/llvm-libs 17.0.6-2 128.48 MiB extra/rust 1:1.76.0-2 260.56 MiB Total Installed Size: 389.32 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 [?25h==> 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()... Updating crates.io index Downloading crates ... Downloaded numtoa v0.1.0 Downloaded indexmap v1.3.2 Downloaded autocfg v1.0.0 Downloaded termion v1.5.5 Downloaded thread_local v1.0.1 Downloaded lazy_static v1.4.0 Downloaded spin v0.5.2 Downloaded signal-hook-registry v1.2.0 Downloaded arc-swap v0.4.6 Downloaded fuzzy-matcher v0.3.5 Downloaded flume v0.7.1 Downloaded signal-hook v0.1.14 Downloaded libc v0.2.69 Compiling libc v0.2.69 Compiling autocfg v1.0.0 Compiling lazy_static v1.4.0 Compiling arc-swap v0.4.6 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 signal-hook-registry v1.2.0 Compiling termion v1.5.5 Compiling signal-hook v0.1.14 Compiling indexmap v1.3.2 Compiling shy v0.1.10 (/startdir/src/shy-0.1.10) Finished release [optimized] target(s) in 11.85s ==> Starting check()... Compiling shy v0.1.10 (/startdir/src/shy-0.1.10) Finished release [optimized] target(s) in 9.28s Running unittests src/lib.rs (target/release/deps/shy-91e0c5cccd135dac) 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-e261ef494819e3af) 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 items | 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 items | 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 items | 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 items | 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.02s error: doctest failed, to rerun pass `--doc` ==> ERROR: A failure occurred in check(). Aborting... ==> ERROR: Build failed, check /home/alhp/workspace/chroot/build_1960f5b8-8df5-48cd-a31b-88b4c2f5969b/build