Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement floats #65

Draft
wants to merge 29 commits into
base: master
Choose a base branch
from

Extend Decimal fuzzer to cover more cases

19c83a2
Select commit
Loading
Failed to load commit list.
Draft

Implement floats #65

Extend Decimal fuzzer to cover more cases
19c83a2
Select commit
Loading
Failed to load commit list.
Garnix CI / check debugBuild [x86_64-linux] succeeded Aug 31, 2024 in 18s

Run results

Build succeeded

Details

Last 100 lines of logs:

https://cache.garnix.io/mz8zzsfdiczyhwxkc194za5bzldll5ml.narinfo
https://cache.garnix.io/4kmgg7d8skhsg2bzy6a27y7awrsbxi77.narinfo
https://cache.garnix.io/gzi82xv1ynpznychazj9r9nj31y0sxb2.narinfo
https://cache.nixos.org/nar/0g3g1znrwwaz8hrykdfhw9wmlfq6xq6y578vsl7dv0yc3nyhy4c0.nar.xz
https://cache.nixos.org/42lknvcdgyndpbyr624ipnnn7bd8nnsx.narinfo
https://cache.garnix.io/42lknvcdgyndpbyr624ipnnn7bd8nnsx.narinfo
@nix {"action":"setPhase","phase":"unpackPhase"}
unpacking sources
unpacking source archive /nix/store/64066m1k59hw9c3rd0aly12841pzm84m-source
source root is source
Executing cargoSetupPostUnpackHook
Finished cargoSetupPostUnpackHook
@nix {"action":"setPhase","phase":"patchPhase"}
patching sources
Executing cargoSetupPostPatchHook
Validating consistency between /build/source/Cargo.lock and /build/cargo-vendor-dir/Cargo.lock
Finished cargoSetupPostPatchHook
@nix {"action":"setPhase","phase":"updateAutotoolsGnuConfigScriptsPhase"}
updateAutotoolsGnuConfigScriptsPhase
@nix {"action":"setPhase","phase":"configurePhase"}
configuring
@nix {"action":"setPhase","phase":"buildPhase"}
building
Executing cargoBuildHook
++ env CC_x86_64-unknown-linux-gnu=/nix/store/bxic6j2whyg3z4h2x3xjyqgp7fl83bnp-gcc-wrapper-12.3.0/bin/cc CXX_x86_64-unknown-linux-gnu=/nix/store/bxic6j2whyg3z4h2x3xjyqgp7fl83bnp-gcc-wrapper-12.3.0/bin/c++ CC_x86_64-unknown-linux-gnu=/nix/store/bxic6j2whyg3z4h2x3xjyqgp7fl83bnp-gcc-wrapper-12.3.0/bin/cc CXX_x86_64-unknown-linux-gnu=/nix/store/bxic6j2whyg3z4h2x3xjyqgp7fl83bnp-gcc-wrapper-12.3.0/bin/c++ cargo build -j 28 --target x86_64-unknown-linux-gnu --frozen --release
   Compiling unicode-width v0.1.11
   Compiling rcl v0.5.0 (/build/source)
    Finished release [optimized] target(s) in 7.29s
Executing cargoInstallPostBuildHook
Finished cargoInstallPostBuildHook
Finished cargoBuildHook
@nix {"action":"setPhase","phase":"checkPhase"}
running tests
Executing cargoCheckHook
++ cargo test -j 28 --release --target x86_64-unknown-linux-gnu --frozen -- --test-threads=28
   Compiling unicode-width v0.1.11
   Compiling rcl v0.5.0 (/build/source)
    Finished release [optimized] target(s) in 5.77s
     Running unittests src/lib.rs (target/x86_64-unknown-linux-gnu/release/deps/rcl-663a8213bdba6e70)

running 32 tests
test cli::test::parse_cmd_highlight ... ok
test cli::test::parse_cmd_build ... ok
test cli::test::parse_cmd_handles_stdin_and_double_dash ... ok
test cli::test::parse_cmd_help_version ... ok
test cli::test::parse_cmd_query ... ok
test cli::test::parse_cmd_eval_fails_on_invalid_usage ... ok
test cli::test::parse_cmd_fmt ... ok
test cli::test::parse_cmd_eval ... ok
test decimal::test::decimal_format_switches_to_scientific ... ok
test decimal::test::decimal_format_handles_negative_numbers ... ok
test decimal::test::decimal_format_works ... ok
test decimal::test::decimal_ord_works ... ok
test decimal::test::decimal_parse_str_parses_decimal ... ok
test decimal::test::decimal_parse_str_parses_decimal_imprecise ... ok
test decimal::test::decimal_parse_str_parses_exponent ... ok
test decimal::test::decimal_parse_str_parses_int ... ok
test pprint::test::format_array_wide_tall ... ok
test pprint::test::format_wide_in_tall ... ok
test source::test::span_is_two_usizes ... ok
test pprint::test::hard_break_forces_tall_mode ... ok
test source::test::span_roundtrips ... ok
test string::test::escape_json_handles_predefined_escapes ... ok
test string::test::escape_json_handles_ascii_control ... ok
test string::test::unescape_does_not_crash_on_early_end ... ok
test string::test::parse_string_does_not_slice_code_points ... ok
test string::test::count_common_leading_spaces_handles_blank_lines ... ok
test string::test::unescape_does_not_slice_code_points ... ok
test string::test::unescape_handles_json_escape_sequences ... ok
test string::test::parsing_triple_string_works ... ok
test string::test::unescape_handles_escaped_backslash_at_end ... ok
test types::test::function_ord_ignores_names ... ok
test decimal::test::decimal_parse_after_format_is_identity ... ok

test result: ok. 32 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running unittests src/main.rs (target/x86_64-unknown-linux-gnu/release/deps/rcl-61ca2b645294cbc2)

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

   Doc-tests rcl

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

Finished cargoCheckHook
@nix {"action":"setPhase","phase":"installPhase"}
installing
Executing cargoInstallHook
Finished cargoInstallHook
@nix {"action":"setPhase","phase":"fixupPhase"}
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/42lknvcdgyndpbyr624ipnnn7bd8nnsx-check-test
shrinking /nix/store/42lknvcdgyndpbyr624ipnnn7bd8nnsx-check-test/bin/rcl
checking for references to /build/ in /nix/store/42lknvcdgyndpbyr624ipnnn7bd8nnsx-check-test...
patching script interpreter paths in /nix/store/42lknvcdgyndpbyr624ipnnn7bd8nnsx-check-test
stripping (with command strip and flags -S -p) in  /nix/store/42lknvcdgyndpbyr624ipnnn7bd8nnsx-check-test/bin