[INFO] cloning repository https://github.com/RustSandbox/fintech-prompt-templates [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RustSandbox/fintech-prompt-templates" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRustSandbox%2Ffintech-prompt-templates", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRustSandbox%2Ffintech-prompt-templates'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 508a1352559476faac542dd547e7e14177ca4223 [INFO] testing RustSandbox/fintech-prompt-templates against 1.99.0-beta.8 for beta-1.100-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRustSandbox%2Ffintech-prompt-templates" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/RustSandbox/fintech-prompt-templates [INFO] finished tweaking git repo https://github.com/RustSandbox/fintech-prompt-templates [INFO] tweaked toml for git repo https://github.com/RustSandbox/fintech-prompt-templates written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/RustSandbox/fintech-prompt-templates on toolchain 1.99.0-beta.8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/RustSandbox/fintech-prompt-templates 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" "+1.99.0-beta.8" "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.9.0 [INFO] [stderr] Downloaded tower-http v0.6.5 [INFO] [stderr] Downloaded reqwest v0.12.19 [INFO] [stderr] Downloaded h2 v0.4.10 [INFO] [stderr] Downloaded hyper-rustls v0.27.6 [INFO] [stderr] Downloaded rustls-webpki v0.103.3 [INFO] [stderr] Downloaded rustls v0.23.27 [INFO] [stderr] Downloaded clap_builder v4.5.39 [INFO] [stderr] Downloaded clap v4.5.39 [INFO] [stderr] Downloaded rig-core v0.12.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3111399a4047eeb3a02b7a90e478d715f38a8c6669b5c4b49d30a17385265909" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 58ddce29749d8cdcee46e59d404f05f73ce5c90d1a36682787bafeca853586ef [INFO] running `Command { std: "docker" "start" "58ddce29749d8cdcee46e59d404f05f73ce5c90d1a36682787bafeca853586ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "58ddce29749d8cdcee46e59d404f05f73ce5c90d1a36682787bafeca853586ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "58ddce29749d8cdcee46e59d404f05f73ce5c90d1a36682787bafeca853586ef" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "58ddce29749d8cdcee46e59d404f05f73ce5c90d1a36682787bafeca853586ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "58ddce29749d8cdcee46e59d404f05f73ce5c90d1a36682787bafeca853586ef" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling cc v1.2.25 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling schemars v0.8.22 [INFO] [stderr] Compiling ref-cast v1.0.24 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling dyn-clone v1.0.19 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling clap_builder v4.5.39 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling jiff v0.2.14 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling ordered-float v4.6.0 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling schemars_derive v0.8.22 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling ref-cast-impl v1.0.24 [INFO] [stderr] Compiling schemars_derive v0.9.0 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling clap v4.5.39 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling h2 v0.4.10 [INFO] [stderr] Compiling tower-http v0.6.5 [INFO] [stderr] Compiling schemars v0.9.0 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.13 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.19 [INFO] [stderr] Compiling rig-core v0.12.0 [INFO] [stderr] Compiling fintech-templates v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 15s [INFO] running `Command { std: "docker" "inspect" "58ddce29749d8cdcee46e59d404f05f73ce5c90d1a36682787bafeca853586ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "58ddce29749d8cdcee46e59d404f05f73ce5c90d1a36682787bafeca853586ef" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling fintech-templates v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.87s [INFO] running `Command { std: "docker" "inspect" "58ddce29749d8cdcee46e59d404f05f73ce5c90d1a36682787bafeca853586ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "58ddce29749d8cdcee46e59d404f05f73ce5c90d1a36682787bafeca853586ef" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/fintech_templates-454cb1f272924b22) [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test tests::test_all_sections ... ok [INFO] [stdout] test tests::test_prompt_builder_basic ... ok [INFO] [stdout] test tests::test_ai_governance_with_framework ... ok [INFO] [stdout] test tests::test_all_compliance_templates ... ok [INFO] [stdout] test tests::test_mock_legal_database ... ok [INFO] [stdout] test tests::test_kyc_template_enhanced ... ok [INFO] [stdout] test tests::test_ai_governance_template ... ok [INFO] [stdout] test tests::test_user_profile_retrieval ... ok [INFO] [stdout] test tests::test_user_transaction_history_retrieval ... ok [INFO] [stdout] test tests::test_comprehensive_compliance_analysis ... ok [INFO] [stdout] test tests::test_kyc_with_context ... ok [INFO] [stdout] test tests::test_french_legal_text_retrieval ... ok [INFO] [stdout] test tests::test_aml_with_tracfin_context ... ok [INFO] [stdout] test tests::test_mock_client_french_responses ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.51s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/fintech_templates-458a30b9dac80a70) [INFO] [stderr] Doc-tests fintech_templates [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "58ddce29749d8cdcee46e59d404f05f73ce5c90d1a36682787bafeca853586ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58ddce29749d8cdcee46e59d404f05f73ce5c90d1a36682787bafeca853586ef", kill_on_drop: false }` [INFO] [stdout] 58ddce29749d8cdcee46e59d404f05f73ce5c90d1a36682787bafeca853586ef