[INFO] cloning repository https://github.com/lrspeiser/RustLangExtract [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lrspeiser/RustLangExtract" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flrspeiser%2FRustLangExtract", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flrspeiser%2FRustLangExtract'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c5b4055d6f6e2bfae9e2aa3adb4e11a443036645 [INFO] building lrspeiser/RustLangExtract against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flrspeiser%2FRustLangExtract" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/lrspeiser/RustLangExtract [INFO] finished tweaking git repo https://github.com/lrspeiser/RustLangExtract [INFO] tweaked toml for git repo https://github.com/lrspeiser/RustLangExtract written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lrspeiser/RustLangExtract on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/lrspeiser/RustLangExtract already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded schemars_derive v0.8.22 [INFO] [stderr] Downloaded serde_derive_internals v0.29.1 [INFO] [stderr] Downloaded socket2 v0.6.0 [INFO] [stderr] Downloaded redox_syscall v0.5.17 [INFO] [stderr] Downloaded windows-targets v0.53.3 [INFO] [stderr] Downloaded schemars v0.8.22 [INFO] [stderr] Downloaded array-init-cursor v0.2.1 [INFO] [stderr] Downloaded str_indices v0.4.4 [INFO] [stderr] Downloaded seq-macro v0.3.6 [INFO] [stderr] Downloaded dyn-clone v1.0.20 [INFO] [stderr] Downloaded snap v1.1.1 [INFO] [stderr] Downloaded bytemuck_derive v1.10.1 [INFO] [stderr] Downloaded bytemuck v1.23.2 [INFO] [stderr] Downloaded ethnum v1.5.2 [INFO] [stderr] Downloaded indicatif v0.17.11 [INFO] [stderr] Downloaded async-compression v0.4.27 [INFO] [stderr] Downloaded zerovec v0.11.4 [INFO] [stderr] Downloaded clap_builder v4.5.43 [INFO] [stderr] Downloaded h2 v0.4.12 [INFO] [stderr] Downloaded hashbrown v0.15.5 [INFO] [stderr] Downloaded flate2 v1.1.2 [INFO] [stderr] Downloaded openssl v0.10.73 [INFO] [stderr] Downloaded hyper-util v0.1.16 [INFO] [stderr] Downloaded rustls v0.23.31 [INFO] [stderr] Downloaded cc v1.2.31 [INFO] [stderr] Downloaded tempfile v3.20.0 [INFO] [stderr] Downloaded lz4-sys v1.11.1+lz4-1.10.0 [INFO] [stderr] Downloaded rustix v1.0.8 [INFO] [stderr] Downloaded tokio-util v0.7.16 [INFO] [stderr] Downloaded parquet2 v0.17.2 [INFO] [stderr] Downloaded ropey v1.6.1 [INFO] [stderr] Downloaded serde_json v1.0.142 [INFO] [stderr] Downloaded ahash v0.8.12 [INFO] [stderr] Downloaded parquet-format-safe v0.2.4 [INFO] [stderr] Downloaded simdutf8 v0.1.5 [INFO] [stderr] Downloaded streaming-iterator v0.1.9 [INFO] [stderr] Downloaded anstyle-parse v0.2.7 [INFO] [stderr] Downloaded tokio v1.47.1 [INFO] [stderr] Downloaded anstyle-query v1.1.4 [INFO] [stderr] Downloaded arrow2 v0.18.0 [INFO] [stderr] Downloaded once_cell_polyfill v1.70.1 [INFO] [stderr] Downloaded anstream v0.6.20 [INFO] [stderr] Downloaded anstyle v1.0.11 [INFO] [stderr] Downloaded fallible-streaming-iterator v0.1.9 [INFO] [stderr] Downloaded zstd-safe v6.0.6 [INFO] [stderr] Downloaded zstd v0.12.4 [INFO] [stderr] Downloaded anstyle-wincon v3.0.10 [INFO] [stderr] Downloaded clap_derive v4.5.41 [INFO] [stderr] Downloaded clap v4.5.43 [INFO] [stderr] Downloaded crc32fast v1.5.0 [INFO] [stderr] Downloaded errno v0.3.13 [INFO] [stderr] Downloaded planus v0.3.1 [INFO] [stderr] Downloaded arrow-format v0.8.1 [INFO] [stderr] Downloaded foreign_vec v0.1.0 [INFO] [stderr] Downloaded hash_hasher v2.0.4 [INFO] [stderr] Downloaded async-stream-impl v0.3.6 [INFO] [stderr] Downloaded zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Downloaded windows-registry v0.5.3 [INFO] [stderr] Downloaded async-stream v0.3.6 [INFO] [stderr] Downloaded lz4 v1.28.1 [INFO] [stderr] Downloaded streaming-decompression v0.1.2 [INFO] [stderr] Downloaded colorchoice v1.0.4 [INFO] [stderr] Downloaded clap_lex v0.7.5 [INFO] [stderr] Downloaded number_prefix v0.4.0 [INFO] [stderr] Downloaded jobserver v0.1.33 [INFO] [stderr] Downloaded rustc-demangle v0.1.26 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2692f5254e846eca25ff41d2cbaf7b58a764b722c5c86f3c8878021fe0159671 [INFO] running `Command { std: "docker" "start" "-a" "2692f5254e846eca25ff41d2cbaf7b58a764b722c5c86f3c8878021fe0159671", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2692f5254e846eca25ff41d2cbaf7b58a764b722c5c86f3c8878021fe0159671", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2692f5254e846eca25ff41d2cbaf7b58a764b722c5c86f3c8878021fe0159671", kill_on_drop: false }` [INFO] [stdout] 2692f5254e846eca25ff41d2cbaf7b58a764b722c5c86f3c8878021fe0159671 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 49534006c10180d53370b2887e18bd405089ba55319cc79f8d4820a2194d1a3a [INFO] running `Command { std: "docker" "start" "-a" "49534006c10180d53370b2887e18bd405089ba55319cc79f8d4820a2194d1a3a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling cc v1.2.31 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling zstd-safe v6.0.6 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling snap v1.1.1 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling brotli-decompressor v2.5.1 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling lz4-sys v1.11.1+lz4-1.10.0 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling array-init-cursor v0.2.1 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling planus v0.3.1 [INFO] [stderr] Compiling streaming-decompression v0.1.2 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling brotli v3.5.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling bytemuck_derive v1.10.1 [INFO] [stderr] Compiling parquet-format-safe v0.2.4 [INFO] [stderr] Compiling arrow2 v0.18.0 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling zstd v0.12.4 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling schemars v0.8.22 [INFO] [stderr] Compiling unicode-width v0.2.1 [INFO] [stderr] Compiling dyn-clone v1.0.20 [INFO] [stderr] Compiling seq-macro v0.3.6 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling arrow-format v0.8.1 [INFO] [stderr] Compiling clap_builder v4.5.43 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling async-compression v0.4.27 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling schemars_derive v0.8.22 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling simdutf8 v0.1.5 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling hash_hasher v2.0.4 [INFO] [stderr] Compiling str_indices v0.4.4 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling ethnum v1.5.2 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling foreign_vec v0.1.0 [INFO] [stderr] Compiling streaming-iterator v0.1.9 [INFO] [stderr] Compiling ropey v1.6.1 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling indicatif v0.17.11 [INFO] [stderr] Compiling reqwest v0.12.22 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling clap v4.5.43 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling lz4 v1.28.1 [INFO] [stderr] Compiling parquet2 v0.17.2 [INFO] [stderr] Compiling rustlangextract v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected identifier, found `:` [INFO] [stdout] --> src/main.rs:585:12 [INFO] [stdout] | [INFO] [stdout] 585 | overlap: usize, [INFO] [stdout] | ^ expected identifier [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `chunk_document` is defined multiple times [INFO] [stdout] --> src/main.rs:657:1 [INFO] [stdout] | [INFO] [stdout] 211 | fn chunk_document(text: &str, chunk_size: usize, overlap: usize) -> Vec<(String, usize, String)> { [INFO] [stdout] | ------------------------------------------------------------------------------------------------ previous definition of the value `chunk_document` here [INFO] [stdout] ... [INFO] [stdout] 657 | fn chunk_document(text: &str, chunk_size: usize, overlap: usize) -> Vec<(String, usize, String)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `chunk_document` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `chunk_document` must be defined only once in the value namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `call_openai_structured` is defined multiple times [INFO] [stdout] --> src/main.rs:693:1 [INFO] [stdout] | [INFO] [stdout] 247 | / async fn call_openai_structured( [INFO] [stdout] 248 | | client: &Client, [INFO] [stdout] 249 | | api_key: &str, [INFO] [stdout] 250 | | model: &str, [INFO] [stdout] ... | [INFO] [stdout] 348 | | } [INFO] [stdout] | |_- previous definition of the value `call_openai_structured` here [INFO] [stdout] ... [INFO] [stdout] 693 | / async fn call_openai_structured( [INFO] [stdout] 694 | | client: &Client, [INFO] [stdout] 695 | | api_key: &str, [INFO] [stdout] 696 | | model: &str, [INFO] [stdout] ... | [INFO] [stdout] 809 | | } [INFO] [stdout] | |_^ `call_openai_structured` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `call_openai_structured` must be defined only once in the value namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `extract_json_payload` is defined multiple times [INFO] [stdout] --> src/main.rs:816:1 [INFO] [stdout] | [INFO] [stdout] 350 | fn extract_json_payload(val: &serde_json::Value) -> Result { [INFO] [stdout] | ----------------------------------------------------------------------------- previous definition of the value `extract_json_payload` here [INFO] [stdout] ... [INFO] [stdout] 816 | fn extract_json_payload(val: &serde_json::Value) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `extract_json_payload` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `extract_json_payload` must be defined only once in the value namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `parse_batch_from_payload` is defined multiple times [INFO] [stdout] --> src/main.rs:867:1 [INFO] [stdout] | [INFO] [stdout] 389 | / fn parse_batch_from_payload( [INFO] [stdout] 390 | | payload: &serde_json::Value, [INFO] [stdout] 391 | | document_id: &str, [INFO] [stdout] 392 | | chunk_id: &str, [INFO] [stdout] ... | [INFO] [stdout] 423 | | Ok(batch) [INFO] [stdout] 424 | | } [INFO] [stdout] | |_- previous definition of the value `parse_batch_from_payload` here [INFO] [stdout] ... [INFO] [stdout] 867 | / fn parse_batch_from_payload( [INFO] [stdout] 868 | | payload: &serde_json::Value, [INFO] [stdout] 869 | | document_id: &str, [INFO] [stdout] 870 | | chunk_id: &str, [INFO] [stdout] ... | [INFO] [stdout] 916 | | Ok(batch) [INFO] [stdout] 917 | | } [INFO] [stdout] | |_^ `parse_batch_from_payload` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `parse_batch_from_payload` must be defined only once in the value namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `write_parquet` is defined multiple times [INFO] [stdout] --> src/main.rs:922:1 [INFO] [stdout] | [INFO] [stdout] 429 | fn write_parquet>(batches: &[ExtractionBatch], path: P) -> Result<()> { [INFO] [stdout] | ------------------------------------------------------------------------------------ previous definition of the value `write_parquet` here [INFO] [stdout] ... [INFO] [stdout] 922 | fn write_parquet>(batches: &[ExtractionBatch], path: P) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `write_parquet` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `write_parquet` must be defined only once in the value namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `enforce_no_additional_properties` is defined multiple times [INFO] [stdout] --> src/main.rs:1007:1 [INFO] [stdout] | [INFO] [stdout] 508 | fn enforce_no_additional_properties(schema: &mut serde_json::Value) { [INFO] [stdout] | ------------------------------------------------------------------- previous definition of the value `enforce_no_additional_properties` here [INFO] [stdout] ... [INFO] [stdout] 1007 | fn enforce_no_additional_properties(schema: &mut serde_json::Value) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `enforce_no_additional_properties` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `enforce_no_additional_properties` must be defined only once in the value namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `write_jsonl` is defined multiple times [INFO] [stdout] --> src/main.rs:1061:1 [INFO] [stdout] | [INFO] [stdout] 561 | fn write_jsonl>(batches: &[ExtractionBatch], path: P) -> Result<()> { [INFO] [stdout] | ---------------------------------------------------------------------------------- previous definition of the value `write_jsonl` here [INFO] [stdout] ... [INFO] [stdout] 1061 | fn write_jsonl>(batches: &[ExtractionBatch], path: P) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `write_jsonl` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `write_jsonl` must be defined only once in the value namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `html_escape` is defined multiple times [INFO] [stdout] --> src/main.rs:1074:1 [INFO] [stdout] | [INFO] [stdout] 574 | fn html_escape(s: &str) -> String { [INFO] [stdout] | --------------------------------- previous definition of the value `html_escape` here [INFO] [stdout] ... [INFO] [stdout] 1074 | fn html_escape(s: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `html_escape` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `html_escape` must be defined only once in the value namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `write_viewer` is defined multiple times [INFO] [stdout] --> src/main.rs:1082:1 [INFO] [stdout] | [INFO] [stdout] 578 | / fn write_viewer>( [INFO] [stdout] 579 | | full_text: &str, [INFO] [stdout] 580 | | batches: &[ExtractionBatch], [INFO] [stdout] 581 | | path: P, [INFO] [stdout] ... | [INFO] [stdout] 609 | | preset: Option, [INFO] [stdout] 610 | | } [INFO] [stdout] | |_- previous definition of the value `write_viewer` here [INFO] [stdout] ... [INFO] [stdout] 1082 | / fn write_viewer>( [INFO] [stdout] 1083 | | full_text: &str, [INFO] [stdout] 1084 | | batches: &[ExtractionBatch], [INFO] [stdout] 1085 | | path: P, [INFO] [stdout] ... | [INFO] [stdout] 1206 | | Ok(()) [INFO] [stdout] 1207 | | } [INFO] [stdout] | |_^ `write_viewer` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `write_viewer` must be defined only once in the value namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `Config` is defined multiple times [INFO] [stdout] --> src/main.rs:613:1 [INFO] [stdout] | [INFO] [stdout] 144 | struct Config { [INFO] [stdout] | ------------- previous definition of the type `Config` here [INFO] [stdout] ... [INFO] [stdout] 613 | struct Config { [INFO] [stdout] | ^^^^^^^^^^^^^ `Config` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `Config` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `Extraction` is defined multiple times [INFO] [stdout] --> src/main.rs:630:1 [INFO] [stdout] | [INFO] [stdout] 188 | pub struct Extraction { [INFO] [stdout] | --------------------- previous definition of the type `Extraction` here [INFO] [stdout] ... [INFO] [stdout] 630 | pub struct Extraction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ `Extraction` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `Extraction` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `ExtractionBatch` is defined multiple times [INFO] [stdout] --> src/main.rs:645:1 [INFO] [stdout] | [INFO] [stdout] 198 | pub struct ExtractionBatch { [INFO] [stdout] | -------------------------- previous definition of the type `ExtractionBatch` here [INFO] [stdout] ... [INFO] [stdout] 645 | pub struct ExtractionBatch { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ `ExtractionBatch` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `ExtractionBatch` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `futures` [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use futures::stream::{FuturesUnordered, StreamExt}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `regex::Regex` [INFO] [stdout] --> src/main.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use regex::Regex; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `schema_for` [INFO] [stdout] --> src/main.rs:32:16 [INFO] [stdout] | [INFO] [stdout] 32 | use schemars::{schema_for, JsonSchema}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Value as Json` [INFO] [stdout] --> src/main.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | use serde_json::{json, Value as Json}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `max` [INFO] [stdout] --> src/main.rs:35:16 [INFO] [stdout] | [INFO] [stdout] 35 | use std::cmp::{max, min}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BTreeMap` and `HashMap` [INFO] [stdout] --> src/main.rs:36:24 [INFO] [stdout] | [INFO] [stdout] 36 | use std::collections::{BTreeMap, HashMap}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::Semaphore` [INFO] [stdout] --> src/main.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | use tokio::sync::Semaphore; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0119]: conflicting implementations of trait `Debug` for type `Config` [INFO] [stdout] --> src/main.rs:612:10 [INFO] [stdout] | [INFO] [stdout] 143 | #[derive(Debug, Clone)] [INFO] [stdout] | ----- first implementation here [INFO] [stdout] ... [INFO] [stdout] 612 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ conflicting implementation for `Config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0119]: conflicting implementations of trait `Debug` for type `Extraction` [INFO] [stdout] --> src/main.rs:629:10 [INFO] [stdout] | [INFO] [stdout] 187 | #[derive(Debug, Clone, Serialize, Deserialize, JsonSchema)] [INFO] [stdout] | ----- first implementation here [INFO] [stdout] ... [INFO] [stdout] 629 | #[derive(Debug, Clone, Serialize, Deserialize, JsonSchema)] [INFO] [stdout] | ^^^^^ conflicting implementation for `Extraction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0119]: conflicting implementations of trait `Debug` for type `ExtractionBatch` [INFO] [stdout] --> src/main.rs:644:10 [INFO] [stdout] | [INFO] [stdout] 197 | #[derive(Debug, Clone, Serialize, Deserialize, JsonSchema)] [INFO] [stdout] | ----- first implementation here [INFO] [stdout] ... [INFO] [stdout] 644 | #[derive(Debug, Clone, Serialize, Deserialize, JsonSchema)] [INFO] [stdout] | ^^^^^ conflicting implementation for `ExtractionBatch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0119]: conflicting implementations of trait `Clone` for type `Config` [INFO] [stdout] --> src/main.rs:612:17 [INFO] [stdout] | [INFO] [stdout] 143 | #[derive(Debug, Clone)] [INFO] [stdout] | ----- first implementation here [INFO] [stdout] ... [INFO] [stdout] 612 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ conflicting implementation for `Config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0119]: conflicting implementations of trait `Clone` for type `Extraction` [INFO] [stdout] --> src/main.rs:629:17 [INFO] [stdout] | [INFO] [stdout] 187 | #[derive(Debug, Clone, Serialize, Deserialize, JsonSchema)] [INFO] [stdout] | ----- first implementation here [INFO] [stdout] ... [INFO] [stdout] 629 | #[derive(Debug, Clone, Serialize, Deserialize, JsonSchema)] [INFO] [stdout] | ^^^^^ conflicting implementation for `Extraction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0119]: conflicting implementations of trait `Clone` for type `ExtractionBatch` [INFO] [stdout] --> src/main.rs:644:17 [INFO] [stdout] | [INFO] [stdout] 197 | #[derive(Debug, Clone, Serialize, Deserialize, JsonSchema)] [INFO] [stdout] | ----- first implementation here [INFO] [stdout] ... [INFO] [stdout] 644 | #[derive(Debug, Clone, Serialize, Deserialize, JsonSchema)] [INFO] [stdout] | ^^^^^ conflicting implementation for `ExtractionBatch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0119]: conflicting implementations of trait `Serialize` for type `Extraction` [INFO] [stdout] --> src/main.rs:629:24 [INFO] [stdout] | [INFO] [stdout] 187 | #[derive(Debug, Clone, Serialize, Deserialize, JsonSchema)] [INFO] [stdout] | --------- first implementation here [INFO] [stdout] ... [INFO] [stdout] 629 | #[derive(Debug, Clone, Serialize, Deserialize, JsonSchema)] [INFO] [stdout] | ^^^^^^^^^ conflicting implementation for `Extraction` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0119]: conflicting implementations of trait `Serialize` for type `ExtractionBatch` [INFO] [stdout] --> src/main.rs:644:24 [INFO] [stdout] | [INFO] [stdout] 197 | #[derive(Debug, Clone, Serialize, Deserialize, JsonSchema)] [INFO] [stdout] | --------- first implementation here [INFO] [stdout] ... [INFO] [stdout] 644 | #[derive(Debug, Clone, Serialize, Deserialize, JsonSchema)] [INFO] [stdout] | ^^^^^^^^^ conflicting implementation for `ExtractionBatch` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0119]: conflicting implementations of trait `Deserialize<'_>` for type `Extraction` [INFO] [stdout] --> src/main.rs:629:35 [INFO] [stdout] | [INFO] [stdout] 187 | #[derive(Debug, Clone, Serialize, Deserialize, JsonSchema)] [INFO] [stdout] | ----------- first implementation here [INFO] [stdout] ... [INFO] [stdout] 629 | #[derive(Debug, Clone, Serialize, Deserialize, JsonSchema)] [INFO] [stdout] | ^^^^^^^^^^^ conflicting implementation for `Extraction` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0119]: conflicting implementations of trait `Deserialize<'_>` for type `ExtractionBatch` [INFO] [stdout] --> src/main.rs:644:35 [INFO] [stdout] | [INFO] [stdout] 197 | #[derive(Debug, Clone, Serialize, Deserialize, JsonSchema)] [INFO] [stdout] | ----------- first implementation here [INFO] [stdout] ... [INFO] [stdout] 644 | #[derive(Debug, Clone, Serialize, Deserialize, JsonSchema)] [INFO] [stdout] | ^^^^^^^^^^^ conflicting implementation for `ExtractionBatch` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0119]: conflicting implementations of trait `JsonSchema` for type `Extraction` [INFO] [stdout] --> src/main.rs:629:48 [INFO] [stdout] | [INFO] [stdout] 187 | #[derive(Debug, Clone, Serialize, Deserialize, JsonSchema)] [INFO] [stdout] | ---------- first implementation here [INFO] [stdout] ... [INFO] [stdout] 629 | #[derive(Debug, Clone, Serialize, Deserialize, JsonSchema)] [INFO] [stdout] | ^^^^^^^^^^ conflicting implementation for `Extraction` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `JsonSchema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0119]: conflicting implementations of trait `JsonSchema` for type `ExtractionBatch` [INFO] [stdout] --> src/main.rs:644:48 [INFO] [stdout] | [INFO] [stdout] 197 | #[derive(Debug, Clone, Serialize, Deserialize, JsonSchema)] [INFO] [stdout] | ---------- first implementation here [INFO] [stdout] ... [INFO] [stdout] 644 | #[derive(Debug, Clone, Serialize, Deserialize, JsonSchema)] [INFO] [stdout] | ^^^^^^^^^^ conflicting implementation for `ExtractionBatch` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `JsonSchema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `adaptive_rechunk`, `hotspot_threshold`, `majority_threshold` and 7 other fields in initializer of `Config` [INFO] [stdout] --> src/main.rs:612:17 [INFO] [stdout] | [INFO] [stdout] 612 | #[derive(Debug, Clone)] [INFO] [stdout] | ^ missing `adaptive_rechunk`, `hotspot_threshold`, `majority_threshold` and 7 other fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `adaptive_rechunk`, `hotspot_threshold`, `majority_threshold` and 7 other fields in initializer of `Config` [INFO] [stdout] --> src/main.rs:1250:15 [INFO] [stdout] | [INFO] [stdout] 1250 | let cfg = Config { [INFO] [stdout] | ^^^^^^ missing `adaptive_rechunk`, `hotspot_threshold`, `majority_threshold` and 7 other fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0063, E0119, E0428, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0063`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustlangextract` (bin "rustlangextract") due to 28 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "49534006c10180d53370b2887e18bd405089ba55319cc79f8d4820a2194d1a3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49534006c10180d53370b2887e18bd405089ba55319cc79f8d4820a2194d1a3a", kill_on_drop: false }` [INFO] [stdout] 49534006c10180d53370b2887e18bd405089ba55319cc79f8d4820a2194d1a3a