total: 56, pass: 44, fail: 12
impl `--schema` in `rag query`
elapsed time: 285,060 ms
#####################
### path: command ###
/home/baehyunsol/Documents/ragit/crates/pdl: cargo test
### status_code ###
101
### stdout ###
### stderr ###
Updating crates.io index
Locking 196 packages to latest Rust 1.87.0-nightly compatible versions
Compiling proc-macro2 v1.0.95
Compiling unicode-ident v1.0.18
Compiling cfg-if v1.0.0
Compiling memchr v2.7.4
Compiling libc v0.2.172
Compiling autocfg v1.4.0
Compiling crossbeam-utils v0.8.21
Compiling siphasher v1.0.1
Compiling zerocopy v0.8.25
Compiling rand_core v0.6.4
Compiling rayon-core v1.12.1
Compiling regex-syntax v0.8.5
Compiling log v0.4.27
Compiling simd-adler32 v0.3.7
Compiling thiserror v2.0.12
Compiling once_cell v1.21.3
Compiling either v1.15.0
Compiling adler2 v2.0.0
Compiling getrandom v0.3.3
Compiling anyhow v1.0.98
Compiling built v0.7.7
Compiling paste v1.0.15
Compiling arrayvec v0.7.6
Compiling minimal-lexical v0.2.1
Compiling thiserror v1.0.69
Compiling ucd-trie v0.1.7
Compiling aligned-vec v0.5.0
Compiling unic-char-range v0.9.0
Compiling iana-time-zone v0.1.63
Compiling unic-common v0.9.0
Compiling serde v1.0.219
Compiling crc32fast v1.4.2
Compiling libm v0.2.15
Compiling rand v0.8.5
Compiling same-file v1.0.6
Compiling miniz_oxide v0.8.8
Compiling bitstream-io v2.6.0
Compiling itertools v0.12.1
Compiling serde_json v1.0.140
Compiling walkdir v2.5.0
Compiling new_debug_unreachable v1.0.6
Compiling phf_shared v0.11.3
Compiling unic-char-property v0.9.0
Compiling unic-ucd-version v0.9.0
Compiling noop_proc_macro v0.3.0
Compiling imgref v1.11.0
Compiling quick-error v2.0.1
Compiling weezl v0.1.8
Compiling unic-ucd-segment v0.9.0
Compiling fdeflate v0.3.7
Compiling phf v0.11.3
Compiling num-traits v0.2.19
Compiling zune-inflate v0.2.54
Compiling half v2.6.0
Compiling bitflags v1.3.2
Compiling rav1e v0.7.1
Compiling lebe v0.5.2
Compiling aho-corasick v1.1.3
Compiling nom v7.1.3
Compiling bstr v1.12.0
Compiling loop9 v0.1.5
Compiling avif-serialize v0.8.3
Compiling byteorder-lite v0.1.0
Compiling bit_field v0.10.2
Compiling smallvec v1.15.0
Compiling jpeg-decoder v0.3.1
Compiling ryu v1.0.20
Compiling phf_generator v0.11.3
Compiling deunicode v1.6.2
Compiling itoa v1.0.15
Compiling zune-core v0.4.12
Compiling bitflags v2.9.1
Compiling phf_codegen v0.11.3
Compiling quote v1.0.40
Compiling bytemuck v1.23.0
Compiling crossbeam-epoch v0.9.18
Compiling flate2 v1.1.1
Compiling rgb v0.8.50
Compiling color_quant v1.1.0
Compiling unic-segment v0.9.0
Compiling image-webp v0.2.1
Compiling zune-jpeg v0.4.14
Compiling pathdiff v0.2.3
Compiling percent-encoding v2.3.1
Compiling slug v0.1.6
Compiling lazy_static v1.5.0
Compiling base64 v0.22.1
Compiling gif v0.13.1
Compiling syn v2.0.101
Compiling simd_helpers v0.1.0
Compiling crossbeam-deque v0.8.6
Compiling qoi v0.4.1
Compiling png v0.17.16
Compiling regex-automata v0.4.9
Compiling num-integer v0.1.46
Compiling v_frame v0.3.8
Compiling chrono v0.4.41
Compiling getrandom v0.2.16
Compiling tiff v0.9.1
Compiling rand_core v0.9.3
Compiling rayon v1.10.0
Compiling exr v1.73.0
Compiling humansize v2.1.3
Compiling num-bigint v0.4.6
Compiling ppv-lite86 v0.2.21
Compiling rand_chacha v0.9.0
Compiling rand_chacha v0.3.1
Compiling rand v0.9.1
Compiling num-rational v0.4.2
Compiling ragit-fs v0.4.0 (/home/baehyunsol/Documents/ragit/crates/fs)
Compiling regex v1.11.1
Compiling av1-grain v0.2.3
Compiling parse-zoneinfo v0.3.1
Compiling chrono-tz-build v0.3.0
Compiling maybe-rayon v0.1.1
Compiling chrono-tz v0.9.0
Compiling globset v0.4.16
Compiling thiserror-impl v2.0.12
Compiling thiserror-impl v1.0.69
Compiling profiling-procmacros v1.0.16
Compiling serde_derive v1.0.219
Compiling arg_enum_proc_macro v0.3.4
Compiling num-derive v0.4.2
Compiling ignore v0.4.23
Compiling profiling v1.0.16
Compiling globwalk v0.9.1
Compiling pest v2.8.0
Compiling pest_meta v2.8.0
Compiling pest_generator v2.8.0
Compiling pest_derive v2.8.0
Compiling ravif v0.11.12
Compiling tera v1.20.0
Compiling image v0.25.6
Compiling ragit-pdl v0.4.0 (/home/baehyunsol/Documents/ragit/crates/pdl)
error[E0308]: mismatched types
--> src/schema/tests.rs:71:35
|
71 | let schema = parse_schema(schema_str.as_bytes()).unwrap();
| ------------ ^^^^^^^^^^^^^^^^^^^^^ expected `&str`, found `&[u8]`
| |
| arguments to this function are incorrect
|
= note: expected reference `&str`
found reference `&[u8]`
note: function defined here
--> src/schema/parse.rs:65:8
|
65 | pub fn parse_schema(s: &str) -> Result<Schema, SchemaParseError> {
| ^^^^^^^^^^^^ -------
help: try removing the method call
|
71 - let schema = parse_schema(schema_str.as_bytes()).unwrap();
71 + let schema = parse_schema(schema_str).unwrap();
|
error[E0308]: mismatched types
--> src/schema/tests.rs:212:36
|
212 | let is_okay = parse_schema(schema.as_bytes()).is_ok();
| ------------ ^^^^^^^^^^^^^^^^^ expected `&str`, found `&[u8]`
| |
| arguments to this function are incorrect
|
= note: expected reference `&str`
found reference `&[u8]`
note: function defined here
--> src/schema/parse.rs:65:8
|
65 | pub fn parse_schema(s: &str) -> Result<Schema, SchemaParseError> {
| ^^^^^^^^^^^^ -------
help: try removing the method call
|
212 - let is_okay = parse_schema(schema.as_bytes()).is_ok();
212 + let is_okay = parse_schema(schema).is_ok();
|
error[E0308]: mismatched types
--> src/schema/tests.rs:292:35
|
292 | let schema = parse_schema(schema_str.as_bytes()).unwrap();
| ------------ ^^^^^^^^^^^^^^^^^^^^^ expected `&str`, found `&[u8]`
| |
| arguments to this function are incorrect
|
= note: expected reference `&str`
found reference `&[u8]`
note: function defined here
--> src/schema/parse.rs:65:8
|
65 | pub fn parse_schema(s: &str) -> Result<Schema, SchemaParseError> {
| ^^^^^^^^^^^^ -------
help: try removing the method call
|
292 - let schema = parse_schema(schema_str.as_bytes()).unwrap();
292 + let schema = parse_schema(schema_str).unwrap();
|
For more information about this error, try `rustc --explain E0308`.
error: could not compile `ragit-pdl` (lib test) due to 3 previous errors
#####################
### path: command ###
/home/baehyunsol/Documents/ragit/crates/pdl: cargo test --release
### status_code ###
101
### stdout ###
### stderr ###
Compiling proc-macro2 v1.0.95
Compiling unicode-ident v1.0.18
Compiling cfg-if v1.0.0
Compiling libc v0.2.172
Compiling autocfg v1.4.0
Compiling memchr v2.7.4
Compiling crossbeam-utils v0.8.21
Compiling thiserror v2.0.12
Compiling siphasher v1.0.1
Compiling zerocopy v0.8.25
Compiling log v0.4.27
Compiling regex-syntax v0.8.5
Compiling rand_core v0.6.4
Compiling simd-adler32 v0.3.7
Compiling rayon-core v1.12.1
Compiling getrandom v0.3.3
Compiling either v1.15.0
Compiling adler2 v2.0.0
Compiling anyhow v1.0.98
Compiling aligned-vec v0.5.0
Compiling built v0.7.7
Compiling minimal-lexical v0.2.1
Compiling arrayvec v0.7.6
Compiling ucd-trie v0.1.7
Compiling thiserror v1.0.69
Compiling paste v1.0.15
Compiling same-file v1.0.6
Compiling serde v1.0.219
Compiling libm v0.2.15
Compiling iana-time-zone v0.1.63
Compiling crc32fast v1.4.2
Compiling once_cell v1.21.3
Compiling rand v0.8.5
Compiling unic-common v0.9.0
Compiling unic-char-range v0.9.0
Compiling phf_shared v0.11.3
Compiling miniz_oxide v0.8.8
Compiling unic-char-property v0.9.0
Compiling itertools v0.12.1
Compiling unic-ucd-version v0.9.0
Compiling phf v0.11.3
Compiling weezl v0.1.8
Compiling num-traits v0.2.19
Compiling quick-error v2.0.1
Compiling bitstream-io v2.6.0
Compiling noop_proc_macro v0.3.0
Compiling new_debug_unreachable v1.0.6
Compiling serde_json v1.0.140
Compiling walkdir v2.5.0
Compiling imgref v1.11.0
Compiling unic-ucd-segment v0.9.0
Compiling fdeflate v0.3.7
Compiling zune-inflate v0.2.54
Compiling half v2.6.0
Compiling bit_field v0.10.2
Compiling rav1e v0.7.1
Compiling ryu v1.0.20
Compiling smallvec v1.15.0
Compiling itoa v1.0.15
Compiling loop9 v0.1.5
Compiling avif-serialize v0.8.3
Compiling byteorder-lite v0.1.0
Compiling zune-core v0.4.12
Compiling jpeg-decoder v0.3.1
Compiling flate2 v1.1.1
Compiling quote v1.0.40
Compiling aho-corasick v1.1.3
Compiling crossbeam-epoch v0.9.18
Compiling phf_generator v0.11.3
Compiling bstr v1.12.0
Compiling nom v7.1.3
Compiling syn v2.0.101
Compiling getrandom v0.2.16
Compiling bitflags v1.3.2
Compiling phf_codegen v0.11.3
Compiling rgb v0.8.50
Compiling simd_helpers v0.1.0
Compiling bitflags v2.9.1
Compiling color_quant v1.1.0
Compiling crossbeam-deque v0.8.6
Compiling rand_core v0.9.3
Compiling lebe v0.5.2
Compiling bytemuck v1.23.0
Compiling deunicode v1.6.2
Compiling regex-automata v0.4.9
Compiling num-integer v0.1.46
Compiling v_frame v0.3.8
Compiling chrono v0.4.41
Compiling png v0.17.16
Compiling gif v0.13.1
Compiling image-webp v0.2.1
Compiling slug v0.1.6
Compiling qoi v0.4.1
Compiling unic-segment v0.9.0
Compiling zune-jpeg v0.4.14
Compiling lazy_static v1.5.0
Compiling pathdiff v0.2.3
Compiling percent-encoding v2.3.1
Compiling tiff v0.9.1
Compiling base64 v0.22.1
Compiling num-bigint v0.4.6
Compiling ppv-lite86 v0.2.21
Compiling rayon v1.10.0
Compiling exr v1.73.0
Compiling humansize v2.1.3
Compiling rand_chacha v0.3.1
Compiling rand_chacha v0.9.0
Compiling rand v0.9.1
Compiling num-rational v0.4.2
Compiling ragit-fs v0.4.0 (/home/baehyunsol/Documents/ragit/crates/fs)
Compiling regex v1.11.1
Compiling av1-grain v0.2.3
Compiling parse-zoneinfo v0.3.1
Compiling chrono-tz-build v0.3.0
Compiling chrono-tz v0.9.0
Compiling maybe-rayon v0.1.1
Compiling globset v0.4.16
Compiling ignore v0.4.23
Compiling thiserror-impl v2.0.12
Compiling thiserror-impl v1.0.69
Compiling profiling-procmacros v1.0.16
Compiling num-derive v0.4.2
Compiling serde_derive v1.0.219
Compiling arg_enum_proc_macro v0.3.4
Compiling profiling v1.0.16
Compiling globwalk v0.9.1
Compiling pest v2.8.0
Compiling pest_meta v2.8.0
Compiling pest_generator v2.8.0
Compiling pest_derive v2.8.0
Compiling tera v1.20.0
Compiling ravif v0.11.12
Compiling image v0.25.6
Compiling ragit-pdl v0.4.0 (/home/baehyunsol/Documents/ragit/crates/pdl)
error[E0308]: mismatched types
--> src/schema/tests.rs:71:35
|
71 | let schema = parse_schema(schema_str.as_bytes()).unwrap();
| ------------ ^^^^^^^^^^^^^^^^^^^^^ expected `&str`, found `&[u8]`
| |
| arguments to this function are incorrect
|
= note: expected reference `&str`
found reference `&[u8]`
note: function defined here
--> src/schema/parse.rs:65:8
|
65 | pub fn parse_schema(s: &str) -> Result<Schema, SchemaParseError> {
| ^^^^^^^^^^^^ -------
help: try removing the method call
|
71 - let schema = parse_schema(schema_str.as_bytes()).unwrap();
71 + let schema = parse_schema(schema_str).unwrap();
|
error[E0308]: mismatched types
--> src/schema/tests.rs:212:36
|
212 | let is_okay = parse_schema(schema.as_bytes()).is_ok();
| ------------ ^^^^^^^^^^^^^^^^^ expected `&str`, found `&[u8]`
| |
| arguments to this function are incorrect
|
= note: expected reference `&str`
found reference `&[u8]`
note: function defined here
--> src/schema/parse.rs:65:8
|
65 | pub fn parse_schema(s: &str) -> Result<Schema, SchemaParseError> {
| ^^^^^^^^^^^^ -------
help: try removing the method call
|
212 - let is_okay = parse_schema(schema.as_bytes()).is_ok();
212 + let is_okay = parse_schema(schema).is_ok();
|
error[E0308]: mismatched types
--> src/schema/tests.rs:292:35
|
292 | let schema = parse_schema(schema_str.as_bytes()).unwrap();
| ------------ ^^^^^^^^^^^^^^^^^^^^^ expected `&str`, found `&[u8]`
| |
| arguments to this function are incorrect
|
= note: expected reference `&str`
found reference `&[u8]`
note: function defined here
--> src/schema/parse.rs:65:8
|
65 | pub fn parse_schema(s: &str) -> Result<Schema, SchemaParseError> {
| ^^^^^^^^^^^^ -------
help: try removing the method call
|
292 - let schema = parse_schema(schema_str.as_bytes()).unwrap();
292 + let schema = parse_schema(schema_str).unwrap();
|
For more information about this error, try `rustc --explain E0308`.
error: could not compile `ragit-pdl` (lib test) due to 3 previous errors
Traceback (most recent call last):
File "/home/baehyunsol/Documents/ragit/tests/tests.py", line 621, in <module>
test()
File "/home/baehyunsol/Documents/ragit/tests/cargo_tests.py", line 46, in cargo_tests
raise Exception("\n\n".join(errors))
Exception:
#####################
### path: command ###
/home/baehyunsol/Documents/ragit/crates/pdl: cargo test
### status_code ###
101
### stdout ###
### stderr ###
Updating crates.io index
Locking 196 packages to latest Rust 1.87.0-nightly compatible versions
Compiling proc-macro2 v1.0.95
Compiling unicode-ident v1.0.18
Compiling cfg-if v1.0.0
Compiling memchr v2.7.4
Compiling libc v0.2.172
Compiling autocfg v1.4.0
Compiling crossbeam-utils v0.8.21
Compiling siphasher v1.0.1
Compiling zerocopy v0.8.25
Compiling rand_core v0.6.4
Compiling rayon-core v1.12.1
Compiling regex-syntax v0.8.5
Compiling log v0.4.27
Compiling simd-adler32 v0.3.7
Compiling thiserror v2.0.12
Compiling once_cell v1.21.3
Compiling either v1.15.0
Compiling adler2 v2.0.0
Compiling getrandom v0.3.3
Compiling anyhow v1.0.98
Compiling built v0.7.7
Compiling paste v1.0.15
Compiling arrayvec v0.7.6
Compiling minimal-lexical v0.2.1
Compiling thiserror v1.0.69
Compiling ucd-trie v0.1.7
Compiling aligned-vec v0.5.0
Compiling unic-char-range v0.9.0
Compiling iana-time-zone v0.1.63
Compiling unic-common v0.9.0
Compiling serde v1.0.219
Compiling crc32fast v1.4.2
Compiling libm v0.2.15
Compiling rand v0.8.5
Compiling same-file v1.0.6
Compiling miniz_oxide v0.8.8
Compiling bitstream-io v2.6.0
Compiling itertools v0.12.1
Compiling serde_json v1.0.140
Compiling walkdir v2.5.0
Compiling new_debug_unreachable v1.0.6
Compiling phf_shared v0.11.3
Compiling unic-char-property v0.9.0
Compiling unic-ucd-version v0.9.0
Compiling noop_proc_macro v0.3.0
Compiling imgref v1.11.0
Compiling quick-error v2.0.1
Compiling weezl v0.1.8
Compiling unic-ucd-segment v0.9.0
Compiling fdeflate v0.3.7
Compiling phf v0.11.3
Compiling num-traits v0.2.19
Compiling zune-inflate v0.2.54
Compiling half v2.6.0
Compiling bitflags v1.3.2
Compiling rav1e v0.7.1
Compiling lebe v0.5.2
Compiling aho-corasick v1.1.3
Compiling nom v7.1.3
Compiling bstr v1.12.0
Compiling loop9 v0.1.5
Compiling avif-serialize v0.8.3
Compiling byteorder-lite v0.1.0
Compiling bit_field v0.10.2
Compiling smallvec v1.15.0
Compiling jpeg-decoder v0.3.1
Compiling ryu v1.0.20
Compiling phf_generator v0.11.3
Compiling deunicode v1.6.2
Compiling itoa v1.0.15
Compiling zune-core v0.4.12
Compiling bitflags v2.9.1
Compiling phf_codegen v0.11.3
Compiling quote v1.0.40
Compiling bytemuck v1.23.0
Compiling crossbeam-epoch v0.9.18
Compiling flate2 v1.1.1
Compiling rgb v0.8.50
Compiling color_quant v1.1.0
Compiling unic-segment v0.9.0
Compiling image-webp v0.2.1
Compiling zune-jpeg v0.4.14
Compiling pathdiff v0.2.3
Compiling percent-encoding v2.3.1
Compiling slug v0.1.6
Compiling lazy_static v1.5.0
Compiling base64 v0.22.1
Compiling gif v0.13.1
Compiling syn v2.0.101
Compiling simd_helpers v0.1.0
Compiling crossbeam-deque v0.8.6
Compiling qoi v0.4.1
Compiling png v0.17.16
Compiling regex-automata v0.4.9
Compiling num-integer v0.1.46
Compiling v_frame v0.3.8
Compiling chrono v0.4.41
Compiling getrandom v0.2.16
Compiling tiff v0.9.1
Compiling rand_core v0.9.3
Compiling rayon v1.10.0
Compiling exr v1.73.0
Compiling humansize v2.1.3
Compiling num-bigint v0.4.6
Compiling ppv-lite86 v0.2.21
Compiling rand_chacha v0.9.0
Compiling rand_chacha v0.3.1
Compiling rand v0.9.1
Compiling num-rational v0.4.2
Compiling ragit-fs v0.4.0 (/home/baehyunsol/Documents/ragit/crates/fs)
Compiling regex v1.11.1
Compiling av1-grain v0.2.3
Compiling parse-zoneinfo v0.3.1
Compiling chrono-tz-build v0.3.0
Compiling maybe-rayon v0.1.1
Compiling chrono-tz v0.9.0
Compiling globset v0.4.16
Compiling thiserror-impl v2.0.12
Compiling thiserror-impl v1.0.69
Compiling profiling-procmacros v1.0.16
Compiling serde_derive v1.0.219
Compiling arg_enum_proc_macro v0.3.4
Compiling num-derive v0.4.2
Compiling ignore v0.4.23
Compiling profiling v1.0.16
Compiling globwalk v0.9.1
Compiling pest v2.8.0
Compiling pest_meta v2.8.0
Compiling pest_generator v2.8.0
Compiling pest_derive v2.8.0
Compiling ravif v0.11.12
Compiling tera v1.20.0
Compiling image v0.25.6
Compiling ragit-pdl v0.4.0 (/home/baehyunsol/Documents/ragit/crates/pdl)
error[E0308]: mismatched types
--> src/schema/tests.rs:71:35
|
71 | let schema = parse_schema(schema_str.as_bytes()).unwrap();
| ------------ ^^^^^^^^^^^^^^^^^^^^^ expected `&str`, found `&[u8]`
| |
| arguments to this function are incorrect
|
= note: expected reference `&str`
found reference `&[u8]`
note: function defined here
--> src/schema/parse.rs:65:8
|
65 | pub fn parse_schema(s: &str) -> Result<Schema, SchemaParseError> {
| ^^^^^^^^^^^^ -------
help: try removing the method call
|
71 - let schema = parse_schema(schema_str.as_bytes()).unwrap();
71 + let schema = parse_schema(schema_str).unwrap();
|
error[E0308]: mismatched types
--> src/schema/tests.rs:212:36
|
212 | let is_okay = parse_schema(schema.as_bytes()).is_ok();
| ------------ ^^^^^^^^^^^^^^^^^ expected `&str`, found `&[u8]`
| |
| arguments to this function are incorrect
|
= note: expected reference `&str`
found reference `&[u8]`
note: function defined here
--> src/schema/parse.rs:65:8
|
65 | pub fn parse_schema(s: &str) -> Result<Schema, SchemaParseError> {
| ^^^^^^^^^^^^ -------
help: try removing the method call
|
212 - let is_okay = parse_schema(schema.as_bytes()).is_ok();
212 + let is_okay = parse_schema(schema).is_ok();
|
error[E0308]: mismatched types
--> src/schema/tests.rs:292:35
|
292 | let schema = parse_schema(schema_str.as_bytes()).unwrap();
| ------------ ^^^^^^^^^^^^^^^^^^^^^ expected `&str`, found `&[u8]`
| |
| arguments to this function are incorrect
|
= note: expected reference `&str`
found reference `&[u8]`
note: function defined here
--> src/schema/parse.rs:65:8
|
65 | pub fn parse_schema(s: &str) -> Result<Schema, SchemaParseError> {
| ^^^^^^^^^^^^ -------
help: try removing the method call
|
292 - let schema = parse_schema(schema_str.as_bytes()).unwrap();
292 + let schema = parse_schema(schema_str).unwrap();
|
For more information about this error, try `rustc --explain E0308`.
error: could not compile `ragit-pdl` (lib test) due to 3 previous errors
#####################
### path: command ###
/home/baehyunsol/Documents/ragit/crates/pdl: cargo test --release
### status_code ###
101
### stdout ###
### stderr ###
Compiling proc-macro2 v1.0.95
Compiling unicode-ident v1.0.18
Compiling cfg-if v1.0.0
Compiling libc v0.2.172
Compiling autocfg v1.4.0
Compiling memchr v2.7.4
Compiling crossbeam-utils v0.8.21
Compiling thiserror v2.0.12
Compiling siphasher v1.0.1
Compiling zerocopy v0.8.25
Compiling log v0.4.27
Compiling regex-syntax v0.8.5
Compiling rand_core v0.6.4
Compiling simd-adler32 v0.3.7
Compiling rayon-core v1.12.1
Compiling getrandom v0.3.3
Compiling either v1.15.0
Compiling adler2 v2.0.0
Compiling anyhow v1.0.98
Compiling aligned-vec v0.5.0
Compiling built v0.7.7
Compiling minimal-lexical v0.2.1
Compiling arrayvec v0.7.6
Compiling ucd-trie v0.1.7
Compiling thiserror v1.0.69
Compiling paste v1.0.15
Compiling same-file v1.0.6
Compiling serde v1.0.219
Compiling libm v0.2.15
Compiling iana-time-zone v0.1.63
Compiling crc32fast v1.4.2
Compiling once_cell v1.21.3
Compiling rand v0.8.5
Compiling unic-common v0.9.0
Compiling unic-char-range v0.9.0
Compiling phf_shared v0.11.3
Compiling miniz_oxide v0.8.8
Compiling unic-char-property v0.9.0
Compiling itertools v0.12.1
Compiling unic-ucd-version v0.9.0
Compiling phf v0.11.3
Compiling weezl v0.1.8
Compiling num-traits v0.2.19
Compiling quick-error v2.0.1
Compiling bitstream-io v2.6.0
Compiling noop_proc_macro v0.3.0
Compiling new_debug_unreachable v1.0.6
Compiling serde_json v1.0.140
Compiling walkdir v2.5.0
Compiling imgref v1.11.0
Compiling unic-ucd-segment v0.9.0
Compiling fdeflate v0.3.7
Compiling zune-inflate v0.2.54
Compiling half v2.6.0
Compiling bit_field v0.10.2
Compiling rav1e v0.7.1
Compiling ryu v1.0.20
Compiling smallvec v1.15.0
Compiling itoa v1.0.15
Compiling loop9 v0.1.5
Compiling avif-serialize v0.8.3
Compiling byteorder-lite v0.1.0
Compiling zune-core v0.4.12
Compiling jpeg-decoder v0.3.1
Compiling flate2 v1.1.1
Compiling quote v1.0.40
Compiling aho-corasick v1.1.3
Compiling crossbeam-epoch v0.9.18
Compiling phf_generator v0.11.3
Compiling bstr v1.12.0
Compiling nom v7.1.3
Compiling syn v2.0.101
Compiling getrandom v0.2.16
Compiling bitflags v1.3.2
Compiling phf_codegen v0.11.3
Compiling rgb v0.8.50
Compiling simd_helpers v0.1.0
Compiling bitflags v2.9.1
Compiling color_quant v1.1.0
Compiling crossbeam-deque v0.8.6
Compiling rand_core v0.9.3
Compiling lebe v0.5.2
Compiling bytemuck v1.23.0
Compiling deunicode v1.6.2
Compiling regex-automata v0.4.9
Compiling num-integer v0.1.46
Compiling v_frame v0.3.8
Compiling chrono v0.4.41
Compiling png v0.17.16
Compiling gif v0.13.1
Compiling image-webp v0.2.1
Compiling slug v0.1.6
Compiling qoi v0.4.1
Compiling unic-segment v0.9.0
Compiling zune-jpeg v0.4.14
Compiling lazy_static v1.5.0
Compiling pathdiff v0.2.3
Compiling percent-encoding v2.3.1
Compiling tiff v0.9.1
Compiling base64 v0.22.1
Compiling num-bigint v0.4.6
Compiling ppv-lite86 v0.2.21
Compiling rayon v1.10.0
Compiling exr v1.73.0
Compiling humansize v2.1.3
Compiling rand_chacha v0.3.1
Compiling rand_chacha v0.9.0
Compiling rand v0.9.1
Compiling num-rational v0.4.2
Compiling ragit-fs v0.4.0 (/home/baehyunsol/Documents/ragit/crates/fs)
Compiling regex v1.11.1
Compiling av1-grain v0.2.3
Compiling parse-zoneinfo v0.3.1
Compiling chrono-tz-build v0.3.0
Compiling chrono-tz v0.9.0
Compiling maybe-rayon v0.1.1
Compiling globset v0.4.16
Compiling ignore v0.4.23
Compiling thiserror-impl v2.0.12
Compiling thiserror-impl v1.0.69
Compiling profiling-procmacros v1.0.16
Compiling num-derive v0.4.2
Compiling serde_derive v1.0.219
Compiling arg_enum_proc_macro v0.3.4
Compiling profiling v1.0.16
Compiling globwalk v0.9.1
Compiling pest v2.8.0
Compiling pest_meta v2.8.0
Compiling pest_generator v2.8.0
Compiling pest_derive v2.8.0
Compiling tera v1.20.0
Compiling ravif v0.11.12
Compiling image v0.25.6
Compiling ragit-pdl v0.4.0 (/home/baehyunsol/Documents/ragit/crates/pdl)
error[E0308]: mismatched types
--> src/schema/tests.rs:71:35
|
71 | let schema = parse_schema(schema_str.as_bytes()).unwrap();
| ------------ ^^^^^^^^^^^^^^^^^^^^^ expected `&str`, found `&[u8]`
| |
| arguments to this function are incorrect
|
= note: expected reference `&str`
found reference `&[u8]`
note: function defined here
--> src/schema/parse.rs:65:8
|
65 | pub fn parse_schema(s: &str) -> Result<Schema, SchemaParseError> {
| ^^^^^^^^^^^^ -------
help: try removing the method call
|
71 - let schema = parse_schema(schema_str.as_bytes()).unwrap();
71 + let schema = parse_schema(schema_str).unwrap();
|
error[E0308]: mismatched types
--> src/schema/tests.rs:212:36
|
212 | let is_okay = parse_schema(schema.as_bytes()).is_ok();
| ------------ ^^^^^^^^^^^^^^^^^ expected `&str`, found `&[u8]`
| |
| arguments to this function are incorrect
|
= note: expected reference `&str`
found reference `&[u8]`
note: function defined here
--> src/schema/parse.rs:65:8
|
65 | pub fn parse_schema(s: &str) -> Result<Schema, SchemaParseError> {
| ^^^^^^^^^^^^ -------
help: try removing the method call
|
212 - let is_okay = parse_schema(schema.as_bytes()).is_ok();
212 + let is_okay = parse_schema(schema).is_ok();
|
error[E0308]: mismatched types
--> src/schema/tests.rs:292:35
|
292 | let schema = parse_schema(schema_str.as_bytes()).unwrap();
| ------------ ^^^^^^^^^^^^^^^^^^^^^ expected `&str`, found `&[u8]`
| |
| arguments to this function are incorrect
|
= note: expected reference `&str`
found reference `&[u8]`
note: function defined here
--> src/schema/parse.rs:65:8
|
65 | pub fn parse_schema(s: &str) -> Result<Schema, SchemaParseError> {
| ^^^^^^^^^^^^ -------
help: try removing the method call
|
292 - let schema = parse_schema(schema_str.as_bytes()).unwrap();
292 + let schema = parse_schema(schema_str).unwrap();
|
For more information about this error, try `rustc --explain E0308`.
error: could not compile `ragit-pdl` (lib test) due to 3 previous errors
elapsed time: 35,656 ms
elapsed time: 11,820 ms
elapsed time: 3,194 ms
elapsed time: 3,084 ms
elapsed time: 141,602 ms
elapsed time: 5,215 ms
elapsed time: 3,929 ms
Command '['cargo', 'run', '--release', '--', 'meta', '--set', 'whatever-key', 'whatever-value']' returned non-zero exit status 1.
Traceback (most recent call last):
File "/home/baehyunsol/Documents/ragit/tests/tests.py", line 621, in <module>
test()
File "/home/baehyunsol/Documents/ragit/tests/server.py", line 47, in server
cargo_run(["meta", "--set", "whatever-key", "whatever-value"])
File "/home/baehyunsol/Documents/ragit/tests/utils.py", line 70, in cargo_run
result = subprocess.run(args, **kwargs)
File "/usr/lib/python3.10/subprocess.py", line 526, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['cargo', 'run', '--release', '--', 'meta', '--set', 'whatever-key', 'whatever-value']' returned non-zero exit status 1.
elapsed time: 1,604 ms
Traceback (most recent call last):
File "/home/baehyunsol/Documents/ragit/tests/tests.py", line 621, in <module>
test()
File "/home/baehyunsol/Documents/ragit/tests/server_permission.py", line 23, in server_permission
create_user(id="test-user-2", email="sample2@email.com", password="abcdefgh")
File "/home/baehyunsol/Documents/ragit/tests/server.py", line 186, in create_user
assert response.status_code == 200
AssertionError
elapsed time: 5,632 ms
elapsed time: 2,888 ms
Command '['cargo', 'run', '--release', '--', 'meta', '--set', 'test', 'test']' returned non-zero exit status 1.
Traceback (most recent call last):
File "/home/baehyunsol/Documents/ragit/tests/tests.py", line 621, in <module>
test()
File "/home/baehyunsol/Documents/ragit/tests/archive.py", line 35, in archive
cargo_run(["meta", "--set", "test", "test"])
File "/home/baehyunsol/Documents/ragit/tests/utils.py", line 70, in cargo_run
result = subprocess.run(args, **kwargs)
File "/usr/lib/python3.10/subprocess.py", line 526, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['cargo', 'run', '--release', '--', 'meta', '--set', 'test', 'test']' returned non-zero exit status 1.
elapsed time: 521,978 ms
elapsed time: 161,938 ms
elapsed time: 63,439 ms
elapsed time: 358 ms
Expecting value: line 1 column 1 (char 0)
Traceback (most recent call last):
File "/home/baehyunsol/Documents/ragit/tests/tests.py", line 621, in <module>
test()
File "/home/baehyunsol/Documents/ragit/tests/meta.py", line 52, in meta
assert json.loads(cargo_run(["meta", "--get-all"], stdout=True)) == metadata
File "/usr/lib/python3.10/json/__init__.py", line 346, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.10/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.10/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
elapsed time: 3,102 ms
elapsed time: 165,779 ms
tfidf result on term 'search gpg annot select correspond' is not close enough. error: `approximation[2] not in answer`, answer: ['3e0d93ece16c10490435c08b7b755db9a57e53b818a9e62c0000000100000fa3', 'c5719c769542cb0cde49558784948082703f2da9618c29d80000000100000fb3', '6d1b2eeef26e5ce9672e62a7ca43412c66b86ad0e48d27620000000100000fa0', '606389435f969a017ad1cf63a7a30eba0d1a08c743efea9f0000000100000318', 'f386d96798aad5baf548b6985b367932bdc89483b756b515000000010000081f', 'c66345d5ab119b4cf05a6899472b54a4fd0041ee2b83b9f80000000100000fa2', 'bf8735875031f53ccd50e48e6674d9ac64c90f68bb0c7edb0000000100000fa0', '509b4b369f9f9729365a6947ce43335209d934562feeb7220000000100000fa2', '82ad9747a31109a3ef965e4168a0968cb56a448390416e290000000100000bf5', 'b632241f25a98c9320097079669e1acd10afd534e67ec2600000000100000fa2'], approximation: ['3e0d93ece16c10490435c08b7b755db9a57e53b818a9e62c0000000100000fa3', 'b632241f25a98c9320097079669e1acd10afd534e67ec2600000000100000fa2', '90a25e1efdafffab6369490140eecabb90ab0649108feeff0000000100000cd4', 'bf8735875031f53ccd50e48e6674d9ac64c90f68bb0c7edb0000000100000fa0', '5cdbfe828a4a84a4129bda3cc32bb8376914275561fa6a1a0000000100000da8', 'c5719c769542cb0cde49558784948082703f2da9618c29d80000000100000fb3', '0833e100c47da17ca6a2d202310483ed3c08f75ec2cfbf4a0000000100000c67', '1ff3d753fa4b857385f748c5d02a7371332241a8579211f9000000010000075c', '6f305111c4ab2bb2243ce34889afb4f72dff498303da56890000000100000c1e', '6d1b2eeef26e5ce9672e62a7ca43412c66b86ad0e48d27620000000100000fa0']
Traceback (most recent call last):
File "/home/baehyunsol/Documents/ragit/tests/ii.py", line 103, in ii_worker
raise AssertionError(f"approximation[{i}] not in answer")
AssertionError: approximation[2] not in answer
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/baehyunsol/Documents/ragit/tests/tests.py", line 621, in <module>
test()
File "/home/baehyunsol/Documents/ragit/tests/ii.py", line 49, in ii
ii_worker()
File "/home/baehyunsol/Documents/ragit/tests/ii.py", line 116, in ii_worker
raise AssertionError(f"tfidf result on term '{term}' is not close enough. error: `{e}`, answer: {answer}, approximation: {approximation}")
AssertionError: tfidf result on term 'search gpg annot select correspond' is not close enough. error: `approximation[2] not in answer`, answer: ['3e0d93ece16c10490435c08b7b755db9a57e53b818a9e62c0000000100000fa3', 'c5719c769542cb0cde49558784948082703f2da9618c29d80000000100000fb3', '6d1b2eeef26e5ce9672e62a7ca43412c66b86ad0e48d27620000000100000fa0', '606389435f969a017ad1cf63a7a30eba0d1a08c743efea9f0000000100000318', 'f386d96798aad5baf548b6985b367932bdc89483b756b515000000010000081f', 'c66345d5ab119b4cf05a6899472b54a4fd0041ee2b83b9f80000000100000fa2', 'bf8735875031f53ccd50e48e6674d9ac64c90f68bb0c7edb0000000100000fa0', '509b4b369f9f9729365a6947ce43335209d934562feeb7220000000100000fa2', '82ad9747a31109a3ef965e4168a0968cb56a448390416e290000000100000bf5', 'b632241f25a98c9320097079669e1acd10afd534e67ec2600000000100000fa2'], approximation: ['3e0d93ece16c10490435c08b7b755db9a57e53b818a9e62c0000000100000fa3', 'b632241f25a98c9320097079669e1acd10afd534e67ec2600000000100000fa2', '90a25e1efdafffab6369490140eecabb90ab0649108feeff0000000100000cd4', 'bf8735875031f53ccd50e48e6674d9ac64c90f68bb0c7edb0000000100000fa0', '5cdbfe828a4a84a4129bda3cc32bb8376914275561fa6a1a0000000100000da8', 'c5719c769542cb0cde49558784948082703f2da9618c29d80000000100000fb3', '0833e100c47da17ca6a2d202310483ed3c08f75ec2cfbf4a0000000100000c67', '1ff3d753fa4b857385f748c5d02a7371332241a8579211f9000000010000075c', '6f305111c4ab2bb2243ce34889afb4f72dff498303da56890000000100000c1e', '6d1b2eeef26e5ce9672e62a7ca43412c66b86ad0e48d27620000000100000fa0']
elapsed time: 15,806 ms
elapsed time: 52,808 ms
Traceback (most recent call last):
File "/home/baehyunsol/Documents/ragit/tests/tests.py", line 621, in <module>
test()
File "/home/baehyunsol/Documents/ragit/tests/generous_file_reader.py", line 62, in generous_file_reader
assert "invalid/url.png" in cargo_run(["cat-file", "invalid-image-url.md"], stdout=True)
AssertionError
elapsed time: 4,379 ms
elapsed time: 5,223 ms
elapsed time: 2,698 ms
elapsed time: 712,447 ms
Command '['cargo', 'run', '--release', '--', 'build']' returned non-zero exit status 1.
Traceback (most recent call last):
File "/home/baehyunsol/Documents/ragit/tests/tests.py", line 621, in <module>
test()
File "/home/baehyunsol/Documents/ragit/tests/real_repos.py", line 63, in real_repos
cargo_run(["build"])
File "/home/baehyunsol/Documents/ragit/tests/utils.py", line 70, in cargo_run
result = subprocess.run(args, **kwargs)
File "/usr/lib/python3.10/subprocess.py", line 526, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['cargo', 'run', '--release', '--', 'build']' returned non-zero exit status 1.
elapsed time: 9,106 ms
elapsed time: 10,417 ms
elapsed time: 14,409 ms
elapsed time: 83,633 ms
elapsed time: 41,584 ms
Command '['cargo', 'run', '--release', '--', 'meta', '--set', 'git-hash', 'adcf2562496ce6b4c2f17f0a5699f05d686b2dd9']' returned non-zero exit status 1.
Traceback (most recent call last):
File "/home/baehyunsol/Documents/ragit/tests/tests.py", line 621, in <module>
test()
File "/home/baehyunsol/Documents/ragit/tests/tests.py", line 560, in <lambda>
("end_to_end dummy", lambda: end_to_end(test_model="dummy")),
File "/home/baehyunsol/Documents/ragit/tests/end_to_end.py", line 133, in end_to_end
cargo_run(["meta", "--set", "git-hash", get_commit_hash()])
File "/home/baehyunsol/Documents/ragit/tests/utils.py", line 70, in cargo_run
result = subprocess.run(args, **kwargs)
File "/usr/lib/python3.10/subprocess.py", line 526, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['cargo', 'run', '--release', '--', 'meta', '--set', 'git-hash', 'adcf2562496ce6b4c2f17f0a5699f05d686b2dd9']' returned non-zero exit status 1.
elapsed time: 55,447 ms
Command '['cargo', 'run', '--release', '--', 'meta', '--set', 'git-hash', 'adcf2562496ce6b4c2f17f0a5699f05d686b2dd9']' returned non-zero exit status 1.
Traceback (most recent call last):
File "/home/baehyunsol/Documents/ragit/tests/tests.py", line 621, in <module>
test()
File "/home/baehyunsol/Documents/ragit/tests/tests.py", line 561, in <lambda>
("end_to_end llama3.3-70b", lambda: end_to_end(test_model="llama3.3-70b")),
File "/home/baehyunsol/Documents/ragit/tests/end_to_end.py", line 133, in end_to_end
cargo_run(["meta", "--set", "git-hash", get_commit_hash()])
File "/home/baehyunsol/Documents/ragit/tests/utils.py", line 70, in cargo_run
result = subprocess.run(args, **kwargs)
File "/usr/lib/python3.10/subprocess.py", line 526, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['cargo', 'run', '--release', '--', 'meta', '--set', 'git-hash', 'adcf2562496ce6b4c2f17f0a5699f05d686b2dd9']' returned non-zero exit status 1.
elapsed time: 6,920 ms
elapsed time: 4,314 ms
elapsed time: 4,567 ms
elapsed time: 48,355 ms
elapsed time: 62,698 ms
elapsed time: 2,816 ms
elapsed time: 4,309 ms
elapsed time: 25,405 ms
elapsed time: 11,348 ms
elapsed time: 9,759 ms
elapsed time: 15,542 ms
elapsed time: 191,006 ms
elapsed time: 8,175 ms
Traceback (most recent call last):
File "/home/baehyunsol/Documents/ragit/tests/tests.py", line 621, in <module>
test()
File "/home/baehyunsol/Documents/ragit/tests/tests.py", line 574, in <lambda>
("svg gpt-4o-mini", lambda: svg(test_model="gpt-4o-mini")),
File "/home/baehyunsol/Documents/ragit/tests/svg.py", line 123, in svg
assert "ragit" in cargo_run(["pdl", "test1.pdl"], stdout=True).lower()
AssertionError
elapsed time: 52,852 ms
elapsed time: 9,449 ms
elapsed time: 1,629 ms
elapsed time: 12,119 ms
elapsed time: 102,281 ms
elapsed time: 89,830 ms
elapsed time: 10 ms
Command '['cargo', 'run', '--release', '--', '--model', 'command-r', '--input', 'hello_world.pdl']' returned non-zero exit status 101.
Traceback (most recent call last):
File "/home/baehyunsol/Documents/ragit/tests/tests.py", line 621, in <module>
test()
File "/home/baehyunsol/Documents/ragit/tests/tests.py", line 584, in <lambda>
("ragit_api command-r", lambda: ragit_api(test_model="command-r")),
File "/home/baehyunsol/Documents/ragit/tests/ragit_api.py", line 11, in ragit_api
subprocess.run(["cargo", "run", "--release", '--', '--model', test_model, '--input', 'hello_world.pdl'], check=True)
File "/usr/lib/python3.10/subprocess.py", line 526, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['cargo', 'run', '--release', '--', '--model', 'command-r', '--input', 'hello_world.pdl']' returned non-zero exit status 101.
elapsed time: 6,640 ms
elapsed time: 1,667 ms
elapsed time: 289 ms
elapsed time: 136 ms
elapsed time: 148,292 ms
elapsed time: 40,399 ms
elapsed time: 23,122 ms