chaotic-cx / nyx

Nix flake for "too much bleeding-edge" and unreleased packages (e.g., mesa_git, linux_cachyos, firefox_nightly, sway_git, gamescope_git). And experimental modules (e.g., HDR, duckdns).
https://nyx.chaotic.cx
MIT License
365 stars 37 forks source link

conduwuit_git: 20241025035102-16014e1 -> 20241117001513-26bcc7e #924

Closed PedroHLC closed 1 week ago

PedroHLC commented 1 week ago

:fish: What?

Experiments with the new fetcher to get rid of local Cargo.lock and pins.json.

:fishing_pole_and_fish: Why?

I did this to see if it would solve the current check failure, which it did not. Check fails with:

     Running unittests mod.rs (target/x86_64-unknown-linux-gnu/release/deps/conduit_database-433f034ebcd6ed71)

running 18 tests
thread 'tests::de_tuple_incomplete' panicked at src/database/tests.rs:209:58:
failed to deserialize: invalid length 1, expected a tuple of size 2
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
test tests::ser_json ... ok
test tests::de_json_array ... ok
test tests::de_tuple_ignore ... ok
test tests::de_tuple ... ok
test tests::de_tuple_incomplete - should panic ... ok
thread 'tests::de_tuple_invalid' panicked at src/database/tests.rs:197:58:
failed to deserialize: leading sigil is incorrect or missing
thread 'tests::de_tuple_incomplete_with_sep' panicked at src/database/tests.rs:220:58:
failed to deserialize: identifier or required part of it is empty
test tests::de_tuple_unfinished - should panic ... FAILED
test tests::de_tuple_invalid - should panic ... ok
test tests::ser_array ... ok
test tests::de_tuple_incomplete_with_sep - should panic ... ok
test tests::ser_complex ... ok
thread 'tests::ser_overflow' panicked at src/database/tests.rs:51:39:
called `Result::unwrap()` on an `Err` value: I/O error: failed to write whole buffer
test tests::de_json_raw_array ... ok
test tests::ser_json_macro ... ok
test tests::ser_json_raw - should panic ... FAILED
test tests::ser_json_raw_json - should panic ... FAILED
test tests::ser_json_value ... ok
test tests::ser_overflow - should panic ... ok
test tests::ser_str - should panic ... FAILED
test tests::ser_tuple ... ok

failures:

---- tests::de_tuple_unfinished stdout ----
note: test did not panic as expected
---- tests::ser_json_raw stdout ----
note: test did not panic as expected
---- tests::ser_json_raw_json stdout ----
note: test did not panic as expected
---- tests::ser_str stdout ----
note: test did not panic as expected

failures:
    tests::de_tuple_unfinished
    tests::ser_json_raw
    tests::ser_json_raw_json
    tests::ser_str

test result: FAILED. 14 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
github-actions[bot] commented 1 week ago

Thank you for contributing to nyx! Please run nix fmt on your code before submitting a pull request. Afterwards, please force push your changes.