Package Details: steam-tui-git r35.5741b1f-2

Git Clone URL: https://aur.archlinux.org/steam-tui-git.git (read-only, click to copy)
Package Base: steam-tui-git
Description: Rust TUI client for steamcmd
Upstream URL: https://github.com/dmadisetti/steam-tui
Licenses: MIT
Conflicts: steam-tui
Submitter: Junker
Maintainer: None
Last Packager: Junker
Votes: 0
Popularity: 0.000000
First Submitted: 2023-09-17 16:21 (UTC)
Last Updated: 2023-09-17 16:49 (UTC)

Latest Comments

dreieck commented on 2025-01-19 13:53 (UTC)

check() fails for me:

==> Starting check()...
   Compiling steam-tui v0.3.0 (/var/cache/makepkg/build/steam-tui-git/src/steam-tui)
    Finished `release` profile [optimized] target(s) in 2.98s
     Running unittests src/lib.rs (release/deps/steam_tui-ee11a24c44f48ee6)

running 9 tests
test util::parser::tests::test_parse_update_basic ... ok
test util::parser::tests::test_parse_update_continue ... ok
test util::parser::tests::test_parse_data ... ok
test util::parser::tests::test_parse_update_fail ... ok
test util::parser::tests::test_parse_update_sucess ... ok
test util::parser::tests::test_parse_update ... ok
test client::tests::test_blank_login ... ok
test client::tests::test_implicit_line_ending_impure ... FAILED
test client::tests::test_polluted_data_impure ... FAILED

failures:

---- client::tests::test_implicit_line_ending_impure stdout ----
thread 'client::tests::test_implicit_line_ending_impure' panicked at src/client.rs:672:9:
assertion failed: &receiver.recv().expect("Channel dies").contains(&"Command not found: doesn't".to_string())

---- client::tests::test_polluted_data_impure stdout ----
thread 'client::tests::test_polluted_data_impure' panicked at src/client.rs:657:9:
assertion failed: &receiver.recv().expect("Channel dies").contains(&"pollution".to_string())
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace


failures:
    client::tests::test_implicit_line_ending_impure
    client::tests::test_polluted_data_impure

test result: FAILED. 7 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.90s

error: test failed, to rerun pass `--lib`
==> ERROR: A failure occurred in check().

Regards!

dreieck commented on 2025-01-19 13:52 (UTC) (edited on 2025-01-19 13:52 (UTC) by dreieck)

This PKGBUILD downloads stuff in build().

This should not happen.

Please move all the rust specific downloads, that cannot be handled via the source or depends or makedepends arrays, into prepare(), so that build() can run on set-up sources in an offline environment.

Regards and thanks for the package!

==> Starting build()...
    Updating crates.io index
  Downloaded adler32 v1.2.0
  Downloaded want v0.3.0
  Downloaded futures-io v0.3.21
[...]
  Downloaded encoding_rs v0.8.31
  Downloaded tiff v0.7.2
  Downloaded 106 crates (11.8 MB) in 1m 20s (largest was `tiff` at 1.4 MB)